dbTalk Databases Forums  

historical data

comp.databases.olap comp.databases.olap


Discuss historical data in the comp.databases.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Yaxiong Lin
 
Posts: n/a

Default historical data - 10-13-2004 , 09:59 PM






I need your opinions on which way is best suited for OLAP to store the
historical data.

We need to capture the resource usage/booking level on the daily basis
and will be using the data collected to help analyze the efficiency in
our business process. The resource usage/booking rate is in a single
table with 200,000 rows with each row represent a single resource at a
particular time in the future. We could take a snapshot of the table
and append to the Archive table. Or we could just archive the rows
that were changed since last archive time and append those rows to the
Archive table.

The snapshot approach is straight forward and the data is ready to be
analyzed with stat tool or graphing tool since it has the complete
picture of what the resource usage/booking level looks like over time.

The second approach which just copies the changed rows into the
Archive table is a little bit harder to implement, but the size of the
Archive table is a lot smaller. However most importantly, the data in
the Archive table represents the changes and thus can not be used
directly for analysis like drawing histogram or doing statistical
analysis without back filling the data points for the days the
resource didn't change (which is very difficult to do in a few
straight sql statement).

My question is, should we store the data in the way it can be easily
used for analysis or in the way it is efficiently stored?

Reply With Quote
  #2  
Old   
Bob
 
Posts: n/a

Default Re: historical data - 10-15-2004 , 07:26 PM






Hi,

I would go for all the data every time.

Basically, the approach I take is related to Essbase and Analysis Services.

It sounds like this resource usage data is the main transaction table for
the OLTP system, so consequently, I am assuming that you are pulling this
data into your cube.

What kind of detail can you give on the cube-building process involved?

Bob


"Yaxiong Lin" <lin.yaxiong (AT) mayo (DOT) edu> wrote

Quote:
I need your opinions on which way is best suited for OLAP to store the
historical data.

We need to capture the resource usage/booking level on the daily basis
and will be using the data collected to help analyze the efficiency in
our business process. The resource usage/booking rate is in a single
table with 200,000 rows with each row represent a single resource at a
particular time in the future. We could take a snapshot of the table
and append to the Archive table. Or we could just archive the rows
that were changed since last archive time and append those rows to the
Archive table.

The snapshot approach is straight forward and the data is ready to be
analyzed with stat tool or graphing tool since it has the complete
picture of what the resource usage/booking level looks like over time.

The second approach which just copies the changed rows into the
Archive table is a little bit harder to implement, but the size of the
Archive table is a lot smaller. However most importantly, the data in
the Archive table represents the changes and thus can not be used
directly for analysis like drawing histogram or doing statistical
analysis without back filling the data points for the days the
resource didn't change (which is very difficult to do in a few
straight sql statement).

My question is, should we store the data in the way it can be easily
used for analysis or in the way it is efficiently stored?



Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.