magento 2.2.5 on apache and php 7.1
Just use the store, I don't know what exactly triggers the creation of all these tables
database should keep reasonable dimensions and have only normal tables
Database gets huge: it's all clogged by catalogrule_product_tempX (where X is a random string of number and characters, eg: catalogrule_product_temp002521f3): these tables are all empty but they keep getting added and it's making impossible to simply backup the database.
Is it safe to delete those empty tables?
is there a way to avoid the issue?
Hi @LouNik1984. Thank you for your report.
To help us process this issue please make sure that you provided the following information:
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
@magento-engcom-team give me 2.3-develop instance - upcoming 2.3.x release
For more details, please, review the Magento Contributor Assistant documentation.
@LouNik1984 do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
"Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce."
I cannot ask for a vanilla instance as I cannot see the database of the vanilla instance: from backend/frontend of magento everything seems to be fine, this only affects the tables in database and I cannot see the database of the vanilla instance
Hi @engcom-backlog-nazar. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.[ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.
[ ] 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.
[ ] 4. Verify that the issue is reproducible on 2.3-develop branchDetails
- Add the comment @magento-engcom-team give me 2.3-develop instance to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!
[ ] 5. Verify that the issue is reproducible on 2.2-develop branch. Details
- Add the comment @magento-engcom-team give me 2.2-develop instance to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x
_Next steps are available in case you are a member of Community Maintainers._
[ ] 6. Add label Issue: Confirmed once verification is complete.
[ ] 7. Make sure that automatic system confirms that report has been added to the backlog.
hi @LouNik1984 thank you for you report, i'm not able to reproduce following steps you described, on clean 2.3-develop instance, this temp, table may be created with some of yours custom modules, but on clean magento this tables always deleted. Seems like this already fixed in 2.2-develop and 2.3-develop branches
HI, I have tested both a previous version (2.2.2) and subsequent versions (2.2.6, 2.2.7) and none seems to have this issue, but every 2.2.5 version I have installed and tested has this issue. So this is a problem of all 2.2.5 versions: those table are not deleted. Can you point me a commit where this issue is solved? So I can try it on my test install and check whether it works. Thank you
I also have a HUGE database full of catalogrule_product__temp tables. I cloned my live site and deleted these tables via phpmyadmin on my clone and everything seems fine. Question is - why are these not wiping after a catalog/cart rule is over / not active? Are these safe to delete?
We are having this issue with magento 2.2.6 too, for the moment we deleted all the temp tables
We are seeing this same issue on 2.2.7. We had nearly 10,000 of these temp tables created!
We've got this same issue using 2.2.6. 22GB of wasted disk space because of these temp tables.
The same issue exists on Magento 2.4.0.
Why is this issue closed when it's an ongoing issue!
Most helpful comment
HI, I have tested both a previous version (2.2.2) and subsequent versions (2.2.6, 2.2.7) and none seems to have this issue, but every 2.2.5 version I have installed and tested has this issue. So this is a problem of all 2.2.5 versions: those table are not deleted. Can you point me a commit where this issue is solved? So I can try it on my test install and check whether it works. Thank you