Date: 2026-10-08
Command: ./scripts/explain_history.sh

Dataset: 10,000 synthetic messages in one chat.
Query plan:
Limit  (cost=0.29..4.20 rows=50 width=73) (actual time=0.006..0.010 rows=50 loops=1)
  Buffers: shared hit=3
  ->  Index Scan using messages_chat_created_id_idx on messages  (cost=0.29..783.39 rows=10000 width=73) (actual time=0.006..0.008 rows=50 loops=1)
        Index Cond: (chat_id = 'bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb'::uuid)
        Buffers: shared hit=3
Planning:
  Buffers: shared hit=39
Planning Time: 0.099 ms
Execution Time: 0.016 ms
