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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 配置SQLNET.ORA檔案跟蹤客戶端連線SQL客戶端
- 【TRACE】Oracle跟蹤事件Oracle事件
- 跟蹤客戶端執行的SQL客戶端SQL
- impala客戶端連線客戶端
- Redis客戶端連線Redis客戶端
- 用oracle trace 來跟蹤sessionOracleSession
- Oracle客戶端連線伺服器教程Oracle客戶端伺服器
- Oracle跟蹤檔案trace檔案Oracle
- 用oracle trace 來跟蹤session 活動OracleSession
- 配置ORACLE 客戶端連線到資料庫Oracle客戶端資料庫
- Oracle 19c中連線RMAN客戶端的連線方法Oracle客戶端
- mysql、redis 客戶端連線池MySqlRedis客戶端
- vncserver建立與客戶端連線VNCServer客戶端
- Oracle 11g DRCP連線跟蹤配置Oracle
- oracle客戶端連線server 端, tnsnames的三種設定方式Oracle客戶端Server
- Redis客戶端連線數DevOpsRedis客戶端dev
- 從客戶端連線ASM例項客戶端ASM
- SQL 的跟蹤方法traceSQL
- 顯示連線Oracle資料庫的客戶端IP地址Oracle資料庫客戶端
- Oracle SQL 跟蹤 --- dbms_system.set_sql_trace_in_sessionOracleSQLSession
- Java 客戶端 Jedis和JedisPool 連線池Java客戶端
- 客戶端連線資料庫的方法客戶端資料庫
- 客戶端連線故障檢查流程手段客戶端
- 配置tnsping跟蹤來診斷Oracle Net連線Oracle
- 路由跟蹤工具0trace路由
- 跟蹤 sql 的trace檔案SQL
- sql_trace跟蹤工具(轉)SQL
- 如何配置oracle客戶端連線10g rac 資料庫Oracle客戶端資料庫
- 不安裝oracle client客戶端通過plsql developer連線oracle10.2.0.4Oracleclient客戶端SQLDeveloper
- 使用 WebSocket 客戶端連線 MQTT 伺服器Web客戶端MQQT伺服器
- 客戶端怎麼連線到伺服器?客戶端伺服器
- MySQL client客戶端的四種連線方式MySqlclient客戶端
- linux之客戶端連線數統計Linux客戶端
- Oracle執行語句跟蹤 使用sql trace實現語句追蹤OracleSQL
- sql_trace 和 events 跟蹤事件SQL事件
- 跟蹤session 與 trace檔案分析Session
- 跟蹤SESSION 與 trace 檔案解析Session
- ODBC客戶端連線ORACLE透過PowerDesigner匯出表ER圖客戶端Oracle