Created
September 7, 2021 09:21
-
-
Save ereshzealous/20e9f84384061e23d3012c7710191614 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
explain analyze select * from user_details where details ->> 'alternateContacts' = '+6171836370278'; | |
QUERY PLAN | | |
---------------------------------------------------------------------------------------------------------------------------------| | |
Gather (cost=1000.00..242076.50 rows=18750 width=426) (actual time=667.376..672.194 rows=0 loops=1) | | |
Workers Planned: 2 | | |
Workers Launched: 2 | | |
-> Parallel Seq Scan on user_details (cost=0.00..239201.50 rows=7812 width=426) (actual time=631.365..631.365 rows=0 loops=3)| | |
Filter: ((details ->> 'alternateContacts'::text) = '%+6171836370278%'::text) | | |
Rows Removed by Filter: 1250000 | | |
Planning Time: 0.109 ms | | |
JIT: | | |
Functions: 6 | | |
Options: Inlining false, Optimization false, Expressions true, Deforming true | | |
Timing: Generation 2.331 ms, Inlining 0.000 ms, Optimization 1.234 ms, Emission 14.393 ms, Total 17.958 ms | | |
Execution Time: 673.554 ms | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment