单选题 通过 gv$ob_sql_audit 视图查看 plan_type,以下含义正确的是? A. plan_type=1远程,plan_type=2本地 B. plan_type=0本地,plan_type=1远程 C. plan_type=1本地,plan_type=2远程,plan_type=3分布式 D. plan_type=1分布式,plan_type=2远程,plan_type=3本地

单选题
通过 gv$ob_sql_audit 视图查看 plan_type,以下含义正确的是?
A. plan_type=1远程,plan_type=2本地
B. plan_type=0本地,plan_type=1远程
C. plan_type=1本地,plan_type=2远程,plan_type=3分布式
D. plan_type=1分布式,plan_type=2远程,plan_type=3本地

选择C. plan_type=1本地,plan_type=2远程,plan_type=3分布式
Local 表示分区 Leader 与 Session 同机,性能最好;Remote 表示分区 Leader 在远程节点;Distribute 表示涉及多个节点。性能调优时应尽量减少非 Local 计划的比例。

1 个赞