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 is the role of data manager in the db2 database?

0 Answers  


Give a brief description of db2 isolation levels?

0 Answers  


what will be the output of the below given query, if no matching records are found : (a.) 0 (b.) null (c.) error select Avg(salary) from TableA where Deptno = 'insurance'

10 Answers   Amdocs,


Explain about mirror activator disk mirroring?

0 Answers  


What is a DB2 catalog?

2 Answers  






Update command

1 Answers  


What is meant by a unit of recovery?

1 Answers  


how to copy the host variables from ps file into cobol program other than include statement

1 Answers   Syntel,


What is a root page?

1 Answers  


What does the RUNSTATS Utility do?

4 Answers  


how will you retrieve first record in table

1 Answers   UST,


What is copy pending and check pending in db2?

0 Answers  


Categories