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 > Database aggregation choice ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-10-08, 03:37
arcondo arcondo is offline
Registered User
 
Join Date: Mar 2004
Posts: 8
Database aggregation choice ?

Dear all,

I'm looking for advice to make a choice of aggregation on a datamart I've built. is there any one who conducted such work ? any insights ? any web site where I can find litterature on this topic.

Thanks in advance,
Reply With Quote
  #2 (permalink)  
Old 06-10-08, 06:06
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
what are your aggregation options? what do the datamart tables look like?

you say you need to make a choice, but you don't give us any idea of what those choices are
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 06-11-08, 10:50
arcondo arcondo is offline
Registered User
 
Join Date: Mar 2004
Posts: 8
So my datamart is very simple : It emcompasses one big fact table (3,3 Go; 4 billion rows) - 5 dimensions tables with 2 SCD.

I'm thinking on 2 different strategies to build my fact aggregates.

1 - analyzing the business requirements in terms of reporting
2 - analyzing the parsed SQL submitted by user and then try to locate what could be aggregated.

Indeed, I'm more looking for best practices in terms of aggregation.

Cheers,
Reply With Quote
  #4 (permalink)  
Old 06-11-08, 11:46
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
excellent analysis

i've done both 1 and 2

1 works with senior management support, otherwise it's a disaster

2 only works if you can get the users to rewrite their old queries to take advantage of the aggregates you've built -- or is this parsing something you plan to do on the fly during query execution?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #5 (permalink)  
Old 06-13-08, 08:56
arcondo arcondo is offline
Registered User
 
Join Date: Mar 2004
Posts: 8
Thanks for your feedback,

I understand that I'm not lost.

I heard that it is possible to dynamicaly build the aggregate during execution but seems to be weird for me.

any insight on this ?
Reply With Quote
  #6 (permalink)  
Old 06-13-08, 09:18
blindman blindman is offline
World Class Flame Warrior
 
Join Date: Jun 2003
Location: Ohio
Posts: 11,726
To find out what users need, I'd rather communicate with them directly than merely watch what SQL statements they submit.
__________________
If it's not practically useful, then it's practically useless.

blindman
www.chess.com: "sqlblindman"
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