By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,586 Members | 2,445 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,586 IT Pros & Developers. It's quick & easy.

Background Process for Reorgcheck

P: 14
HI

Plz tell me
what are the background process for reorgchk? Tell the parameters associated with reorgchk?

Thanks
Aug 16 '07 #1
Share this Question
Share on Google+
1 Reply


P: 3
Hi,

Calculates statistics on the database to determine if tables or indexes, or both, need to be reorganized or cleaned up.

Command syntax

.-UPDATE STATISTICS--.
>>-REORGCHK--+--------------------+----------------------------->
'-CURRENT STATISTICS-'

.-ON TABLE USER-----------------.
>--+-------------------------------+---------------------------><
'-ON--+-SCHEMA--schema-name---+-'
| .-USER-------. |
'-TABLE--+-SYSTEM-----+-'
+-ALL--------+
'-table-name-'

example:

>db2 reorgchk update statistics on table <Schemaname>.<Tablename>

Refer:

http://publib.boulder.ibm.com/infocenter/db2luw/v8//index.jsp

Regards

SaadAli
Aug 17 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.