dbTalk Databases Forums  

Question about updating fact tables and updating cubes - Part1

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


Discuss Question about updating fact tables and updating cubes - Part1 in the microsoft.public.sqlserver.olap forum.



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

Default Question about updating fact tables and updating cubes - Part1 - 04-08-2004 , 10:01 AM






Hi,

After I have updated my fact table or tables how should I update my
cube?

Should I manually right click on the cube and select the process now
option or is there a better way to go about this??? Ideally I would like
that the cube(s) and the dimensions should be automatically updated
(processed) after the underlying fact and dimension tables have been
updated. Can I automate this? Of yes, please guide how...

Thanks.

Reply With Quote
  #2  
Old   
Tom Chester
 
Posts: n/a

Default Re: Question about updating fact tables and updating cubes - Part1 - 04-09-2004 , 10:23 AM






It can be automated using DTS.

public @ the domain below
www.tomchester.net

"Learner" <wantnospam (AT) email (DOT) com> wrote

Quote:
Hi,

After I have updated my fact table or tables how should I update my
cube?

Should I manually right click on the cube and select the process now
option or is there a better way to go about this??? Ideally I would like
that the cube(s) and the dimensions should be automatically updated
(processed) after the underlying fact and dimension tables have been
updated. Can I automate this? Of yes, please guide how...

Thanks.



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

Default Re: Question about updating fact tables and updating cubes - Part1 - 04-09-2004 , 05:11 PM



It can also be automated through BATCH scripts (.bat).

Use Paralel Processing Utility - from command lines.

(here is where you download it:

http://www.microsoft.com/downloads/d...displaylang=en

Reply With Quote
  #4  
Old   
Learner
 
Posts: n/a

Default Re: Question about updating fact tables and updating cubes - Part1 - 04-11-2004 , 05:03 AM



Tom and Harsh,

Thanks for your replies.

Currently I do all of the following manually and kindly tell me if a DTS
alone can handle all of these automatically. Please guide me for each
step (if possible) because this can really make life easy for me:

1) I move certain tables from one database to another. Currently for
this part only I have saved a DTS and I run it manually


2) I delete all records from a table XYZ based on a SQL statement which
I run from Query Analyzer (Basically I do a delete all SQL)

3) I populate this XYZ table using a SQL statement which again I
manually enter and run from Query Analyzer

4) I do some linking of fields between XYZ table and another table -
again by manually entering and running an SQL statement from Query
Analyzer

Please guide how can I automate the above tasks.


Regards.

Reply With Quote
  #5  
Old   
Michael Vardinghus
 
Posts: n/a

Default Re: Question about updating fact tables and updating cubes - Part1 - 04-11-2004 , 03:14 PM



Look below .. don't know how you created the DTS ... if you saved the result
of the wizard you know need to open the package that you saved and do some
changes.

\Michael Vardinghus

Learner <wantnospam (AT) email (DOT) com> wrote

Quote:
Tom and Harsh,

Thanks for your replies.

Currently I do all of the following manually and kindly tell me if a DTS
alone can handle all of these automatically. Please guide me for each
step (if possible) because this can really make life easy for me:

1) I move certain tables from one database to another. Currently for
this part only I have saved a DTS and I run it manually

MIVAR: You can scedule the DTS-script using SQL Server Agent (right click on
the DTS-script and choose Schedule)
Quote:
2) I delete all records from a table XYZ based on a SQL statement which
I run from Query Analyzer (Basically I do a delete all SQL)
MIVAR: The command that you fire away in Query analyzer can be put in an
execute SQL Statement in the DTS-package above (you need to connect step 1
with this step 2)
Quote:
3) I populate this XYZ table using a SQL statement which again I
manually enter and run from Query Analyzer

MIVAR: Again using an excecute SQL Statement in the DTS-package (step 2
must be followed by this step 3...)

Quote:
4) I do some linking of fields between XYZ table and another table -
again by manually entering and running an SQL statement from Query
Analyzer

MIVAR: Not quite sure what you mean by linking fields.... isn't this a one
time only task ?

Quote:
Please guide how can I automate the above tasks.


Regards.



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.