Time of Update: 2018-07-26
1.oracle中文概念手冊 串連 (connection)與會話 (session)這兩個概念均與使用者進程 (user process)緊密相關,但二者又具有不同的含義。 串連 :使用者進程和 Oracle 執行個體間的通訊通道(communication pathway)。這個通訊通道是通過進程間的通訊機制(interprocess communication mechanisms)(在同一個電腦上運行使用者進程和 Oracle 進程)或網路軟體(network
Time of Update: 2018-07-26
【效能調優】Oracle AWR報告指標全解析 啥是AWR? ===================================================================================================== AWR (Automatic Workload Repository) 一堆曆史效能資料,放在SYSAUX資料表空間上,
Time of Update: 2018-07-26
表示 交易隔離等級 這東翻譯很多版本啊 還是摘抄網上與SQL Server的對比 會比較方便理解吧 在SQL92標準中,交易隔離等級分為四種,分別為:Read Uncommitted、Read Committed、Read Repeatable、Serializable 其中Read Uncommitted與Read Committed為語句層級的,而Read Repeatable與Serializable是針對事務層級的。
Time of Update: 2018-07-26
一. sort merge joins串連(排序合并串連) 原理 指的是兩個表串連時, 通過串連列先分別排序後, 再通過合併作業來得到最後返回的結果集的方法. 假如表 T1 和 T2 的串連方式是排序合并串連, oracle 執行步驟如下: (1) 根據 sql 語句中的謂詞條件(如果有) 訪問 T1 表, 得到一個過濾的結果集, 然後按照 T1 中的串連列對結果集進行排序 (2) 根據 sql 語句中的謂詞條件(如果有) 訪問 T2 表, 得到一個過濾的結果集,
Time of Update: 2018-07-26
C:\Documents and Settings\Administrator>sqlplus /nolog SQL> connect system/密碼 as sysdba 已串連。 SQL> shutdown normal
Time of Update: 2018-07-26
DML(Data Manipulation Language,資料操作語言):用於檢索或者修改資料。 DML包括: SELECT:用於檢索資料; INSERT:用於增加資料到資料庫; UPDATE:用於從資料庫中修改現存的資料
Time of Update: 2018-07-26
在之前測試已經使用了基於dba的方法,本文測試其它幾種方法,如下: 1. To dump records based on RBA (Redo Block Address) --基於rda 2. To dump records based on time --基於時間 3. To dump records based on layer and opcode --基於內部作業碼的核心所在層;這個比較進階一般用不上 4. Dump the file header information
Time of Update: 2018-07-26
1、錯誤原因: date類型不能包含秒以後的精度。 如日期:2010-01-01 20:02:20.0 解決方案:將日期秒以後的精度去除 如日期:2010-01-01 20:02:20 2、INSERT INTO TEST2 (C1, C2,c3) VALUES (${v1},${v2},to_date(${v3},'yyyy-mm-dd')); oracle裡面不需要以“;”結尾。 3、修改資料庫日期格式: alter session
Time of Update: 2018-07-26
Oracle User和Schema的區別(原創) 部落格分類: Oracle日常管理 概述 Schema和User的定義如下 A schema is a collection of database objects (used by a user.).Schema objects are the logical structures that directly refer to
Time of Update: 2018-07-26
作者:eygle 出處: http://www.eygle.com/blog 日期:October 27, 2005 本文連結: http://www.eygle.com/archives/2005/10/oracle_howto_kill_session.html « Why My server Down? | Blog首頁 | Oracle HowTo:如何在Oracle10g中啟動和關閉OEM »
Time of Update: 2018-07-26
更新或刪除某條記錄的時候,無法操作,或被鎖解決 有的時候,讓我們在oracle上做update 或者delete的時候,出現上時間無法獲得操作結果, 一直處於正在處理之中,這時候要考慮是否oracle本身對該記錄進行鎖住了。 1:查看記錄是否被鎖 SELECT a.object_id, a.session_id,
Time of Update: 2018-07-26
方法一:通過 To_Number 函數異常來判斷 CREATE OR REPLACE FUNCTION Is_Number ( str_ VARCHAR2 ) RETURN VARCHAR2 IS num_
Time of Update: 2018-07-26
1、VCS安裝前準備。 要查看veritas版本對作業系統版本等情況,是否符合安裝條件。 #ssh-keygen -t dsa//產生DSA密鑰 #chmod 755 -t /root/.ssh 把root/.ssh/id_dsa.pub檔案為authorized_keys2
Time of Update: 2018-07-26
原文地址:http://hi.baidu.com/gukeming888/blog/item/2682f69481c8237154fb9662.html 物化視圖 (Materialized View),在以前的Oracle版本中稱為快照(Snapshot)。Oracle的物化視圖提供了強大的功能,可以用於預先計算並儲存表串連或聚集等耗時較多的操作的結果,這樣在執行查詢時,就可以避免進行這些耗時的操作,而從快速地得到結果。
Time of Update: 2018-07-26
外鍵加索引是常識,必須牢記。本來不想寫這種簡單案例,但是連續遇到好幾起外鍵不加索引導致效能問題,所以還是寫一下。 一個兄弟問我 delete from Sa_Sales_Comm_Detail s where s.sales_commission_id=24240; ---刪除105條資料非常慢,要跑幾十秒到上百秒 這個表總資料才35萬行,sales_commission_id 列有索引,執行計畫也確實是走了索引。
Time of Update: 2018-07-26
Oracle日誌查看一.Oracle日誌的路徑:登入:sqlplus "/as sysdba"查看路徑:SQL> select * from v$logfile;SQL> select * from v$logfile;(#記錄檔路徑)二.Oracle記錄檔包含哪些內容:(日誌的數量可能略有不同)control01.ctl example01.dbf redo02.log sysaux01.dbf undotbs01.dbfcontrol0
Time of Update: 2018-07-26
ORA-12505, TNS:listener does not currently know of SID given in connect desc . 一、正確的連結字串
Time of Update: 2018-07-26
Oracle GoldenGate測試文檔 1.Oracle GoldenGate介紹 1 2.Oracle GoldenGate For Oracle(windows平台)安裝 5 3.資料庫複寫實施文檔(DML) 7 3.1準備工作 7 3.2配置GoldenGate 8 3.2.1配置SourceDB的GoldenGate 8 3.2.2配置TargetDB的GoldenGate 9 3.3測試DML操作 11
Time of Update: 2018-07-26
Oracle產生一百萬測試資料的方法如下: 方法一:建立一個表,並同時添加1000000條資料,代碼: create table TestTable as select rownum as id, to_char(sysdate + rownum/24/3600, 'yyyy-mm-dd hh24:mi:ss') as inc_datetime, trunc(dbms_random.value(0, 100)) as
Time of Update: 2018-07-26
標籤:sysdba error: ber 原因 查詢 png cursor numbers ora 開始時版本資訊: python 3.6 +