[20190524]DISABLE TABLE LOCK(12c).txt
[20190524]DISABLE TABLE LOCK(12c).txt
--//如果禁止table lock時,一些ddl操作會被禁止.但是我有點吃驚的是增加欄位不受限制.
--//連結:http://blog.itpub.net/267265/viewspace-2645161/=>[20190522]DISABLE TABLE LOCK.txt
--//昨天kerrycode給我反饋,10g和11g某個版本增加1列會遇到ORA-00069錯誤.
1.環境:
SCOTT@test01p> @ ver1
PORT_STRING VERSION BANNER CON_ID
------------------------------ -------------- -------------------------------------------------------------------------------- ----------
IBMPC/WIN_NT64-9.1.0 12.2.0.1.0 Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production 0
SCOTT@test01p> create table t as select rownum id from dual ;
Table created.
SCOTT@test01p> alter table t disable table lock;
Table altered.
2.測試:
SCOTT@test01p> truncate table t;
truncate table t
*
ERROR at line 1:
ORA-00069: cannot acquire lock -- table locks disabled for T
SCOTT@test01p> alter table t add v1 varchar2(10);
alter table t add v1 varchar2(10)
*
ERROR at line 1:
ORA-00069: cannot acquire lock -- table locks disabled for T
--//很明顯11.2.0.4下存在問題,估計遇到了bug,我自己都無法理解在11.2.0.4下的測試結果.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-2645475/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [20190522]DISABLE TABLE LOCK.txt
- [20190530]DISABLE TABLE LOCK(10g).txt
- [20190524]Table Elimination.txt
- [20190524]sqlplus 與輸出&.txtSQL
- [20190524]淺談模糊查詢.txt
- [20190524]使用use_concat or_expand提示優化.txt優化
- [20200819]12c Global Temporary table 統計資訊的收集的疑問.txt
- Disable the Evolve Job SYS_AUTO_SPM_EVOLVE_TASK in Oracle 12cOracle
- GaussDB資料庫SQL系列-LOCK TABLE資料庫SQL
- MySQL DDL Waiting for table metadata lock 解決MySqlAI
- MySQL新增索引偶遇waiting for table metadata lockMySql索引AI
- [20221222]How to Enable and Disable Database Options in oracle 11g.txtDatabaseOracle
- 12c RMAN新特性之Recover Table
- Oracle 12c系列(十) | 12c中的Recovering Tables and Table PartitionsOracle
- [20190703]12c Hybrid histogram.txtHistogram
- [20190624]12c group by優化 .txt優化
- [20210119]sqlplus 12c LOBPREFETCH.txtSQL
- [20181026]12c Attribute Clustering特性.txt
- 12C SQL Translation Framework.txtSQLFramework
- [20181010]12c clone pdb.txt
- 【12c】12c RMAN新特性之recover table(表級別恢復)
- [20221227]a mutating table error without a trigger!.txtError
- [20190401]跟蹤dbms_lock.sleep呼叫.txt
- [20200120]12c Group by Elimination bug.txt
- [20200809]12c熱備份模式.txt模式
- [20181127]12c Advanced Index Compression.txtIndex
- [20181011]12c set FEEDBACK only.txt
- [20181009]12C FULL DATABASE CACHING.txtDatabase
- [20210910]table scan相關統計.txt
- [20181226]簡單探究cluster table.txt
- [20191106]12c DCD SQLNET.EXPIRE_TIME.txtSQL
- [20181026]12c Attribute Clustering特性2.txt
- [20181018]12c Pluggable Database save state.txtDatabase
- [20181018]Oracle Database 12c: Data Redaction.txtOracleDatabase
- [20190107]12c以上版本配置dg注意.txt
- [20181127]12c Advanced Index Compression 2.txtIndex
- [20181005]安裝12C在windows.txtWindows
- [20180925]共享池中的NETWORK BUFFER(12c).txt