Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-02-2006, 09:52 AM
Thristam
Hill Giant
 
Join Date: Jun 2006
Posts: 117
Default New DB diagram of 7.0

OK. This is a rough draft of the DB psudo-schema for 7.0 to give myself and others an idea of what the DB looks like and to kinna give some grouping.


some info on this:

- There are no relationships in this db. I know, i know, I used relationships. But there more to give you a idea where the pointers actually connect then anything. Take the relationships as "references" not actual relationships.

- There is some work to be done on this. Ill be adding more pointers as the days go on. I just wanted to throw it out for now so everyone can look at this and get an idea how everything in 7.0 is put together.

- If you see errors, post em, ill be happy to fix them as I go.

- There are some tables that got sucked into my diagram that im not sure if they should actually be there or not. If you see them, holler and ill remove them.

Here is the Diagram

Now im going to state some personal opinions:

The DB is in desperate need of some TLC. Constraints need to be added. indices are worthless right now with the db structure.The DB is filled with a ton of duplicate data. Mysql 5 cant come fast enough.

Im thinking about building out another DB schema that would follow the basic table structure but would be somthing light and compact and then post it here for review. This sound like a good idea?
Reply With Quote
  #2  
Old 08-02-2006, 03:45 PM
Sarepean
Discordant
 
Join Date: Sep 2004
Posts: 253
Default

I noticed some of the problems you pointed out recently, as well. The problem is that a new database schema does no real good without PEQ support since they'd have to do modifications to the code to support it. Or this can be a user done thing. At any rate, I'll admit that the database isn't as lightweight as it could be.

Also, in all reality, your database diagram is correct, but you forgot to mark one-to-ones, one-to-manys, and many-to-manys. The biggest problem is never one-to-anythings, it's many-to-manys and those would be the things we'd want to resolve.

I suppose we'd also want to remove duplicate data...

I guess my biggest issue here is more that, in the end, just as much, if not more, information is still being loaded into memory which means that a database schema change really doesn't help anyone but the people trying to modify information within the database. The people doing that can usually figure things out and shouldn't need such a change...

Tough call, but I'd say no need on the new database schema.
Reply With Quote
  #3  
Old 08-02-2006, 04:01 PM
Thristam
Hill Giant
 
Join Date: Jun 2006
Posts: 117
Default

technically, the diagram shows all referances via the color of said references:

White to black: one to many

White to white: one to one

Black to black: many to many

I havent seen any many to many references, if you do, please, post them out for me to change.

There are some one to ones, but not tons. And alot of one to manys. Again, if you see somthing that needs to be addresed, please, be my guest.

Any changes that you think are relevant to this db diagram ill be happy to make if needed.
Reply With Quote
  #4  
Old 08-02-2006, 08:19 PM
mattmeck
Guest
 
Posts: n/a
Default

wow thats a lot of work.
Reply With Quote
  #5  
Old 08-04-2006, 02:26 AM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,475
Default

Good job. Saved a copy for my records

GeorgeS
__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
Reply With Quote
  #6  
Old 09-13-2006, 03:45 PM
Kayot
Discordant
 
Join Date: Sep 2006
Location: Subsection 185.D354 C.12
Posts: 346
Default

What program did you use to make that ^-^ all I use is visio and this looks better.
Reply With Quote
  #7  
Old 09-14-2006, 02:52 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Yeah, I'd like to know, too. SQL database diagrams are fun, but not as clean as this looks.
Reply With Quote
  #8  
Old 09-20-2006, 06:19 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

its dbdesigner
Reply With Quote
  #9  
Old 09-21-2006, 01:37 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Thank you FNW. Why didn't I think of that?
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 07:54 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