![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Have a cube that uses an indexed view for the fact table. During processing, we find that the MSAS-generated SQL query does not have the "noexpand" hint in the query to tell the query optimizer to utilize view indexes. As a result, the performance is still slow, as bad as not having a view alltogether. So, is there a way to configure the cube settings to drop a "noexpand" in the genereated query -- OR, is there a way to set the SQL connection properties utilized by MSAS in a way that properties such as quoted_identifier, ansi_nulls, etc. are set properly so the query optimizer knows automatically to utilized indexed views? For reference, see http://msdn.microsoft.com/library/de...ar_sa_28j7.asp |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
do you use the standard edition of SQL SErver ? The standard edition doesn't use the indexed view if the no expand keyword is not present in the query. Because you can't control this in AS, you can't use your indexed view. maybe you can try this: create a view like this: create MyNewView as Select * from MyIndexedView noexpand "sandeep" <sandeep (AT) discussions (DOT) microsoft.com> a écrit dans le message de news: 063C2485-4896-477C-A2D6-3B48B904724D...soft (DOT) com... Have a cube that uses an indexed view for the fact table. During processing, we find that the MSAS-generated SQL query does not have the "noexpand" hint in the query to tell the query optimizer to utilize view indexes. As a result, the performance is still slow, as bad as not having a view alltogether. So, is there a way to configure the cube settings to drop a "noexpand" in the genereated query -- OR, is there a way to set the SQL connection properties utilized by MSAS in a way that properties such as quoted_identifier, ansi_nulls, etc. are set properly so the query optimizer knows automatically to utilized indexed views? For reference, see http://msdn.microsoft.com/library/de...ar_sa_28j7.asp |
![]() |
| Thread Tools | |
| Display Modes | |
| |