Skip to content

Instantly share code, notes, and snippets.

@ycku
Created November 9, 2022 14:05
Show Gist options
  • Save ycku/254d4c046c2ffa3a380ccc6fcba58a27 to your computer and use it in GitHub Desktop.
Save ycku/254d4c046c2ffa3a380ccc6fcba58a27 to your computer and use it in GitHub Desktop.
你又不小心 IN 了嗎?
QUERY PLAN
-----------------------------------------------------------------------------------------------------------------------
Aggregate (cost=4404.56..4404.57 rows=1 width=8) (actual time=65.949..65.950 rows=1 loops=1)
-> Seq Scan on s (cost=2137.12..4274.25 rows=52125 width=0) (actual time=39.009..64.162 rows=37156 loops=1)
Filter: (NOT (hashed SubPlan 1))
Rows Removed by Filter: 62844
SubPlan 1
-> Seq Scan on t (cost=0.00..1876.50 rows=104250 width=4) (actual time=0.029..13.914 rows=100000 loops=1)
Planning Time: 5.089 ms
Execution Time: 66.337 ms
(8 rows)
@ycku
Copy link
Author

ycku commented Nov 9, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment