forked from mtusi2026/mtusi2026lab2
13 lines
915 B
Plaintext
13 lines
915 B
Plaintext
QUERY PLAN
|
|
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
Limit (cost=0.42..5.07 rows=51 width=68) (actual time=0.014..0.032 rows=51 loops=1)
|
|
Buffers: shared hit=40
|
|
-> Index Scan using history_key on messages (cost=0.42..7429.49 rows=81483 width=68) (actual time=0.013..0.029 rows=51 loops=1)
|
|
Index Cond: ((chat_id = '10253fd7-f49d-4add-97e2-130e62ab0306'::uuid) AND (ROW(created_at, id) > ROW('2026-12-04 17:45:54.914+00'::timestamp with time zone, '9a28ea29-1091-42e7-b44a-3872ced57edc'::uuid)))
|
|
Buffers: shared hit=40
|
|
Planning:
|
|
Buffers: shared hit=6
|
|
Planning Time: 0.112 ms
|
|
Execution Time: 0.087 ms
|
|
(9 rows)
|