Files
mtusi2026lab2/evidence/track5/explain-chat-only-index.txt
IvanMeln1k d8b178e290 Добавить отчёт, черновик MR и доказательства lab2
Фиксирует результаты уровня 3/4 и трека 2: публичный smoke, black-box,
persistence/expiry/outage, контейнерные проверки, SQL/rollback/EXPLAIN,
100k-эксперимент с индексами и backup/restore, чистый clone.
2026-11-30 23:53:48 +03:00

23 lines
1.3 KiB
Plaintext

NAIVE INDEX (chat_id) ONLY
=== deep keyset page, offset 30000 ===
Limit (cost=4289.63..4289.75 rows=50 width=141) (actual time=14.808..14.812 rows=50 loops=1)
Buffers: shared hit=807 read=53
-> Sort (cost=4289.63..4345.67 rows=22419 width=141) (actual time=14.807..14.809 rows=50 loops=1)
Sort Key: created_at, id
Sort Method: top-N heapsort Memory: 37kB
Buffers: shared hit=807 read=53
-> Bitmap Heap Scan on messages (cost=667.51..3544.88 rows=22419 width=141) (actual time=2.133..12.038 rows=29999 loops=1)
Recheck Cond: (chat_id = 'd64fec89-08a6-4948-acc3-4ca99ac54f5a'::uuid)
Filter: (ROW(created_at, id) > ROW('2026-01-01 00:00:30.001+00'::timestamp with time zone, 'e77ba05c-13b1-46a4-ba9f-6f630e60f623'::uuid))
Rows Removed by Filter: 30001
Heap Blocks: exact=801
Buffers: shared hit=801 read=53
-> Bitmap Index Scan on messages_chat_only_idx (cost=0.00..661.90 rows=59948 width=0) (actual time=0.749..0.750 rows=60000 loops=1)
Index Cond: (chat_id = 'd64fec89-08a6-4948-acc3-4ca99ac54f5a'::uuid)
Buffers: shared read=53
Planning:
Buffers: shared hit=101 read=1
Planning Time: 0.268 ms
Execution Time: 14.859 ms