Solved

How to optimize the database design

Posted on 2007-12-06
9
187 Views
Last Modified: 2010-03-19
I am trying to design a new database with trending and event data for devices at different site.

The data may keep coming in.

I am quite new in database design, may I know if there is any golden rules? Thanks
0
Comment
Question by:turbot_yu
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 25

Assisted Solution

by:imitchie
imitchie earned 100 total points
ID: 20425875
Some rules for convenience:
normalize tables
design fill factors properly
design growth factor for performance
use identity columns on all tables
0
 

Author Comment

by:turbot_yu
ID: 20425935
May you give detail info of
normalize tables
design fill factors properly
design growth factor for performance
0
 
LVL 11

Accepted Solution

by:
saleek earned 200 total points
ID: 20426436
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 18

Assisted Solution

by:Yveau
Yveau earned 200 total points
ID: 20430531
The DB hero on database design is Christopher J. Date.
One of his best books: An Introduction to Database Systems (ISBN 0-321-19784-4)

... that should get you firm in your seat as a db designer ...

Hope this helps ...
0
 

Author Comment

by:turbot_yu
ID: 20439228
I cannot afford for the book, also I need a RAID, which mode is better, thanks.
0
 
LVL 18

Assisted Solution

by:Yveau
Yveau earned 200 total points
ID: 20444607
RAID 10 is - in my experience - the best you can get for an OLTP database system.
But that is expensive as you have pretty much overhead ... RAID 5 is good ... RAID 1 is not very good and RAID 0 is not so good ... to put it in a nutshell ...

Hope this helps ...
0
 
LVL 22

Expert Comment

by:dportas
ID: 20456170
turbot_yu: You can afford RAID but you can't afford a book that will educate you on the subject which you are allegedly trying to learn...? Ignorance is far more expensive than knowledge so I would recommend two other books on design:

Information Modeling and Relational Databases by Terry Halpin
Practical Issues in Database Management by Fabian Pascal

Avoid RAID5 for databases. But seriously, you need to get more assistance than is possible in these forums.
0
 
LVL 18

Expert Comment

by:Yveau
ID: 20460519
@dportas: >> "Avoid RAID5 ..."
... ? Hey, that is a surprising statement. Based on experience ? Can you clear this one up for me please ?
I'm curious ! I use it for all my databases ... (In a SAN configuration) No bad experiences myself ...

Thanks, Yveau
0
 
LVL 22

Expert Comment

by:dportas
ID: 20460960
RAID5 is usually advocated by storage vendors or just taken for granted by storage purchasers, without thought for the type of system using it.

The biggest cost of RAID5 is the 4 x write penalty, particularly for database work which is read-write intensive. Also, RAID5 actually offers very little protection for databases. Databases work best when spanned over many spindles. More spindles means more failures. With RAID5 you are much more likely to have failures that result in data loss, which can mean the whole database has to be restored. Add to that the enormous overhead of even a single disk failure with RAID5. RAID5 is an incredibly bad deal.

You can find supporting data in some detail at Mogens Nørgaard's excellent site:
www.baarf.com
which was established specially to make the case against RAID5 for databases.

Also, there are slides by Dr Jim Gray (now very sadly missed, alas) at:
http://loci.cs.utk.edu/dsi/netstore99/docs/presentations/keynote/sld031.htm

(Last year, Mogens and myself both attended a memorable lunch with Dr Jim Gray at which Jim enthusiastically endorsed the idea of abolishing RAID5)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Read about achieving the basic levels of HRIS security in the workplace.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question