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

Answers were Sorted based on User's Feedback



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

Answer / yuvaevergreen

>>Tablespace is one of the subdivision of Database in DB2.
Tables are created in Tablespaces.Indexspace is also a
subdivision of Database which contains indexes.
>>One imp difference is tablespace can contain one or more
tables whereas indexspace contains only one index for a table.
>>Tablespace has to be created by explicitly mentioning
create tablespace whereas indexspace is created implicitly
whenever we create an index using create index command.
>> Index is an object which can be considered as pointers to
rows of a table.

Is This Answer Correct ?    29 Yes 0 No

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

Answer / venu

Table Spaces are phsysical spaces where the tables are
created. Index spacesa are automatically created when
indexes are created, indexes are stored in index spaces.

Is This Answer Correct ?    16 Yes 5 No

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

Answer / jdp

why do people write funny answers here...there are lots of other sites to make fun of...

Is This Answer Correct ?    6 Yes 0 No

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

Answer / 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

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

Answer / guest

the main use of table space is when giving space between
two table persons can move freely .

Is This Answer Correct ?    1 Yes 17 No

Post New Answer

More DB2 Interview Questions

What do you mean by NOT NULL WITH DEFAULT? When will you use it?

3 Answers  


when we are tying to update a table having 100 rows. if the program abends when updating 51 row . how to start updating again from the 51 row .what was the logic

2 Answers   TCS,


What is a Foreign Key?

0 Answers   Tavant Technologies, Zensar,


What is ibm db2 used for?

0 Answers  


before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?

0 Answers   IBM,






what is the difference between where clause and having clause

2 Answers   IBM,


have 3 tables table1, table2 and table3 which contains employee information. table1 is master table, table2 contains emp details like emp no and so on, table 3 contains emp salary. so if any emp leave company between 25th - 30th of every month it has to get updated in tables. but it is not getting updated. What is the reason.

0 Answers  


why we create view.

5 Answers  


What is Call attach facility? How does it work?

1 Answers   Syntel,


Which command is used to connect to a database in DB2 ? Give the Syntax.

0 Answers   MCN Solutions,


How to get Top 10 Salaries from a Table

11 Answers   Accenture, HTC,


While creating a table, by mistake you have given size of one field as 10. But as per requirement size should be 8. What is your next step?

4 Answers   CTS, IBM,


Categories