What is reorg in DB2
Answers were Sorted based on User's Feedback
Answer / harish
Reorg is needed whenever indexed columns are updated frequently.
When indexed columns are updated frequently, then the index
for the table has to be created again.
So REORG utility is run which will drop the index and create
the index again for the table.
| Is This Answer Correct ? | 36 Yes | 5 No |
Answer / srini
REORG will reorganise the records as per the clustered
Index/index fields,so that the system can access records
easily thru which the access cost will come down
drastically,so its always advisable to run REORG after
every mass inserts/updates/deletes on table.
| Is This Answer Correct ? | 30 Yes | 9 No |
Answer / vivekk ram
when ever a record is deleted, it marks the record to be deleted but the physically it is not deleted in db. So using reorg command is ran, it physically deletes the record from db.
Please correct me, if i'm wrong..
| Is This Answer Correct ? | 0 Yes | 0 No |
Update command
How can deadlocks be resolved?
Define buffer pool.
how to fetch first 100 rows in db2
What are the different methods of accessing db2 from tso? How is the connection established between TSO & DB2?
What is cascading rollback?
Explain an outer join?
When can an insert of a new primary key value threaten referential integrity?
what is the difference between declaring the cursor in WS section and Procedure division?
What is a view? Why use it?
What is FREEPAGE and PCTFREE in TABLESPACE creation?
What does this mean ? GRANT BIND,EXECUTE ON PLAN MK2 TO PUBLIC;