Searching for: TABITHA MAGDALENO (Jan. 1, 1990)
Explaining: dm
Phonetic codes with stronger Slavic/Germanic coverage.
SQL
SELECT "records_courtrecord"."id", "records_courtrecord"."first_name", "records_courtrecord"."last_name", "records_courtrecord"."middle_name", "records_courtrecord"."date_of_birth", "records_courtrecord"."nicknames", "records_courtrecord"."person_id" FROM "records_courtrecord" WHERE (((DAITCH_MOKOTOFF(first_name) && DAITCH_MOKOTOFF(TABITHA)) AND (DAITCH_MOKOTOFF(last_name) && DAITCH_MOKOTOFF(MAGDALENO))) AND "records_courtrecord"."date_of_birth" = 1990-01-01) LIMIT 200
Query plan
EXPLAIN (ANALYZE, BUFFERS)
Limit (cost=1495.32..1507.66 rows=1 width=64) (actual time=68.893..68.939 rows=1.00 loops=1)
Buffers: shared hit=86
-> Bitmap Heap Scan on records_courtrecord (cost=1495.32..1507.66 rows=1 width=64) (actual time=68.891..68.936 rows=1.00 loops=1)
Recheck Cond: ((date_of_birth = '1990-01-01'::date) AND (daitch_mokotoff((first_name)::text) && '{373000}'::text[]))
Filter: (daitch_mokotoff((last_name)::text) && '{653860}'::text[])
Rows Removed by Filter: 8
Heap Blocks: exact=9
Buffers: shared hit=86
-> BitmapAnd (cost=1495.32..1495.32 rows=11 width=0) (actual time=68.708..68.709 rows=0.00 loops=1)
Buffers: shared hit=71
-> Bitmap Index Scan on idx_person_date_of_birth (cost=0.00..19.54 rows=2236 width=0) (actual time=0.339..0.339 rows=2196.00 loops=1)
Index Cond: (date_of_birth = '1990-01-01'::date)
Index Searches: 1
Buffers: shared hit=6
-> Bitmap Index Scan on idx_person_first_name_dm (cost=0.00..1475.53 rows=270000 width=0) (actual time=66.572..66.573 rows=273037.00 loops=1)
Index Cond: (daitch_mokotoff((first_name)::text) && '{373000}'::text[])
Index Searches: 1
Buffers: shared hit=65
Planning:
Buffers: shared hit=328
Planning Time: 2.069 ms
Execution Time: 69.024 ms