dbTalk Databases Forums  

Partitions and querying

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


Discuss Partitions and querying in the microsoft.public.sqlserver.olap forum.



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

Default Partitions and querying - 10-08-2006 , 11:15 PM






Can someone please explain to me, or point me to documentation, how a
query scans partitions of a measure group? It seems to me that all
partitions are being scanned, not just the one that I would expect. I
would expect that if a measure group is partitioned by year and I am
querying on a single year then only one partition would be scanned,
however, this is not what I am seeing. I am seeing all yearly
partitions being scanned.

Thanks


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

Default Re: Partitions and querying - 10-08-2006 , 11:29 PM






in AS2005 the server is able to optimize the partition access by himself.
if you use ROLAP, you must specify what are the members associated to each
partition.
this is the theory point of view with AS2005 and I have not verified this
integrated optimization.

but to insure that your queries will access the right partition you have to
identify which members are associated to the partition.
for example, associate the 2004 partition to the 2004 year member, then any
query against the 2004 member will be redirected to the 2004 partition.


"BJ" <bjwalton (AT) gmail (DOT) com> wrote

Quote:
Can someone please explain to me, or point me to documentation, how a
query scans partitions of a measure group? It seems to me that all
partitions are being scanned, not just the one that I would expect. I
would expect that if a measure group is partitioned by year and I am
querying on a single year then only one partition would be scanned,
however, this is not what I am seeing. I am seeing all yearly
partitions being scanned.

Thanks




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.