上传者: shiyuefei1004
|
上传时间: 2021-01-28 03:03:24
|
文件大小: 7KB
|
文件类型: SH
1.打印查询树或计划树
# set client_min_messages to log;
# set debug_print_parse to on;
# select * from t;
LOG: parse tree:
DETAIL: {QUERY
...
}
2.把DETAIL:之后的内容写入文件parse
3.绘图 ./dotpgstmt.sh parse