Files
mtusi2026lab2-fork/evidence/index-explain.txt
2026-10-29 20:26:49 +03:00

15 lines
1.0 KiB
Plaintext

SET
QUERY PLAN
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Limit (cost=0.29..32.47 rows=50 width=78) (actual time=0.033..0.039 rows=50 loops=1)
Buffers: shared hit=3
-> Index Scan using idx_messages_chat_created_id on messages (cost=0.29..261.01 rows=405 width=78) (actual time=0.032..0.035 rows=50 loops=1)
Index Cond: ((chat_id = 'aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 02:40:00+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))
Buffers: shared hit=3
Planning:
Buffers: shared hit=106
Planning Time: 0.432 ms
Execution Time: 0.084 ms
(9 rows)