dbTalk Databases Forums  

OLAP processing query CPU intensive

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


Discuss OLAP processing query CPU intensive in the microsoft.public.sqlserver.olap forum.



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

Default OLAP processing query CPU intensive - 11-15-2006 , 08:49 PM






hi,

can i would like to inquire something on MSSQL2005 Processing?

currently our MSSQL2005 Analysis Services is pulling data from UNIX Oracle
(data marts) to process the data.

however, when the process starts, the CPU at UNIX Oracle will hit 100%!!!

as we currently shares the UNIX Oracle Server with other applications, we
will slow down the whole system. This is unacceptable to the user.

is there anyway to restrict the processing not be be so resource intensive?

thanks.

-

Hiong Yee


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

Default Re: OLAP processing query CPU intensive - 11-15-2006 , 09:35 PM






check the queries SSAS execute against the source.
if the queries executed use too many joins, try to create views in the
database which do these joins at this level using your own optimization
tips. and then use these views instead of the SSAS "auto created" views.
also optimize the source tables by creating good indexes.
SQL Server allow the user to create queries with an option to reduce the
number of CPUs used to execute this query (maxdop), maybe Oracle has the
same option.

From SSAS point of view there is no options to reduce the CPU usage on the
database server.
You have to verify if you can change something in the connectionstring
himself or at the database server level.

Another option is to extract the data from the Oracle database using simple
queries (select * from table) and dump this into another server. the impact
for the users will be smaller then queries with joins, but this required an
extra step in your process.

also, reduce the number of concurrent partitions processed in parallel.

and finally... try to not use the same hardware for your datamarts and
operational databases, the hardware & software requirements of each DB is
completely different.

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

Quote:
hi,

can i would like to inquire something on MSSQL2005 Processing?

currently our MSSQL2005 Analysis Services is pulling data from UNIX Oracle
(data marts) to process the data.

however, when the process starts, the CPU at UNIX Oracle will hit 100%!!!

as we currently shares the UNIX Oracle Server with other applications, we
will slow down the whole system. This is unacceptable to the user.

is there anyway to restrict the processing not be be so resource
intensive?

thanks.

-

Hiong Yee


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

Default Re: OLAP processing query CPU intensive - 11-16-2006 , 08:42 AM



You can also limit how many processing threads are happening in parallel on
SSAS. Unconfirmed number is 4 threads per CPU. So if you have 2 CPU machine
that has hyperthreading enabled (4 CPUs visible to OS), then SSAS might
execute up to 16 threads in parallel. That does not mean that all 16 will
submit queries to your relationship database. Some of them will calculate
internal indexes, aggregates, etc. So you can try to limit value to 1, see
impact on your relationship database server, then increase number and etc.

I am using XMLA to start processing. My XMLA is something like that (for max
2 parallel queries):
<Batch xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
<Parallel MaxParallel="2">
<Process xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Object>
<DatabaseID>MyDBName</DatabaseID>
<CubeID>MyCubeName</CubeID>
</Object>
<Type>ProcessFull</Type>
<WriteBackTableCreation>UseExisting</WriteBackTableCreation>
</Process>
</Parallel>
</Batch>

If you are using SQL Management STudio to start processing, you can change
value for this parameter interactivly.

Regards,


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

Quote:
hi,

can i would like to inquire something on MSSQL2005 Processing?

currently our MSSQL2005 Analysis Services is pulling data from UNIX Oracle
(data marts) to process the data.

however, when the process starts, the CPU at UNIX Oracle will hit 100%!!!

as we currently shares the UNIX Oracle Server with other applications, we
will slow down the whole system. This is unacceptable to the user.

is there anyway to restrict the processing not be be so resource
intensive?

thanks.

-

Hiong Yee




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.