1、 修改系統參數alter system set aq_tm_processes=2 scope=both;alter system set global_names=true scope=both;alter system set job_queue_processes=20 scope=both;alter system set parallel_max_servers=20 scope=both;alter system set undo_retention=3600
1,建立表create table CJ_JT_NSRCPDMDY(ID VARCHAR2(40) not null primary key, CPBH VARCHAR2(80) not null,NSRBH VARCHAR2(80) not null,BZ VARCHAR2(80));2,測試資料insert into
鎖表,相信大家都遇到過,解鎖的方法想必大家也都知道,但是一個個的殺進程難免有些低級,我們用預存程序來實現這一功能,就變得異常簡單了。1.建立視圖,查詢進程資訊,注意要給目前使用者賦予系統許可權select any dictionarycreate or replace view mysession asselect b.sid,b.serial# from v$lock a,v$session b where a.SID = b.SID and status='INACTIVE' --and
現象:GG做init data load時報錯OGG-00869 OGG-001992013-11-11 15:54:18 INFO OGG-03501 Oracle GoldenGate Delivery for Oracle, initrep.prm: WARNING: NLS_LANG environment variable is invalid or not set. Using operating system character set value of AL32UTF8.2013
物理備庫報錯:ORA-00600 內部錯誤碼, 參數 [kdsgrp1], [], [], [], [], [], [], [], [], [], [], []產生錯誤的sql語句是一個select語句。查詢該錯誤:Applies to: Oracle Server - Enterprise Edition - Version 10.2.0.4 and laterInformation in this document applies to any platform.***Checked
這次實驗類比一下,Oracle 11g在非歸檔模式下,且沒有備份的條件,進行的記錄檔的恢複這裡所有的redo日誌都被我刪除了,下面是報錯和資料庫模式:SQL> startup ORACLE instance started. Total System Global Area 845348864 bytes Fixed Size 1339796 bytes
1. 當啟動Oracle 發現報錯SQL> startup報錯:ORA-03113: end-of-file on communication channel查看alert.log檔案,發現ORA-03113: end-of-file on communication channelcannot reclaim 45680128 bytes disk space from 2147483648 limitARCH: Error 19809 Creating archive log
logical standby是在physical standby基礎上搭建Oracle10g Physical DataGuard 詳細搭建過程 --停止standby上的日誌應用SQL> alter database recover managed standby database cancel;Database altered.--修改主庫log_archive_dest_3參數,當切換為備庫時線上日誌歸檔路徑SQL> alter system set
DBMS_ERRLOG提供了一個預存程序CREATE_ERROR_LOG,這個預存程序建立一個錯誤記錄檔表,當DML出錯時,操作不會終止和復原,而是將相關的錯誤寫到錯誤記錄檔表中。CREATE_ERROR_LOG不支援一些資料類型:LONG, CLOB,BLOB, BFILE, and ADT。 簡單樣本:SQL> create unique index ind_test00_a on test00(a);Index created.SQL>