dbTalk Databases Forums  

Inserts and updates into a cube

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Inserts and updates into a cube in the microsoft.public.sqlserver.olap forum.



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

Default Inserts and updates into a cube - 01-17-2006 , 05:58 AM






Dear all,

We recieve a number of datafiles each day, these files contain both inserts
and updates. We need to generate a cube every day which has both the inserts
and updates in it in the fastest time possile.

Is there any documentation on having to perform updates on measures that are
already in a cube, or will this not be a problem ?

If possible could you point me to a document that covers it ?

Thanks
P

Reply With Quote
  #2  
Old   
Jéjé
 
Posts: n/a

Default Re: Inserts and updates into a cube - 01-17-2006 , 07:44 AM






there is 2 ways to perform an update:
reprocess the cube with the current data
"delete then insert" the values using incremental updates:
to do this:
first you have to "delete" data from the cube, this operation is done by an
incremental update of the cube where you send the negative values to update.
For example, if your cube has 10K$ of sales, you'll send a -10K$ to your
cube. The step "remove" the current values
After this you can insert the new values.
You can optimize. if your cube has 10K$ and your new value is 15K$ just send
the +5K$ information.

I don't recommend the incremental update due to the complexity and the
impact on the cube performance. (incremental updates have bad impact on a
cube, also the stability of the cube could be impacted)

I recommend to play with your partitions.
Create a "weekly" partition, every day you process this partition which
contain only data for the current week.
Create another partition which contains historical data (or current year...)
and process this one once a week.
Simple, quick, easy to maintain and in case of a problem you have to
reprocess only 1 short partition.
You can also provides real time cubes.

which version of AS do you use?


"Patricia" <Patricia (AT) discussions (DOT) microsoft.com> wrote

Quote:
Dear all,

We recieve a number of datafiles each day, these files contain both
inserts
and updates. We need to generate a cube every day which has both the
inserts
and updates in it in the fastest time possile.

Is there any documentation on having to perform updates on measures that
are
already in a cube, or will this not be a problem ?

If possible could you point me to a document that covers it ?

Thanks
P



Reply With Quote
  #3  
Old   
Patricia
 
Posts: n/a

Default Re: Inserts and updates into a cube - 01-17-2006 , 08:19 AM



Thanks Jéjé,

I'm currently running Analysis Services 2000.

Thanks for help
P

"Jéjé" wrote:

Quote:
there is 2 ways to perform an update:
reprocess the cube with the current data
"delete then insert" the values using incremental updates:
to do this:
first you have to "delete" data from the cube, this operation is done by an
incremental update of the cube where you send the negative values to update.
For example, if your cube has 10K$ of sales, you'll send a -10K$ to your
cube. The step "remove" the current values
After this you can insert the new values.
You can optimize. if your cube has 10K$ and your new value is 15K$ just send
the +5K$ information.

I don't recommend the incremental update due to the complexity and the
impact on the cube performance. (incremental updates have bad impact on a
cube, also the stability of the cube could be impacted)

I recommend to play with your partitions.
Create a "weekly" partition, every day you process this partition which
contain only data for the current week.
Create another partition which contains historical data (or current year...)
and process this one once a week.
Simple, quick, easy to maintain and in case of a problem you have to
reprocess only 1 short partition.
You can also provides real time cubes.

which version of AS do you use?


"Patricia" <Patricia (AT) discussions (DOT) microsoft.com> wrote in message
news:05F618C9-AD2B-4611-8D33-A81869F3D5CB (AT) microsoft (DOT) com...
Dear all,

We recieve a number of datafiles each day, these files contain both
inserts
and updates. We need to generate a cube every day which has both the
inserts
and updates in it in the fastest time possile.

Is there any documentation on having to perform updates on measures that
are
already in a cube, or will this not be a problem ?

If possible could you point me to a document that covers it ?

Thanks
P




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.