[20190522]How to get dump or list parameters set at session level.txt
[20190522]How to get dump or list parameters set at session level.txt
1.環境:
SCOTT@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
SCOTT@book> @ spid
SID SERIAL# PROCESS SERVER SPID PID P_SERIAL# C50
---------- ---------- ------------------------ --------- ------ ------- ---------- --------------------------------------------------
30 535 42553 DEDICATED 42554 26 245 alter system kill session '30,535' immediate;
alter session set sql_trace=true;
alter session set optimizer_mode=first_rows;
2.測試:
SYS@book> oradebug setospid 42554
Oracle pid: 26, Unix process pid: 42554, image: oracle@gxqyydg4 (TNS V1-V3)
SYS@book> oradebug dump modified_parameters 1;
Statement processed.
SYS@book> oradebug tracefile_name;
/u01/app/oracle/diag/rdbms/book/book/trace/book_ora_42554.trc
--//檢查/u01/app/oracle/diag/rdbms/book/book/trace/book_ora_42554.trc.
*** 2019-05-22 09:50:30.330
Received ORADEBUG command (#1) 'dump modified_parameters 1' from process 'Unix process pid: 43053, image: <none>'
DYNAMICALLY MODIFIED PARAMETERS:
nls_language = AMERICAN
nls_territory = AMERICA
nls_sort = BINARY
nls_date_language = AMERICAN
nls_date_format = YYYY-MM-DD HH24:MI:SS
nls_currency = $
nls_numeric_characters = .,
nls_iso_currency = AMERICA
nls_calendar = GREGORIAN
nls_time_format = HH.MI.SSXFF AM
nls_timestamp_format = YYYY-MM-DD HH24:MI:SS.FF
nls_time_tz_format = HH.MI.SSXFF AM TZR
nls_timestamp_tz_format = YYYY-MM-DD HH24:MI:SS.FF TZH:TZM
nls_dual_currency = $
nls_comp = BINARY
sql_trace = TRUE
optimizer_mode = FIRST_ROWS
*** 2019-05-22 09:50:30.330
Finished processing ORADEBUG command (#1) 'dump modified_parameters 1'
*** 2019-05-22 09:50:38.410
Received ORADEBUG command (#2) 'tracefile_name' from process 'Unix process pid: 43053, image: <none>'
*** 2019-05-22 09:50:38.410
Finished processing ORADEBUG command (#2) 'tracefile_name'
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-2645147/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How to get and set the system socket buffer in AIXAI
- How To List All The Named Events Set For A Database [ID 436036.1]Database
- How To List All The Named Events Set For A Database (Doc ID 436036.1)Database
- lombok get/set 與 JavaBean get/setLombokJavaBean
- How to Change RabbitMQ Queue Parameters in Production?MQ
- alter session set events語句dump 控制檔案頭資訊示例Session
- File hash GET parameters for Django staticfilesDjango
- In Oracle,How to use dumpOracle
- Android Audio HAL 介面介紹之 adev_set_parameters()和out_set_parameters()Androiddev
- alter session set events語句dump REDO日誌檔案頭資訊示例Session
- alter session setSession
- C# Get SetC#
- 淺說 get set
- PHP memcached,(set,get)PHP
- Java List/Set/MapJava
- List、Set、Queue、Map
- How to set up printers for GUI?GUI
- oracle10g_alter session set events 'immediate trace name controlf level 8'dumpOracleSession
- How Python list works?Python
- ALTER SESSION SET EVENTSSession
- python:get和setPython
- 快速生成get、set方法
- Java筆記——【List、Set】Java筆記
- List,Set,Queue,Map介面
- How to get propose products in Sales Order
- How to get SCN ,TIMESTAMP ,CHECKPOINT
- How to get complete sessions informationSessionORM
- How to get the donuts in Lode Runner 2
- Session store not set on request.Session
- Laravel - Session store not set on requestLaravelSession
- alter session|system set eventsSession
- 初學 PHP __set ( ) 和 __ get ( )PHP
- cassandra get set同步問題
- List、Set、Map的區別
- set、List、map的區別
- how to get sharepoint lookup value
- Oracle HowTo:How to get Oracle SCN?Oracle
- How to get Timer Job History