Removing Sessions in Killed Status on Unix (文档 ID 274216.1)
PURPOSE=======This article explains how to get rid of idle sessions. Even when we kill idlesessions from the database, they remain in "killed" status and are accounted for the total sessions/processes initialization parameter.PREFACE=======Sometimes we find orphan server processes which will...
Killed Session Are Not Cleaned By PMON
In this DocumentSymptomsCauseSolutionReferencesAPPLIES TO:Oracle Database - Enterprise Edition - Version 9.2.0.1 and laterInformation in this document app...
PRTMV means PARTition Mult-Version.
PRTMV means PARTition Mult-Version.11204 bug 分区表 主备不同步?
标量子查询
SQL允许子查询出现在返回单个值的表达式能够出现的任何地方,只要该子查询只返回包含单个属性的单个元组;这样的子查询称为标量子查询(scalar subquery)。例如,一个子查询可以用到下面例子的select子句中,这个例子列出所有的系以及它们拥有的教师数:select dept_name, (select co...
Connections to NOMOUNT/MOUNTED or RESTRICTED Databases Fail
In this DocumentSymptomsChangesCauseSolutionReferencesAPPLIES TO:Oracle Net Services - Version 11.1.0.6 to 11.2.0.4 [Relea...
Fail with TNS-12526, TNS-12527 or TNS-12528
In this DocumentSymptomsChangesCauseSolutionReferencesAPPLIES TO:Oracle Net Services - Version 10.2.0.5 to 12.1.0.2 [Relea...
RMAN DUPLICATE...FROM ACTIVE DATABASE (文档 ID 1075908.1)
In this DocumentGoalSolution PROCEDURE: 1. Prepare the production database to be the primary database 2. Ensure ...
Connecting to Nomounted database
ORA-12528: TNS:listener: all appropriate instances are blocking new connectionsUse (UR=A) with (CONNECT_DATA=(SERVICE_NAME=SERVICE))Connection using SERVICE_NAME without (UR=A) would error with ORA-12528: TNS:listener: all appropriate instances are blocking new connectionsT...
oracle 统计信息过期判断和自动收集
Stale statisticsStatistics gathered by?DBMS_STATS?can become out-of-date. Typically, statistics are stale when 10% or more of the rows in the table have changed since the last time statistics were gathered.The?GATHER_DATABASE_STATS?or?GATHER_SCHEMA_STATS?procedu...
oracle直方图使用
Height-Balanced Histograms:当桶数量>列中的不同值的个数,或者不同值大于254.优化器首先会检查在直方图中使用谓词作为endpoint的有多少个bucket?1,如果有多个,计算公式:Number of bucket endpoints / total number of buckets) * number of rows in the table2,对于只是一个bucket或者不是任何bu...
oracle 柱状图(Histograms)
柱状图(Histograms):Height-Balanced Histograms:列中不同值的个数小于直方图的桶数,每个桶的值不同。Frequency Histograms:列中不同值的个数大于直方图的桶数,每个桶的值相同,最后一个桶除外。 收集方法:GATHER_TABLE_STATS==》method_opt 通过size参数指定直方图的桶数:SIZE {integer | REPEAT |...
dg in rac service的配置
service dg rac
Oracle Health Check
ODA Oracle Database Appliance orachk Healthcheck (Doc ID 2126926.1)Multiplexing Redolog and Control File on ODA (Doc ID 2086289.1)ORAchk – Health Checks for the Oracle Stack (Doc ID 1268927.2)How to Perform a Health Check on the Database (Doc ID 122669.1)Health Monitor (Doc...
Linux locate/print block device attributes ASMLib
blkid – command-line utility to locate/print block device attributesOracle Linux Server release 6.4 [root@rac02:/root]# ll /etc/*release*-rw-r--r--. 1 root root 32 Feb 22 2013 /etc/oracle-release-rw-r--r--. 1 root root 55 Feb 22 2013 /etc/redhat-releaselrwxrwxrwx. 1 root root 14 Nov 29 ...
oracle 统计信息过期判断和自动收集
Stale statisticsStatistics gathered by DBMS_STATS can become out-of-date. Typically, statistics are stale when 10% or more of the rows in the table have changed since the last time statistics were gathered.The GATHER_DATABASE_STATS or GATHER_SCHEMA_STATS procedu...
DBMS_XPLAN查看执行计划
DISPLAY - to format and display the contents of a plan table.DISPLAY_AWR - to format and display the contents of the execution plan of a stored SQL statement in the AWR.DISPLAY_CURSOR - to format and display the contents of the execution plan of an...
11gR2 RAC DB switchover using DG broker (文档 ID 880017.1)
In this DocumentGoalSolutionReferencesAPPLIES TO:Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.4 [Release 11.2]Information in this document applies to any platform.**...
How To Move The DB Audit Trails To A New Tablespace
In this DocumentGoalFixReferencesAPPLIES TO:Oracle Database - Enterprise Edition - Version 11.2.0.2 and laterInformation in this document applies to any platform.***Checked for relevance...
Data Guard Physical Standby
APPLIES TO:Oracle Database - Enterprise Edition - Version 11.2.0.1 and laterInformation in this document applies to any platform.GOALThe primary goal of this how-to is establish a data guard configuration where the primary site is RAC and the standby site is RAC. Please Not...
dg 配置,建议关闭shared 模式。
Database connections that require SYSDBA privilege and broker connections should be performed through dedicated server based connections NOT dispatchers and shared server processes.NAME ...