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 is buffer pool?

0 Answers  


what is Runstats? Whem will u choose to runatats?

1 Answers   Danske,


What is the use of COMMAREA ?Minimum how much data we can pass from it?

7 Answers   Cap Gemini,


Hi All, In a Cobol-DB2 program, I am fetching rows from 4 tables using cursor and then based on the a field present in that table, It processes the information accordingly..for example stat-c is one digit field..if stat-c is 'D' then the a row is deleted from table and written those details in to a file. If the stat-c is 'U' then a row is updated (hardcoded what to update)in a table and written those details in to a file. If the stat-c is 'I' then a row is inserted in a table and written those details in to two files. The issue is i have to include the intermediate commits. When an abend occurs, due to commit statement db2 tables will be saved, But there will be lose of file contents. When we resubmitting the job associated with this program there will be insert ,update and delete anomolies to avoid that what measures could be taken?. The intermediate commit is nothing but issuing commit after massive inserts, updates and deletes(sum of 500actions)

1 Answers  


how can you save the query in QMF?IS IT POSSIBLE OR NOT.IF POSSIBLW HOW?

1 Answers   Hewitt,






i have cobol+ db2 program but it contains n number of subprograms for this how many dbrm members i need to mention in bind process

2 Answers  


how to identify the pseudo conversation by seeing the program

2 Answers   DELL,


What is a system catalog table in db2?

0 Answers  


what is db2 restart?

0 Answers  


what is the difference between join and union?

4 Answers   IBM,


What is image copy?

1 Answers   Virtusa,


What is error -818 in db2. where can you find the timestamp of the DBRM and the source code.( precompile puts the timestamp on dbrm and source code correct?)

2 Answers  


Categories