on 10-15-2015 7:01 PM
Hello Experts -
i am running DB2 10.05 on AIX and would need to run statistics for complete DB.
Can you please help me with the command ?
Thanks
Dev
--------------------
I ran the following but i don't see any update.
db2 REORGCHK UPDATE STATISTICS ON TABLE ALL
Doing Runstats......
After 30 minutes i found my DB was hung and SAP system went down.
Could you please suggest a query or commands.
Dev
Hello Dev
Please check the note below may help you and provide the db2diag.log
to investigate more .
1942183 - DB6: When to consider a table or index reorganization
Thanks
Sadiq
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Firstly, normally there should be no need to manually run statistics on all tables, as the auto runstats is enabled on DB level by default. Any special reason to do it?
Secondly, we recommed to use dbacockpit function to do the reorgchk and runstats.
dbacockpit -> Jobs -> DBA Planning Calendar -> choose the action pad accordingly.
Lastly, for the DB hung and SAO down issue before, have to check the db2diag.log as the starting point.
Kind regards
Maria
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
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.