PostgreSQL join where 条件不同 explain 执行计划的差别

前端之家收集整理的这篇文章主要介绍了PostgreSQL join where 条件不同 explain 执行计划的差别前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
explain analyze
select a.order_id,a.customer_id,a.price,b.order_id,b.customer_id,b.customer_name from tbl_a a left join tbl_b b --(select t.order_id from tbl_b t where t.order_id= 'oid1')b on a.order_id = b.order_id where a.order_id = 'oid1' --b.order_id = 'oid1'

待研究 Nested Loop Left Join,Nested Loop,Hash Left Join

原文链接:https://www.f2er.com/postgresql/194959.html

猜你在找的Postgre SQL相关文章