In Magento\Catalog\Model\Indexer\Product\Flat\Action\Indexer there is one constant:

 * Maximum size of attributes chunk

reference: https://github.com/magento/magento2/blob/2.0/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Indexer.php#L26

It serves for splitting attributes into chunks during Flat table indexation process.

The question is: Why 59?

1 Answer 1


Mysql has a limit of 63 joins per query. The 4 remaining are reserved for things like website and category associations.

  • Great answer, wasn't thought about that limitation in the variety of MySQL limitations. Mar 3, 2017 at 8:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.