17
CPU Elapsd Old
BufferGets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
--------------- ------------ -------------- ------ -------- --------- ----------
10,074 67 150.4 31.6 0.11 0.08 335360792
select file#, block#, blocks from seg$ where type# = 3 and ts# =
:1
3,808 685 5.6 12.0 0.02 0.01 2482976222
select intcol#,nvl(pos#,0),col#,nvl(spare1,0) from ccol$ where c
on#=:1
1,294 1 1,294.0 4.1 0.09 0.38 2522684317
Module: SQL*Plus
BEGIN statspack.snap; END;
少しクセのあるデータ
基本固定長データなのは同じ
だけど空行区切りの、複数行構成
数字行を開始ともみなせる
でもModule:の行があったりなかったり…
30
def parse_main(self):
:
for linein self.lines:
# ---- --- 的なのが出たら取得開始
if re.search(sep_str, line):
val_flg = True
# ---- --- を[0,4,8..]的に変換
sep_posit_list = self.get_splited_position(line)
continue
# ---- --- 的なのがでるまで無視
if not val_flg:
continue
# データ部分を[0,4,8..]的な位置で分割しながら格納
line_row_list.append(self.split_str_by_posit(line, sep_posit_list))
31.
31
CPU Elapsd Old
BufferGets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
--------------- ------------ -------------- ------ -------- --------- ----------
10,074 67 150.4 31.6 0.11 0.08 335360792
select file#, block#, blocks from seg$ where type# = 3 and ts# =
:1
3,808 685 5.6 12.0 0.02 0.01 2482976222
select intcol#,nvl(pos#,0),col#,nvl(spare1,0) from ccol$ where c
on#=:1
1,294 1 1,294.0 4.1 0.09 0.38 2522684317
Module: SQL*Plus
BEGIN statspack.snap; END;
少しクセのあるデータ
基本固定長データなのは同じ
だけど空行区切りの、複数行構成
数字行を開始ともみなせる
でもModule:の行があったりなかったり…
41
Foreground Wait EventsDB/Inst: ORCL/ORCL1 Snaps: 32987-32988
-> Only events with Total Wait Time (s) >= .001 are shown
-> ordered by Total Wait Time desc, Waits desc (idle events last)
Avg %Total
%Tim Total Wait wait Waits Call
Event Waits out Time (s) (ms) /txn Time
---------------------------- ------------ ---- ---------- ------ -------- ------
db file sequential read 281,434 0 5,788 21 0.4 37.5
direct path read 14,550 0 1,005 69 0.0 6.5
enq: TX - index contention 168 0 627 3735 0.0 4.1
:
:
Foreground Wait Events DB/Inst: ORCL/ORCL1 Snaps: 32987-32988
-> Only events with Total Wait Time (s) >= .001 are shown
-> ordered by Total Wait Time desc, Waits desc (idle events last)
Avg %Total
%Tim Total Wait wait Waits Call
Event Waits out Time (s) (ms) /txn Time
---------------------------- ------------ ---- ---------- ------ -------- ------
KJC: Wait for msg sends to c 776 0 0 0 0.0 .0
なんかヘッダが何回もでる