dbTalk Databases Forums  

Difference between Slice & Filter in cube partition wizard

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


Discuss Difference between Slice & Filter in cube partition wizard in the microsoft.public.sqlserver.olap forum.



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

Default Difference between Slice & Filter in cube partition wizard - 07-16-2003 , 12:41 AM






Hi,

Does anyone know the difference between 'Data Slice'
and 'Filter' statement in Advanced Setting in the
Partition wizard ?

Thanks in advance.

Hari



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

Default Difference between Slice & Filter in cube partition wizard - 07-16-2003 , 03:53 AM






Hi Hari,
i assume slicing is done by dimension content as in: only
1999 instead of all times. It defines a subset of the
complete data.

Filtering this subset leaves an even smaller subset of
data and is very similar to slicing. Filtering is done
based on one or more conditions (like revenue
<=10,000USD).
I guess filtering is not based on a dimension member's
name, but on attributes or on measures.

HTH Lutz


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

Default Difference between Slice & Filter in cube partition wizard - 07-16-2003 , 07:28 AM



Hi,

I couldn't find any difference in specifying filter
condition in either 'Slice data' or 'Filter'. Both fetches
the same set of results.

But I read in this forum that MSAS uses partition slice to
identify the partition when a query is issued to the cube.
Is that the difference between Data Slice and Filter?

Moreover, in Filter also, I was able to specify dimension
members.

Any clarification is highly appreciated.

Thanks,
Hari

Quote:
-----Original Message-----
Hi,

Does anyone know the difference between 'Data Slice'
and 'Filter' statement in Advanced Setting in the
Partition wizard ?

Thanks in advance.

Hari


.


Reply With Quote
  #4  
Old   
Sean Boon [MS]
 
Posts: n/a

Default Re: Difference between Slice & Filter in cube partition wizard - 07-16-2003 , 12:25 PM



Specifying a filter is just for building the SQL query that populates an
Analysis Services object. For example, if you set up a "filter" on a
partition, you are specifying what records will be included in the partition
when the partition is processed.

Setting the data slice is for querying. When you set a data slice for a
partition, you are giving the server information about what exists in the
partition. The server can then use that information when it attempts to
resolve user queries. For example, if a user asks for Time.1998 in a query
and you have a data slice on a partition set to 1998, then the server will
only scan that partition, and NOT scan any of the other ones. Setting the
data slice is very important for optimal query performance. For more info
please see the whitepaper

http://www.microsoft.com/technet/tre...e/ANSvcsPG.asp

Sean


--
Sean Boon
SQL Server BI Product Unit

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.

"Hari" <harihcl (AT) hotmail (DOT) com> wrote

Quote:
Hi,

I couldn't find any difference in specifying filter
condition in either 'Slice data' or 'Filter'. Both fetches
the same set of results.

But I read in this forum that MSAS uses partition slice to
identify the partition when a query is issued to the cube.
Is that the difference between Data Slice and Filter?

Moreover, in Filter also, I was able to specify dimension
members.

Any clarification is highly appreciated.

Thanks,
Hari

-----Original Message-----
Hi,

Does anyone know the difference between 'Data Slice'
and 'Filter' statement in Advanced Setting in the
Partition wizard ?

Thanks in advance.

Hari


.




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

Default Re: Difference between Slice & Filter in cube partition wizard - 07-16-2003 , 11:37 PM



Thanks a lot for the information, Sean

Hari
Quote:
-----Original Message-----
Specifying a filter is just for building the SQL query
that populates an
Analysis Services object. For example, if you set up
a "filter" on a
partition, you are specifying what records will be
included in the partition
when the partition is processed.

Setting the data slice is for querying. When you set a
data slice for a
partition, you are giving the server information about
what exists in the
partition. The server can then use that information when
it attempts to
resolve user queries. For example, if a user asks for
Time.1998 in a query
and you have a data slice on a partition set to 1998,
then the server will
only scan that partition, and NOT scan any of the other
ones. Setting the
data slice is very important for optimal query
performance. For more info
please see the whitepaper

http://www.microsoft.com/technet/treeview/default.asp?
url=/technet/prodtechnol/sql/maintain/optimize/ANSvcsPG.asp

Sean


--
Sean Boon
SQL Server BI Product Unit

--
This posting is provided "AS IS" with no warranties, and
confers no rights.
Use of included script samples are subject to the terms
specified at
http://www.microsoft.com/info/cpyright.htm.

"Hari" <harihcl (AT) hotmail (DOT) com> wrote in message
news:094e01c34b95$b59bc200$a501280a (AT) phx (DOT) gbl...
Hi,

I couldn't find any difference in specifying filter
condition in either 'Slice data' or 'Filter'. Both
fetches
the same set of results.

But I read in this forum that MSAS uses partition slice
to
identify the partition when a query is issued to the
cube.
Is that the difference between Data Slice and Filter?

Moreover, in Filter also, I was able to specify
dimension
members.

Any clarification is highly appreciated.

Thanks,
Hari

-----Original Message-----
Hi,

Does anyone know the difference between 'Data Slice'
and 'Filter' statement in Advanced Setting in the
Partition wizard ?

Thanks in advance.

Hari


.



.


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.