ORA-14452: attempt to create, alter or drop an index on temporary table already in use
来源:互联网 发布:哪款单反性价比高 知乎 编辑:程序博客网 时间:2024/06/07 10:01
发生重演:
EODA@PROD1> drop table temp purge;drop table temp purge *ERROR at line 1:ORA-14452: attempt to create, alter or drop an index on temporary table already in use
EODA@PROD1> select object_id from user_objects where object_name='TEMP'; OBJECT_ID---------- 85773Elapsed: 00:00:00.02EODA@PROD1> select * from v$lock where id1=85773;ADDR KADDR SID TY ID1 ID2 LMODE REQUEST CTIME BLOCK-------- -------- ---------- -- ---------- ---------- ---------- ---------- ---------- ----------4AEF2538 4AEF2564 1 TO 85773 1 3 0 9520Elapsed: 00:00:00.02EODA@PROD1> select sid, serial# from v$session where sid=1; SID SERIAL#---------- ---------- 1 11Elapsed: 00:00:00.01EODA@PROD1> alter system kill session '1,11';alter system kill session '1,11'*ERROR at line 1:ORA-00027: cannot kill current session
发现是当前session。。于是退出当前会话重进。。
EODA@PROD1> exit Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options[oracle@ocm1 ~]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Sat Oct 22 15:53:44 2016Copyright (c) 1982, 2011, Oracle. All rights reserved.Connected to:Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsSYS@PROD1> conn eoda/fooConnected.EODA@PROD1> drop table temp purge;Table dropped.
解决~
0 0
- ORA-14452: attempt to create, alter or drop an index on temporary table already in use
- ORA-14452: attempt to create, alter or drop an index on temporary table already in use
- ORA-14450: attempt to access a transactional temp table already in use
- ORA-14450: attempt to access a transactional temp table already in use
- ORA-14450 attempt to access a transactional temp table already in use
- ORA-14450: attempt to access a transactional temp table already in use
- How to create the index on view or table
- 【Oracle问题集5】ORA-55622: DML, ALTER and CREATE UNIQUE INDEX operations are not allowed on table
- hive Create/Drop/Alter/Use Database
- alter index rebuild 与 drop create index效率分析
- ORA-12986: columns in partially dropped state. Submit ALTER TABLE DROP COLUMNS CONTINUE
- How to create an Excel sheet or chart in VC?
- How to create an Excel sheet or chart in VC?
- PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0
- ORA-14097: column type or size mismatch in ALTER TABLE EXCHANGE PARTITION
- 176.You executed this command to create a temporary table: SQL> CREATE GLOBAL TEMPORARY TABLE report
- How to Create/Drop Database, Table
- global temporary table index
- 第八周练习1小明借书
- 如何编写Makefile
- elm语言学习
- JSP request页面乱码
- Python读(read)写(write)文件
- ORA-14452: attempt to create, alter or drop an index on temporary table already in use
- 在VS2015中打开From.cs的设计页面的方法
- C++之中this指针与类的六个默认函数小结
- java 中的 split 方法要注意
- 《深入理解Java虚拟机》笔记01:走近Java
- 返回栈
- java缓存适合使用的情况
- hdu 4971 A simple brute force problem.【最小权闭包】
- 回复一位面试被拒的大四学生