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
Is db2 a mainframe database?
What is a bind card?
ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE
Mention the way of highlighting as well as putting a cursor to use in a cobol program.
What is difference between alias and synonym in db2?
What is db2 stogroup?
What is db2? Explain.
What does db2 plan contain?
How do you find the maximum value in a column in db2?
Explain about mirror activator disk mirroring?
Is db2 a programming language?
by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?
List some fields from sqlca?
What is null indicator in cobol db2?
How do I start db2 in windows?