BC remote Oracle DBA - Call (800) 766-1884
Free Oracle Tips

Oracle Consulting Oracle Training Development

Remote DBA

 

Remote DBA Plans
Remote DBA Service

 
Remote DBA Oracle Home
Remote DBA Oracle Training
Remote DBA SQL Tuning Consulting
Remote DBA Oracle Tuning Consulting
Remote DBA Data Warehouse Consulting
Remote DBA Oracle Project Management
Remote DBA Oracle Security Assessment
Remote DBA Unix Consulting
Burleson Books
Burleson Articles
Burleson Web Courses
Burleson Qualifications
Oracle Internals Magazine
Oracle Links
Remote DBA Oracle Monitoring
Remote DBA Support Benefits
Remote DBA Plans & Prices
Our Automation Strategy
What We Monitor
Oracle Apps Support
Print Our Brochure
Contact Us (e-mail)
Oracle Job Opportunities
Oracle Consulting Prices





   

 

 

 

 
 

Oracle Tips 

by Burleson Consulting

The Data Warehouse Development Life Cycle

Aggregating Data For The Oracle Warehouse

The resulting region_item_type table might look like Table 6.1.

Date            Region               Type                    Monthly Sales
3/97          West               Clothes              $113,999
3/97          West               Hardware           $56,335
3/97          West               Food                 $23,574
3/97          East                Clothes              $45,234
3/97          East                Hardware           $66,182
3/97          East                Food                 $835,342
3/97          South              Clothes              $1,223
3/97          South              Hardware           $56,392
3/97          South              Food                 $9,281
3/97          North               Clothes             $826,463
3/97          North               Hardware           $77,261
3/97          North               Food                 $43,383

Table 6.1 A sample region_item_type table.

While this technique provides summaries for March 1997, what if we want to keep a rolling average of regions and items regardless of the date? In this case, we can use the same SQL that we used earlier, without the SQL WHERE clause. Because the values will change each time the warehouse is updated, new aggregate tables can be built in the middle of the night if need be--right after the master fact tables have been populated with the day’s sales. The next morning, the prior day’s sales will have been rolled-up into these summaries, giving management an accurate, fast, and easy-to-use tool for decision support.

Note: Parallel Create Table As Select (PCTAS) can be very useful in an Oracle data warehouse environment where tables are replicated across numerous servers or when pre-aggregating roll-up summary tables. Parallel Create Table As Select is also very useful when performing roll-up activities against your Oracle warehouse. For details on PCTAS, see Chapter 7, Parallelism And Oracle Data Warehousing.


This is an excerpt from "High Performance Data Warehousing". To learn more about Oracle, try "Oracle Tuning: The Definitive Reference", by Donald K. Burleson.  You can buy it direct from the publisher at 30% off here:
http://www.rampant-books.com/book_1002_oracle_tuning_definitive_reference_2nd_ed.htm
 

 


Expert Remote DBA

BC is America's oldest and largest Remote DBA Oracle support provider.  Get real Remote DBA experts, call
BC Remote DBA today.

 

 

Remote DBA Service
 

Oracle Tuning Book

Free Oracle dictionary reference poster

BC Oracle support

Oracle books by Rampant

Oracle monitoring software

North Carolina Oracle Users Group

 

 Arabian horse breeder

Seeing eye horses

 

 

Burleson is the American Team

American Flag

 

 

BC Remote Oracle Support
P.O. Box 511 • Kittrell, NC, 27544

Remote DBA

Remote DBA Services

 

Copyright © 1996 -  2011 by Burleson Enterprises. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.