forked from mtusi2026/mtusi2026lab2
Реализована лабораторная 2 на оценку 4
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
INSERT 0 0
|
||||
INSERT 0 0
|
||||
INSERT 0 0
|
||||
DELETE 10000
|
||||
INSERT 0 10000
|
||||
ANALYZE
|
||||
fixture_messages
|
||||
------------------
|
||||
10000
|
||||
(1 row)
|
||||
|
||||
QUERY PLAN
|
||||
---------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
Limit (cost=0.41..21.76 rows=50 width=68) (actual time=0.006..0.018 rows=50 loops=1)
|
||||
Buffers: shared hit=102
|
||||
-> Index Scan using messages_chat_history_idx on messages (cost=0.41..4271.07 rows=10000 width=68) (actual time=0.006..0.015 rows=50 loops=1)
|
||||
Index Cond: (chat_id = '00000000-0000-4000-8000-000000000002'::uuid)
|
||||
Buffers: shared hit=102
|
||||
Planning:
|
||||
Buffers: shared hit=24
|
||||
Planning Time: 0.057 ms
|
||||
Execution Time: 0.031 ms
|
||||
(9 rows)
|
||||
|
||||
Reference in New Issue
Block a user