[20190416]11g下那些latch是Exclusive的.txt

来源:https://www.cnblogs.com/lfree/archive/2019/04/16/10714784.html
-Advertisement-
Play Games

[20190416]11g下那些latch是Exclusive的.txt--//昨天測試了11g下那些latch是共用的,鏈接:--//是否反過來剩下的都是Exclusive的.繼續測試:1.環境:SYS@book> @ ver1PORT_STRING VERSION BANNER x86_64/L ...


[20190416]11g下那些latch是Exclusive的.txt

--//昨天測試了11g下那些latch是共用的,鏈接:
--//是否反過來剩下的都是Exclusive的.繼續測試:

1.環境:
SYS@book> @ ver1
PORT_STRING                    VERSION        BANNER
------------------------------ -------------- --------------------------------------------------------------------------------
x86_64/Linux 2.4.xx            11.2.0.4.0     Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

2.建立測試腳本:
--//drop table exclusive_latches purge;
create table exclusive_latches(
  version varchar2(50),   /* Oracle version */
  latch# number,          /* latch# */
  name   varchar2(200),   /* ltach name */
  shared varchar2(1)      /* if 'N' then latch is exclusive  */
);
--//建立表shared_latches.

spool list_exclusive_latches.sh
select 'sqlplus /nolog @is_latch_exclusive 0x'||addr||' '||latch#||' "'||translate(name,'''',' ')||'"'
   from v$latch_parent;
spool off
--//獲得latch list.僅僅測試latch parent就ok了.適當編輯整理腳本.

$ cat is_latch_exclusive.sql
connect / as sysdba
set verify off
WHENEVER SQLERROR EXIT;
set pagesize 0

alter session set max_dump_file_size=0;
oradebug setmypid
oradebug call kslgetl &1 1 2 3
oradebug call kslfre &1
insert into exclusive_latches(version,latch#,name,shared) select version,latch#,name,'N' from v$latch,v$instance where latch#=&2;
commit;
exit

3.執行:
$ . list_exclusive_latches.sh
--//略.

4.結果:
SYS@book> select * from exclusive_latches;
VERSION        LATCH# NAME                                               S
---------- ---------- -------------------------------------------------- -
11.2.0.4.0          0 PC and Classifier lists for WLM                    N
11.2.0.4.0          1 post/wait queue                                    N
11.2.0.4.0          2 hot latch diags                                    N
11.2.0.4.0          3 test excl. non-parent l0                           N
11.2.0.4.0          4 test excl. parent l0                               N
11.2.0.4.0          5 test excl. parent2 l0                              N
11.2.0.4.0          7 test excl. non-parent lmax                         N
11.2.0.4.0          8 process allocation                                 N
11.2.0.4.0          9 call allocation                                    N
11.2.0.4.0         10 interrupt manipulation                             N
11.2.0.4.0         11 session allocation                                 N
11.2.0.4.0         12 session switching                                  N
11.2.0.4.0         13 process group creation                             N
11.2.0.4.0         16 longop free list parent                            N
11.2.0.4.0         17 ksuosstats global area                             N
11.2.0.4.0         18 ksupkttest latch                                   N
11.2.0.4.0         19 cached attr list                                   N
11.2.0.4.0         20 ksim membership request latch                      N
11.2.0.4.0         22 object stats modification                          N
11.2.0.4.0         23 kss move lock                                      N
11.2.0.4.0         25 ksbxic instance latch                              N
11.2.0.4.0         26 kse signature                                      N
11.2.0.4.0         27 messages                                           N
11.2.0.4.0         28 enqueues                                           N
11.2.0.4.0         29 enqueue hash chains                                N
11.2.0.4.0         30 instance enqueue                                   N
11.2.0.4.0         31 enqueue freelist latch                             N
11.2.0.4.0         32 trace latch                                        N
11.2.0.4.0         33 FOB s.o list latch                                 N
11.2.0.4.0         34 FIB s.o chain latch                                N
11.2.0.4.0         35 SGA IO buffer pool latch                           N
11.2.0.4.0         36 File IO Stats segmented array latch                N
11.2.0.4.0         37 SGA global fib table latch                         N
11.2.0.4.0         38 KSFQ                                               N
11.2.0.4.0         39 X$KSFQP                                            N
11.2.0.4.0         40 i/o slave adaptor                                  N
11.2.0.4.0         41 ksfv messages                                      N
11.2.0.4.0         42 msg queue latch                                    N
11.2.0.4.0         43 done queue latch                                   N
11.2.0.4.0         44 session queue latch                                N
11.2.0.4.0         45 direct msg latch                                   N
11.2.0.4.0         46 vecio buf des                                      N
11.2.0.4.0         47 ksfv subheap                                       N
11.2.0.4.0         48 resmgr:free threads list                           N
11.2.0.4.0         53 channel anchor                                     N
11.2.0.4.0         54 dynamic channels                                   N
11.2.0.4.0         55 ksv instance latch                                 N
11.2.0.4.0         56 ksv class latch                                    N
11.2.0.4.0         57 ksv msg queue latch                                N
11.2.0.4.0         58 ksv allocation latch                               N
11.2.0.4.0         59 ksv remote inst ops                                N
11.2.0.4.0         60 first spare latch - X non-parent                   N
11.2.0.4.0         61 second spare latch - X non-parent                  N
11.2.0.4.0         62 third spare latch - X non-parent                   N
11.2.0.4.0         63 fourth spare latch - X non-parent                  N
11.2.0.4.0         64 fifth spare latch - X non-parent                   N
11.2.0.4.0         65 sixth spare latch - X parent                       N
11.2.0.4.0         66 seventh spare latch - X parent                     N
11.2.0.4.0         67 eighth spare latch - X parent                      N
11.2.0.4.0         68 nineth spare latch - X parent                      N
11.2.0.4.0         69 tenth spare latch - X parent                       N
11.2.0.4.0         70 eleventh spare latch - children                    N
11.2.0.4.0         71 twelfth spare latch - children                     N
11.2.0.4.0         72 thirteenth spare latch - children                  N
11.2.0.4.0         73 fourteenth spare latch - children                  N
11.2.0.4.0         74 fifteenth spare latch - children                   N
11.2.0.4.0         85 ksxp shared latch                                  N
11.2.0.4.0         86 IPC stats buffer allocation latch                  N
11.2.0.4.0         87 IPC other latch                                    N
11.2.0.4.0         88 ksxp so latch                                      N
11.2.0.4.0         89 segmented array pool                               N
11.2.0.4.0         90 granule operation                                  N
11.2.0.4.0         91 KSXR large replies                                 N
11.2.0.4.0         94 database property service latch                    N
11.2.0.4.0         95 OS process allocation                              N
11.2.0.4.0         96 OS process                                         N
11.2.0.4.0         97 OS process: request allocation                     N
11.2.0.4.0         98 ksir sga latch                                     N
11.2.0.4.0         99 kspoltest latch                                    N
11.2.0.4.0        100 ksz_so allocation latch                            N
11.2.0.4.0        101 reid allocation latch                              N
11.2.0.4.0        103 pmon tst latch                                     N
11.2.0.4.0        104 pmon tst latch 2                                   N
11.2.0.4.0        105 queued dump request                                N
11.2.0.4.0        106 global hanganlyze operation                        N
11.2.0.4.0        107 ges process table freelist                         N
11.2.0.4.0        108 ges process parent latch                           N
11.2.0.4.0        109 ges process hash list                              N
11.2.0.4.0        110 ges resource table freelist                        N
11.2.0.4.0        111 ges caches resource lists                          N
11.2.0.4.0        112 ges resource hash list                             N
11.2.0.4.0        113 ges resource scan list                             N
11.2.0.4.0        114 ges s-lock bitvec freelist                         N
11.2.0.4.0        115 ges enqueue table freelist                         N
11.2.0.4.0        116 ges DFS wait callback info                         N
11.2.0.4.0        117 ges timeout list                                   N
11.2.0.4.0        118 ges deadlock list                                  N
11.2.0.4.0        119 ges statistic table                                N
11.2.0.4.0        120 ges synchronous data                               N
11.2.0.4.0        121 KJC message pool free list                         N
11.2.0.4.0        122 KJC receiver ctx free list                         N
11.2.0.4.0        123 KJC snd proxy ctx free list                        N
11.2.0.4.0        124 KJC destination ctx free list                      N
11.2.0.4.0        125 KJC receiver queue access list                     N
11.2.0.4.0        126 KJC snd proxy queue access list                    N
11.2.0.4.0        127 KJC global resend message queue                    N
11.2.0.4.0        128 KJCT receiver queue access                         N
11.2.0.4.0        129 KJCT flow control latch                            N
11.2.0.4.0        130 KJC global post event buffer                       N
11.2.0.4.0        131 ges domain table                                   N
11.2.0.4.0        132 ges group table                                    N
11.2.0.4.0        133 gcs resource hash                                  N
11.2.0.4.0        134 gcs opaque info freelist                           N
11.2.0.4.0        135 gcs resource freelist                              N
11.2.0.4.0        136 gcs resource scan list                             N
11.2.0.4.0        137 gcs resource validate list                         N
11.2.0.4.0        138 gcs domain validate latch                          N
11.2.0.4.0        139 gcs shadows freelist                               N
11.2.0.4.0        140 gcs commit scn state                               N
11.2.0.4.0        141 name-service entry                                 N
11.2.0.4.0        142 name-service request queue                         N
11.2.0.4.0        143 name-service pending queue                         N
11.2.0.4.0        145 name-service memory objects                        N
11.2.0.4.0        146 name-service namespace objects                     N
11.2.0.4.0        147 name-service request                               N
11.2.0.4.0        148 name-service memory recovery                       N
11.2.0.4.0        152 gcs remaster request queue                         N
11.2.0.4.0        153 gcs affinity object freelist latch                 N
11.2.0.4.0        154 recovery domain freelist                           N
11.2.0.4.0        156 ges value block free list                          N
11.2.0.4.0        157 Testing                                            N
11.2.0.4.0        158 heartbeat check                                    N
11.2.0.4.0        159 heartbeat structure management                     N
11.2.0.4.0        161 gcr structure management                           N
11.2.0.4.0        162 KMG MMAN ready and startup request latch           N
11.2.0.4.0        163 KMG resize request state object freelist           N
11.2.0.4.0        165 file number translation table                      N
11.2.0.4.0        166 mostly latch-free SCN                              N
11.2.0.4.0        167 lgwr LWN SCN                                       N
11.2.0.4.0        168 redo on-disk SCN                                   N
11.2.0.4.0        169 ping redo on-disk SCN                              N
11.2.0.4.0        170 Consistent RBA                                     N
11.2.0.4.0        172 cache buffers lru chain                            N
11.2.0.4.0        174 multiple dbwriter suspend                          N
11.2.0.4.0        175 active checkpoint queue latch                      N
11.2.0.4.0        176 checkpoint queue latch                             N
11.2.0.4.0        178 cache buffer handles                               N
11.2.0.4.0        179 multiblock read objects                            N
11.2.0.4.0        180 cache protection latch                             N
11.2.0.4.0        181 block corruption recovery state                    N
11.2.0.4.0        182 parallel ibr array                                 N
11.2.0.4.0        184 cache table scan latch                             N
11.2.0.4.0        185 simulator lru latch                                N
11.2.0.4.0        186 simulator hash latch                               N
11.2.0.4.0        187 sim partition latch                                N
11.2.0.4.0        188 state object free list                             N
11.2.0.4.0        190 object queue header heap                           N
11.2.0.4.0        191 archive control                                    N
11.2.0.4.0        192 FAL Queue                                          N
11.2.0.4.0        193 kcrrgapb latch                                     N
11.2.0.4.0        194 Recovery Ping control                              N
11.2.0.4.0        195 RSGA Queue                                         N
11.2.0.4.0        196 krsh_sga_uet latch                                 N
11.2.0.4.0        197 Managed Standby Recovery State                     N
11.2.0.4.0        198 SGA kcrrlac latch                                  N
11.2.0.4.0        199 SGA kcrrgap latch                                  N
11.2.0.4.0        200 Real time apply boundary                           N
11.2.0.4.0        201 SGA kcrrpinfo latch                                N
11.2.0.4.0        202 SGA kcrrlatmscnl latch                             N
11.2.0.4.0        203 archive process latch                              N
11.2.0.4.0        204 LGWR NS Write                                      N
11.2.0.4.0        205 managed standby latch                              N
11.2.0.4.0        206 alert log latch                                    N
11.2.0.4.0        207 redo writing                                       N
11.2.0.4.0        208 redo copy                                          N
11.2.0.4.0        209 redo allocation                                    N
11.2.0.4.0        210 real redo SCN                                      N
11.2.0.4.0        211 write info latch                                   N
11.2.0.4.0        212 readredo stats and histogram                       N
11.2.0.4.0        213 OS file lock latch                                 N
11.2.0.4.0        214 Online Datafile Move latch                         N
11.2.0.4.0        216 gc checkpoint                                      N
11.2.0.4.0        217 gc persistent rm                                   N
11.2.0.4.0        218 loader state object freelist                       N
11.2.0.4.0        219 begin backup scn array                             N
11.2.0.4.0        220 krb spare1 latch                                   N
11.2.0.4.0        221 krb spare2 latch                                   N
11.2.0.4.0        222 krb spare3 latch                                   N
11.2.0.4.0        223 krb spare4 latch                                   N
11.2.0.4.0        224 krbmrosl                                           N
11.2.0.4.0        225 krbabrstatl                                        N
11.2.0.4.0        226 logminer work area                                 N
11.2.0.4.0        227 logminer local                                     N
11.2.0.4.0        228 logminer context allocation                        N
11.2.0.4.0        229 logical standby cache                              N
11.2.0.4.0        230 logical standby view                               N
11.2.0.4.0        231 media recovery process out of buffers              N
11.2.0.4.0        232 read-only violation array modification             N
11.2.0.4.0        233 mapped buffers lru chain                           N
11.2.0.4.0        234 Media rcv so alloc latch                           N
11.2.0.4.0        235 parallel recoverable recovery                      N
11.2.0.4.0        236 block media rcv so alloc latch                     N
11.2.0.4.0        237 readable standby influx scn                        N
11.2.0.4.0        238 readable standby metadata redo cache               N
11.2.0.4.0        239 readable standby lamport table                     N
11.2.0.4.0        240 rsb inst ckpt scn                                  N
11.2.0.4.0        241 change tracking state change latch                 N
11.2.0.4.0        242 change tracking optimization SCN                   N
11.2.0.4.0        243 change tracking consistent SCN                     N
11.2.0.4.0        244 lock DBA buffer during media recovery              N
11.2.0.4.0        245 lock new checkpoint scn during media recovery      N
11.2.0.4.0        246 reservation so alloc latch                         N
11.2.0.4.0        247 Reserved Space Latch                               N
11.2.0.4.0        248 flashback marker cache                             N
11.2.0.4.0        249 flashback FBA barrier                              N
11.2.0.4.0        250 flashback SCN barrier                              N
11.2.0.4.0        251 hint flashback FBA barrier                         N
11.2.0.4.0        252 flashback hint SCN barrier                         N
11.2.0.4.0        253 flashback allocation                               N
11.2.0.4.0        254 flashback mapping                                  N
11.2.0.4.0        255 flashback copy                                     N
11.2.0.4.0        256 flashback sync request                             N
11.2.0.4.0        257 flashback prepare log info                         N
11.2.0.4.0        258 Minimum flashback SCN latch                        N
11.2.0.4.0        259 Block new check invariant rollback SCN latch       N
11.2.0.4.0        260 Flashback coordinator context latch                N
11.2.0.4.0        261 file deallocation SCN cache                        N
11.2.0.4.0        262 Transportable DB Context Latch                     N
11.2.0.4.0        263 cvmap freelist lock                                N
11.2.0.4.0        264 kcfis latch                                        N
11.2.0.4.0        265 latch for sabmr requests triggered by queries      N
11.2.0.4.0        266 io pool granule metadata list                      N
11.2.0.4.0        267 io pool granule list                               N
11.2.0.4.0        268 dml lock allocation                                N
11.2.0.4.0        269 DML lock allocation                                N
11.2.0.4.0        270 list of block allocation                           N
11.2.0.4.0        271 transaction allocation                             N
11.2.0.4.0        272 dummy allocation                                   N
11.2.0.4.0        273 transaction branch allocation                      N
11.2.0.4.0        274 undo global data                                   N
11.2.0.4.0        276 parallel txn reco latch                            N
11.2.0.4.0        277 intra txn parallel recovery                        N
11.2.0.4.0        278 Undo Hint Latch                                    N
11.2.0.4.0        279 resumable state object                             N
11.2.0.4.0        282 MQL Tracking Latch                                 N
11.2.0.4.0        284 Change Notification Latch             

您的分享是我們最大的動力!

-Advertisement-
Play Games
更多相關文章
  • 前提補充:linux下只要能夠mount存儲盤到目錄,則這個存儲盤必定是格式化過了的 NAS1、客戶端通過TCP/IP協議連接存儲伺服器的存儲捲。2、客戶端 網路交換機 存儲伺服器3、存儲伺服器可以實時看到每個存儲捲的使用率4、傳輸速度受限於網路以及存儲伺服器的文件系統處理速度5、文件系統在存儲短, ...
  • systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall開機啟動 ...
  • 所需器材有:樹莓派及其電源,usb攝像頭,路由器,兩台伺服舵機及其外殼,一臺筆記本,一根網線 樹莓派的基本操作及學習網站與資料 "樹莓派實驗室" "樹莓派3代入門資料及安裝教程" 按照以上操作初始化樹莓派 樹莓派控制攝像頭進行視頻流傳輸,併在pc端接收視頻 推薦使用 "MJPG streamer" ...
  • --正則-- 基礎正則 註:egrep,grep –E或sed –r 過濾一般特殊字元可以不轉義 擴展正則(egrep或grep -E) --grep-- 語法:grep [選項] [條件表達式] 目標文件 --sed-- 語法:sed [options] 'command' file(s) 選項: ...
  • 在IIS6下,經常出現w3wp的記憶體占用不能及時釋放,從而導致伺服器響應速度很慢。 可以做以下配置:1、在IIS中對每個網站進行單獨的應用程式池配置。即互相之間不影響。2、設置應用程式池的回收時間,預設為1720小時,可以根據情況修改。同時,設置同時運行的w3wp進程數目為1。再設置當記憶體或者cpu ...
  • 一、S5PV210時鐘系統 時鐘:一定頻率的電信號。 時鐘系統:基於CMOS工藝的高性能處理器時鐘系統,集成PLL可以從內部觸發,比從外部觸發更快且更準確,能有效地避免一些與信號完整性相關的問題。 S5pv210時鐘系統,參考s5pv210手冊第三章,CLOCK CONTROLLER S5pv210 ...
  • Figure 6.9. Virtual Machine Storage Settings In the Storage Tree section, select Empty below the IDE Controller. The CD/DVD Drive attributes are displ ...
  • 在此處只給出find的基本用法示例,都是平時我個人非常常用的搜索功能。如果有不理解的部分,則看後面的 "find運行機制詳解" 對於理論的說明,也建議在看完這些基本示例後閱讀一遍理論說明,它是本人翻譯自find的man文檔並加上了個人的理解。另外,在該理論說明結束後,還有find深入用法示例和分析。 ...
一周排行
    -Advertisement-
    Play Games
  • 移動開發(一):使用.NET MAUI開發第一個安卓APP 對於工作多年的C#程式員來說,近來想嘗試開發一款安卓APP,考慮了很久最終選擇使用.NET MAUI這個微軟官方的框架來嘗試體驗開發安卓APP,畢竟是使用Visual Studio開發工具,使用起來也比較的順手,結合微軟官方的教程進行了安卓 ...
  • 前言 QuestPDF 是一個開源 .NET 庫,用於生成 PDF 文檔。使用了C# Fluent API方式可簡化開發、減少錯誤並提高工作效率。利用它可以輕鬆生成 PDF 報告、發票、導出文件等。 項目介紹 QuestPDF 是一個革命性的開源 .NET 庫,它徹底改變了我們生成 PDF 文檔的方 ...
  • 項目地址 項目後端地址: https://github.com/ZyPLJ/ZYTteeHole 項目前端頁面地址: ZyPLJ/TreeHoleVue (github.com) https://github.com/ZyPLJ/TreeHoleVue 目前項目測試訪問地址: http://tree ...
  • 話不多說,直接開乾 一.下載 1.官方鏈接下載: https://www.microsoft.com/zh-cn/sql-server/sql-server-downloads 2.在下載目錄中找到下麵這個小的安裝包 SQL2022-SSEI-Dev.exe,運行開始下載SQL server; 二. ...
  • 前言 隨著物聯網(IoT)技術的迅猛發展,MQTT(消息隊列遙測傳輸)協議憑藉其輕量級和高效性,已成為眾多物聯網應用的首選通信標準。 MQTTnet 作為一個高性能的 .NET 開源庫,為 .NET 平臺上的 MQTT 客戶端與伺服器開發提供了強大的支持。 本文將全面介紹 MQTTnet 的核心功能 ...
  • Serilog支持多種接收器用於日誌存儲,增強器用於添加屬性,LogContext管理動態屬性,支持多種輸出格式包括純文本、JSON及ExpressionTemplate。還提供了自定義格式化選項,適用於不同需求。 ...
  • 目錄簡介獲取 HTML 文檔解析 HTML 文檔測試參考文章 簡介 動態內容網站使用 JavaScript 腳本動態檢索和渲染數據,爬取信息時需要模擬瀏覽器行為,否則獲取到的源碼基本是空的。 本文使用的爬取步驟如下: 使用 Selenium 獲取渲染後的 HTML 文檔 使用 HtmlAgility ...
  • 1.前言 什麼是熱更新 游戲或者軟體更新時,無需重新下載客戶端進行安裝,而是在應用程式啟動的情況下,在內部進行資源或者代碼更新 Unity目前常用熱更新解決方案 HybridCLR,Xlua,ILRuntime等 Unity目前常用資源管理解決方案 AssetBundles,Addressable, ...
  • 本文章主要是在C# ASP.NET Core Web API框架實現向手機發送驗證碼簡訊功能。這裡我選擇是一個互億無線簡訊驗證碼平臺,其實像阿裡雲,騰訊雲上面也可以。 首先我們先去 互億無線 https://www.ihuyi.com/api/sms.html 去註冊一個賬號 註冊完成賬號後,它會送 ...
  • 通過以下方式可以高效,並保證數據同步的可靠性 1.API設計 使用RESTful設計,確保API端點明確,並使用適當的HTTP方法(如POST用於創建,PUT用於更新)。 設計清晰的請求和響應模型,以確保客戶端能夠理解預期格式。 2.數據驗證 在伺服器端進行嚴格的數據驗證,確保接收到的數據符合預期格 ...