Machine-translated by Google. Questions are authored in English.
Top

Discussion

Given the following statement

ALTER TABLE employee MOVE TABLESPACE data 1.

The action taken is :

  • A.table space is renamed
  • B.data is moved to new segment
  • C.A copy of table is moved into new segment
  • D.The table structure is moved in to new segment

Answer: B

The statement moves the data to a new segment.

In Oracle, ALTER TABLE ... MOVE relocates the data of a non-partitioned table into a new segment, here in the tablespace named in the statement. It is used to change a table's storage or tablespace and to reorganise it, removing fragmentation; the indexes on the table become unusable and must be rebuilt afterwards.

It does not rename a tablespace. It moves the table rather than leaving a copy behind, and it moves the rows, not just the table's structure.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.