[20170703]ora-00600[kkpamDGSPam2].txt

简介: [20170703]ora-00600[kkpamDGSPam2].txt --//oracle 分区数量不能超过1048575.做一个例子说明: --//2^20-1=1048575 SCOTT@test01p> @ ver1 PORT_STRING   ...

[20170703]ora-00600[kkpamDGSPam2].txt

--//oracle 分区数量不能超过1048575.做一个例子说明:
--//2^20-1=1048575

SCOTT@test01p> @ ver1

PORT_STRING                    VERSION        BANNER                                                                               CON_ID
------------------------------ -------------- -------------------------------------------------------------------------------- ----------
IBMPC/WIN_NT64-9.1.0           12.1.0.1.0     Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production              0

drop table t1 purge;
CREATE TABLE T1 ( ID NUMBER,CODE VARCHAR2(1)) partition by range(ID) interval(1)
SUBPARTITION BY LIST(CODE)
SUBPARTITION TEMPLATE
(SUBPARTITION CODE_a VALUES ('A'),
SUBPARTITION CODE_s VALUES ('S'),
SUBPARTITION CODE_v VALUES ('V'),
SUBPARTITION CODE_e VALUES ('E'),
SUBPARTITION CODE_oth VALUES (DEFAULT))
(partition ID_1 values less than (1));

2.测试:
SCOTT@test01p> select * from t1 where id=1048575 and code='A';
select * from t1 where id=1048575 and code='A'
              *
ERROR at line 1:
ORA-00600: internal error code, arguments: [kkpamDGSPam2], [1048575], [1048575], [], [], [], [], [], [], [], [], []

SCOTT@test01p> select * from t1 where id=1048577 and code='A';
select * from t1 where id=1048577 and code='A'
              *
ERROR at line 1:
ORA-00600: internal error code, arguments: [kkpamDGSPam2], [1048576], [1048575], [], [], [], [], [], [], [], [], []

SCOTT@test01p> select * from t1 where id=2048575 and code='A';
select * from t1 where id=2048575 and code='A'
              *
ERROR at line 1:
ORA-00600: internal error code, arguments: [kkpamDGSPam2], [1048576], [1048575], [], [], [], [], [], [], [], [], []
--//可以只要超出范围1048575,参数就是1048576.

SCOTT@test01p> select * from t1 where id=1048574 and code='A';
no rows selected

目录
打赏
0
0
0
0
36
分享
相关文章
rep-wc-管道符 grep [-n ] 关键字 文件路径,grep -n “code“ test.txt,grep -n “code“ test.txt 显示行号的写法,wc test.txt全
rep-wc-管道符 grep [-n ] 关键字 文件路径,grep -n “code“ test.txt,grep -n “code“ test.txt 显示行号的写法,wc test.txt全
DFS56L TF RH1M KK ABB 120 TAS.580.0560G00
DFS56L TF RH1M KK ABB 120 TAS.580.0560G00
75 0
HalconDotNet.HTupleAccessException:“‘Cannot convert to double array‘ when accessing ‘HalconDotNet.HT
HalconDotNet.HTupleAccessException:“‘Cannot convert to double array‘ when accessing ‘HalconDotNet.HT
pymysql.err.DataError: (1366, "Incorrect string value: '\\xC2\\xB7\\xE6\\x83\\x85' for column 'filmname' at row 1") 是什么原因?
这个错误是由于在向MySQL数据库的'filmname'列插入数据时,数据包含了不能被该列接受的字符或编码。该错误指出了该列中无效的字符或编码的位置。
672 0
pymysql.err.DataError: (1366, "Incorrect string value: '\\xC2\\xA0\\xE5\\x89\\xA7\\xE6...' for column 'types' at row 1")怎么解决?
这个错误通常是由于在尝试将一个包含非ASCII字符的字符串插入到MySQL表的一个字符列中,但该列没有设置正确的字符集导致的。 解决方法是要确保将表的字符集设置正确,以便它能够支持插入包含非ASCII字符的字符串。 可以尝试以下方法来解决这个问题:
1025 0
ORA-1652: unable to extend temp segment by 128 in tablespace xxx Troubleshootin
当收到告警信息ORA-01652: unable to extend temp segment by 128 in tablespace xxxx 时,如何Troubleshooting ORA-1652这样的问题呢? 当然一般xxx是临时表空间,也有可能是用户表空间。
2134 0
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等