Oracle Database 12c: Installation and Administration — Question 244
You are the DBA supporting an Oracle 11g Release 2 database and wish to move a table containing several DATE, CHAR, VARCHAR2, and NUMBER data types, and the tables indexes, to another tablespace.
The table does not have a primary key and is used by an OLTP application.
Which technique will move the table and indexes while maintaining the highest level of availability to the application?
Answer options
- A. Oracle Data Pump.
- B. An ALTER TABLE MOVE to move the table and ALTER INDEX REBUILD to move the indexes.
- C. An ALTER TABLE MOVE to move the table and ALTER INDEX REBUILD ONLINE to move the indexes.
- D. Online Table Redefinition.
- E. Edition-Based Table Redefinition.
Correct answer: D
Explanation
The correct answer, Online Table Redefinition, allows the table to be moved while the application continues to access it, ensuring high availability. Other options like ALTER TABLE MOVE or ALTER INDEX REBUILD do not provide this level of availability, as they may lock the table or indexes during the operation, causing downtime for the OLTP application.