Trace Structure
- Trace entries ([_] 공백으로 구분)
- [<thread_id>]{<connection_id>}[<transaction_id>/<update_transaction_id>]
<date>
<time>
<trace_level>
<component>
<source_file>
:
<message - Example
- [24294]{-1}[164/215452358] 2016-10-10 12:20:39.296454 i TraceContext TraceContext.cpp(00878) : UserName= ...
- [<thread_id>]{<connection_id>}[<transaction_id>/<update_transaction_id>]
Trace Level
- d (debug) = Debugging information, mostly not gets activated per default
- i (info) = Information, such as about database actions like log switches
- w (warning) = Warning about less critical misconfigurations and issues
- e (error) = Potentially critical problems
- f (fatal) = Highly critical problems
Location of Trace
- trace directory
- /usr/sap/<sid>/HDB<inst>/<host>/trace
- trace 파일의 명명규칙
- <service>_<host>.<port>.<counter>.trc
- Monitoring view M_MERGED_TRACES
'Database' 카테고리의 다른 글
[HANA] Trouble shooting - MVCC Issue (0) | 2019.05.03 |
---|---|
[HANA] Workload Management (internal) (0) | 2019.05.01 |
[HANA] 유용한 Python 프로그램 (0) | 2019.04.27 |
[HANA] HANA DB Startup (0) | 2019.04.27 |
[HANA] Parameter - service_thread_sampling_monitor_enabled (0) | 2019.04.26 |