关于UPDATE级MERGE关联表进行UPDATE的说明
1、建立测试表 SQL> select * from test1; ID NAME ----------- -------------------- 1 gaopeng 2 gaopeng1 3 gaopeng2 4 gaopeng3 SQL> select * from test2; ID NAME ----------- -------------------- 1 yanlei 2 yanlei1 2、目标 ...
11.2.0.1配置DATAGUARD遭遇ORA-12514
今天同事配置了一套DATAGUARD但是配置好后备库没有RFS进程,查看日志报错Error 12154 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'bossdbd'Error 12154 attaching to destination LOG_ARCHIVE_DEST_2 standby host ...
ORACLE 10G中闪回汇总
1、查看当前SCN并且转换为时间select scn_to_timestamp(dbms_flashback.get_system_change_number) from dual;select timestamp_to_scn(to_date('2013-08-2 10:01:00','yyyy-mm-dd hh24:mi:ss')) from dual;2、开启和使用flashback database--必须开启归档--必须设置参数 db_flashback_retention_target&...
Possible fixes for the TNS-12560 include:
Possible fixes for the TNS-12560 include:
ORACLE 受限RESTRICT模式,只读READ ONLY模式,静默QUIESCE模式,延迟SUSPEND模式解释
一、受限RESTRICT模式关于ORACLE RESTRICT模式,以及START OPEN RECOVER 说明如下:Restricting Access to an Instance at StartupYou can start an instance, and optionally mount and open a database, in restricted mode so that the instance is available onlyto administrative personnel (not ...
关于ORACLE RESTRICT模式,以及START OPEN RECOVER
关于ORACLE RESTRICT模式,以及START OPEN RECOVER 说明如下:Restricting Access to an Instance at StartupYou can start an instance, and optionally mount and open a database, in restricted mode so that the instance is available onlyto administrative personnel (not general databas...
REMOTE_LOGIN_PASSWORDFILE参数和ORAPW密码文件
俗话说 万丈高楼从地起,从业ORACLE 7年多后,我重新开始看基础类容,将列出一些DBA容易忽视的类容,并且做一些笔记和实验和大家共享。关于REMOTE_LOGIN_PASSWORDFILE参数文件:REMOTE_LOGIN_PASSWORDFILEare:■ NONE: Setting this parameter to NONE causes Oracle Database to behave as if the password file does ...
关于ORACLE操作系统认证和ORAPWD密码文件认证SYSDBA权限
首先注意如下文档说明: Operating system authentication takes precedence over password file authentication. If you meet the requirements for operating system authentication, then even if you use a password file, you will be authenticated by operating system authentication. ...
11gR2关于延时段建立,和初始化分区段8M的说明
11.2.0.1Deferred segment creationWhen creating a nonpartitioned heap-organized table in a locally managed tablespace, table segment creation is deferred until the first row is inserted11.2.0.3New default first extent size for partitioned tables improves performanceThe default size of the first...
LOGFILE LAYER OPCODE 汇总
Layer 1 : Transaction Control - KCOCOTCT Opcode 1 : KTZFMT Opcode 2 : KTZRDH Opcode 3 : KTZARC Opcode 4 : KTZREP Layer 2 : Transaction Read - KCOCOTRD ...
CHECKPOINT 是什么
转自 http://blog.itpub.net/post/29894/477752/这个事件激活以后会触发数据库写进程(DBWR)将数据缓冲(DATA BUFFER CACHE)中的脏数据块写出到数据文件中。checkpoint的作用是什么?checkpoint主要2个作用:1、保证数据库的一致性,这是指将脏数据写出到硬盘,保证内存和硬盘上的数据是一样的;2、缩短实例恢复的时间,实...
10g 11g 查看是否DISABLE CRS和10g 11g LOCAL listener的区别
10查看是否DISABLE CRS LINUX /etc/oracle/scls_scr/rac1/root/crsstart AIX/HPUNIX/SOLIARS /var/opt/oracle/scls_scr/rac1/root/crsstart 11G不能这样查看 直接CRSCT CONFIG CRS即可查看是否自动启动 ---------------10G RAC listener 不能使用STOP来停止LIST...
ORACLE数据库各个版本PATCH
Oracle数据库的各个版本的补丁号,希望对大家的工作能够有所帮助Patchset / PSU Patch Number 11.2.0.1.1 ...
重建控制文件,并且不干净的关闭数据库测试
重建控制文件,并且不干净的关闭数据库测试:数据库SHUTDOWN ABORT,删除CONTROLFILESQL> startup nomount;ORACLE instance started.Total System Global Area 419430400 bytesFixed Size  ...
delete的统计数据查看和比较
2、测试数据,在进行删除delete的时候有索引和没有索引的对象的统计信息,会话的统计信息,会话的等待事件delete test_a删除耗费491秒select c.sid,b.NAME,a.VALUE from v$sesstat a ,v$statname b ,(select SID fr...
INSERT的统计信息以及等待等
select * from v$segment_statistics where OBJ# IN('56308','56307') order by VALUE desc;select c.sid,b.NAME,a.VALUE from v$sesstat a ,v$statname b ,(select SID from v$mystat where rownum<=1) cwhere a.SI...
HugePages 可能的故障
System is running out of memory or swapping Not enough HugePages to cover the SGA(s) and therefore the area reserved for HugePages are wasted where SGAs are allocated through regular pages....
052-part5 -ASM
1、ASM 3种关闭启动方式-----使用SQLPLUS 连接到SYSASM直接SHUTDOWN IMMEDIATE,启动直接STARTUP即可-----使用SRVCTL 命令[grid@tasm ~]$ srvctl stop diskgroup -g ARCH[grid@tasm ~]$ srvctl stop diskgroup -g DA...
052-part4-EM-instance-manger
建立EM1、建立EM资料库emca -repos recreate2、配置DBCONTROLemca -config dbcontrol db3、启动[oracle@localhost admin]$ emctl start dbconsoleTZ set to Asia/ChungkingOracle Enterprise Manager 10g Database C...
TX:ITL LOCK(INITRANS,MAXINTRANS)
今天和老周老肖吃饭之于谈论了一个问题,就是INITRANS,MAXINTRANS对高并发量的数据块的影响。大家都知道在进行大量DML对同一个块的时候(不同行),不会出现TX:ROW LOCK,但是由于ITL的限制这样的操作可能出现TX:ITL...