紀錄工作上的點點滴滴
deploy Oracle19c RAC on RHEL9
2026-02-22 Oracle Oracle RAC
準備檔案 Oracle Database 19.3.0.0.0 for Linux x86-64 File Name: LINUX.X64_193000_db_home.zip (2.8 GB) sha256sum: ... Read More
oracle AWR TOP SQL
2026-01-15 Oracle Oracle AWR
以下我針對 AWR 中的 TOP SQL 進行研究 SQL ordered by Elapsed Time SQL ordered by CPU Time SQL ordered by User I/O Wait Time SQL ordered by Gets SQL ordered by ... Read More
oracle AWR PERF TREND HISTORY
2026-01-15 Oracle Oracle AWR
最近常常接觸 AWR 報表分析,想說AWR已經有儲存資料庫運作歷史資訊,為何不依據裡頭的紀錄資訊進行效能分析呢?因此開始著手研究如何將AWR的資料呈現出趨勢資料~ 觀察重點 當 % Non-Parse CPU 低於 80% 時,代表資料庫忙於解析而非執行,這時增加 CPU 核心也無法根本解決問題。 ... Read More
Oracle AWR 常用筆記
2026-01-02 Oracle Oracle AWR
--手動執行快照 exec DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT(); -- 設定AWR 快照區間 BEGIN DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS( retention => ... Read More
deploy-Oracle-for-production-check-list
2025-12-26 Oracle
plan item list SGA_MAX_SIZE(GB) = RAM * 50% vm.nr_hugepages = (SGA_MAX_SIZE + (SGA_MAX_SIZE * 0.04)) * 1024 * 1024 / kernel.shmmni kernel.shmmax = ... Read More
Oracle Delete Database
2024-12-30 Oracle
Oracle 刪除資料庫 先查詢資料庫名稱 select name, open_mode from v$database; SQL> select name, open_mode from v$database; NAME OPEN_MODE --------- ... Read More
Oracle Clusterware 初學
2024-07-03 Oracle Oracle
指令 crsctl status res -t crsctl status res -t 功能: 顯示集群資源的狀態,以表格形式展示各資源的詳細信息。 參數: -t 是 –terse 的縮寫,表示以簡潔的表格格式輸出信息。 示例 NAME TARGET STATE SERVER ... Read More
Oracle PL/SQL 學習筆記
2024-03-13 Oracle Oracle PL/SQL
切字串成陣列 regexp_substr select regexp_substr ( :str, '[^,]+', 1, level ) value from dual 參考資料 How to split comma separated value strings into ... Read More
Oracle PL/SQL 學習筆記
2024-03-13 Oracle Oracle PL/SQL
判斷式 if else if a > b then t := 0; elsif a > c then t := 1; else t := 2; end if; 迴圈 LOOP ... V_LOOP_CONT := V_LOOP_CONT +1 ; IF V_TOTAL_LOOP_CONT ... Read More
Oracle 學習筆記
2024-03-07 Oracle Oracle
最近在工作上遇到Oracle 發生的系統效能問題,雖然有順利解決了,但是在解決的過程中似乎覺的自己對Oracle知識相當貧乏,於是在這邊筆記一下我學到的知識。 學習的過過程中難免會出現紀錄錯誤,而且目前是因為工作上需要而自學。因此內容有錯還請見諒。 Oracle Instance Instance ... Read More
PolloChang 工作筆記