Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Is It Still Effective To Use Relational Model?
Old 09-04-2008, 10:08 AM Is It Still Effective To Use Relational Model?
Novice Talker

Posts: 14
Trades: 0
Do you guys still use the model when you make your database for your websites?

My professor used to remind us to do that though others seem don't bother.
__________________
Watch out my
Please login or register to view this content. Registration is FREE
,
Please login or register to view this content. Registration is FREE
and
Please login or register to view this content. Registration is FREE
Game
About
Please login or register to view this content. Registration is FREE
raphnix is offline
Reply With Quote
View Public Profile Visit raphnix's homepage!
 
 
Register now for full access!
Old 09-04-2008, 01:22 PM Re: Is It Still Effective To Use Relational Model?
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
Absolutely. You can't have a database as a single point of knowledge that holds billions of rows that isn't normalized according to the relational model. The only way you could try to mimic that outside relational space is to federate the data out across millions of servers using some proprietary data storage and access methodology. Or, a single box with a great hard disc sub system and decent CPU, RAM, etc, will easily manage the same data and respond quickly.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 09-05-2008, 03:33 AM Re: Is It Still Effective To Use Relational Model?
mtishetsky's Avatar
King Spam Talker

Posts: 1,226
Name: Mike
Location: Mataro, Spain
Trades: 0
Well in fact sometimes your should denormalize to achieve better performance, but in absolutely most cases it is only required under extreme highload.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

And don't forget to give me talkupation!
mtishetsky is offline
Reply With Quote
View Public Profile Visit mtishetsky's homepage!
 
Old 09-05-2008, 05:16 AM Re: Is It Still Effective To Use Relational Model?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,520
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
My professor used to remind us to do that though others seem don't bother.
Yes, Usually the I read how to do this on the Internet "DBAs".

If you have a few hundred records that are being accessed by a handful of people then probably not.

When you scale up on on users and records, then it becomes pretty much essential.

What happens in a monolithic system when Miss P Jones marries Mr D Smith and wants all her data changing AND there are 6 different Miss P Jones's in the system?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-05-2008, 02:23 PM Re: Is It Still Effective To Use Relational Model?
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
Quote:
Originally Posted by mtishetsky View Post
Well in fact sometimes your should denormalize to achieve better performance, but in absolutely most cases it is only required under extreme highload.
Half right. You should denormalize to get better performance when
  1. You have 10x more reads than writes.
  2. Most of the queries coming in to the system have the same joins.
  3. The joins are expensive.
That really only describes data warehouse reporting databases. Anything transactional, and the more load your system comes under, the more you need normalized structure. Instead of writing to one giant table to reflect a small change, under high load, you need to write to very narrow tables.

One important thing normalization gets you is less disc IO. And this is one of the best optimizations possible.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 09-05-2008, 04:55 PM Re: Is It Still Effective To Use Relational Model?
Novice Talker

Posts: 7
Name: Linda
Trades: 0
you SHOULD use 3rd normal form if possible. This way it will prevent update/delete anomilies.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
lindaadams is offline
Reply With Quote
View Public Profile
 
Old 09-10-2008, 05:33 AM Re: Is It Still Effective To Use Relational Model?
mtishetsky's Avatar
King Spam Talker

Posts: 1,226
Name: Mike
Location: Mataro, Spain
Trades: 0
Quote:
Originally Posted by lindaadams View Post
you SHOULD use 3rd normal form if possible. This way it will prevent update/delete anomilies.
Until you get 10M select requests daily.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

And don't forget to give me talkupation!
mtishetsky is offline
Reply With Quote
View Public Profile Visit mtishetsky's homepage!
 
Old 09-10-2008, 04:18 PM Re: Is It Still Effective To Use Relational Model?
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
Quote:
Originally Posted by mtishetsky View Post
Until you get 10M select requests daily.
Generally, yes, but it depends what kind of selects, or, more precisely, what's being selected. If you have an application with many users, that's constantly hitting the database to populate combo boxes, highly normalized schemas will give the best performance. If it's mostly* management reports, denormalized is best from a perf standpoint.

The best way to measure "mostly" is the total amount of time for SQL commands to execute. Counting the number of executions is meaningless, and resource utilization is tricky (logical vs physical, etc), but as long as you don't have an overwhelming problem with locks, duration is the best overall measure, and time is the real cost the organization pays.

OLTP tends to do best when normalized, and OLAP tends to benefit somewhat from denormilization.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Is It Still Effective To Use Relational Model?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27925 seconds with 12 queries