forked from mtusi2026/mtusi2026lab2
ЛР 2: мессенджер на PostgreSQL и сессии в Redis
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
BEGIN
|
||||
INSERT 0 1
|
||||
INSERT 0 1
|
||||
INSERT 0 1
|
||||
INSERT 0 10000
|
||||
QUERY PLAN
|
||||
-----------------------------------------------------------------------------------------------------
|
||||
Limit (actual time=0.006..0.015 rows=100 loops=1)
|
||||
Buffers: shared hit=5
|
||||
-> Index Scan using messages_history_idx on messages (actual time=0.005..0.012 rows=100 loops=1)
|
||||
Index Cond: (chat_id = '22222222-2222-2222-2222-222222222222'::uuid)
|
||||
Buffers: shared hit=5
|
||||
Planning:
|
||||
Buffers: shared hit=28 read=4
|
||||
Planning Time: 0.132 ms
|
||||
Execution Time: 0.025 ms
|
||||
(9 rows)
|
||||
|
||||
ROLLBACK
|
||||
Reference in New Issue
Block a user