forked from mtusi2026/mtusi2026lab3
14 lines
989 B
Plaintext
14 lines
989 B
Plaintext
PASS: два повторных запуска миграций не изменили данные; версия 006 одна
|
|
PASS: ошибка участника откатила INSERT чата и участников
|
|
Сообщений в исследуемом чате: 10000
|
|
Limit (cost=0.42..202.30 rows=51 width=97) (actual time=0.004..0.009 rows=51 loops=1)
|
|
Buffers: shared hit=6
|
|
-> Index Scan using messages_history_idx on messages (cost=0.42..301.27 rows=76 width=97) (actual time=0.003..0.007 rows=51 loops=1)
|
|
Index Cond: ((chat_id = '1342df5c-78a8-458a-877c-242bf6acf770'::uuid) AND (ROW(created_at, id) > ROW('2026-11-06 15:36:12.189401+00'::timestamp with time zone, 'b657a982-2303-4a6c-ade9-61a9c5ec3926'::uuid)))
|
|
Buffers: shared hit=6
|
|
Planning:
|
|
Buffers: shared hit=8
|
|
Planning Time: 0.033 ms
|
|
Execution Time: 0.018 ms
|
|
PASS: индекс истории используется для глубокой страницы из 10000 сообщений
|