2026-03-12 20:23:15
This commit is contained in:
10950
tpt/ast/trace/04_cbo_troubleshoot_1.trc
Normal file
10950
tpt/ast/trace/04_cbo_troubleshoot_1.trc
Normal file
File diff suppressed because it is too large
Load Diff
10920
tpt/ast/trace/a.txt
Normal file
10920
tpt/ast/trace/a.txt
Normal file
File diff suppressed because it is too large
Load Diff
13
tpt/ast/trace/cbo_analyze.sh
Normal file
13
tpt/ast/trace/cbo_analyze.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
cat $1 | awk '
|
||||
|
||||
function p(str) { printf("%6d: %s\n", NR, str) ; return 0 }
|
||||
|
||||
/Now joining|Join order/{ p($0) }
|
||||
|
||||
/^Best::/{ x=1 ; p($0) }
|
||||
|
||||
(!/Best::/ && x ==1) { p($0) ; x=0 }
|
||||
|
||||
'
|
||||
Reference in New Issue
Block a user