what is main use of table space and index object?
please its urgent

Answer Posted / sathya kanuri

To convert your tablespace to the larger format you simply
execute
ALTER TABLESPACE tablespace_name CONVERT TO LARGE

Once you have done this, any new table created in this
tablespace will use the 6 byte rid format. However, there
are special considerations for existing tables (because the
above command does not touch the data pages themselves).
For existing tables you have three options at this point.
Leave them as they are and they will continue to use the 4
byte rids so they would have the same size restrictions as
they had in DB2 8.
If you want the tables to grow larger than the 3 byte page
number supports, then you need to reorganize or rebuild the
indexes on that table so that those indexes can point to
rows beyond the 3 byte page number limit. If that's all you
need then you can do an online index reorganization to
convert the indexes to use 6 byte rids
If you also want to be able to put more than 255 rows on a
page (which of course is limited based on the length of
your row and the size of the page), then you need to
reorganize the data pages so that there is room for a two
byte slot number. To do this you need to use the classic
REORG command

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you find out the # of rows updated after an update statement?

641


If anyone has IBM Certification Dumps pls forward to me & also let me know what are the Certification Codes that are available in DB2

1579


Explain in detail about buffer manager and its functionalities?

564


What is rebind in db2?

576


What is the role of the data page in the db2 database?

587






How does coalesce work?

586


What is isolation level in db2?

577


what is a corelated subquerry?

658


If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?

706


What is the syntax for seeing the columns and data types of a table in the db2 database?

578


How will you return the number of records in table?

516


How can you classify the locks in db2?

636


How do I add a column in db2?

591


What are concurrency issues?

631


What is a collection in db2?

584