I check my sql db, and optimize it, at least once a day, sometimes more...
I was just doing it, and wondered, how often do YOU optimize MySQL?
This is a discussion on Optimizing MySQL - How Often in the Open Discussion & Chit-chat forum
I check my sql db, and optimize it, at least once a day, sometimes more...
I was just doing it, and wondered, how often do ...
I check my sql db, and optimize it, at least once a day, sometimes more...
I was just doing it, and wondered, how often do YOU optimize MySQL?
DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.
Weekly.
When I have the time.... :S My sql server's been running for 31 days, over 55 million queries has been sent to the server and I have an overall of 20 queries per second... But I don't optimize the database that often... I backup my database daily however...
Julian D. Muñoz - LANeros.com
Rarely actually. Lot of work to go by every table for that stuff. Also a bit of an "if it isn't broken don't try to fix it" feeling about it.
I assume you've got that all scripted then, Vin?
Regards,
Wim Heemskerk
---
Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
And Gwaihir.net - The Middle-earth CCG store
If you're asking, "Is the optimization process scripted?” the answer is yes 'n' no. I can optimize my db using a script on my site, but I prefer to use phpMyAdmin instead.Originally Posted by Gwaihir
The 'problem' with PHP-Nuke, if you want to call it a 'problem', is it hammers the sql server pretty hard, and every once in a while the server hiccups. When the server collects enough unclosed queries, it says, "Screw you!” hangs and/or starts cross-linking (corrupting) tables, et cetera...
To be fair, I doubt that PHP-Nuke is totally at fault here. For instance, it could be a bad RSS feed, or something else that starts the ball rolling. It'll go for months with no problem. However, a hung sql server is disastrous to PHP-Nuke. Nuke will not run (exclamation point) without a properly functioning MySQL server, so I'm a little paranoid about letting things get carried away. Accordingly, I probably check/optimize more than necessary.![]()
DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.
My runtime: 9 days, 40 million queries total, 46 queries per second...Originally Posted by Julian Muñoz
![]()
DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.
How can you get stats from mysql?
Thanks
I run my own install of phpMyAdmin. I get this info by simply clicking a link. Other than that, I dunno. Never did it the 'hard way'...Originally Posted by Zenigata
![]()
DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.
Still surprising: if I try to access that same page on the site wide phpMyAdmin it answers "No Privileges", yet doing your own install doesn't give you more privileges on the MySQL server, does it?
Regards,
Wim Heemskerk
---
Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
And Gwaihir.net - The Middle-earth CCG store
'They' probably have that feature disabled in the phpMyAdmin config. As a matter of fact, 'they' probably have a lot of stuff disabled in the cPanel version of phpMyAdmin. I've never done an A-B comparison.Originally Posted by Gwaihir
You can setup phpMyAdmin every which way to Sunday. That's one of the reasons why I like to run my own install. There's even a 'demo' mode...
DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.
Copyright © 2011 JaguarPC.com
Bookmarks