Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2009, 07:03 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

KM, if you have direct access to your MySQL instance, you might want to run some checks/optimizations to make sure your tables aren't fragmented or corrupt. On my EQ2Emu server, one table is HUGE and I notice that with recent power glitches, that table gets a little buggered up - but is immediately fixed with OPTIMIZE TABLES.

Another thing, many people poo-poo, is running the command-line too "mysqltuner.pl". Just to get a glimpse if something is f'd up.

...not that I was on your preferred list :p
Reply With Quote
  #2  
Old 05-16-2009, 05:11 PM
KingMort
Banned
 
Join Date: Sep 2006
Posts: 841
Default

I run optimize usually once a month yeah...
Reply With Quote
  #3  
Old 05-16-2009, 06:12 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

The configuration of the mysql tables actually makes a pretty startling impact on performance. If you're using myisam on a table that is both written to and read from a lot like character_ it can really bog things down with all the locks going off left and right.

Tell / Combat lag could happen if it's bogged down from the database but it would be intermittent: not every tell would lag for example just the ones that happen during a slow query. Oh and I guess you could turn on http://dev.mysql.com/doc/refman/5.1/...query-log.html and see if there are any queries really causing problems.
Reply With Quote
  #4  
Old 05-16-2009, 07:54 PM
KingMort
Banned
 
Join Date: Sep 2006
Posts: 841
Default

You guys rock....

I have had a hard time asking for help since I have been around so long it was hard for me to ask for help but....

The time has come to swallow my pride...

King
Reply With Quote
  #5  
Old 05-16-2009, 08:57 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Code:
alter table spawn2 engine=innodb;
and

Code:
alter table character_ engine=innodb;
Made HUGE differences on TGC. Inventory would also benefit from InnoDB. Though, keep in mind it does require a lot more HDD space (character_ grew 4x after the change here.)
Reply With Quote
  #6  
Old 05-17-2009, 12:14 AM
KingMort
Banned
 
Join Date: Sep 2006
Posts: 841
Default

Would it be wise to convert everything to InnoDB ??
Reply With Quote
  #7  
Old 05-17-2009, 11:32 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Smaller tables that aren't used much generally benefit more from MyISAM over InnoDB. However, it wouldn't hurt to convert everything over. The only table I would highly recommend you leave MyISAM is character_backup. I'm not sure about you, but TGC's table is huge. Converting to InnoDB would waste so much space it's silly, and for that table you wouldn't really see much peformance boost at all, if any.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:13 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3