We are importing hundreds of thousands of products and have run into the issue that there are joins being done between tmp_akeneo_connector_entities_product and tmp_akeneo_connector_entities_product_model and specifically on the fields code and parent. Is there any reason those fields need to be TEXT? They are usually used to store EAN I think and I doubt anyone needs EANs that long
This is causing the import to run for many many hours.
Adding a crude composer patch so that code and parent are stored as varchar(255) and adding an index has cut this time down to less than an hour.
We are importing hundreds of thousands of products and have run into the issue that there are joins being done between
tmp_akeneo_connector_entities_product
andtmp_akeneo_connector_entities_product_model
and specifically on the fieldscode
andparent
. Is there any reason those fields need to be TEXT? They are usually used to store EAN I think and I doubt anyone needs EANs that longThis is causing the import to run for many many hours.
Adding a crude composer patch so that
code
andparent
are stored as varchar(255) and adding an index has cut this time down to less than an hour.