Oracle DB Link

資料庫之間的連結建立在DATABASE LINK上。要建立一個DB LINK,必須先在每個資料庫伺服器上設定連結字串。    1、 配置TNS , $ORACLE_HOME/NETWORK/ADMIN/tnsname.ora 10gstandby =   (DESCRIPTION =     (ADDRESS = (PROTOCOL = TCP)(HOST = HFCC-KF-3068)(PORT = 1522))     (CONNECT_DATA =       (SERVER =

Oracle RESETLOGS 和 NORESETLOGS 區別說明

 一.建立控制檔案時:Resetlogs和Noresetlogs當我們將控制檔案備份到trace 檔案時,可以看到裡麵包含了2部分的重建語句,一個是使用resetlogs,另一個是使用noresetlogs。 備份控制檔案的SQL 如下:SQL>alterdatabase backup controlfile to trace 有關控制檔案的詳細說明,參考:Oracle 控制檔案http://blog.csdn.net/tianlesoftware/article/details/4974

Oracle RAC 全域等待事件 gc current block busy 和 gc cr multi block request 說明

 一.RAC 全域等待事件說明在RAC環境中,和全域調整緩衝相關的最常見的等待事件是global cache cr request,global cache busy和equeue。 當一個進程訪問需要一個或者多個塊時,Oracle會首先檢查自己的Cache是否存在該塊,如果發現沒有,就會先通過global cache賦予這些塊共用訪問的許可權,然後再訪問。假如,通過global cache發現這些塊已經在另一個執行個體的Cache裡面,那麼這些塊就會通過Cache

Windows Oracle 10G手工建立資料庫

  在Oracle中建庫,通常有兩種方法。     一是使用Oracle的建庫工且DBCA,這是一個圖形介面工且,使用起來方便且很容易理解,因為它的介面友好、美觀,而且提示也比較齊全。在Windows系統中,這個工具可以在Oracle程式組中開啟(”開始”—“程式”—“ Oracle OraDb10g_home1”—“ Configuration and Migration Tools”—“ Database ConfigurationAssistant”),也可以在命令列(”開始”—“運行”—

Oracle OLAP 組件 重建 說明

 一. Oracle OLAP 組件 說明有關Oracle 的所有組件的說明,參考:Oracle8i/9i/10g/11g 組件(Components) 說明http://blog.csdn.net/tianlesoftware/article/details/5937382線上分析處理OLAP(On-Line Analytical Processing),

Oracle Rman跨resetlogs版本恢複

RMAN> startup nomount;RMAN> sql 'alter session set nls_date_format=''yyyy-mm-dd hh24:mi:ss''";--因為rman預設以環境變數來讀取時間格式,與sqlplus的固定格式不同,所以,此處要設定時間格式變數。RMAN> restore controlfile from autobackup until time '2009-03-10

Oracle 11gR2 RAC root.sh Deconfigure the existing cluster configuration 解決方案

  Oracle 11.2.0.1 的 RAC,運行root.sh時報錯,如下: [root@rac1 oracle]#/u01/app/11.2.0/grid/root.sh Running Oracle 11g root.sh script... The following environment variables are setas:   ORACLE_OWNER= oracle   ORACLE_HOME=  /u01/app/11.2.0/grid Enter the full

Oracle 11g 中 Direct path reads 特性 說明

 一.DirectPath Reads 說明在oracle 11g以前的版本中,如果對大表進行全表掃描,wait event是:db file scattered read;在11g中,如果對大表進行全表掃描,wait event是:direct path read;即在11g中,大表全表掃描是將資料區塊直接讀入會話的pga地區。(具體的查看方法參考後面的樣本)。            在11g中,大表全表掃描時資料區塊不經過sga而直接進pga,這樣會造成每次進行大表全表掃描,物理讀都是很大,

Oracle 歸檔與非歸檔的切換

首先查看資料庫現有模式可使用以下語句 select name,log_mode from v$database; 也可以用下面的語句 archive log list;(該方法需要as sysdba) SQL> archive log list Database log mode       No Archive Mode Automatic archival      Disabled Archive destination     

Oracle 物化視圖 快速重新整理 限制 說明

 之前對物化視圖整理的一篇介紹:http://blog.csdn.net/tianlesoftware/article/details/4713553 在老楊的Blog

ORACLE 鎖機制

ORACLE 鎖機制 資料庫是一個多使用者使用的共用資源。當多個使用者並發地存取資料時,在資料庫中就會產生多個事務同時存取同一資料的情況。若對並行作業不加控制就可能會讀取和儲存不正確的資料,破壞資料庫的一致性。 加鎖是實現資料庫並發控制的一個非常重要的技術。當事務在對某個資料對象進行操作前,先向系統發出請求,對其加鎖。加鎖後事務就對該資料對象有了一定的控制,在該事務釋放鎖之前,其他的事務不能對此資料對象進行更新操作。 在資料庫中有兩種基本的鎖類型:排它鎖(Exclusive Locks,即X鎖)

Oracle 10g Rac root.sh Failure at final check of Oracle CRS stack 10 解決方案

 一.問題說明 安裝環境:Oracle linux 6.1 資料庫: 10.2.0.1 安裝Oracle 10g的RAC,在第一個節點執行root.sh 時報錯,如下: [root@rac1 ~]# /u01/app/10.2.0/grid/root.shWARNING: directory '/u01/app/10.2.0' is notowned by rootWARNING: directory '/u01/app' is not ownedby rootWARNING:

Oracle SQL中使用Regex 執行報ORA-07445 [_intel_fast_memcpy.A()+10] 錯誤

  Oracle 版本:10.2.0.1OS: Linux 64位 在SQL中使用了正則:SELECT COUNT(*) FROM  T WHERE REGEXP_LIKE(T.NOTE, '^(.|+)*(\(二種同時存在一種\))+', 'i') 第一次可以執行,第二次執行報ORA-7445,session 中斷。 Trace 檔案中的記錄如下: Exception signal: 11 (SIGSEGV), code: 1(Address not mapped to object),

Oracle TABLE ACCESS BY INDEX ROWID 說明

  一.  測試環境SQL> select * from v$version where rownum=1; BANNER--------------------------------------------------------------------------------Oracle Database 11g Enterprise Edition Release11.2.0.3.0 - 64bit Production SQL> create table dave as

Oracle AUTO_SPACE_ADVISOR_JOB 說明

 有時我們會在AWR中看到如下資訊:  裡面對應的3條SQL 如下:(1)call dbms_space.auto_space_advisor_job_proc( )(2)calldbms_stats.gather_database_stats_job_proc ( )(3)insert into wri$_adv_objspace_trend_dataselect timepoint, space_usage, space_alloc, quality

Oracle 10g impdp 報 ORA-7445 [_INTEL_FAST_MEMCPY.A] 解決方案

 在Oracle 10.2.0.4 以後的平台,我們在使用資料泵匯入物化視圖時,可能會遇到如下錯誤: ...ksedmp: internal or fatal errorORA-7445: exception encountered: core dump [_intel_fast_memcpy.A()+10] [SIGSEGV] [Address not mapped to object] [0x000000000] [] []Current SQL statement for this

Oracle 10g read by other session 等待 說明

在AWR中,我們可能會看到如下資訊:  這裡是Read byother session 等待佔用了很多的時間。 關於Read by other session 的說明如下:When informationis requested from the database, Oracle will first read the data from disk intothe database buffer cache. If two or more sessions request the

Linux 平台下Oracle 9i/10g/11gR1 IO-Fencing 的hangcheck-timer 模組說明

 一.官網的說明參考MOS:Linux: Hangcheck-Timer Module Requirements for Oracle 9i, 10g, and11gR1 RAC [ID 726833.1] Hangcheck_timermodule is required to run a supported configuration in Oracle Real ApplicationClusters environments on Linux, with Oracle releases

Oracle local write wait 和 enq:RO – fast object reuse 等待事件 說明

 在AWR 看到local write waits和 enq: RO - fast object reuse 的 等待事件。   一.Local write waits 等待說明 網上對local write waits 的說明: Note 1:Typically DBWRhas to free up some buffers when you want to read something from the disk.During this process there are chances

Oracle alert log ALTER SYSTEM SET service_names=”,’SYS$SYS.KUPC$C_…’ SCOPE=

  在RAC 環境下使用DataPump工具,alert log會出現修改SERVICE_NAMES參數的提示。  如:  Sat Sep 1 13:33:20 2012ALTER SYSTEM SETservice_names='pmos','SYS$SYS.KUPC$C_1_20120901133317.PMOS' SCOPE=MEMORY SID='pmos1';Sat Sep 1 13:33:20 2012ALTER SYSTEM

總頁數: 1509 1 .... 469 470 471 472 473 .... 1509 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.