[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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Android Audio HAL 介面介紹之 adev_set_parameters()和out_set_parameters()Androiddev
- lombok get/set 與 JavaBean get/setLombokJavaBean
- How Python list works?Python
- How to Dump Redo Log File Information --metalinkORM
- How to set word-wrap in VSCode?VSCode
- python:get和setPython
- 淺說 get set
- C# Get SetC#
- How to get propose products in Sales Order
- List、Set、Queue、Map
- Session store not set on request.Session
- Laravel - Session store not set on requestLaravelSession
- 快速生成get、set方法
- How to get the description of blast hit using blastdbcmd?AST
- Java筆記——【List、Set】Java筆記
- List,Set,Queue,Map介面
- 初學 PHP __set ( ) 和 __ get ( )PHP
- How to get the exact duration of an audio file in js All In OneJS
- set\list\map部分原始碼解析原始碼
- Python 的List 和tuple,Dict,SetPython
- list中add、set方法詳解
- Scala——三個容器:List Set Map
- List Set Map之間的不同
- [20210114]理解DBMS_SESSION.set_identifier.txtSessionIDE
- JavaScript get set 訪問器屬性JavaScript
- 私有屬性的Get Set 與 Public
- 你對Collection中Set、List、Map理解?
- Django Mysql SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTEDDjangoMySqlSessionMIT
- python的__get__、__set__、__delete__(1)Pythondelete
- Redis in .NET Core 入門:(4) LIST和SETRedis
- Java 中的泛型 集合(List,Set) MapJava泛型
- [20220124]index split level.txtIndex
- WWDC19 06-06 Thursday Session ListSession
- [20201110]How to get the Data Guard broker configuration from a SQL query.txtSQL
- Redis中PipeLine使用(二)---批量get與批量setRedis
- Lombok生成get/set異常問題(Lombok缺陷)Lombok
- java反射呼叫set和get方法的通用類Java反射
- [20190522]DISABLE TABLE LOCK.txt