ЛР 2 — БПИ2303 — Морару — на 5 (трек 2)
Skeleton contracts / contracts (pull_request) Canceled after 0s

TypeScript/Node API на PostgreSQL с сессиями в Valkey (AOF), миграции,
compose-стенд, restart hook, тесты уровня 4 и эксперимент трека 2
(планы запроса на 240k сообщений, стоимость записи, backup/restore).
This commit is contained in:
celis
2026-10-29 20:58:56 +03:00
parent 65003b6119
commit cac37bddec
29 changed files with 2229 additions and 18 deletions
@@ -0,0 +1,9 @@
Limit (cost=0.42..64.91 rows=51 width=267) (actual time=0.032..0.059 rows=51 loops=1)
Buffers: shared hit=11
-> Index Scan using messages_chat_created_id_idx on messages (cost=0.42..38137.55 rows=30161 width=267) (actual time=0.030..0.054 rows=51 loops=1)
Index Cond: ((chat_id = '43815b30-3214-43ab-907b-8302428adf62'::uuid) AND (ROW(created_at, id) > ROW('2026-09-14 15:04:07.432+00'::timestamp with time zone, 'b4df760e-4412-48fc-90cc-814d6b6c9617'::uuid)))
Buffers: shared hit=11
Planning:
Buffers: shared hit=144
Planning Time: 1.388 ms
Execution Time: 0.107 ms