Personal tools
You are here: Home DB2 How To's How to run a reorg and runstats online
Navigation
Log in


Forgot your password?
 
Document Actions

How to run a reorg and runstats online

How to allow write on table during the runstats and reorg for indexes


1 - REORG  ONLINE  TO ALLOW READ ON TABLE DURING THE REORG


db2 reorg table <table_name> inplace allow read access


2 - REORG  ONLINE TO ALLOW READ AND WRITE ON TABLE DURING THE REORG


db2 reorg table <table_name> inplace allow write access


3 - RUNSTATS ONLINE TO ALLOW WRITE ON TABLE DURING THE RUNSTATS


db2 runstats on table <table_name> and indexes all shrlevel change

Security Awareness
Would you like your company to implement gamification into your security awareness program?





Polls