database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
ㆍOracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
Oracle Tutorials 17324 게시물 읽기
 News | Q&A | Columns | Tutorials | Devel | Files | Links
No. 17324
OFSA의 DEBUG 하는 방법
작성자
정재익(xlib)
작성일
2004-02-11 19:58
조회수
11,404

No. 20516

OFSA의 DEBUG 하는 방법
=================

 

PURPOSE
-------
PA,RM 등의 OFSA작업시 실제로 일어나는 Sql의 transaction을 Debug하는 방법에 대한 소개

Explanation
-----------


/<OFSA Install>/etc 아래에 있는 해당 모듈의 INI를 찾아본다.
PA의 경우에는 OFSPA.ini입니다.

해당파일에 [DEBUG] 항목이 있으며 초기에는 모두 Comment Out되어 있습니다.

[debug]
;FileName=ofspa
;CALC_LOG=3
;ACCESS_LOG=3
;ERROR_LOG=3


이를 풀어주면 Debug 정보가 ofs.ini 의 WorkingDirectory" 에
생성됩니다.
/<OFSA Install>/log.

아래 정보들은 각 Parameter에 대한 설명입니다.


CALC_LOG:
=========
CALC_LOG=1
--> Generates only OFSA SQL statements used in calculation process (does
not
include SQL statements against internal OFSA tables like ofsa_users,
ofsa_db_info, etc.)
CALC_LOG=2
CALC_LOG=3
--> Same information as "1" and list units of work used for
multiprocessing

CALC_LOG=0
--> Turns off logging but will still generate a file


ACCESS_LOG:
===========
ACCESS_LOG=1
--> Lists ODBC server, database and username information and module data

being accessed.  An example:
Module Logging OFS Access module data: /* 151:
*io_id_data_filter::GetID*/

ACCESS_LOG=2
ACCESS_LOG=3
--> Lists info from "1" and ALL SQL statements generated by OFSA
including SQL on internal OFSA tables.

ACCESS_LOG=0
--> Turns off logging but will still generate a file


ERROR_LOG:
==========
ERROR_LOG=1
--> Outputs any Oracle errors to log file in addition to SQL statement
that
generated error.

ERROR_LOG=3
--> Outputs same info as "1" and includes the errno of failed
system calls to help in diagnosing kernel parameter issues involving
semaphores
and shared memory.

ERROR_LOG=0
--> Turns off logging but will still generate a file

 


Reference Documents
-------------------
197903.1
출처:http://211.106.111.2:8880/bulletin/list.jsp?seq=20516&pg=5&sort_by=last_updated&keyfield=subject&keyword=

[Top]
No.
제목
작성자
작성일
조회
17924Installing Oracle9i on FreeBSD
정재익
2004-03-26
16617
17923FreeBSD 5.5 Current +Oracle 8.7.1
정재익
2004-03-26
13340
17488RMAN BACKUPS AND ARCHIVED LOG ISSUES
정재익
2004-02-23
13395
17324OFSA의 DEBUG 하는 방법
정재익
2004-02-11
11404
17323프린터가 ORACLE ERP에서 작동하기까지 확인할 점
정재익
2004-02-11
9289
17322CONCURRENT MANAGER가 뜨지 않을 경우 써야 하는 방법
정재익
2004-02-11
9039
17321Oracle8에서의 character set 변경
정재익
2004-02-11
13271
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2023 DSN, All rights reserved.
작업시간: 0.047초, 이곳 서비스는
	PostgreSQL v16.1로 자료를 관리합니다