Magento Catalogs – Differences Between EAV and Flat Catalogs

eavflat-catalogmagento-1.7

Can anyone provide a clarification on the differences between EAV and Flat catalogs, when accessing the sub categories of a category?

Best Answer

If flat catalog is enabled, then in any product list the flat tables will be used. The flat tables are generated one per store view when rebuilding the flat index. They contain all the attributes marked as 'Used in product listing', one column for each attribute. This is a big boost in performance because instead of a lot of joins to get the product attributes Magento only reads from one table (actually 2, the flat table and the prices index table).
IN the product view page the flat table is not used. Instead all the attributes are loaded from the EAV tables.

Related Topic