Which option would you use to defragment the mapping table without affecting the original table data?

In your test database, you have created the ORDERS table as an index-organized table (IOT). To
facilitate faster querying, you have created a mapping table and a bitmap index on the
ORDER_FILLED column. You observe that the query performance degrees when users perform a
large volume of transactions. While investigating the reason, you find that the mapping table
segment is fragmented, leading to poor performance. Which option would you use to defragment
the mapping table without affecting the original table data?

In your test database, you have created the ORDERS table as an index-organized table (IOT). To
facilitate faster querying, you have created a mapping table and a bitmap index on the
ORDER_FILLED column. You observe that the query performance degrees when users perform a
large volume of transactions. While investigating the reason, you find that the mapping table
segment is fragmented, leading to poor performance. Which option would you use to defragment
the mapping table without affecting the original table data?

A.
Export and import the mapping table.

B.
Drop and re-create the mapping table.

C.
Truncate the mapping table and reinsert the values.

D.
Use the ALTERTABLE .. REBUILD command to defragment the mapping table.



Leave a Reply 0

Your email address will not be published. Required fields are marked *