oracle遷移表至其他表空間 如何將一個表空間的表遷移到另一個表空間去?
如何將一個表空間的表遷移到另一個表空間去?首先,使用以下命令進行移動:alter table tableuname move tablespace tablespaceuu然后,如果有索引,則必須重建
如何將一個表空間的表遷移到另一個表空間去?
首先,使用以下命令進行移動:alter table tableuname move tablespace tablespaceuu然后,如果有索引,則必須重建索引:alter indexuname rebuild tablespace tablespaceuu當(dāng)然,您可以使用pool來幫助您操作多個表。設(shè)置頭脫機/export/home/Oracle/alteru表格.sqlselect“alter table”| | object | name | | “move tablespace users”從dba | object,其中owner=“XXX”和object | Type=“table”關(guān)閉,然后執(zhí)行SQL腳本。對索引執(zhí)行相同操作。
怎么實現(xiàn)數(shù)據(jù)庫表空間的備份或遷移?
簡要描述過程: