Created
March 24, 2023 06:27
-
-
Save portnov/962768540230d552daad2ddade068123 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QUERY PLAN | | |
----------------------------------------------------------------------------------------------------------------------------------------------+ | |
Nested Loop (cost=0.72..3031.12 rows=6190 width=38) (actual time=0.184..3.439 rows=6038 loops=1) | | |
Buffers: shared hit=58 read=22 | | |
-> Index Scan using idx_tst_entry_t on tst_entry w (cost=0.42..2098.59 rows=6190 width=26) (actual time=0.143..1.387 rows=6038 loops=1) | | |
Index Cond: (parentid = 3) | | |
Buffers: shared hit=49 read=22 | | |
-> Memoize (cost=0.30..2.53 rows=1 width=12) (actual time=0.000..0.000 rows=1 loops=6038) | | |
Cache Key: w.childid | | |
Cache Mode: binary | | |
Hits: 6035 Misses: 3 Evictions: 0 Overflows: 0 Memory Usage: 1kB | | |
Buffers: shared hit=9 | | |
-> Limit (cost=0.29..2.51 rows=1 width=12) (actual time=0.014..0.014 rows=1 loops=3) | | |
Buffers: shared hit=9 | | |
-> Index Scan using tst_child_pkey on tst_child _c (cost=0.29..2.51 rows=1 width=12) (actual time=0.013..0.013 rows=1 loops=3)| | |
Index Cond: (id = w.childid) | | |
Filter: (parentid = 3) | | |
Buffers: shared hit=9 | | |
Planning: | | |
Buffers: shared hit=188 read=10 dirtied=2 | | |
Planning Time: 1.509 ms | | |
Execution Time: 3.715 ms | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment