forked from mtusi2026/mtusi2026lab2
17 lines
921 B
Plaintext
17 lines
921 B
Plaintext
QUERY PLAN
|
|
-----------------------------------------------------------------------------------------------------------------------------------
|
|
Limit (cost=0.01..0.02 rows=1 width=88) (actual time=0.097..0.098 rows=0 loops=1)
|
|
Buffers: shared hit=3
|
|
-> Sort (cost=0.01..0.02 rows=1 width=88) (actual time=0.095..0.096 rows=0 loops=1)
|
|
Sort Key: created_at
|
|
Sort Method: quicksort Memory: 25kB
|
|
Buffers: shared hit=3
|
|
-> Seq Scan on messages (cost=0.00..0.00 rows=1 width=88) (actual time=0.019..0.019 rows=0 loops=1)
|
|
Filter: ((chat_id = '00000000-0000-0000-0000-000000000002'::uuid) AND (created_at > (now() - '50 days'::interval)))
|
|
Planning:
|
|
Buffers: shared hit=101 read=3
|
|
Planning Time: 8.033 ms
|
|
Execution Time: 1.148 ms
|
|
(12 rows)
|
|
|