Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Can we update view in db2?

996


How do we specify index to include or not during bind process.

2124


Is it possible to create an Instance in DB2 using DB2 Control Center ?

1098


What is the clustering index in the db2 database?

998


What is the cobol picture clause of the db2 data types date, time, timestamp?

1052


What does db2 stand for?

1016


what is db2 restart?

2147


Following a db2 update statement, what is the quickest way to compute the total number of updated rows?

1060


What is db2?

1172


What is bind package and plan in db2?

1051


What is a bind in db2?

1037


How does db2 sample database connect?

1024


What is host variable?

1047


How to find primary key of a table in db2?

1057


Mention the way of highlighting as well as putting a cursor to use in a cobol program.

1073