Hi,
It is easy to use usage-based optimization in AS 2000.
There is alyways a error message when I use usage-based optimization wizard in AS 2005.
The error message as following: Invalid object name 'OlapQueryLog'.
It seems like somewhere must to be set.
Anyone could tell me where the problem is
thanks,

Usage-based optimization in AS 2005
nixnutz
Unlike AS2K which has the query log turned on by default, in AS2K5 you must first enable it. Sounds like that is where the errors is -- either in getting data from it (if you have already enabled it) or you haven't enabled it.
_-_-_ Dave
Abu Ismail
Well, maybe users didn't actually submit any queries to the cube, which would create usage information in the OLAPQueryLog.- this was mentioned after step 5:
>>
Now that you have created your query log table, you can send queries to your OLAP cubes ...
>>
Typically, you would only run Usage-Based Optimization after you have applied a representative set of user queries (which may be generated by OLAP client tools, like Excel pivot table). The data collected in OLAPQueryLog could then be used...
t4ure4n
Sorry. Mayber I should describe more detail.
After 5 steps, I have created query log table named "OLAPQueryLog" in database.
Then, I browse cube and drag dimensions, measure to pivot table in SQL Management Studio. I also use MDX query to query cube in SQL Management Studio. (I think the above action should be submit query to the cube.)
But I open the query log table (OLAPQueryLog), there still is no data exists in the table.
Actually, the data should be generated in the query log table when I use MDX query to query cube in SQL Management Studio, isn't it
FireWisp
This is an awesome feature. However, how do I get the OlapQueryLog table to a different schema On table creation, it defaults to dbo. I want to create the table on an "admin" schema, i.e. admin.OlapQueryLog.
I tried to put in admin.OlapQueryLog in the table name property, but this just makes a table called dbo.admin.OlapQueryLog.
Thanks for your help!
Jason
Houston Mortgage Broker
Victoria Helen Tierney
thank for responding...
But there is something problem...
I set 5 steps about "Log\QueryLog" then there is a table name 'OLAPQueryLog' in my database. (There is no data exist in table OLAPQueryLog )
When I open Usage-based Optimization Wizard, there is a warning message: "There are no queries in the log for selected measure group."
Is something wrong Would I append queries data into table manually
thanks,
RussP
Denny Lee's blog explains how to set up the OLAPQueryLog DB:
http://spaces.msn.com/members/denster/Blog/cns!1pvF91EMBBNxnTGlLGUgGehg!297.entry
>>