oracle hash partition雜湊分割槽(二)_操作限制
上篇文章oracle hash partition雜湊分割槽(一):http://space.itpub.net/9240380/viewspace-752264;
主要測試hash partition的建立語法;
oracle對於不同的分割槽型別會有不同的操作限制;
先摘錄官方文件引語:
主要測試hash partition的建立語法;
oracle對於不同的分割槽型別會有不同的操作限制;
先摘錄官方文件引語:
You cannot specify more than 16 partitioning key columns.--分割槽列不能超過16個
Partitioning key columns must be of type CHAR, NCHAR, VARCHAR2, NVARCHAR2, VARCHAR, NUMBER,
FLOAT, DATE, TIMESTAMP, TIMESTAMP WITH LOCAL TIMEZONE, or RAW.
--分割槽列型別僅為如上列出的型別
測試:
SQL> create table t_hash_partition(a1 int,
2 a2 int,
3 a3 int,
4 a4 int,
5 a5 int,
6 a6 int,
7 a7 int,
8 a8 int,
9 a9 int,
10 a10 int,
11 a11 int,
12 a12 int,
13 a13 int,
14 a14 int,
15 a15 int,
16 a16 int,
17 a17 int
18 )
19 partition by hash(a1,
20 a2,
21 a3,
22 a4,
23 a5,
24 a6,
25 a7,
26 a8,
27 a9,
28 a10,
29 a11,
30 a12,
31 a13,
32 a14,
33 a15,
34 a16,
35 a17
36 )
37 partitions 2
38 /
a17
*
ERROR at line 35:
ORA-14014: maximum number of partitioning columns is 16
FLOAT, DATE, TIMESTAMP, TIMESTAMP WITH LOCAL TIMEZONE, or RAW.
--分割槽列型別僅為如上列出的型別
測試:
SQL> create table t_hash_partition(a1 int,
2 a2 int,
3 a3 int,
4 a4 int,
5 a5 int,
6 a6 int,
7 a7 int,
8 a8 int,
9 a9 int,
10 a10 int,
11 a11 int,
12 a12 int,
13 a13 int,
14 a14 int,
15 a15 int,
16 a16 int,
17 a17 int
18 )
19 partition by hash(a1,
20 a2,
21 a3,
22 a4,
23 a5,
24 a6,
25 a7,
26 a8,
27 a9,
28 a10,
29 a11,
30 a12,
31 a13,
32 a14,
33 a15,
34 a16,
35 a17
36 )
37 partitions 2
38 /
a17
*
ERROR at line 35:
ORA-14014: maximum number of partitioning columns is 16
SQL> create table t_hash_partition(a clob,b int)
2 partition by hash(a)
3 partitions 2;
partition by hash(a)
*
ERROR at line 2:
ORA-14135: a LOB column cannot serve as a partitioning column
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-752268/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle hash partition雜湊分割槽(一)Oracle
- oracle組合分割槽系列二(composite hash partition)Oracle
- 深入解析partition-hash分割槽
- oracle分割槽及分割槽索引partition_partition index_維護(二)Oracle索引Index
- oracle分割槽partition及分割槽索引partition index(一)Oracle索引Index
- Oracle 11g 雜湊、LIST分割槽測試Oracle
- ORACLE 範圍分割槽 partition-range分割槽Oracle
- Oracle 分割槽(partition)技術Oracle
- Oracle分割槽表(Partition Table)Oracle
- oracle分割槽及分割槽索引partition_partition index_維護(一)Oracle索引Index
- oracle分割槽及分割槽索引partition_partition index_維護(三)Oracle索引Index
- oracle分割槽及分割槽索引partition_partition index_維護(四)Oracle索引Index
- Oracle表連線操作——Hash Join(雜湊連線)下Oracle
- Oracle表連線操作——Hash Join(雜湊連線)上Oracle
- 分割槽Partition
- oracle reference partition引用分割槽(一)Oracle
- oracle list partition列表分割槽(一)Oracle
- 第41期:MySQL 雜湊分割槽表MySql
- oracle partition分割槽_分割槽列為空測試(一)Oracle
- oracle分割槽及分割槽索引partition_partition index_維護(五)_快捷方法Oracle索引Index
- Oracle Partition 分割槽詳細總結Oracle
- Redis命令——雜湊(Hash)Redis
- Oracle分割槽表基礎運維-03HASH分割槽Oracle運維
- Oracle分割槽表基礎運維-07增加分割槽(2 HASH分割槽)Oracle運維
- oracle composite partition組合分割槽_composite partition rangeOracle
- 分割槽表UNUSED列後的EXCHANGE PARTITION操作
- MySQL HASH分割槽MySql
- 【實驗】【PARTITION】RANGE分割槽表截斷表分割槽(Truncate Partition)
- 【實驗】【PARTITION】RANGE分割槽表移動表分割槽(Move Partition)
- 分割槽表PARTITION table
- 【實驗】【PARTITION】RANGE分割槽表重新命名錶分割槽(Rename Partition)
- HASH雜湊遊戲原始碼丨HASH雜湊遊戲系統開發丨HASH雜湊遊戲開發成品原始碼部署原始碼遊戲開發
- Oracle Interval Partition 自動分割槽表-實驗Oracle
- Oracle的分割槽修剪介紹:Partition PruningOracle
- oracle11g_system partition系統分割槽Oracle
- oracle分割槽索引(二)Oracle索引
- MySQL 分割槽表 partition線上修改分割槽欄位MySql
- 【實驗】【PARTITION】RANGE分割槽表合併分割槽