внес правки

This commit is contained in:
2026-10-24 10:56:29 +03:00
parent 6dbc2da1ca
commit 5b15688149
19 changed files with 356 additions and 181 deletions
+7 -7
View File
@@ -1,13 +1,13 @@
QUERY PLAN
-----------------------------------------------------------------------------------------------------------------------------------------------------
Limit (cost=0.42..6.24 rows=50 width=66) (actual time=0.229..0.237 rows=50 loops=1)
Buffers: shared hit=1 read=3
-> Index Scan using ix_messages_chat_created_id on messages (cost=0.42..9420.75 rows=80862 width=66) (actual time=0.228..0.232 rows=50 loops=1)
Limit (cost=0.42..5.54 rows=50 width=66) (actual time=0.103..0.111 rows=50 loops=1)
Buffers: shared hit=4
-> Index Scan using ix_messages_chat_created_id on messages (cost=0.42..8222.03 rows=80203 width=66) (actual time=0.102..0.107 rows=50 loops=1)
Index Cond: (chat_id = '66666666-6666-4666-8666-666666666666'::uuid)
Buffers: shared hit=1 read=3
Buffers: shared hit=4
Planning:
Buffers: shared hit=108 read=1 dirtied=3
Planning Time: 1.173 ms
Execution Time: 0.308 ms
Buffers: shared hit=107
Planning Time: 0.865 ms
Execution Time: 0.168 ms
(9 rows)