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 > Database Server Software > DB2 > xref vs denormalization

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-11-05, 10:50
keenaf keenaf is offline
Registered User
 
Join Date: Jan 2005
Posts: 12
Cool xref vs denormalization

This is my first post, so I hope I am not infringing on any rules. We are using DB2 os/390 v7. We have several xref tables cross referencing corps, accts, custs, users, and cards. The Java developers have a need to join all tables for all needed data in one join so as to perform only one call and the levels of nested jons are becoming horrendous. What is the current opinion on xref tables and joins vs denormalization.

Thanks for your help/advice in advance,
KeenaF
Reply With Quote
  #2 (permalink)  
Old 01-12-05, 07:31
hurmavi hurmavi is offline
Registered User
 
Join Date: Jan 2004
Location: Europe, Finland, Helsinki
Posts: 60
Hi!

Good question! We are a OS/390 user and have a only a few examples of denormalization. The main point is how often underlying data will be updated. Best compromise is probably to have the both. All updates will be done to "normal" 3NL-normalized table and the triggers will update denormalized table used in queries.

We have 30 something big applications, now only 2 of them are using denormalized query table. Usually big joins are quite OK (if there are good indexes and same clustering key).

Hope this will give some insigth

Cheers, Bill
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