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 > Denormalise bottle-neck

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-29-06, 06:42
OxyJen OxyJen is offline
Registered User
 
Join Date: May 2006
Posts: 7
Question Denormalise bottle-neck

Dear friends,

I am developing a db which appears to have a potential bottleneck. Every person would need to access and update an indexed view based on one table. This table has is star joined to a heirachy of parent-child descriptive lookup tables. Do I de-normalise by adding a set amount of replicate tables to alleviate the bottle neck. This can work as far as the business logic. I just dont know if the db will run effectively. Please advise on standard denormalisation techniques.

OxyJen
Reply With Quote
  #2 (permalink)  
Old 05-29-06, 06:44
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
rule #1 for denormalization: don't denormalize until you have an actual performance problem, not a "potential" problem
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 05-29-06, 07:02
OxyJen OxyJen is offline
Registered User
 
Join Date: May 2006
Posts: 7
thankyou very much

OxyJen
Reply With Quote
  #4 (permalink)  
Old 05-29-06, 23:52
duul duul is offline
Registered User
 
Join Date: Jul 2005
Location: jakarta
Posts: 21
Quote:
This table is star joined to a heirachy of parent-child descriptive lookup tables
this table sounds like a fact table joined by a a bunch of dimension tables. if that is true, im going to have to disagree with r937.

#1 rule on datawarehouse: ALWAYS denormalize.

if, however, it is just a "simple db" or an OLTP, then, by all means do not denormalize.

HTH
Reply With Quote
  #5 (permalink)  
Old 05-30-06, 00:40
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
well spotted, duul, i missed the word "star" somehow

__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #6 (permalink)  
Old 05-30-06, 09:30
OxyJen OxyJen is offline
Registered User
 
Join Date: May 2006
Posts: 7
Thanks Guys,

I am afraid that I am a newbie and I do have star shaped detail tables with nested lookup tables. But they are not dim tables. I am using OLTP cos my clients will need to frequently update their records.

I have reworked some of the tables so that the schema are trim.
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