Background Image
기타
2009.07.28 20:20

CUBRID2008 실행계획 분석하기

조회 수 15339 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부

소개: CUBRID2008 실행계획 분석방법을 소개한다

적용 대상: CUBRID2008 R1.1 이상

SQL
추출하기

SQL log 남기는 방법

1.     SQL Log를 남기려면 LOG관련 파리미터가 설정되어있어야 함

2.     cubrid_broker.conf 파일에서 파라미터 조정

3.     Application clienst를 통해 Broker에 요청이 와서 cas로 전달된 sql log만을 남길 수 있음

4.     csql로 수행한 구문은 로그가 남지 않음

5.     관련 파라미터 설명

         SQL LOG관련 parameter

         파라미터

설명

SQL_LOG

ON/OFF

응용서버가 클라이언트 요청을 처리할 때 그 내용에 대하여 로그를 남길 것인지 여부를 지정

로그 파일이름: $CUBRID/log/broker/sql_log/

<brokername>_<casnumber>.sql.log(기본값: ON)

SQL_LOG_MAX_SIZE

integer

스크립트 로그의 최대 크기를 지정.

로그 파일이 설정된 크기만큼 증가한 경우 로그파일은 .bak 확장자가 추가된 파일이름으로 보관.

(단위 : K 바이트, 디폴트 : 100000)

 

Broker script Log

         디렉토리 경로 및 명명규칙

1)     경로: $CUBRID/log/Broker/sql_log 밑에 cas별로 .sql.log 파일 생성

2)     명명규칙: <Brokername>_<casnumber>.sql.log

l 

        


  1. CUBRID에서 log4sql을 사용하자

    Date2009.06.12 CategoryJava By정병주 Views44305
    Read More
  2. Oracle의 SYS_CONNECT_BY_PATH 함수 흉내내기

    Date2009.06.15 Category기타 ByCUBRID_DEV Views26530
    Read More
  3. cubrid_fetch_all 함수 추가하기

    Date2009.06.16 CategoryPHP By남재우 Views20828
    Read More
  4. CUBRID_기술문서_CUBRID PHP 함수 unisql_ 계열 cubrid_로 변환하기

    Date2009.06.23 CategoryPHP By남재우 Views22355
    Read More
  5. CCI-API 사용 예제

    Date2009.07.01 CategoryCCI/DB API By남재우 Views25103
    Read More
  6. CCI-API 에서 OID 사용 예제

    Date2009.07.01 CategoryCCI/DB API By남재우 Views24861
    Read More
  7. ODBC드라이버를 이용한 2개 이상의 Statement 사용방법.

    Date2009.07.02 CategoryODBC/OLEDB Byseongjoon Views23644
    Read More
  8. log4jdbc를 사용한 JDBC 로그 분석

    Date2009.07.02 CategoryJava By시난 Views36394
    Read More
  9. MySQL,PHP 기반에서 CUBRID,PHP 기반으로 포팅하기

    Date2009.07.02 CategoryPHP By시난 Views32190
    Read More
  10. 에러 메시지(error) 설명 및 조치 가이드

    Date2009.07.11 Category기타 ByCUBRID_DEV Views24456
    Read More
  11. CUBRID 설치 및 매니저 구동하기(CUBRID 2008 R1.x)

    Date2009.07.18 CategoryInstall ByCUBRID_DEV Views31532
    Read More
  12. JavaSP SampleCode(Pivot기능)

    Date2009.07.28 CategoryJava Bycubebridge Views27554
    Read More
  13. eclipse에서 python 및 CUBRID broker_log_top 사용하기

    Date2009.07.28 CategoryWindows Bycubebridge Views27272
    Read More
  14. CUBRID2008 실행계획 분석하기

    Date2009.07.28 Category기타 Bycubebridge Views15339
    Read More
  15. CUBRID2008데이터타입, 함수와 힌트사용법 및 예약어

    Date2009.07.28 Category기타 Bycubebridge Views18844
    Read More
  16. CUBRID주요 사용 함수 및 연산자 비교

    Date2009.07.28 Category기타 Bycubebridge Views23457
    Read More
  17. CUBRID2008 쿼리 작성예제

    Date2009.07.28 Category기타 Bycubebridge Views24905
    Read More
  18. CUBRID 2008 + Textyle 설치 가이드

    Date2009.07.29 CategoryInstall ByPrototype Views18287
    Read More
  19. CUBRID GLO 사용하기 - JDBC

    Date2009.08.15 CategoryJava By손승일 Views23493
    Read More
  20. CUBRID 스캔 이해하기

    Date2009.08.15 Category기타 By손승일 Views15116
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 Next
/ 9

Contact Cubrid

대표전화 070-4077-2110 / 기술문의 070-4077-2113 / 영업문의 070-4077-2112 / Email. contact_at_cubrid.com
Contact Sales
© 2024 CUBRID Corp. All rights reserved.