Tuesday, 17 March 2015

move table to other table space including LOB.

###move table to other table space including LOB..######

1) move table to other tablespace

ALTER TABLE table_name MOVE TABLESPACE tablespace_name;

2) move LOB to other tablespace

ALTER TABLE table_name move LOB (column_name) STORE AS (TABLESPACE new_tablespace);

3) move index to other tablespace.

ALTER INDEX index_name REBUILD TABLESPACE tablespace_name;

No comments:

Post a Comment

Failed to set up SSL because of the following SSL library error: SSL_CTX_set_default_verify_paths failed

  Error:   [MY-010069] [Server] Failed to set up SSL because of the following SSL library error: SSL_CTX_set_default_verify_paths failed  [M...