블로그 이미지
bedbmsguru

Notice

Recent Post

Recent Comment

Recent Trackback

Archive

calendar

1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
  • total
  • today
  • yesterday
2018. 4. 10. 11:34 오라클
call     count       cpu    elapsed       disk      query    current        rows
------- ------  -------- ---------- ---------- ---------- ----------  ----------
Parse      1      0.01       0.03          0          0          0           0
Execute      1      0.00       0.01          0          0          0           0
Fetch         2      0.00       0.00          0          8          0          14
------- ------  -------- ---------- ---------- ---------- ----------  ----------
total      4      0.01       0.04          0          8          0          14




Call : 커서상태에 따라 Parse, Execute, Fetch 세개의 Call로 나누어 각각에 대한 통계정보를 보여줌

Parse:커서를 파싱하고 최적화를수행하는 단계 라이브러리캐시에서 

        실행계획을 찾으면 생략가능 

Execute: SQL 실행 DML은 여기서 종료되고 SELECT 는 Fetch 단계로 넘어감

Fetch: 데이터를 읽어서 사용자에게 전송하는 과정 SELECT 에서만 나타남 

         전송할 데이터가 많을 경우 Fetch Call 이 여러번 발생


Count:     Parse, Execute, Fetch 각 단계가 수행된 횟수


Cpu:        현재  커서가 각 단계에서 사용한 CPU Time


Elapsed:    현재 커서가 각 단계를 수행하는데 소요된 시간 (Cpu time + Wait time)


Disk:        디스크로부터 읽은 블록 수


Query:     Consistent 모드에서 읽은 버퍼 블록 수


current:    Current 모드에서 읽은 버퍼 블록 수


rows        각 단계에서 읽거나 갱신한 처리 건 수



AutoTrace 항목과 비교


db block gets                                =  current

consistent                                     =  query

physical reads                                = disk

SQL*Net roundtrips to/from client      = fetch count

rows processed                              = fetch rows


posted by bedbmsguru
2018. 1. 29. 11:32 Zabbix


설정데이터만 백업하고 history 나 trends data는 table schema 만 백업


zabbix-mysql-dump 스크립트를 사용한다.



https://github.com/maxhq/zabbix-backup/wiki

posted by bedbmsguru
2018. 1. 26. 13:12 Linux

https://www.question-defense.com/2009/01/13/how-to-install-iostat-using-yum

'Linux' 카테고리의 다른 글

Centos7 YUM설치시 인증서 오류  (0) 2021.05.31
vmstat를 사용한 모니터링  (0) 2020.04.29
posted by bedbmsguru