add hash partition , default tablespace for patitioned table
-- create a hash partition table.
-- And specify a default tablespace for partitioned table.
create table obj_pt
tablespace users -- see follwing comment <1>
partition by (object_id)
(partition p1 tablespace ts_1, partition p1 tablespace ts_2 );
-- add hash partition
alter table obj_pt add partition p3 ;
alter table obj_pt add partition p4 tablespace ts_1;
-- something relation to transport tablespace.
<1> if you did not specify default tablespace for a partition table. Then it's rely on
default tablespace settings of the schema. And then if you want to do a transportable-
tablespace migrate to the default tablespace . The TTS_check will return false.
So ,it's a very important option to specify default tablespace for a partition table.
<2> add a partition for a hash partioned table is very simple .
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/350519/viewspace-1042056/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- partition table update partition-key result in changing tablespace
- oracle 中 ALTER TABLE ADD default 的明確Oracle
- partition table and partition indexIndex
- 關於Hash Partition
- 拆分Table 為Partition Table
- Specifying the Default Tablespace Type (78)
- partition table test
- partition table(1)
- partition table(2)
- When to Partition a Table
- [Oracle] Partition table exchange Heap tableOracle
- Overriding the Default Tablespace Type (79)
- [20191203]enq: ZA - add std audit table partition.txtENQ
- 不同的default tablespace資料遷移
- Oracle 普通table 轉換為partition tableOracle
- create a partition table using a exsit table
- Oracle Table and tablespace CompressOracle
- 分割槽表PARTITION table
- 分割槽索引維護(add partition)索引
- 深入解析partition-hash分割槽
- 不同的default tablespace資料遷移(二)
- ORA-14257: cannot move partition other than a Range or Hash partition
- db2 partition table testDB2
- Interval Partition table 11G
- Oracle分割槽表(Partition Table)Oracle
- How to partition a non-partitioned table
- 分割槽表PARTITION table(轉)
- partition table中truncate應用
- oracle hash partition雜湊分割槽(一)Oracle
- How to Add a New Disk new partition in centos7CentOS
- oracle 10g_rac_create tablespace_add_datafileOracle 10g
- mysql partition table use to_days bugMySql
- 關於partition table import的問題Import
- doesn't contain a valid partition tableAI
- 資料庫表--hash clustered table資料庫
- oracle hash partition雜湊分割槽(二)_操作限制Oracle
- Add a Field To New Condition Table in Pricing
- oracle組合分割槽系列二(composite hash partition)Oracle