一、備份1、資料備份(主庫上執行)rman>backup full database format '/u01/rmanbak/port_full_backup%U.bk';2、資料庫軟體備份(主庫上執行)$ cd /home/Oracle/product/10.2.0/$ tar cvf /u01/oraclehomebak/product.tar db_13、資料庫參數備份(主庫上執行)sqlplus "/as sysdba"sql>create
在使用RMAN備份資料庫歸檔日誌時,出現這樣的錯誤,"RMAN-8137: WARNING: archived log not deleted as it is still needed"。這是備份歸檔日誌後跟著刪除已備份的歸檔檔案操作時失敗的提示。RMAN備份刪除歸檔記錄檔的指令碼如下所示:backup archivelog all format '/rman_bak/archivelog_%U.%T' delete all input;這裡資料庫系統為Oracle 10.2.0.
What is AOL? Oracle Applications are constructed and maintained using the Application Object Library (AOL).The Three main areas of AOL areApplications Security Operating Profile Concurrent ProcessingAOL Stands For “Application Object Library”. AOL
從11.2.0.2開始,Oracle 的叢集軟體Grid Infrastructure(GI)中新增了Redundant Interconnect with Highly Available IP(HAIP),以實現叢集私網的高可用性和負載平衡。 在11.2.0.2之前,私網的冗餘一般是通過在OS上做網卡綁(如bonding, EtherChannel等)實現的,有了HAIP之後,無需使用網卡綁定就可以實現私網網卡的冗餘。
在Oracle 11gR2 RAC 建立執行個體的時候,會讓我們選擇配置類型:Admin-Managed 和 Policy-Managed ,如下:官網文檔解釋如下:6.1 Understanding ServerPoolsServer pools arelogical divisions of a cluster into pools of servers, which are allocated tohost databases or other applications. Server
[grid@vm11gr2] /home/grid> sqlplus "/as sysasm" SQL*Plus: Release 11.2.0.1.0 Production on Sun Oct 25 10:16:21 2009 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to an idle
Oracle 軟體版本: 10.2.0.5Oracle安裝目錄:/u01通過lync方式把Oracle整個目錄從原始伺服器拷貝到目標伺服器。按理說,軟體遷移不會導致很嚴重的錯誤,但是通過sqlplus串連到oracle,計劃啟動資料庫的時候報告: ORA-15180: Could not open dynamic library odm library, error
把一個測試系統的資料從Oracle 10g遷移到11g中後,聽開發人員說他們有個建立索引的SQL語句執行失敗,但是在10g裡面是能夠正常執行。這個索引是一個具有重複列的函數索引,可能是手誤並且這個索引沒怎麼用,所以就一直沒注意這個索引。自己感覺挺有意思的,於是就自己實驗了一下:1、先來看11g的情況:[oracle@instsvr1 ~]$ sqlSQL*Plus: Release 11.2.0.2.0 Production on Fri Mar 16 11:29:33 20
Oracle undo資料表空間爆滿的解決步驟:1. 啟動SQLPLUS,並用sys登陸到資料庫。#su - oracle $>sqlplus / as sysdba 2. 尋找資料庫的UNDO資料表空間名,確定當前常式正在使用的UNDO資料表空間:Show parameter undo_tablespace。3. 確認UNDO資料表空間;SQL> select name from v$tablespace; NAME --------------
今天使用expdp時報錯:ORA-39002: invalid operationORA-39070: Unable to open the log file.ORA-29283: invalid file operationORA-06512: at "SYS.UTL_FILE", line 475ORA-29283: invalid file operation發現原因如下: SQL> create or replace directory dpdata