on 10-23-2006 9:52 PM
Hi ,
Is there any table which tells where( or in what queries) the particular aggregate is used.
Thanks,
S
Hello,
Its not possible to evaluate whether a query will use an aggregate beforehand. There are a few reasons for this:
1) The same query can use an aggregate AND also cannot use an aggregate depending on the selection criteria in the report. (e.g. The aggregate does not contain COMP_CODE, but the user selects COMP_CODE as an optional variable occasionally)
2) For each query, there can be multiple sub queries issued. Some of the subqueries may use an aggregate and some may not. (e.g. your query issues 6 subqueries, 3 use the aggregate and 3 do not)
The best way to find out is execute and debug the query in RSRT and check 'display aggregate' tickbox.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use RSRT to find out if the query uses and aggregate or not. You can get the aggregates list in the RSDD* tables but you won't be able to say for sure that the query is using the aggregate or not. Aggregates might be built for a query or are not filled and not used, or if the query is running against some other selection than on which the aggregate is built up, it won't use the aggregate at the time of execution.
Cheers,
Kedar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can also try RSRV to see that query uses Aggregate or not...
OOPS...RSRT not RSRV...
Guarav
Message was edited by: Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try table RSDDSTATAGGR.
Also try other tables starting with RSDDSTAT* .
Hope it helps,
Farhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.