2026-11-23 00:11:17.175654+00
Limit  (cost=1.27..2580.52 rows=1000 width=57)
  ->  Nested Loop Anti Join  (cost=1.27..2259564.06 rows=876054 width=57)
        ->  Index Only Scan using idx_outbox_record_status_created_id on outbox_record o  (cost=0.72..717558.36 rows=1075157 width=57)
              Index Cond: (status = 'NEW'::text)
              Filter: ((partition_no = ANY ('{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63}'::integer[])) AND (next_retry_at <= now()))
        ->  Index Only Scan using idx_outbox_record_key_completed_created_id on outbox_record earlier  (cost=0.56..1.57 rows=3 width=57)
              Index Cond: ((record_key = (o.record_key)::text) AND (completed_at IS NULL) AND (created_at <= o.created_at))
              Filter: ((created_at < o.created_at) OR ((created_at = o.created_at) AND ((id)::text < (o.id)::text)))
Settings: jit = 'off'
Filesystem                Size      Used Available Use% Mounted on
/dev/vda1                 1.8T     48.2G      1.6T   3% /etc/hostname
