MySQL stores each database as a subdirectory of the MySQL data directory in the filesystem. The MySQL architecture component responsible for this maintenance is called the storage engine. The ACID compliance is also primarily driven by this layer. It is a pluggable architecture that allows different plugins of different storage engines, as described in the following sections.