移动 表、表分区、LOB字段、索引、分区索引 到另一表空间
alter table 命令移动 table, partition, lob字段
alter index 命令移动 索引, 分区索引
alter index 命令移动 索引, 分区索引
移动表π
- 移动表(非分区表):
- 移动分区表,即单独移动每个分区:
- 移动LOB字段,LOB字段不自动随表移动,必须显示移动:
或者移动表时一起移动:
alter table <schema.table> move tablespace <new tablespace> lob ( <lob1, lob2, ...>) store as (tablespace <new tablespace>);
移动索引π
- 移动普通索引,online 选项可选:
- 移动分区索引: