Trace the connections being made to the Oracle database-客戶端跟蹤連線
At times, when troubleshooting connectivity issues or performance issues, you might need to run listener trace (server side) and/or a sqlnet trace (client side trace). Oracle support staff will also ask for these files when you enlist their help in troubleshooting these issues. Here are the steps on how you can do that:
1,To enable sqlnet trace (client side trace):啟用sqlnet跟蹤(客戶端跟蹤)
Add the following to the sqlnet.ora file on the application server(s) from where the connections are being made to the Oracle database:
Trace_level_client=16
Trace_directory_client=
Trace_unique_client=on
Trace_timestamp_client=on
2,To stop the sqlnet trace:禁用sqlnet跟蹤(客戶端跟蹤)
Remove the following entries from sqlnet.ora or comment them out by using the # sign:
Trace_level_client=16
You can run both trace (伺服器端、客戶端)at the same time for 15 minutes or so in order to get some meaningful data set.
Trace_directory_client=
Trace_unique_client=on
Trace_timestamp_client=on
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/14359/viewspace-719902/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 19c中連線RMAN客戶端的連線方法Oracle客戶端
- impala客戶端連線客戶端
- Oracle執行語句跟蹤 使用sql trace實現語句追蹤OracleSQL
- Redis客戶端連線數DevOpsRedis客戶端dev
- mysql、redis 客戶端連線池MySqlRedis客戶端
- sp_trace_setfilter sqlserver篩選跟蹤或跟蹤過濾FilterSQLServer
- 【TRACE】如何設定或動態跟蹤Oracle net偵聽器Oracle
- Golang 大殺器之跟蹤剖析 traceGolang
- 4.2.14.3 為Oracle呼叫介面客戶端啟用快速連線故障轉移Oracle客戶端
- Java 客戶端 Jedis和JedisPool 連線池Java客戶端
- Oracle 客戶端安裝Oracle客戶端
- 【LISTENER】Oracle分析連線監聽情況,判斷客戶端IP分佈Oracle客戶端
- 使用 WebSocket 客戶端連線 MQTT 伺服器Web客戶端MQQT伺服器
- 客戶端怎麼連線到伺服器?客戶端伺服器
- ORA-21561 OID generation failed [Ubuntu 16.04下Oracle客戶端連線伺服器]AIUbuntuOracle客戶端伺服器
- aix安裝oracle客戶端AIOracle客戶端
- Oracle 客戶端生成AWR方法Oracle客戶端
- Golang 效能測試 (3) 跟蹤刨析 golang traceGolang
- Presto學習筆記——Go客戶端連線PrestoREST筆記Go客戶端
- 使用 Java 客戶端透過 HTTPS 連線到 EasysearchJava客戶端HTTP
- HTTP客戶端連線,選擇HttpClient還是OkHttp?HTTP客戶端client
- 4.2.14 啟用客戶端快速連線故障轉移客戶端
- gRPC學習記錄(六)--客戶端連線池RPC客戶端
- ESP作為單連線中的TCP客戶端TCP客戶端
- php連結nsq客戶端PHP客戶端
- ABAP的許可權檢查跟蹤(Authorization trace)工具
- OceanBase學習之路7|透過 MySQL 客戶端連線 OceanBase 租戶MySql客戶端
- 0039-如何使用PythonImpyla客戶端連線Hive和ImpalaPython客戶端Hive
- 微服務整合Spring Cloud Alibaba Seata (二) 客戶端連線微服務SpringCloud客戶端
- 如何使用Redshift客戶端工具SQL Workbench來連線Redshift客戶端SQL
- PLSQL通過Oracle 11g客戶端連線Oracle 12c伺服器錯誤 ORA-28040SQLOracle客戶端伺服器
- 掌握遠端連線,暢享Mac SSH客戶端Termius的便利之道Mac客戶端
- netty服務端監聽客戶端連線加入和斷開事件Netty服務端客戶端事件
- TCP協議服務端和客戶端的連線與通訊TCP協議服務端客戶端
- 使用dbms_monitor.session_trace_enable跟蹤一個會話Session會話
- 【TRACE】如果通過10046跟蹤資料庫效能問題資料庫
- Oracle資料庫跟蹤SQLOracle資料庫SQL
- linux簡易 Oracle客戶端安裝LinuxOracle客戶端
- 第三方客戶端連線網易郵箱客戶端