forked from mtusi2026/mtusi2026lab3
25 lines
894 B
Plaintext
25 lines
894 B
Plaintext
INSERT 0 1
|
|
INSERT 0 1
|
|
INSERT 0 1
|
|
DELETE 0
|
|
INSERT 0 10000
|
|
ANALYZE
|
|
fixture_messages
|
|
------------------
|
|
10000
|
|
(1 row)
|
|
|
|
QUERY PLAN
|
|
---------------------------------------------------------------------------------------------------------------------------------------------------
|
|
Limit (cost=0.41..20.19 rows=50 width=84) (actual time=0.006..0.018 rows=50 loops=1)
|
|
Buffers: shared hit=53
|
|
-> Index Scan using messages_chat_history_idx on messages (cost=0.41..4018.79 rows=10160 width=84) (actual time=0.005..0.015 rows=50 loops=1)
|
|
Index Cond: (chat_id = '00000000-0000-4000-8000-000000000002'::uuid)
|
|
Buffers: shared hit=53
|
|
Planning:
|
|
Buffers: shared hit=20
|
|
Planning Time: 0.069 ms
|
|
Execution Time: 0.028 ms
|
|
(9 rows)
|
|
|