密码文件导致sys用户as sysdba无法登陆
现象如下:
[oracle@test1 ~]$ sqlplus system/oracle@prod
SQL*Plus: Release 10.2.0.1.0 - Production on Fri May 30 10:58:46 2014
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL...
SQL> exec DBMS_SHARED_POOL.KEEP('STANDARD','P');
BEGIN DBMS_SHARED_POOL.KEEP('STANDARD','P'); END;
*
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_SHARED_POOL.KEEP' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
查看是否安装了DBMS_SHARED_POOL包
SQL...
唯一性组合索引引起的插入的sql hang住的分析
问题分析:拥有相同组合索引列键值的sql,在批量操作时可能会导致undo争用,致使会话挂起。
=============以下为分析过程=============
表TBLCERTREQ有以下有关的唯一性索引
第一个:主键产生的唯一性索引
SQL> select * from dba_ind_columns where table_owner='CAUSER' and table_name='TBLCERTREQ' and index_name='SYS_C00...