{
  "collected_at": "2026-12-05T18:03:42.214882+00:00",
  "mysql_version": "8.4.11",
  "fixture_rows": 200000,
  "selection": "tenant_id=3, status=1, descending created_at and id",
  "offset": 3000,
  "page_size": 50,
  "verified_same_rows": true,
  "method": "One warm-up, seven serial EXPLAIN ANALYZE samples per variant; root iterator time in ms",
  "limits": "Synthetic local data; excludes cursor setup, ORM, network, writes and concurrency",
  "variants": {
    "offset_without_index": {
      "root_iterator_ms": [
        29.7,
        31.0,
        28.7,
        29.8,
        30.3,
        30.0,
        29.8
      ],
      "median_ms": 29.8,
      "example_plan": "-> Limit/Offset: 50/3000 row(s)  (cost=20000 rows=50) (actual time=29.7..29.7 rows=50 loops=1)\n    -> Sort: orders.created_at DESC, orders.id DESC, limit input to 3050 row(s) per chunk  (cost=20000 rows=200000) (actual time=29.5..29.6 rows=3050 loops=1)\n        -> Filter: ((orders.`status` = 1) and (orders.tenant_id = 3))  (cost=20000 rows=200000) (actual time=0.449..28.7 rows=5000 loops=1)\n            -> Table scan on orders  (cost=20000 rows=200000) (actual time=0.445..21.4 rows=200000 loops=1)"
    },
    "offset_with_index": {
      "root_iterator_ms": [
        0.46,
        0.452,
        0.459,
        0.425,
        0.504,
        0.52,
        0.476
      ],
      "median_ms": 0.46,
      "example_plan": "-> Limit/Offset: 50/3000 row(s)  (cost=517 rows=50) (actual time=0.425..0.46 rows=50 loops=1)\n    -> Covering index lookup on orders using browse_orders (tenant_id=3, status=1)  (cost=517 rows=5000) (actual time=0.0382..0.388 rows=3050 loops=1)"
    },
    "cursor_with_index": {
      "root_iterator_ms": [
        0.0352,
        0.0354,
        0.036,
        0.0409,
        0.0343,
        0.0328,
        0.039
      ],
      "median_ms": 0.0354,
      "example_plan": "-> Limit: 50 row(s)  (cost=408 rows=50) (actual time=0.0269..0.0352 rows=50 loops=1)\n    -> Filter: ((orders.`status` = 1) and (orders.tenant_id = 3) and ((orders.created_at < TIMESTAMP'2025-01-01 07:24:31') or ((orders.created_at = TIMESTAMP'2025-01-01 07:24:31') and (orders.id < 80013))))  (cost=408 rows=2001) (actual time=0.0262..0.0327 rows=50 loops=1)\n        -> Covering index range scan on orders using browse_orders over (tenant_id = 3 AND status = 1 AND created_at = '2025-01-01 07:24:31' AND 80013 < id) OR (tenant_id = 3 AND status = 1 AND '2025-01-01 07:24:31' < created_at)  (cost=408 rows=2001) (actual time=0.0241..0.0269 rows=50 loops=1)"
    }
  }
}
