dbTalk Databases Forums  

tempdb Growth

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


Discuss tempdb Growth in the microsoft.public.sqlserver.olap forum.



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

Default tempdb Growth - 08-22-2005 , 09:49 AM






I am processing cubes using AS2000 and SQL2000. I am experiencing a tempdb
data file growth of over 27 GB during our processing of cubes. Does anyone
know some pitfalls to avoid that I might not be aware of and what effect
processing cubes might have on the tempdb? Thank you for any insight.

James

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

Default Re: tempdb Growth - 08-22-2005 , 10:36 AM






do you use complex queries to load your cubes? (specially if you use views
instead-of tables)
does your cubes are optimized to minimize the number of joins?


"Hex Caliber" <hex (AT) caliber (DOT) com> wrote

Quote:
I am processing cubes using AS2000 and SQL2000. I am experiencing a tempdb
data file growth of over 27 GB during our processing of cubes. Does
anyone
know some pitfalls to avoid that I might not be aware of and what effect
processing cubes might have on the tempdb? Thank you for any insight.

James



Reply With Quote
  #3  
Old   
Hex Caliber
 
Posts: n/a

Default Re: tempdb Growth - 08-22-2005 , 11:09 AM



In this case we are using some semi-complicated views with a number of
subviews. Also, are you refering to views in the cube design or within the
views? Thank you.

"Jéjé" wrote:

Quote:
do you use complex queries to load your cubes? (specially if you use views
instead-of tables)
does your cubes are optimized to minimize the number of joins?


"Hex Caliber" <hex (AT) caliber (DOT) com> wrote in message
news:7F9C9981-1C61-4DEC-BAEF-25C3F8428CD2 (AT) microsoft (DOT) com...
I am processing cubes using AS2000 and SQL2000. I am experiencing a tempdb
data file growth of over 27 GB during our processing of cubes. Does
anyone
know some pitfalls to avoid that I might not be aware of and what effect
processing cubes might have on the tempdb? Thank you for any insight.

James




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

Default Re: tempdb Growth - 08-22-2005 , 12:09 PM



I think the "problem" come from the view used as the fact table in the cube.
if you have a complex view then the tempdb database is used.

if your cube is not optimized, then there is a lot of joins between the fact
table and the dimension tables which add some complexity in the final query
executed in the database.

get the query executed by AS and analyze it using the query analyzer to
identify what's appends.
try to load the result of some views into a physical table using DTS for
example.


"Hex Caliber" <hex (AT) caliber (DOT) com> wrote

Quote:
In this case we are using some semi-complicated views with a number of
subviews. Also, are you refering to views in the cube design or within
the
views? Thank you.

"Jéjé" wrote:

do you use complex queries to load your cubes? (specially if you use
views
instead-of tables)
does your cubes are optimized to minimize the number of joins?


"Hex Caliber" <hex (AT) caliber (DOT) com> wrote in message
news:7F9C9981-1C61-4DEC-BAEF-25C3F8428CD2 (AT) microsoft (DOT) com...
I am processing cubes using AS2000 and SQL2000. I am experiencing a
tempdb
data file growth of over 27 GB during our processing of cubes. Does
anyone
know some pitfalls to avoid that I might not be aware of and what
effect
processing cubes might have on the tempdb? Thank you for any insight.

James






Reply With Quote
  #5  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: tempdb Growth - 08-22-2005 , 07:35 PM



The other possibility is that you have distinct count measures. The algoithm
that we use forces an ORDER BY clause at the end, which will force tempdb
use. If you have lots of big partitions/cubes, then it will be a lot.

The best practice to minimize the impact is to group the distinct count
measure into its own cube and to then join the two physical cubes together
into a virtual cube for querying.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Systems Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Hex Caliber" <hex (AT) caliber (DOT) com> wrote

Quote:
In this case we are using some semi-complicated views with a number of
subviews. Also, are you refering to views in the cube design or within
the
views? Thank you.

"Jéjé" wrote:

do you use complex queries to load your cubes? (specially if you use
views
instead-of tables)
does your cubes are optimized to minimize the number of joins?


"Hex Caliber" <hex (AT) caliber (DOT) com> wrote in message
news:7F9C9981-1C61-4DEC-BAEF-25C3F8428CD2 (AT) microsoft (DOT) com...
I am processing cubes using AS2000 and SQL2000. I am experiencing a
tempdb
data file growth of over 27 GB during our processing of cubes. Does
anyone
know some pitfalls to avoid that I might not be aware of and what
effect
processing cubes might have on the tempdb? Thank you for any insight.

James






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.