dbTalk Databases Forums  

Process Cube : 'Refresh Data' or 'Full Process' ?

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


Discuss Process Cube : 'Refresh Data' or 'Full Process' ? in the microsoft.public.sqlserver.olap forum.



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

Default Process Cube : 'Refresh Data' or 'Full Process' ? - 05-24-2004 , 11:38 PM






Hi Olap Gurus,

I am using VIEW as fact table because my sales data use some different
foreign currency while the analysis must be done in local currency. All data
is updated nightly. Below attached my simplified fact table and view.

The question is :
1) When I design automatic cube process, is it enough to use 'Refresh Data'
to make sure that the sales amount always use latest
rate ?
2) If I have 1,000,000 rows of fact table / View, and the currency rate of 1
row changes, does it mean that all data will be
crecalculated during Cube process ? If yes, is there anyway to avoid
this ?

Thanks for your help,
Krist

Create Table OrderDetail (
OrderId Int Identity(1,1) Not Null Primary key,
OrderDate DateTime Not Null,
Amount Decimal(15,2),
YYYYMM Int,
Currency Char(3)
)

Create Table Currency (
YYYYMM Int Not Null,
Currency Char(3) Not Null,
Rate Decimal(8,2),
CONSTRAINT "PK_Currrency" PRIMARY KEY ("Currency")
)

CREATE VIEW OrderFact AS
SELECT O.OrderID, O.OrderDate, O.Amount*C.Rate AS Amount
FROM OrderDetail O
INNER JOIN Currency C ON C.YYYYMM = O.YYYYMM AND C.Currency = O.Currency





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

Default Re: Process Cube : 'Refresh Data' or 'Full Process' ? - 05-27-2004 , 04:50 AM






Hi,
Thanks for your reply.
But I use Standard Edition while Partitioning and Linked cubed only
supported in Enterprise Edition.
Or am I missing something here ?

Thank you,
Krist

"Carlos Colombo" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
If all your analysis is based on current rates a data refresh is what you
want. After all currency rates change every day.
Of course, if the mayority of the data is in the same currency used for
the analysis you do not want to refresh thouse rows. Then I would recomend
to partition your cube : one partition for data in the analysis currency and
another partition for the rest.
Quote:
By the way, make sure all analysis will be done based on -current- rates
before commiting to this model... you know, user requeriments may change.

regards,
Carlos



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.