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 9283 게시물 읽기
 News | Q&A | Columns | Tutorials | Devel | Files | Links
No. 9283
SQL*Net 설정과 튜닝 - SQL*NET Trace 하기
작성자
정재익(advance)
작성일
2002-01-05 21:48
조회수
5,922

1. SQL*Net Trace를 통해 조회할수 있는 정보는?

 

- 주고받은 패킷의 크기

- 에러가 생긴 콤포넌트

- 에러코드- 현재 SQL*Net의 SDU, TDU 설정 크기

 

2. Trace 파라미터 설정

 

Server 의 네트워크 Trace (listener.ora)

TRACE_LEVEL_LISTENER=[OFF/USER/ADMIN/SUPPORT]

TRACE_DIRECTORY_LISTENER={trace 저장 디렉토리}

TRACE_FILE_LISTENER={trace 저장 파일명}

 

Client 의 네트워크 Trace (tnsnames.ora)

TRACE_LEVEL_CLIENT=[OFF/USER/ADMIN/SUPPORT]

TRACE_FILE_CLIENT={trace 저장 파일명}

TRACE_DIRECTORY_CLIENT={trace 저장 디렉토리}

TRACE_UNIQUE_CLIENT=TRUE

 

3. Trace 결과의 분석

 

Trace 결과가 저장될 디렉토리에 지정한 파일명.trc 형태로 결과가 저장된다.

Trace Assistant를 사용하여 *.trc 파일 정보를 해석한다.

trcasst [options] <filename>

option을 설정하지 않으면 기본적으로 -odt -e -s가 지정된다.

 

Options

----------------------------------------

-o Displays connectivity and Two Task Common (TTC) information.
    After the -o the following options may be used:

       c (for summary connectivity information)
       d (for detailed connectivity information)
       u (for summary TTC information)
       t (for detailed TTC information)
       q (displays SQL commands enhancing summary TTC information)

-p Oracle Internal Use Only
-s Displays statistical information
-e Enables display of error information 
    After the -e, zero or one error decoding level may follow:
        0 or nothing (translates the NS error numbersdumped from the 
           nserror function plus lists allother errors)
        1 (displays only the NS error translation fromthe nserror function)
        2 (displays error numbers without translation)
[Top]
No.
제목
작성자
작성일
조회
9286Windows NT 에서 Oracle 8i R2 (8.1.6) 설치 가이드 [1]
정재익
2002-01-05
5441
9285MTS (Multi-Threaded Server) vs Dedicated Server
정재익
2002-01-05
6327
9284SQL*Net이 잘 않될 때 : 점검 사항들
정재익
2002-01-05
5623
9283SQL*Net 설정과 튜닝 - SQL*NET Trace 하기
정재익
2002-01-05
5922
9282SQL*Net 설정과 튜닝 - SQL*NET을 ODBC로 연결할 때 속도를 빠르게 하기
정재익
2002-01-05
5399
9281init.ora 파일중 메모리 튜닝에 영향을 주는 파라미터
정재익
2002-01-05
6306
9280SQL문 튜닝 방법에 관하여
정재익
2002-01-05
8740
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2023 DSN, All rights reserved.
작업시간: 0.046초, 이곳 서비스는
	PostgreSQL v16.1로 자료를 관리합니다