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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [20191203]enq: ZA - add std audit table partition.txtENQ
- HashMap、Hash Table、ConcurrentHashMapHashMap
- How to Add a New Disk new partition in centos7CentOS
- TiDB 原始碼閱讀系列文章(二十)Table PartitionTiDB原始碼
- ext4 lvreduce報錯superblock or the partition table is likely to be corruptVRBloC
- 今天測試了一下update partition table的part key
- ESP32 編譯報錯 57) boot: no bootable app partitions in the partition table編譯bootAPP
- ORA-1653: unable to extend table by 1024 in tablespace(oracle表空間滿了的解決方案)Oracle
- LeetCode C++ 204. Count Primes【Math/Hash Table】簡單LeetCodeC++
- 教你解決ghost win10開機出現invalid partition table的方法Win10
- C語言實現一個簡易的Hash table(7)C語言
- CMU15445 (Fall 2019) 之 Project#2 - Hash Table 詳解Project
- Partition Pruning和Partition-Wise Joins
- LeetCode C++ 387. First Unique Character in a String【String/Hash Table】簡單LeetCodeC++
- Clique Partition
- Oracle OCP(48):UNDO TABLESPACEOracle
- MySQL 5.7 InnoDB Tablespace EncryptionMySql
- 演算法與資料結構基礎 - 雜湊表(Hash Table)演算法資料結構
- oracle partition by group by,詳解partition by和group by對比Oracle
- Tablespace表空間刪除
- 分割槽Partition
- 如何解決acer電腦安裝win10開機出現invalid partition table的問題Win10
- offline tablespace 的幾種方式 (轉)
- git add all和git add .區別Git
- 7.74 DATAOBJ_TO_PARTITIONOBJ
- 86. Partition List
- oracle partition by 語法Oracle
- B. Range and Partition
- Oracle default usersOracle
- PostgreSQL 原始碼解讀(189)- 查詢#105(聚合函式#10 - agg_retrieve_hash_table)SQL原始碼函式
- 【資料結構與演算法學習】雜湊表(Hash Table,雜湊表)資料結構演算法
- 4.5.1 add
- fdisk時WARNING: Re-reading the partition table failed with error 16: 裝置或資源忙 的問題解決方案AIError
- mysql5.7 General tablespace使用說明MySql
- alter tablespace ts_name autoextend_clause
- 【TABLESPACE】Oracle表空間最佳實踐Oracle
- Peace or partition? Cyprus - Espresso EconomistEspresso
- 7.73 DATAOBJ_TO_MAT_PARTITIONOBJ
- 3-Partition 問題