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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 09-26-2015, 10:22 PM
Trackye
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default Transferring Server Database

I have noticed that the PEQ database takes very little time to install.

I do not have alot of players so there isnt much data other than PEQ ( Some customizations but not a ton)

However if I Dump the Database into an SQL and go to load it in another Database it takes hours...

What command can I use to dump it in the format PEQ uses to make it as quick as that?
Reply With Quote
  #2  
Old 09-26-2015, 10:23 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

The eqemu_update.pl comes with a backup script that I wrote that will take care of this for you. It's options 1 and 2
Reply With Quote
  #3  
Old 09-26-2015, 10:54 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Hours? Am I ever glad for SSDs, then. Holy crap.

Test export of default peq db to .sql: 1m 5s

Test import as new db: 1m 49s

I'm hoping 'hours' was an exaggeration! lol
Reply With Quote
  #4  
Old 09-26-2015, 11:37 PM
Trackye
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default

Wasnt an exaggeration :( literally took like 5 hours to reload the DB table on a different DB.

I think its because the default Dump sql splits everything into individual lines of code and some of the tables have SOOO many lines that way (Grid_entries anyone?)
But the PEQ dump is done in large chunks.

Akkadius again thank you so much for the information I will definitely give that a shot ASAP.
Reply With Quote
  #5  
Old 09-26-2015, 11:58 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Are you exporting/importing with HeidiSQL? If you change the "Max INSERT size" value to... really anything but the default 0, it'll work a -helluvalot- faster.

I like running at 1024 KB, but you can run it at a -tiny- tiny number like 16 KB, and it'll both export and import an order of magnitude faster.
Reply With Quote
  #6  
Old 09-27-2015, 10:22 PM
Trackye
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default

I generally use Navicat but I have Heidi installed to. perhaps I can give that a shot as well.

Thanks!
Reply With Quote
  #7  
Old 09-27-2015, 10:24 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

Yes the time comes from all of the individual statements that are being ran versus bulk inserts. Once again my script takes care of that on its own.
Reply With Quote
  #8  
Old 09-28-2015, 01:23 PM
Trackye
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default

Just wanted to report back that that indeed did the trick Akkadius.

Literally minutes instead of hours.

Great work on that update program.
Reply With Quote
Reply


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 11:17 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3