目前分類:Oracle SQL Tuning (6)

瀏覽方式: 標題列表 簡短摘要

Enable SQL Trace For a Single Oracle DB User

-- Create Logon Trigger
create trigger t_scott_logon_trace after logon on scott.schema

文章標籤

DanBrother 發表在 痞客邦 留言(0) 人氣()

Symptom: SYS_OP_C2C Causing FULL Table Scan Instead of Index Range Scan


SYS_OP_C2C is the implicit function that is used to convert the column between NCHAR and CHAR;

DanBrother 發表在 痞客邦 留言(0) 人氣()

PL/SQL Interpreted & Native Compilation Comparison Testing

DanBrother 發表在 痞客邦 留言(0) 人氣()

Oracle 11g: PL/SQL native compilation know-how


Start with Oracle 11gR1, PL/SQL native compiler can generate native code (machine code) directly, instead of translating it to C programs and have the C compiler generate native code as of Oracle 9i and 10g do.

DanBrother 發表在 痞客邦 留言(0) 人氣()

Query sessions that are being locked:
select s.username as username,
s.program as program,

DanBrother 發表在 痞客邦 留言(0) 人氣()


For AWR (Automatic Workload Repository) Report (generated by running $ORACLE_HOME/rdbms/admin/awrrpt.sql), it's convenient to have SQL IDs listed for tuning any particular sql statement.

DanBrother 發表在 痞客邦 留言(0) 人氣()

Close

您尚未登入,將以訪客身份留言。亦可以上方服務帳號登入留言

請輸入暱稱 ( 最多顯示 6 個中文字元 )

請輸入標題 ( 最多顯示 9 個中文字元 )

請輸入內容 ( 最多 140 個中文字元 )

reload

請輸入左方認證碼:

看不懂,換張圖

請輸入驗證碼