If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > DBMS Models

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-28-08, 17:36
andrew_ww andrew_ww is offline
Registered User
 
Join Date: May 2008
Posts: 2
DBMS Models

Hello,

I'm trying to build up a comparision of database models. I've started with the table below and would really appreciate any further input to make it more comprehensive. I'm struggling abit on the OO type:

Hierarchal
Performance: High speed access
Structure: Simple to design, however relationship can only exist vertically and not horizontally
Size:
Database independence: Good
Problems:


Relational
Performance:
Structure: Comprises of 3 things (1) Tables, (2) Operations that act on table, (3) Rules
Size:
Database independence: Requires relational capable software such as Oracle
Problems:


Object Orientated
Performance:
Structure:
Size:
Database independence: Requires relational capable software such as Oracle
Problems:


Network
Performance: Better than hierarchal
Structure: Resembles a lattice structure. Allows multiple child and parent records
Size:
Database independence: Good
Problems: Lack of structural independence
Reply With Quote
  #2 (permalink)  
Old 05-28-08, 18:53
blindman blindman is offline
World Class Flame Warrior
 
Join Date: Jun 2003
Location: Ohio
Posts: 11,726
We are not here to do your schoolwork for you.
__________________
If it's not practically useful, then it's practically useless.

blindman
www.chess.com: "sqlblindman"
Reply With Quote
  #3 (permalink)  
Old 05-29-08, 03:10
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
You've made a reasonable start; but I would go in to more depth with what you've got so far.

For example; WHY is a heirachial model good for high speed access?

I find it interesting how you have to comment on size in a day in age when memory is so cheap.

And the answer "good" will not get you any marks - one again you're laying the answers thin on the ground - pack them out with detail so you can show you actually know if or why it is "good".
__________________
George
Twitter | Blog
Reply With Quote
  #4 (permalink)  
Old 05-29-08, 23:02
pkstormy pkstormy is offline
Moderator
 
Join Date: Dec 2004
Location: Madison, WI
Posts: 3,925
For speed, I've always used the concept that the less tables you have to link into a query on an indexed table, the faster your results. You pay a speed price for each table you link into a query and for me the question would be, do I store the field in the main table (making it flatter, faster and more flexible for grouping) versus relational and slower returns linking in 1 or more tables to get the values. Obviously though you don't want a completely flat table without relational ones. Just flat on the commonly used fields you group on. I may end up duplicating data in the relational table (for quick returns on the fewer fields in the relational table) but for putting together many grouping combinations, I index and include those grouping fields in the main table which gives me 1 table with many options to total on (similar to a summary table). There is a balance on doing this and you have to determine the right combination of fields to include in the main table but correct me if I'm wrong that every linked table in a query is slower than if that field where in the main table and you didn't need to use the linked table.

In my situation, I needed to often group and total on a multitude of fields (which also had relational tables holding those values as well). It may not be the "correct" technique but I could produce very fast results from dozens of combinations of fields on quite a few million records. Of course, correct indexing always plays a big factor.
__________________
Expert Database Programming
MSAccess since 1.0, SQL Server since 6.5, Visual Basic (5.0, 6.0)

Last edited by pkstormy; 05-29-08 at 23:10.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On