{
 "env": {
  "version": "PostgreSQL 18.6 on aarch64-apple-darwin27.2.0, compiled by Apple clang version 21.0.0 (clang-2100.4.1.1), 64-bit",
  "machine": [
   "Mac17,3",
   "Apple M5",
   "25769803776"
  ],
  "os": "27.2",
  "work_mem": "4MB",
  "shared_buffers": "128MB",
  "jit": "on",
  "max_parallel_workers_per_gather": "2",
  "measured_at": "2026-11-08 12:50"
 },
 "partial_index": {
  "full_index_mb": 14.2,
  "partial_index_mb": 0.7,
  "open_rows": 100000,
  "with_partial": {
   "median_ms": 0.022,
   "runs_ms": [
    0.018,
    0.023,
    0.024,
    0.019,
    0.022
   ],
   "buffers": 2,
   "node": "Aggregate"
  },
  "with_full_only": {
   "median_ms": 0.071,
   "runs_ms": [
    0.096,
    0.071,
    0.054,
    0.074,
    0.058
   ],
   "buffers": 43,
   "node": "Aggregate"
  }
 },
 "brin_vs_btree": {
  "brin_mb": 0.0,
  "brin": {
   "median_ms": 0.631,
   "runs_ms": [
    0.589,
    1.119,
    0.631,
    0.681,
    0.624
   ],
   "buffers": 137,
   "node": "Aggregate"
  },
  "btree_mb": 44.9,
  "btree": {
   "median_ms": 0.545,
   "runs_ms": [
    0.54,
    0.535,
    0.593,
    0.547,
    0.545
   ],
   "buffers": 134,
   "node": "Aggregate"
  },
  "rows_in_day": 8640
 },
 "include_covering": {
  "plain": {
   "median_ms": 0.073,
   "runs_ms": [
    0.073,
    0.07,
    0.075,
    0.078,
    0.067
   ],
   "buffers": 43,
   "node": "Aggregate"
  },
  "include": {
   "median_ms": 0.038,
   "runs_ms": [
    0.037,
    0.038,
    0.036,
    0.041,
    0.039
   ],
   "buffers": 4,
   "node": "Aggregate"
  },
  "plain_mb_note": "see include_mb",
  "include_mb": 45.0
 },
 "visibility_map": {
  "before_vacuum": [
   {
    "node": "Index Only Scan",
    "heap_fetches": 200001,
    "ms": 7.294,
    "buffers": 1917
   },
   {
    "node": "Index Only Scan",
    "heap_fetches": 200001,
    "ms": 7.093,
    "buffers": 1914
   },
   {
    "node": "Index Only Scan",
    "heap_fetches": 200001,
    "ms": 6.939,
    "buffers": 1917
   }
  ],
  "after_vacuum": [
   {
    "node": "Index Only Scan",
    "heap_fetches": 0,
    "ms": 4.675,
    "buffers": 553
   },
   {
    "node": "Index Only Scan",
    "heap_fetches": 0,
    "ms": 4.442,
    "buffers": 553
   },
   {
    "node": "Index Only Scan",
    "heap_fetches": 0,
    "ms": 4.252,
    "buffers": 553
   }
  ]
 },
 "fk_no_index_delete": {
  "no_index_s": [
   3.581,
   3.608
  ],
  "with_index_s": [
   0.013,
   0.014
  ],
  "child_rows_deleted": 20000,
  "parents_deleted": 200,
  "child_rows": 1000000
 },
 "unlogged_insert": {
  "logged": [
   {
    "s": 1.784,
    "wal_mb": 192.6
   },
   {
    "s": 1.69,
    "wal_mb": 192.6
   },
   {
    "s": 2.048,
    "wal_mb": 192.6
   }
  ],
  "unlogged": [
   {
    "s": 0.986,
    "wal_mb": 0.0
   },
   {
    "s": 1.075,
    "wal_mb": 0.0
   },
   {
    "s": 0.996,
    "wal_mb": 0.0
   }
  ]
 },
 "copy_vs_insert": {
  "copy": [
   0.039,
   0.039,
   0.04
  ],
  "multi": [
   0.159,
   0.126,
   0.133
  ],
  "single": [
   1.989,
   2.105,
   2.129
  ],
  "rows": 200000,
  "note": "client psql on same machine, unix socket, one transaction each"
 },
 "synchronous_commit": {
  "on": [
   {
    "tps_line": "tps = 27255.234368 (without initial connection time)",
    "latency_line": "latency average = 0.037 ms"
   },
   {
    "tps_line": "tps = 28223.871751 (without initial connection time)",
    "latency_line": "latency average = 0.035 ms"
   },
   {
    "tps_line": "tps = 28100.938571 (without initial connection time)",
    "latency_line": "latency average = 0.036 ms"
   }
  ],
  "off": [
   {
    "tps_line": "tps = 65052.920551 (without initial connection time)",
    "latency_line": "latency average = 0.015 ms"
   },
   {
    "tps_line": "tps = 61341.790321 (without initial connection time)",
    "latency_line": "latency average = 0.016 ms"
   },
   {
    "tps_line": "tps = 64478.274046 (without initial connection time)",
    "latency_line": "latency average = 0.016 ms"
   }
  ],
  "fsync": "on",
  "wal_sync_method": "open_datasync"
 },
 "topn_heapsort": {
  "limit10": {
   "median_ms": 118.898,
   "runs_ms": [
    121.736,
    118.898,
    116.32
   ],
   "buffers": 24695,
   "node": "Limit"
  },
  "full_sort": {
   "median_ms": 571.357,
   "runs_ms": [
    576.846,
    571.357,
    570.131
   ],
   "buffers": 24695,
   "node": "Aggregate"
  },
  "limit10_method": "Limit (actual rows=10.00 loops=1)\n  Buffers: shared hit=755 read=23940\n  ->  Sort (actual rows=10.00 loops=1)\n        Sort Key: note\n        Sort Method: top-N heapsort  Memory: 26kB\n        Buffers: shared hit=755 read=23940\n        ->  Seq Scan on w_orders (actual rows=2000000.00 loops=1)\n              Buffers: shared hit=752 read=23940\nPlanning:\n  Buffers: shared hit=135\nPlanning Time: 0.187 ms\nExecution Time: 119.850 ms"
 },
 "work_mem_sort": {
  "4MB": {
   "run": {
    "median_ms": 432.553,
    "runs_ms": [
     432.553,
     434.539,
     431.885
    ],
    "buffers": 24695,
    "node": "Aggregate"
   },
   "sort_method": [
    "Sort Method: external merge  Disk: 72424kB"
   ]
  },
  "64MB": {
   "run": {
    "median_ms": 297.168,
    "runs_ms": [
     288.588,
     297.168,
     298.538
    ],
    "buffers": 24695,
    "node": "Aggregate"
   },
   "sort_method": [
    "Sort Method: quicksort  Memory: 49153kB"
   ]
  },
  "256MB": {
   "run": {
    "median_ms": 295.03,
    "runs_ms": [
     295.03,
     295.019,
     296.766
    ],
    "buffers": 24695,
    "node": "Aggregate"
   },
   "sort_method": [
    "Sort Method: quicksort  Memory: 49153kB"
   ]
  }
 },
 "parallel_workers": {
  "0": {
   "median_ms": 151.411,
   "runs_ms": [
    180.975,
    151.411,
    146.818
   ],
   "buffers": 24692,
   "node": "Aggregate"
  },
  "2": {
   "median_ms": 54.429,
   "runs_ms": [
    54.429,
    54.637,
    53.608
   ],
   "buffers": 24708,
   "node": "Aggregate"
  },
  "4": {
   "median_ms": 44.148,
   "runs_ms": [
    44.345,
    44.148,
    43.765
   ],
   "buffers": 24716,
   "node": "Aggregate"
  },
  "cpus": "10"
 },
 "update_all_rows": {
  "before_mb": 202.5,
  "update_s": 2.998,
  "after_update_mb": 404.7,
  "after_vacuum_mb": 404.7,
  "second_update_s": 2.531,
  "after_second_update_mb": 404.7
 },
 "btree_dedup": {
  "status_on_mb": 13.9,
  "status_off_mb": 45.0,
  "customer_on_mb": 14.2,
  "customer_off_mb": 45.0,
  "pk_mb": 44.9,
  "distinct_status": 2,
  "distinct_customer": 50000,
  "rows": 2000000
 },
 "brin_bytes": {
  "brin_bytes": 24576,
  "btree_bytes": 44949504,
  "table_bytes": 202276864
 }
}