MySQL error every day
Hi there.
I receive a single MySQL error every day at exactly 3:09am. Quote:
|
Error code 28 means that there is "no space left on device" i.e., one or more partitions on your server is out of space or doesn't have enough space to complete the operation. My guess is that your vb_GAB_stats table is very large so the vb_GAB_temp_stats cannot be created because the server doesn't have enough space. You can either ask your host to give you more space, or you'll need to run these queries to delete the stats and start over as there isn't enough room to compress the stats:
Code:
# warning: deletes all statistics data !!!! |
Thank you Morgan.
Is there a way to deactivate the stats and then re-activate them in the future if needed? |
Go to the ACP -> GAB -> Banners and for each banner listed, there are the Track Impressions and Track Clickthroughs options that you can set to no to not track stats, but even if you do that, you will probably still get the database error message because the vb_GAB_stats table already contains data.
|
Ok, thanks.
Is it perfectly safe for the rest of my site if I drop that table? |
You do not want to drop the vb_GAB_stats table. You do want to run the queries in post two if you want to delete the stats and start fresh with new stats.
|
Yes, I think I should.
I have 4,166,467 records in vb_GAB_stats. Is it best to run them from PHPMyAdmin or from within the VB ACP? |
Nope, you do not want to drop the vb_GAB_stats table. Run the two queries in post two. That'll do the right thing. You can run the queries from phpMyAdmin if you want.
|
Right, I will do what is in post 2 now.
Thank you for your support. |
All times are GMT. The time now is 09:22 AM. |
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.