Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-06-2014, 03:22 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default EQEmu Blob to Database Conversion

I'm streaming C coding while I'm working on converting the entire character blob over to actual database tables.

I've been working on this over the past few weeks and am about 95% done, however if anyone is interested I have a stream up.

Some people have asked for it in the past so I just put it up while I'm working on stuff anyways.

www.twitch.tv/akkadius

Enjoy.

To give an idea why I am converting the character blob to database tables, 1) we've been wanting to do this forever for many reasons.

1) It will increase overall code performance more than 10 fold with all of the inefficient calls for saving and loading that we do in the database
2) We are saving a lot of blank data, for example EZ's database of characters is 2.6GB, after a mock convert I end up storing approximately 600MB in total in data broken out into individual tables.
3) The speed increase is phenominal as we are not saving everything every single time that a character has done a single little action.
- Whenever a character ups a skill point or spams it, everything is saved (skills/languages/aa/spells/character data/etc)
- Same thing goes for AA's, whenever a character loots or moves coins
- Everytime these save actions are spammed, the character_ table is locked, which leaves an opportunity for hangs to occur at any process because it is waiting for the character_ table to be opened. This is in the end, very inefficient.

Last edited by Akkadius; 09-06-2014 at 03:28 PM..
Reply With Quote
 


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 02:06 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