作者:瀚高PG实验室 (Highgo PG Lab)- z
#条件过滤
条件过滤,一般就是在where条件上加的过滤条件,当扫描数据行时,会找出满足过滤条件的行。条件过滤在执行计划中显示为"Filter",示例如下:
highgo=# explain select ename from emp where empno=7499;
QUERY PLAN
----------------------------------------------------
Seq Scan on emp (cost=0.00..1.18 rows=1 width=38)
Filter: (empno = 7499)
(2 行记录)