What is reorg in database?



What is reorg in database?..

Answer / vasuki🐍

reorganizes the table and its indexes by
rebuilding the index data into unfragmented and contiguous area on the disk.
Normally after a large amount of INSERT, UPDATE, DELETE activities on data tables, we generally need a REORG.
After a table space reorganization the fragments are moved around and clustered,
however the database still utilizes the old statistic to query the data.
So it is recommended to run a RUNSTATS on the table.
This command updates the statistic information.
Besides it makes sure that the DB2 optimizer takes advantage of the refreshed statistic information.

Reorg>>runstats

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB2 Interview Questions

What does the REORG Utility do?

2 Answers  


How does cobol compile db2 program?

0 Answers  


Mention the various locks that are available in db2.

0 Answers  


What is iseries database?

0 Answers  


How can you split a table in to exactly half?

7 Answers   HSBC,






What is an inner join, and an outer join ?

1 Answers   CTA,


What does db2 mean?

0 Answers  


How to handle null values in db2

4 Answers  


How do I connect my db2 database to ibm?

0 Answers  


What is release/acquire in bind?

0 Answers  


how 2 resolve the -311 sqlcode

1 Answers  


I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?

0 Answers   HeadStrong,


Categories