dbTalk Databases Forums  

Partitioning vs performance

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


Discuss Partitioning vs performance in the microsoft.public.sqlserver.olap forum.



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

Default Partitioning vs performance - 04-06-2006 , 06:21 AM






Some say that partitioning give me performance some say it does not -
what is the truth?

Example:
AS2005: 1 year of transactions. Partitioned by weeks - 52 in all. The
whole cube is loaded into ram.

Would a MDX querying filtered down to a single week perform better when
partitioning is implemented?
I guess if data were on disk and not in ram, the load time would be
considerable less. But when everything is already in ram this should
not be an issue.

A simple test did not show any performance gain. Is that what I should
expect?

Thanks
JE


Reply With Quote
  #2  
Old   
Akshai Mirchandani [MS]
 
Posts: n/a

Default Re: Partitioning vs performance - 04-06-2006 , 02:11 PM






Queries for a specific set of weeks that miss the in-memory caches will
benefit from partitioning.

Thanks,
Akshai
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"jellegaa" <jesper.ellegaard (AT) gmail (DOT) com> wrote

Quote:
Some say that partitioning give me performance some say it does not -
what is the truth?

Example:
AS2005: 1 year of transactions. Partitioned by weeks - 52 in all. The
whole cube is loaded into ram.

Would a MDX querying filtered down to a single week perform better when
partitioning is implemented?
I guess if data were on disk and not in ram, the load time would be
considerable less. But when everything is already in ram this should
not be an issue.

A simple test did not show any performance gain. Is that what I should
expect?

Thanks
JE




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

Default Re: Partitioning vs performance - 04-07-2006 , 02:31 AM



Thanks, Does that mean in case of disk access? (I'm not sure on when I
hit the cache and when I don't)

/JE


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

Default Re: Partitioning vs performance - 04-07-2006 , 02:40 AM



We use many partitions with SSAS 2000.
I think it must be the same with SSAS 2005.

Using partitions is a good solution if you have large cube : you can
just process the partition with new data : in your case, just one week
and not the full year.

If you use partitions, something is very important : you must define
Slice for each partition. With slice, the engine access directly to the
partition storing the data. If there is no slice, the engine scans all
the partitions to read the data.

One information more : if you define weekly partitions it isn't worth
to create aggregation at the year level because they will store the
same data than weekly aggragations. If you query the year, the engine
will scan all the partitions to dynamically aggregate the data.


Reply With Quote
  #5  
Old   
Akshai Mirchandani [MS]
 
Posts: n/a

Default Re: Partitioning vs performance - 04-07-2006 , 02:23 PM



Yes, disk access would be reduced because some partitions would not have any
data for the current slice of the cube. Only partitions for the weeks that
are in the current query would need to be scanned...

Thanks,
Akshai

--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"jellegaa" <jesper.ellegaard (AT) gmail (DOT) com> wrote

Quote:
Thanks, Does that mean in case of disk access? (I'm not sure on when I
hit the cache and when I don't)

/JE




Reply With Quote
  #6  
Old   
jellegaa
 
Posts: n/a

Default Re: Partitioning vs performance - 04-12-2006 , 08:29 AM



Thanks both for the tips,
but still I'm not sure if I can get performance boost with partitions
if all cube data always is in ram. Do you have any opinion on this?

/JE


Reply With Quote
  #7  
Old   
Akshai Mirchandani [MS]
 
Posts: n/a

Default Re: Partitioning vs performance - 04-12-2006 , 02:49 PM



If all the cube data is always in RAM then partitions will not help query
performance. Startup queries though will obviously not be in RAM and they
may benefit a little bit...

But generally don't expect perf benefits if the data is small enough to fit
in RAM...

Thanks,
Akshai
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"jellegaa" <jesper.ellegaard (AT) gmail (DOT) com> wrote

Quote:
Thanks both for the tips,
but still I'm not sure if I can get performance boost with partitions
if all cube data always is in ram. Do you have any opinion on this?

/JE




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.