on 02-10-2009 8:07 PM
In our system, there are about 2000 PSA tables (/BIC/B) + 1000 temporary tables (/BIC/02 & /BIC/06*)
that does not need to gather statistic. Exclude those tables from UpdateStats job, I can save at least 5hours of execution time.
I don't want to use <stats_exclude> parameter because of maintenance on that list.
Whenever there is 1 table non-exist in list, the UpdateStats job failed.
Also it does not accept the wild char *. Table name should be entered one by one.
I'm thinking of set ACTIVE flag in the DBSTATC table to I. But again I have to enter table per table.
We user Brtools 7.10 patch 19
BW version 6.5
Thanks for help.
Hello,
the stats_exclude parameter should also work for these tables. Can you post the exact value to which you have set this parameter?
Best Regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Hai-Thuy,
you can run write a little SQL script, that select all table names beginning with /BIC/B, /BIC/02 or /BIC/06* and lock the statistics for these tables.
DBMS_STATS.LOCK_TABLE_STATS:
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#i1043993
With this "workaround" the BR*Tools still try to collect statistics but will skip those tables with locked statistics.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.