Files
mtusi2026lab2/evidence/explain_messages_no_index.txt
T

23 lines
1.9 KiB
Plaintext

SET
SET
QUERY PLAN
-----------------------------------------------------------------------------------------------------------------------
Limit (cost=520.61..520.74 rows=50 width=61) (actual time=1.354..1.361 rows=50 loops=1)
Buffers: shared hit=116
-> Sort (cost=520.61..542.77 rows=8862 width=61) (actual time=1.353..1.356 rows=50 loops=1)
Sort Key: created_at, id
Sort Method: top-N heapsort Memory: 33kB
Buffers: shared hit=116
-> Seq Scan on messages (cost=0.00..226.23 rows=8862 width=61) (actual time=0.015..0.652 rows=8837 loops=1)
Filter: (chat_id = '90751165-fdcf-4664-a5ab-5414031412bc'::uuid)
Rows Removed by Filter: 416
Buffers: shared hit=110
Planning:
Buffers: shared hit=107
Planning Time: 0.702 ms
Execution Time: 1.398 ms
(14 rows)
RESET
RESET