on 09-26-2008 8:27 AM
Hi,
I am trying to create a report which should give the result for top 5 long runnings queries for the givin multiprovider or all the multi providers.
I am creating the report on 0TCT_MC01 statistics cube. But it is displaying the result for all queries with all executed times. But i want only top 5. If i include the condition to put top 5, same query is getting if it takes long time.
how can i achieve this.
Regards,
Vishnu
thnx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it will take a long time - so you then tune your stats cubes - do exactly the same thing if one of your normal queries was taking a long time
Have you compressed your stats cubes? are the DB statistics up to date?
Are they partitioned? Have you put a selection on a date parameter using the partioned time characteristic
etc..
etc..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
one more - the 0TCT_MC01 also contains the virtual cube of ST03N type entries not yet loaded to yoru cube
When was the last time you loaded stats into the base cubes?
If it was some time ago - then load the cube thus the virtual cube will take less time to retrieve the data
Or even better - on include infoprovider = 0TCT_C01 inside your query
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.