dbTalk Databases Forums  

Very slow processing time

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


Discuss Very slow processing time in the microsoft.public.sqlserver.olap forum.



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

Default Very slow processing time - 10-01-2003 , 02:01 AM






hello everyboy,

we have set up a (MOLAP) Cube, with MS analyses services,
using a Datamart on SQL Server 2000
(on the same maschine), and everything works fine, except
the time of calculating the cube.

The Maschine: Dual Xeon 1.7Ghz, 4GB RAM, W2K Server
SQL Server 2000 SP3
Analyses services with SP

Fact Table: data of 14 days, with ~3million rows, thats
not so much
22 Dimensions,
23 Mesures
11 Calculated members
no special User security

the cube holds all real estate objects of our customers of
every day.

there is one Dimesion, the "Unternehmen inkl Objekte", for
the name of companies
and their employees AND the Objectnumber of the Real
estate objects from the fact table, and therefor the
dimension is joined with the fact table
(and the time), because its necercerry to show the object
id as a level in this dimension
I think that this decreases the performance, but why?
When the cube is calulating, with 15% (140 agg.)
aggragations, it needs 62 hours !!
with 6% (thats 9 agg) aggrgations, it needs 2 hours.
The SQL Server and the number of recordsets is not the
problem.
The servers are strong maschines....so...cann anybody tell
us:

1.) is this special dimension the main problem
because ...and is there a solution?
2.) if this special dimension is ok, what performance
counters can we view to find problems of analayses
services?
(we have a fast Raid5 system, 4gb ram, xeon
CPU,.so i don't mind that we have a hardware problem)

here are 2 screenshots of the cube editor, and the
special "Unternehmen inkl Objekte"- dimension.
(you can see the joins, and the level ObjektNr)
http://www.immobilien.net/CubeEditor.gif
http://www.immobilien.net/DimensionEditor.gif

thanks for ANY help in advance, and sorry for my bad
english ;-)
Thomas Gugler.
www.immobilien.net

Reply With Quote
  #2  
Old   
Lutz Morrien
 
Posts: n/a

Default Very slow processing time - 10-01-2003 , 03:29 AM






Thomas,
looking at your cube design, I noticed some things which
might be part of the problem.

1. dimension tables should be linked to fact tables by a
single join only.

2. You seem to have a lot of dimensions. Maybe you could
merge some of them to form a simplified star scheme.
Creating a junk dimension could be helpful. Also make
sure that, whenever you do not need an aggregation
between two similar dimensions, to use a dimension
hierarchy.

Regarding your system: Have you set the 3GB switch?
Otherwise your memory will not be used. A dual processor
system also will not help too much with speeding up
processing as far as I know.

I' d look in the dimensional design and change something
there.

HTH Lutz



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

Default RE : Very slow processing time - 10-01-2003 , 04:27 AM



Try increasing the values of Read-Ahead Buffer and Process
Buffer size in "Processing Settings" tab.

(Right Click Analysis Server Name from the Analysis
Manager and select Properties)

Cheers,
Sanka

Reply With Quote
  #4  
Old   
Deepak Puri
 
Posts: n/a

Default Re: Very slow processing time - 10-01-2003 , 10:08 PM



Can you check how long cube processing takes when you remove the
"special" dimension? It could well be creating performance problems,
apart from the fact that including the fact table in a dimension is
usually not a good idea. It is not clear why the Time table is also
included in the schema. Also, how many "Object Numbers" are there, and
is the fact table indexed on "Object Number"?


- Deepak

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #5  
Old   
Adam
 
Posts: n/a

Default Re: Very slow processing time - 10-02-2003 , 08:23 PM



"Thomas Gugler" <tg (AT) immobilien (DOT) net> wrote

Quote:
hello everyboy,

we have set up a (MOLAP) Cube, with MS analyses services,
using a Datamart on SQL Server 2000
(on the same maschine), and everything works fine, except
the time of calculating the cube.

The Maschine: Dual Xeon 1.7Ghz, 4GB RAM, W2K Server
SQL Server 2000 SP3
Analyses services with SP

Fact Table: data of 14 days, with ~3million rows, thats
not so much
22 Dimensions,
23 Mesures
11 Calculated members
no special User security

the cube holds all real estate objects of our customers of
every day.

there is one Dimesion, the "Unternehmen inkl Objekte", for
the name of companies
and their employees AND the Objectnumber of the Real
estate objects from the fact table, and therefor the
dimension is joined with the fact table
(and the time), because its necercerry to show the object
id as a level in this dimension
I think that this decreases the performance, but why?
When the cube is calulating, with 15% (140 agg.)
aggragations, it needs 62 hours !!
with 6% (thats 9 agg) aggrgations, it needs 2 hours.
The SQL Server and the number of recordsets is not the
problem.
The servers are strong maschines....so...cann anybody tell
us:

1.) is this special dimension the main problem
because ...and is there a solution?
2.) if this special dimension is ok, what performance
counters can we view to find problems of analayses
services?
(we have a fast Raid5 system, 4gb ram, xeon
CPU,.so i don't mind that we have a hardware problem)

here are 2 screenshots of the cube editor, and the
special "Unternehmen inkl Objekte"- dimension.
(you can see the joins, and the level ObjektNr)
http://www.immobilien.net/CubeEditor.gif
http://www.immobilien.net/DimensionEditor.gif

thanks for ANY help in advance, and sorry for my bad
english ;-)
Thomas Gugler.
www.immobilien.net
A couple of things to try -

These are all shared dimensions - make sure the cube is optimised and
the read will be a lot faster.

I've had similar OLAP performance hits where a dimension was built
using more than one table, especially when one table does not join
directly to the fact table.
eg: Fact Table --> Customer Dimension --> Account Attribute Dimension.
Denormalising some of your dimension tables so that each dimension is
contained in a single table ( or similar dimensions are combined )
will decrease the number of joins, and also remove the longer join
paths from the SQL extract.

Adam


Reply With Quote
  #6  
Old   
Bas Kersten [MSFT]
 
Posts: n/a

Default RE: RE : Very slow processing time - 10-13-2003 , 03:25 AM



Hi,

Also check:

Optimizing Analysis Services to Improve Processing Performance
from

http://www.microsoft.com/technet/tre...hNet/ProdTechn
ol/SQL/Maintain/Optimize/ANSvcsPG.asp

HTH,
Bas

"This posting is provided "AS IS" with no warranties, and confers no
rights."


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.