Created
September 7, 2021 09:18
-
-
Save ereshzealous/a1958b2189d2c254dd1c2c0cce485010 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
select * from user_details where details ->> 'profession' like '%Farm%' limit 50; | |
QUERY PLAN | | |
----------------------------------------------------------------------------------------------------------------------| | |
Limit (cost=0.00..453.36 rows=50 width=426) (actual time=0.024..0.169 rows=50 loops=1) | | |
-> Seq Scan on user_details (cost=0.00..272014.00 rows=30000 width=426) (actual time=0.023..0.165 rows=50 loops=1)| | |
Filter: ((details ->> 'profession'::text) ~~ '%Farm%'::text) | | |
Rows Removed by Filter: 216 | | |
Planning Time: 0.152 ms | | |
Execution Time: 0.211 ms | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment