dbTalk Databases Forums  

cube processing slow

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


Discuss cube processing slow in the microsoft.public.sqlserver.olap forum.



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

Default cube processing slow - 10-04-2006 , 03:00 PM






Hi

I have cube with total number of rows in fact table about 500K and it got 11
dimensions. Last four month it used take about 25 min. to process. But last 2
days it is taking about 3 hrs. nothing changed same data and cube structure.

What are the things i have to look into to optimize processing,

thanks
kalyan

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

Default Re: cube processing slow - 10-04-2006 , 05:18 PM






like a post in the last days...
do you use AS2000or 2005?
have you defrag your indexes in the source database?

does its the loading time (step 1) or the aggregation time (step 2) which
take more time?
1. AS execute a query to load the data; slow performance can come from the
source database
2. AS aggregate the data; slow perf. involve possible memory issue or bad
aggregation design



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

Quote:
Hi

I have cube with total number of rows in fact table about 500K and it got
11
dimensions. Last four month it used take about 25 min. to process. But
last 2
days it is taking about 3 hrs. nothing changed same data and cube
structure.

What are the things i have to look into to optimize processing,

thanks
kalyan



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

Default Re: cube processing slow - 10-04-2006 , 09:58 PM



Thanks
I am using AS2000, Slow occured at the time of loading data,
Can u suggestion which best index and also I defrag indexes on fact table.

Thanks
Kalyan

"Jéjé" wrote:

Quote:
like a post in the last days...
do you use AS2000or 2005?
have you defrag your indexes in the source database?

does its the loading time (step 1) or the aggregation time (step 2) which
take more time?
1. AS execute a query to load the data; slow performance can come from the
source database
2. AS aggregate the data; slow perf. involve possible memory issue or bad
aggregation design



"Kalyan" <Kalyan (AT) discussions (DOT) microsoft.com> wrote in message
news:7A8F4B0B-C39B-45B8-88B2-FC1C877E3AAF (AT) microsoft (DOT) com...
Hi

I have cube with total number of rows in fact table about 500K and it got
11
dimensions. Last four month it used take about 25 min. to process. But
last 2
days it is taking about 3 hrs. nothing changed same data and cube
structure.

What are the things i have to look into to optimize processing,

thanks
kalyan




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

Default Re: cube processing slow - 10-05-2006 , 07:04 AM



start by updateing the statistics of the source tables
using a command like : sp_updatestats

you can also defrag the indexes using the DBCC commands
search in the SQL help to learn more about these commands.

if the statistics of SQL Server are not correct, the queries executed can
take a very long time because SQL Server will use a bad index plan.
This can explain why your loading time is slow now and not before.

if you delete and add large number of rows in a table, make sure you update
the statistics after this process.


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

Quote:
Thanks
I am using AS2000, Slow occured at the time of loading data,
Can u suggestion which best index and also I defrag indexes on fact table.

Thanks
Kalyan

"Jéjé" wrote:

like a post in the last days...
do you use AS2000or 2005?
have you defrag your indexes in the source database?

does its the loading time (step 1) or the aggregation time (step 2)
which
take more time?
1. AS execute a query to load the data; slow performance can come from
the
source database
2. AS aggregate the data; slow perf. involve possible memory issue or bad
aggregation design



"Kalyan" <Kalyan (AT) discussions (DOT) microsoft.com> wrote in message
news:7A8F4B0B-C39B-45B8-88B2-FC1C877E3AAF (AT) microsoft (DOT) com...
Hi

I have cube with total number of rows in fact table about 500K and it
got
11
dimensions. Last four month it used take about 25 min. to process. But
last 2
days it is taking about 3 hrs. nothing changed same data and cube
structure.

What are the things i have to look into to optimize processing,

thanks
kalyan






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

Default Re: cube processing slow - 10-18-2006 , 08:39 AM



simple solution : create a DSO script
or use the cube process utility (found on the MS web site)

"Yolanda Cobos" <ycobos (AT) iniker (DOT) com> wrote

Quote:
Hello,

Can you tell me how I can process automatically every day my cube, without
going to the Analysis Services?? Is there another automatically way which
I am able to programm it with??

Thanks a lot !!
Yolanda.


"Jéjé" <willgart_A_ (AT) hotmail_A_ (DOT) com> escribió en el mensaje
news:ulsomZH6GHA.4112 (AT) TK2MSFTNGP04 (DOT) phx.gbl...
start by updateing the statistics of the source tables
using a command like : sp_updatestats

you can also defrag the indexes using the DBCC commands
search in the SQL help to learn more about these commands.

if the statistics of SQL Server are not correct, the queries executed can
take a very long time because SQL Server will use a bad index plan.
This can explain why your loading time is slow now and not before.

if you delete and add large number of rows in a table, make sure you
update the statistics after this process.


"Kalyan" <Kalyan (AT) discussions (DOT) microsoft.com> wrote in message
news:C1FCA1CC-4666-4173-85B4-FFC38371D04F (AT) microsoft (DOT) com...
Thanks
I am using AS2000, Slow occured at the time of loading data,
Can u suggestion which best index and also I defrag indexes on fact
table.

Thanks
Kalyan

"Jéjé" wrote:

like a post in the last days...
do you use AS2000or 2005?
have you defrag your indexes in the source database?

does its the loading time (step 1) or the aggregation time (step 2)
which
take more time?
1. AS execute a query to load the data; slow performance can come from
the
source database
2. AS aggregate the data; slow perf. involve possible memory issue or
bad
aggregation design



"Kalyan" <Kalyan (AT) discussions (DOT) microsoft.com> wrote in message
news:7A8F4B0B-C39B-45B8-88B2-FC1C877E3AAF (AT) microsoft (DOT) com...
Hi

I have cube with total number of rows in fact table about 500K and it
got
11
dimensions. Last four month it used take about 25 min. to process.
But
last 2
days it is taking about 3 hrs. nothing changed same data and cube
structure.

What are the things i have to look into to optimize processing,

thanks
kalyan










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.