EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   MySQL Optimization (https://www.eqemulator.org/forums/showthread.php?t=23644)

koldar 09-14-2007 11:29 AM

MySQL Optimization
 
Hello,
Has anyone played around with the memory allocation/buffers/cache within MySQL to optimize the performance? My query cache is currently set to 0 (default) and i'm wondering if there is a more optimal setting for my queries.

Koldar

knowom 09-08-2013 07:34 AM

I'm curious about mysql query cache setting as well anyone played around with it on EQemu?

Kingly_Krab 09-08-2013 10:25 AM

I haven't played with it myself, however, you revived a 6 year old post, haha.

knowom 09-09-2013 06:12 AM

Quote:

Originally Posted by Kingly_Krab (Post 224128)
I haven't played with it myself, however, you revived a 6 year old post, haha.

Yeah I know I'm a performance nut I was just curious if anyone had tampered with it is all and sometimes those are the best kept secret threads.

Basically you can set a mysql query cache to a set amount and a few parameters to speed up query results is the gist of it which seems like it could be useful for EQemu servers.

Servers with high disk I/O going on would benefit the most from the setting. It wouldn't do much to help with connection based lag, but it could help minimize some hardware based server lag for some people.


I figured someone might have experimented with it, but apparently not. I think the best method to test it would probably be take as many mobs as you can and stick them in the arena zone spawn simultaneously and make them high aggro radius then aoe all them at once and make them different mob types and sizes as well with different weapon so it really hits the DB hard all at once.

joligario 09-09-2013 08:51 AM

Quote:

Originally Posted by knowom (Post 224139)
I think the best method to test it would probably be take as many mobs as you can and stick them in the arena zone spawn simultaneously and make them high aggro radius then aoe all them ... so it really hits the DB hard all at once.

Actually, there is a video (and command) where someone did this. I don't think it was for DB optimization - I think it was for pathing.

Maze_EQ 09-09-2013 09:05 AM

In regards to this, Secrets optimized to the point where he had all of Sanctus Seru on his screen, no hardware lag, nada.

As far as I can see, EQEmu runs fine on a 4gb quad core laptop, let alone a 32gb 8 core xeon...........

There shouldn't be that much overhead, and if there are issues, man do a #reloadworld, it respawns the whole game at once.

I never EVER see EQEmu use more than 3% processor, or over 6gb of ram (181) static zones.

"Optimization" shouldn't be needed, unless you're project1999, where every bit of resources helps.

If you seriously want a server state platform, why not use SQL server?

Of course it's a bit more difficult to setup, but it's as stable as a rock, and has the benefits of auto-utilization of resources to a specific cap.

TL: DR

You don't need to optimize your "mysql" to run faster queries.


All times are GMT -4. The time now is 03:34 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.