V$LOCK 視圖查看當前系統中的鎖 Column DatatypeDescriptionADDRRAW(4 | 8)Address of lock state objectKADDRRAW(4 | 8)Address of lockSIDNUMBERIdentifier for session holding or acquiring the lockTYPEVARCHAR2(2)Type of user or system lockThe locks on the
很多時候我們在進行進一步研究時需要轉儲(dump)Oracle的資料區塊,以研究其內容,Oracle提供了很好的方式,我們通過以下例子簡單說明一下: [oracle@jumper udump]$ sqlplus "/ as sysdba"SQL*Plus: Release 9.2.0.3.0 - Production on Tue Aug 31 17:01:27 2004Copyright (c) 1982, 2002, Oracle Corporation. All rights
[root@rac1 11.2.0]# ./root.shPerforming root user operation for Oracle 11gThe following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/grid/11.2.0Enter the full pathname of the local bin directory: [/usr/local/bin]:
前段時間碰到一個資料庫的資料檔案數(200)達到了資料庫定義的參數db_files的值,而原本需要使用alter system可以修改這個參數,但是因為限制該參數的maxdatafiles值(由控制檔案定義)儀200,故要想改大db_files參數值,需要重建控制檔案,下面是我個人根據實驗總結的操作過程。一、參數察看$sqlplus /nologconn / as sysdba SQL> show parameter db_files; NAME
scott.bonus表無主鍵無唯一索引,若是在gg源端發出,會導致gg目的端abend,除非目的端複製進程參數檔案有APPLYNOOPUPDATES 或者ALLOWNOOPUPDATES 參數)update scott.t1 set ename='bos' where ename='bos2'; gg目的端abend時,dirrpt下的rpt檔案報錯如下:2011-09-14 09:35:23 ERROR OGG-01168 Encountered an update for
C:\Users\Administrator>impdp u1/u1 dumpfile=tmp_1.dmp directory=dir tables=scott.tm_out_b1 logfile=1.logImport: Release 11.2.0.1.0 - Production on 星期一 5月 7 16:53:06 2012Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights
今天同事在新搭建的壓力測試環境啟動某個 OGG replicat 進程時報了如下錯誤:2013-05-14 16:37:41 ERROR OGG-00665 OCI Error executing single row select (status = 1502-ORA-01502: index 'GGS.SYS_C00188744' or partition of such index is in unusable state), SQL<INSERT INTO ggs.ggs_