{
  "runtime": {
    "library": "@electric-sql/pglite 0.5.8",
    "version": "PostgreSQL 18.3 (PGlite 0.5.8) on wasm32-unknown-emscripten, compiled by emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.74 (1092ec30a3fb1d46b1782ff1b4db5094d3d06ae5), 32-bit",
    "node": "v24.16.0",
    "storage": "Owned disposable in-memory PGlite instance; closed in finally",
    "timeZone": "UTC"
  },
  "sourceHashes": {
    "fixture": "157cec087588c360694e13ac3d7884a36a261957ed600121232ceb75d9947568",
    "tail": "db25662c500ceb3a9e137f5e1dbe57dba8708fad5c6ae2354eb73b0d0b073c6c",
    "download": "862859a923ca1796f1a2b448c4876177f1045ada089a3cc458380f7f04a364c4"
  },
  "checks": [
    {
      "check_name": "fixture_counts",
      "ok": true
    },
    {
      "check_name": "copy_rows_equal",
      "ok": true
    },
    {
      "check_name": "report_results_equal",
      "ok": true
    },
    {
      "check_name": "different_pairs_allow_same_id",
      "ok": true
    },
    {
      "check_name": "exact_boundary_routes_november",
      "ok": true
    },
    {
      "check_name": "id_only_reference_refused",
      "ok": true,
      "sqlstate": "42830"
    },
    {
      "check_name": "id_only_unique_refused",
      "ok": true,
      "sqlstate": "0A000"
    },
    {
      "check_name": "missing_range_rejected",
      "ok": true,
      "sqlstate": "23514"
    },
    {
      "check_name": "referenced_detach_rejected",
      "ok": true,
      "sqlstate": "23503"
    },
    {
      "check_name": "referenced_key_update_rejected",
      "ok": true,
      "sqlstate": "23503"
    },
    {
      "check_name": "same_pair_rejected",
      "ok": true,
      "sqlstate": "23505"
    },
    {
      "check_name": "wrong_timestamp_reference_rejected",
      "ok": true,
      "sqlstate": "23503"
    },
    {
      "check_name": "key_update_moves_partition",
      "ok": true
    },
    {
      "check_name": "january_wholly_eligible",
      "ok": true
    },
    {
      "check_name": "january_partial_cutoff_ineligible_rows_exist",
      "ok": true
    },
    {
      "check_name": "detached_rows_still_exist",
      "ok": true,
      "parent_count": 120003,
      "january_count": 10191,
      "remaining_parent_count": 109812
    },
    {
      "check_name": "late_write_after_detach_rejected",
      "ok": true,
      "sqlstate": "23514"
    },
    {
      "check_name": "detached_table_dropped",
      "ok": true
    },
    {
      "check_name": "original_authority_and_dependants_unchanged",
      "ok": true
    }
  ],
  "plans": [
    {
      "label": "unpartitioned_october_report",
      "relations": [
        {
          "relation": "order_items",
          "type": "Seq Scan",
          "rows": 360005,
          "loops": 1
        },
        {
          "relation": "orders",
          "type": "Seq Scan",
          "rows": 9176,
          "loops": 1,
          "rejected": 110827
        }
      ],
      "plan": [
        {
          "Plan": {
            "Node Type": "Sort",
            "Parallel Aware": false,
            "Async Capable": false,
            "Startup Cost": 9826.18,
            "Total Cost": 9828.23,
            "Plan Rows": 819,
            "Plan Width": 36,
            "Actual Startup Time": 1178.751,
            "Actual Total Time": 1179.336,
            "Actual Rows": 991,
            "Actual Loops": 1,
            "Disabled": false,
            "Sort Key": [
              "(sum(((i.quantity)::numeric * i.unit_price))) DESC",
              "o.customer_id"
            ],
            "Sort Method": "quicksort",
            "Sort Space Used": 47,
            "Sort Space Type": "Memory",
            "Shared Hit Blocks": 3059,
            "Shared Read Blocks": 0,
            "Shared Dirtied Blocks": 0,
            "Shared Written Blocks": 0,
            "Local Hit Blocks": 0,
            "Local Read Blocks": 0,
            "Local Dirtied Blocks": 0,
            "Local Written Blocks": 0,
            "Temp Read Blocks": 0,
            "Temp Written Blocks": 0,
            "Plans": [
              {
                "Node Type": "Aggregate",
                "Strategy": "Hashed",
                "Partial Mode": "Simple",
                "Parent Relationship": "Outer",
                "Parallel Aware": false,
                "Async Capable": false,
                "Startup Cost": 9776.31,
                "Total Cost": 9786.55,
                "Plan Rows": 819,
                "Plan Width": 36,
                "Actual Startup Time": 1170.108,
                "Actual Total Time": 1173.174,
                "Actual Rows": 991,
                "Actual Loops": 1,
                "Disabled": false,
                "Group Key": [
                  "o.customer_id"
                ],
                "Planned Partitions": 0,
                "HashAgg Batches": 1,
                "Peak Memory Usage": 329,
                "Disk Usage": 0,
                "Shared Hit Blocks": 3059,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0,
                "Plans": [
                  {
                    "Node Type": "Hash Join",
                    "Parent Relationship": "Outer",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Join Type": "Inner",
                    "Startup Cost": 2886.28,
                    "Total Cost": 9725.37,
                    "Plan Rows": 5094,
                    "Plan Width": 13,
                    "Actual Startup Time": 121.58,
                    "Actual Total Time": 1092.809,
                    "Actual Rows": 27525,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Inner Unique": true,
                    "Hash Cond": "(i.order_id = o.order_id)",
                    "Shared Hit Blocks": 3059,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0,
                    "Plans": [
                      {
                        "Node Type": "Seq Scan",
                        "Parent Relationship": "Outer",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Relation Name": "order_items",
                        "Alias": "i",
                        "Startup Cost": 0,
                        "Total Cost": 5894.05,
                        "Plan Rows": 360005,
                        "Plan Width": 13,
                        "Actual Startup Time": 0.113,
                        "Actual Total Time": 537.695,
                        "Actual Rows": 360005,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Shared Hit Blocks": 2294,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0
                      },
                      {
                        "Node Type": "Hash",
                        "Parent Relationship": "Inner",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Startup Cost": 2865.05,
                        "Total Cost": 2865.05,
                        "Plan Rows": 1698,
                        "Plan Width": 8,
                        "Actual Startup Time": 121.406,
                        "Actual Total Time": 121.41,
                        "Actual Rows": 9176,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Hash Buckets": 16384,
                        "Original Hash Buckets": 2048,
                        "Hash Batches": 1,
                        "Original Hash Batches": 1,
                        "Peak Memory Usage": 351,
                        "Shared Hit Blocks": 765,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0,
                        "Plans": [
                          {
                            "Node Type": "Seq Scan",
                            "Parent Relationship": "Outer",
                            "Parallel Aware": false,
                            "Async Capable": false,
                            "Relation Name": "orders",
                            "Alias": "o",
                            "Startup Cost": 0,
                            "Total Cost": 2865.05,
                            "Plan Rows": 1698,
                            "Plan Width": 8,
                            "Actual Startup Time": 0.051,
                            "Actual Total Time": 94.975,
                            "Actual Rows": 9176,
                            "Actual Loops": 1,
                            "Disabled": false,
                            "Filter": "((placed_at >= '2026-10-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2026-11-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                            "Rows Removed by Filter": 110827,
                            "Shared Hit Blocks": 765,
                            "Shared Read Blocks": 0,
                            "Shared Dirtied Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Dirtied Blocks": 0,
                            "Local Written Blocks": 0,
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "Planning": {
            "Shared Hit Blocks": 24,
            "Shared Read Blocks": 0,
            "Shared Dirtied Blocks": 0,
            "Shared Written Blocks": 0,
            "Local Hit Blocks": 0,
            "Local Read Blocks": 0,
            "Local Dirtied Blocks": 0,
            "Local Written Blocks": 0,
            "Temp Read Blocks": 0,
            "Temp Written Blocks": 0
          },
          "Planning Time": 1.708,
          "Triggers": [],
          "Execution Time": 1180.218
        }
      ]
    },
    {
      "label": "unpartitioned_year_report",
      "relations": [
        {
          "relation": "order_items",
          "type": "Seq Scan",
          "rows": 360005,
          "loops": 1
        },
        {
          "relation": "orders",
          "type": "Seq Scan",
          "rows": 20158,
          "loops": 1,
          "rejected": 99845
        }
      ],
      "plan": [
        {
          "Plan": {
            "Node Type": "Sort",
            "Parallel Aware": false,
            "Async Capable": false,
            "Startup Cost": 10614.81,
            "Total Cost": 10617.31,
            "Plan Rows": 1000,
            "Plan Width": 36,
            "Actual Startup Time": 1649.873,
            "Actual Total Time": 1650.446,
            "Actual Rows": 1002,
            "Actual Loops": 1,
            "Disabled": false,
            "Sort Key": [
              "(sum(((i.quantity)::numeric * i.unit_price))) DESC",
              "o.customer_id"
            ],
            "Sort Method": "quicksort",
            "Sort Space Used": 48,
            "Sort Space Type": "Memory",
            "Shared Hit Blocks": 3059,
            "Shared Read Blocks": 0,
            "Shared Dirtied Blocks": 0,
            "Shared Written Blocks": 0,
            "Local Hit Blocks": 0,
            "Local Read Blocks": 0,
            "Local Dirtied Blocks": 0,
            "Local Written Blocks": 0,
            "Temp Read Blocks": 0,
            "Temp Written Blocks": 0,
            "Plans": [
              {
                "Node Type": "Aggregate",
                "Strategy": "Hashed",
                "Partial Mode": "Simple",
                "Parent Relationship": "Outer",
                "Parallel Aware": false,
                "Async Capable": false,
                "Startup Cost": 10552.48,
                "Total Cost": 10564.98,
                "Plan Rows": 1000,
                "Plan Width": 36,
                "Actual Startup Time": 1638.077,
                "Actual Total Time": 1645.008,
                "Actual Rows": 1002,
                "Actual Loops": 1,
                "Disabled": false,
                "Group Key": [
                  "o.customer_id"
                ],
                "Planned Partitions": 0,
                "HashAgg Batches": 1,
                "Peak Memory Usage": 329,
                "Disk Usage": 0,
                "Shared Hit Blocks": 3059,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0,
                "Plans": [
                  {
                    "Node Type": "Hash Join",
                    "Parent Relationship": "Outer",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Join Type": "Inner",
                    "Startup Cost": 3114.57,
                    "Total Cost": 9953.66,
                    "Plan Rows": 59882,
                    "Plan Width": 13,
                    "Actual Startup Time": 249.992,
                    "Actual Total Time": 1469.156,
                    "Actual Rows": 60471,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Inner Unique": true,
                    "Hash Cond": "(i.order_id = o.order_id)",
                    "Shared Hit Blocks": 3059,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0,
                    "Plans": [
                      {
                        "Node Type": "Seq Scan",
                        "Parent Relationship": "Outer",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Relation Name": "order_items",
                        "Alias": "i",
                        "Startup Cost": 0,
                        "Total Cost": 5894.05,
                        "Plan Rows": 360005,
                        "Plan Width": 13,
                        "Actual Startup Time": 0.046,
                        "Actual Total Time": 449.858,
                        "Actual Rows": 360005,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Shared Hit Blocks": 2294,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0
                      },
                      {
                        "Node Type": "Hash",
                        "Parent Relationship": "Inner",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Startup Cost": 2865.05,
                        "Total Cost": 2865.05,
                        "Plan Rows": 19961,
                        "Plan Width": 8,
                        "Actual Startup Time": 249.918,
                        "Actual Total Time": 249.922,
                        "Actual Rows": 20158,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Hash Buckets": 32768,
                        "Original Hash Buckets": 32768,
                        "Hash Batches": 1,
                        "Original Hash Batches": 1,
                        "Peak Memory Usage": 758,
                        "Shared Hit Blocks": 765,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0,
                        "Plans": [
                          {
                            "Node Type": "Seq Scan",
                            "Parent Relationship": "Outer",
                            "Parallel Aware": false,
                            "Async Capable": false,
                            "Relation Name": "orders",
                            "Alias": "o",
                            "Startup Cost": 0,
                            "Total Cost": 2865.05,
                            "Plan Rows": 19961,
                            "Plan Width": 8,
                            "Actual Startup Time": 0.028,
                            "Actual Total Time": 220.383,
                            "Actual Rows": 20158,
                            "Actual Loops": 1,
                            "Disabled": false,
                            "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                            "Rows Removed by Filter": 99845,
                            "Shared Hit Blocks": 765,
                            "Shared Read Blocks": 0,
                            "Shared Dirtied Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Dirtied Blocks": 0,
                            "Local Written Blocks": 0,
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "Planning": {
            "Shared Hit Blocks": 14,
            "Shared Read Blocks": 0,
            "Shared Dirtied Blocks": 0,
            "Shared Written Blocks": 0,
            "Local Hit Blocks": 0,
            "Local Read Blocks": 0,
            "Local Dirtied Blocks": 0,
            "Local Written Blocks": 0,
            "Temp Read Blocks": 0,
            "Temp Written Blocks": 0
          },
          "Planning Time": 1.648,
          "Triggers": [],
          "Execution Time": 1651.563
        }
      ]
    },
    {
      "label": "october_report",
      "relations": [
        {
          "relation": "order_items",
          "type": "Seq Scan",
          "rows": 360005,
          "loops": 1
        },
        {
          "relation": "orders_2026_10",
          "type": "Seq Scan",
          "rows": 9176,
          "loops": 1,
          "rejected": 1020
        }
      ],
      "plan": [
        {
          "Plan": {
            "Node Type": "Sort",
            "Parallel Aware": false,
            "Async Capable": false,
            "Startup Cost": 8218.31,
            "Total Cost": 8220.81,
            "Plan Rows": 1000,
            "Plan Width": 36,
            "Actual Startup Time": 1167.076,
            "Actual Total Time": 1167.599,
            "Actual Rows": 991,
            "Actual Loops": 1,
            "Disabled": false,
            "Sort Key": [
              "(sum(((i.quantity)::numeric * i.unit_price))) DESC",
              "o.customer_id"
            ],
            "Sort Method": "quicksort",
            "Sort Space Used": 47,
            "Sort Space Type": "Memory",
            "Shared Hit Blocks": 2359,
            "Shared Read Blocks": 0,
            "Shared Dirtied Blocks": 0,
            "Shared Written Blocks": 0,
            "Local Hit Blocks": 0,
            "Local Read Blocks": 0,
            "Local Dirtied Blocks": 0,
            "Local Written Blocks": 0,
            "Temp Read Blocks": 0,
            "Temp Written Blocks": 0,
            "Plans": [
              {
                "Node Type": "Aggregate",
                "Strategy": "Hashed",
                "Partial Mode": "Simple",
                "Parent Relationship": "Outer",
                "Parallel Aware": false,
                "Async Capable": false,
                "Startup Cost": 8155.98,
                "Total Cost": 8168.48,
                "Plan Rows": 1000,
                "Plan Width": 36,
                "Actual Startup Time": 1159.468,
                "Actual Total Time": 1161.701,
                "Actual Rows": 991,
                "Actual Loops": 1,
                "Disabled": false,
                "Group Key": [
                  "o.customer_id"
                ],
                "Planned Partitions": 0,
                "HashAgg Batches": 1,
                "Peak Memory Usage": 329,
                "Disk Usage": 0,
                "Shared Hit Blocks": 2359,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0,
                "Plans": [
                  {
                    "Node Type": "Hash Join",
                    "Parent Relationship": "Outer",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Join Type": "Inner",
                    "Startup Cost": 358.13,
                    "Total Cost": 7879.09,
                    "Plan Rows": 27689,
                    "Plan Width": 13,
                    "Actual Startup Time": 19.344,
                    "Actual Total Time": 1043.967,
                    "Actual Rows": 27525,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Inner Unique": false,
                    "Hash Cond": "(i.order_id = o.order_id)",
                    "Shared Hit Blocks": 2359,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0,
                    "Plans": [
                      {
                        "Node Type": "Seq Scan",
                        "Parent Relationship": "Outer",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Relation Name": "order_items",
                        "Alias": "i",
                        "Startup Cost": 0,
                        "Total Cost": 5894.05,
                        "Plan Rows": 360005,
                        "Plan Width": 13,
                        "Actual Startup Time": 0.047,
                        "Actual Total Time": 506.369,
                        "Actual Rows": 360005,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Shared Hit Blocks": 2294,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0
                      },
                      {
                        "Node Type": "Hash",
                        "Parent Relationship": "Inner",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Startup Cost": 243.43,
                        "Total Cost": 243.43,
                        "Plan Rows": 9176,
                        "Plan Width": 8,
                        "Actual Startup Time": 19.267,
                        "Actual Total Time": 19.27,
                        "Actual Rows": 9176,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Hash Buckets": 16384,
                        "Original Hash Buckets": 16384,
                        "Hash Batches": 1,
                        "Original Hash Batches": 1,
                        "Peak Memory Usage": 351,
                        "Shared Hit Blocks": 65,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0,
                        "Plans": [
                          {
                            "Node Type": "Seq Scan",
                            "Parent Relationship": "Outer",
                            "Parallel Aware": false,
                            "Async Capable": false,
                            "Relation Name": "orders_2026_10",
                            "Alias": "o",
                            "Startup Cost": 0,
                            "Total Cost": 243.43,
                            "Plan Rows": 9176,
                            "Plan Width": 8,
                            "Actual Startup Time": 0.031,
                            "Actual Total Time": 10.187,
                            "Actual Rows": 9176,
                            "Actual Loops": 1,
                            "Disabled": false,
                            "Filter": "((placed_at >= '2026-10-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2026-11-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                            "Rows Removed by Filter": 1020,
                            "Shared Hit Blocks": 65,
                            "Shared Read Blocks": 0,
                            "Shared Dirtied Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Dirtied Blocks": 0,
                            "Local Written Blocks": 0,
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "Planning": {
            "Shared Hit Blocks": 25,
            "Shared Read Blocks": 0,
            "Shared Dirtied Blocks": 0,
            "Shared Written Blocks": 0,
            "Local Hit Blocks": 0,
            "Local Read Blocks": 0,
            "Local Dirtied Blocks": 0,
            "Local Written Blocks": 0,
            "Temp Read Blocks": 0,
            "Temp Written Blocks": 0
          },
          "Planning Time": 10.958,
          "Triggers": [],
          "Execution Time": 1168.227
        }
      ]
    },
    {
      "label": "year_report",
      "relations": [
        {
          "relation": "order_items",
          "type": "Seq Scan",
          "rows": 360005,
          "loops": 1
        },
        {
          "relation": "orders_2026_01",
          "type": "Seq Scan",
          "rows": 1020,
          "loops": 1,
          "rejected": 9171
        },
        {
          "relation": "orders_2026_02",
          "type": "Seq Scan",
          "rows": 919,
          "loops": 1,
          "rejected": 8286
        },
        {
          "relation": "orders_2026_03",
          "type": "Seq Scan",
          "rows": 1018,
          "loops": 1,
          "rejected": 9174
        },
        {
          "relation": "orders_2026_04",
          "type": "Seq Scan",
          "rows": 989,
          "loops": 1,
          "rejected": 8874
        },
        {
          "relation": "orders_2026_05",
          "type": "Seq Scan",
          "rows": 1017,
          "loops": 1,
          "rejected": 9175
        },
        {
          "relation": "orders_2026_06",
          "type": "Seq Scan",
          "rows": 989,
          "loops": 1,
          "rejected": 8873
        },
        {
          "relation": "orders_2026_07",
          "type": "Seq Scan",
          "rows": 1019,
          "loops": 1,
          "rejected": 9172
        },
        {
          "relation": "orders_2026_08",
          "type": "Seq Scan",
          "rows": 1018,
          "loops": 1,
          "rejected": 9174
        },
        {
          "relation": "orders_2026_09",
          "type": "Seq Scan",
          "rows": 988,
          "loops": 1,
          "rejected": 8876
        },
        {
          "relation": "orders_2026_10",
          "type": "Seq Scan",
          "rows": 9176,
          "loops": 1,
          "rejected": 1020
        },
        {
          "relation": "orders_2026_11",
          "type": "Seq Scan",
          "rows": 987,
          "loops": 1,
          "rejected": 8876
        },
        {
          "relation": "orders_2026_12",
          "type": "Seq Scan",
          "rows": 1018,
          "loops": 1,
          "rejected": 9174
        }
      ],
      "plan": [
        {
          "Plan": {
            "Node Type": "Sort",
            "Parallel Aware": false,
            "Async Capable": false,
            "Startup Cost": 11734.68,
            "Total Cost": 11737.18,
            "Plan Rows": 1000,
            "Plan Width": 36,
            "Actual Startup Time": 1675.035,
            "Actual Total Time": 1675.907,
            "Actual Rows": 1002,
            "Actual Loops": 1,
            "Disabled": false,
            "Sort Key": [
              "(sum(((i.quantity)::numeric * i.unit_price))) DESC",
              "o.customer_id"
            ],
            "Sort Method": "quicksort",
            "Sort Space Used": 48,
            "Sort Space Type": "Memory",
            "Shared Hit Blocks": 3060,
            "Shared Read Blocks": 0,
            "Shared Dirtied Blocks": 0,
            "Shared Written Blocks": 0,
            "Local Hit Blocks": 0,
            "Local Read Blocks": 0,
            "Local Dirtied Blocks": 0,
            "Local Written Blocks": 0,
            "Temp Read Blocks": 0,
            "Temp Written Blocks": 0,
            "Plans": [
              {
                "Node Type": "Aggregate",
                "Strategy": "Hashed",
                "Partial Mode": "Simple",
                "Parent Relationship": "Outer",
                "Parallel Aware": false,
                "Async Capable": false,
                "Startup Cost": 11672.35,
                "Total Cost": 11684.85,
                "Plan Rows": 1000,
                "Plan Width": 36,
                "Actual Startup Time": 1587.575,
                "Actual Total Time": 1589.57,
                "Actual Rows": 1002,
                "Actual Loops": 1,
                "Disabled": false,
                "Group Key": [
                  "o.customer_id"
                ],
                "Planned Partitions": 0,
                "HashAgg Batches": 1,
                "Peak Memory Usage": 329,
                "Disk Usage": 0,
                "Shared Hit Blocks": 3060,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0,
                "Plans": [
                  {
                    "Node Type": "Hash Join",
                    "Parent Relationship": "Outer",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Join Type": "Inner",
                    "Startup Cost": 3218.82,
                    "Total Cost": 11067.62,
                    "Plan Rows": 60473,
                    "Plan Width": 13,
                    "Actual Startup Time": 197.354,
                    "Actual Total Time": 1404.598,
                    "Actual Rows": 60471,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Inner Unique": false,
                    "Hash Cond": "(i.order_id = o.order_id)",
                    "Shared Hit Blocks": 3060,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0,
                    "Plans": [
                      {
                        "Node Type": "Seq Scan",
                        "Parent Relationship": "Outer",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Relation Name": "order_items",
                        "Alias": "i",
                        "Startup Cost": 0,
                        "Total Cost": 5894.05,
                        "Plan Rows": 360005,
                        "Plan Width": 13,
                        "Actual Startup Time": 0.051,
                        "Actual Total Time": 545.142,
                        "Actual Rows": 360005,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Shared Hit Blocks": 2294,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0
                      },
                      {
                        "Node Type": "Hash",
                        "Parent Relationship": "Inner",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Startup Cost": 2966.84,
                        "Total Cost": 2966.84,
                        "Plan Rows": 20158,
                        "Plan Width": 8,
                        "Actual Startup Time": 197.28,
                        "Actual Total Time": 197.305,
                        "Actual Rows": 20158,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Hash Buckets": 32768,
                        "Original Hash Buckets": 32768,
                        "Hash Batches": 1,
                        "Original Hash Batches": 1,
                        "Peak Memory Usage": 758,
                        "Shared Hit Blocks": 766,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0,
                        "Plans": [
                          {
                            "Node Type": "Append",
                            "Parent Relationship": "Outer",
                            "Parallel Aware": false,
                            "Async Capable": false,
                            "Startup Cost": 0,
                            "Total Cost": 2966.84,
                            "Plan Rows": 20158,
                            "Plan Width": 8,
                            "Actual Startup Time": 0.036,
                            "Actual Total Time": 155.732,
                            "Actual Rows": 20158,
                            "Actual Loops": 1,
                            "Disabled": false,
                            "Shared Hit Blocks": 766,
                            "Shared Read Blocks": 0,
                            "Shared Dirtied Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Dirtied Blocks": 0,
                            "Local Written Blocks": 0,
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0,
                            "Subplans Removed": 0,
                            "Plans": [
                              {
                                "Node Type": "Seq Scan",
                                "Parent Relationship": "Member",
                                "Parallel Aware": false,
                                "Async Capable": false,
                                "Relation Name": "orders_2026_01",
                                "Alias": "o_1",
                                "Startup Cost": 0,
                                "Total Cost": 243.34,
                                "Plan Rows": 1020,
                                "Plan Width": 8,
                                "Actual Startup Time": 0.032,
                                "Actual Total Time": 4.98,
                                "Actual Rows": 1020,
                                "Actual Loops": 1,
                                "Disabled": false,
                                "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                "Rows Removed by Filter": 9171,
                                "Shared Hit Blocks": 65,
                                "Shared Read Blocks": 0,
                                "Shared Dirtied Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Dirtied Blocks": 0,
                                "Local Written Blocks": 0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0
                              },
                              {
                                "Node Type": "Seq Scan",
                                "Parent Relationship": "Member",
                                "Parallel Aware": false,
                                "Async Capable": false,
                                "Relation Name": "orders_2026_02",
                                "Alias": "o_2",
                                "Startup Cost": 0,
                                "Total Cost": 220.09,
                                "Plan Rows": 919,
                                "Plan Width": 8,
                                "Actual Startup Time": 0.052,
                                "Actual Total Time": 5.696,
                                "Actual Rows": 919,
                                "Actual Loops": 1,
                                "Disabled": false,
                                "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                "Rows Removed by Filter": 8286,
                                "Shared Hit Blocks": 59,
                                "Shared Read Blocks": 0,
                                "Shared Dirtied Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Dirtied Blocks": 0,
                                "Local Written Blocks": 0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0
                              },
                              {
                                "Node Type": "Seq Scan",
                                "Parent Relationship": "Member",
                                "Parallel Aware": false,
                                "Async Capable": false,
                                "Relation Name": "orders_2026_03",
                                "Alias": "o_3",
                                "Startup Cost": 0,
                                "Total Cost": 243.36,
                                "Plan Rows": 1018,
                                "Plan Width": 8,
                                "Actual Startup Time": 0.042,
                                "Actual Total Time": 4.995,
                                "Actual Rows": 1018,
                                "Actual Loops": 1,
                                "Disabled": false,
                                "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                "Rows Removed by Filter": 9174,
                                "Shared Hit Blocks": 65,
                                "Shared Read Blocks": 0,
                                "Shared Dirtied Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Dirtied Blocks": 0,
                                "Local Written Blocks": 0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0
                              },
                              {
                                "Node Type": "Seq Scan",
                                "Parent Relationship": "Member",
                                "Parallel Aware": false,
                                "Async Capable": false,
                                "Relation Name": "orders_2026_04",
                                "Alias": "o_4",
                                "Startup Cost": 0,
                                "Total Cost": 235.6,
                                "Plan Rows": 989,
                                "Plan Width": 8,
                                "Actual Startup Time": 0.056,
                                "Actual Total Time": 16.041,
                                "Actual Rows": 989,
                                "Actual Loops": 1,
                                "Disabled": false,
                                "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                "Rows Removed by Filter": 8874,
                                "Shared Hit Blocks": 63,
                                "Shared Read Blocks": 0,
                                "Shared Dirtied Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Dirtied Blocks": 0,
                                "Local Written Blocks": 0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0
                              },
                              {
                                "Node Type": "Seq Scan",
                                "Parent Relationship": "Member",
                                "Parallel Aware": false,
                                "Async Capable": false,
                                "Relation Name": "orders_2026_05",
                                "Alias": "o_5",
                                "Startup Cost": 0,
                                "Total Cost": 243.36,
                                "Plan Rows": 1017,
                                "Plan Width": 8,
                                "Actual Startup Time": 0.066,
                                "Actual Total Time": 6.351,
                                "Actual Rows": 1017,
                                "Actual Loops": 1,
                                "Disabled": false,
                                "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                "Rows Removed by Filter": 9175,
                                "Shared Hit Blocks": 65,
                                "Shared Read Blocks": 0,
                                "Shared Dirtied Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Dirtied Blocks": 0,
                                "Local Written Blocks": 0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0
                              },
                              {
                                "Node Type": "Seq Scan",
                                "Parent Relationship": "Member",
                                "Parallel Aware": false,
                                "Async Capable": false,
                                "Relation Name": "orders_2026_06",
                                "Alias": "o_6",
                                "Startup Cost": 0,
                                "Total Cost": 235.59,
                                "Plan Rows": 989,
                                "Plan Width": 8,
                                "Actual Startup Time": 0.072,
                                "Actual Total Time": 37.134,
                                "Actual Rows": 989,
                                "Actual Loops": 1,
                                "Disabled": false,
                                "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                "Rows Removed by Filter": 8873,
                                "Shared Hit Blocks": 63,
                                "Shared Read Blocks": 0,
                                "Shared Dirtied Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Dirtied Blocks": 0,
                                "Local Written Blocks": 0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0
                              },
                              {
                                "Node Type": "Seq Scan",
                                "Parent Relationship": "Member",
                                "Parallel Aware": false,
                                "Async Capable": false,
                                "Relation Name": "orders_2026_07",
                                "Alias": "o_7",
                                "Startup Cost": 0,
                                "Total Cost": 243.34,
                                "Plan Rows": 1019,
                                "Plan Width": 8,
                                "Actual Startup Time": 0.076,
                                "Actual Total Time": 5.819,
                                "Actual Rows": 1019,
                                "Actual Loops": 1,
                                "Disabled": false,
                                "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                "Rows Removed by Filter": 9172,
                                "Shared Hit Blocks": 65,
                                "Shared Read Blocks": 0,
                                "Shared Dirtied Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Dirtied Blocks": 0,
                                "Local Written Blocks": 0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0
                              },
                              {
                                "Node Type": "Seq Scan",
                                "Parent Relationship": "Member",
                                "Parallel Aware": false,
                                "Async Capable": false,
                                "Relation Name": "orders_2026_08",
                                "Alias": "o_8",
                                "Startup Cost": 0,
                                "Total Cost": 243.36,
                                "Plan Rows": 1018,
                                "Plan Width": 8,
                                "Actual Startup Time": 0.155,
                                "Actual Total Time": 5.336,
                                "Actual Rows": 1018,
                                "Actual Loops": 1,
                                "Disabled": false,
                                "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                "Rows Removed by Filter": 9174,
                                "Shared Hit Blocks": 65,
                                "Shared Read Blocks": 0,
                                "Shared Dirtied Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Dirtied Blocks": 0,
                                "Local Written Blocks": 0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0
                              },
                              {
                                "Node Type": "Seq Scan",
                                "Parent Relationship": "Member",
                                "Parallel Aware": false,
                                "Async Capable": false,
                                "Relation Name": "orders_2026_09",
                                "Alias": "o_9",
                                "Startup Cost": 0,
                                "Total Cost": 235.62,
                                "Plan Rows": 988,
                                "Plan Width": 8,
                                "Actual Startup Time": 0.076,
                                "Actual Total Time": 5.591,
                                "Actual Rows": 988,
                                "Actual Loops": 1,
                                "Disabled": false,
                                "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                "Rows Removed by Filter": 8876,
                                "Shared Hit Blocks": 63,
                                "Shared Read Blocks": 0,
                                "Shared Dirtied Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Dirtied Blocks": 0,
                                "Local Written Blocks": 0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0
                              },
                              {
                                "Node Type": "Seq Scan",
                                "Parent Relationship": "Member",
                                "Parallel Aware": false,
                                "Async Capable": false,
                                "Relation Name": "orders_2026_10",
                                "Alias": "o_10",
                                "Startup Cost": 0,
                                "Total Cost": 243.43,
                                "Plan Rows": 9176,
                                "Plan Width": 8,
                                "Actual Startup Time": 0.048,
                                "Actual Total Time": 12.001,
                                "Actual Rows": 9176,
                                "Actual Loops": 1,
                                "Disabled": false,
                                "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                "Rows Removed by Filter": 1020,
                                "Shared Hit Blocks": 65,
                                "Shared Read Blocks": 0,
                                "Shared Dirtied Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Dirtied Blocks": 0,
                                "Local Written Blocks": 0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0
                              },
                              {
                                "Node Type": "Seq Scan",
                                "Parent Relationship": "Member",
                                "Parallel Aware": false,
                                "Async Capable": false,
                                "Relation Name": "orders_2026_11",
                                "Alias": "o_11",
                                "Startup Cost": 0,
                                "Total Cost": 235.6,
                                "Plan Rows": 987,
                                "Plan Width": 8,
                                "Actual Startup Time": 0.077,
                                "Actual Total Time": 7.196,
                                "Actual Rows": 987,
                                "Actual Loops": 1,
                                "Disabled": false,
                                "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                "Rows Removed by Filter": 8876,
                                "Shared Hit Blocks": 63,
                                "Shared Read Blocks": 0,
                                "Shared Dirtied Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Dirtied Blocks": 0,
                                "Local Written Blocks": 0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0
                              },
                              {
                                "Node Type": "Seq Scan",
                                "Parent Relationship": "Member",
                                "Parallel Aware": false,
                                "Async Capable": false,
                                "Relation Name": "orders_2026_12",
                                "Alias": "o_12",
                                "Startup Cost": 0,
                                "Total Cost": 243.36,
                                "Plan Rows": 1018,
                                "Plan Width": 8,
                                "Actual Startup Time": 0.07,
                                "Actual Total Time": 9.259,
                                "Actual Rows": 1018,
                                "Actual Loops": 1,
                                "Disabled": false,
                                "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                "Rows Removed by Filter": 9174,
                                "Shared Hit Blocks": 65,
                                "Shared Read Blocks": 0,
                                "Shared Dirtied Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Dirtied Blocks": 0,
                                "Local Written Blocks": 0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "Planning": {
            "Shared Hit Blocks": 8,
            "Shared Read Blocks": 0,
            "Shared Dirtied Blocks": 0,
            "Shared Written Blocks": 0,
            "Local Hit Blocks": 0,
            "Local Read Blocks": 0,
            "Local Dirtied Blocks": 0,
            "Local Written Blocks": 0,
            "Temp Read Blocks": 0,
            "Temp Written Blocks": 0
          },
          "Planning Time": 3.321,
          "Triggers": [],
          "Execution Time": 1677.724
        }
      ]
    },
    {
      "label": "id_only",
      "relations": [
        {
          "relation": "orders_2026_01",
          "type": "Index Scan",
          "rows": 0,
          "loops": 1
        },
        {
          "relation": "orders_2026_02",
          "type": "Index Scan",
          "rows": 0,
          "loops": 1
        },
        {
          "relation": "orders_2026_03",
          "type": "Index Scan",
          "rows": 0,
          "loops": 1
        },
        {
          "relation": "orders_2026_04",
          "type": "Index Scan",
          "rows": 0,
          "loops": 1
        },
        {
          "relation": "orders_2026_05",
          "type": "Index Scan",
          "rows": 0,
          "loops": 1
        },
        {
          "relation": "orders_2026_06",
          "type": "Index Scan",
          "rows": 0,
          "loops": 1
        },
        {
          "relation": "orders_2026_07",
          "type": "Index Scan",
          "rows": 0,
          "loops": 1
        },
        {
          "relation": "orders_2026_08",
          "type": "Index Scan",
          "rows": 0,
          "loops": 1
        },
        {
          "relation": "orders_2026_09",
          "type": "Index Scan",
          "rows": 0,
          "loops": 1
        },
        {
          "relation": "orders_2026_10",
          "type": "Index Scan",
          "rows": 1,
          "loops": 1
        },
        {
          "relation": "orders_2026_11",
          "type": "Index Scan",
          "rows": 0,
          "loops": 1
        },
        {
          "relation": "orders_2026_12",
          "type": "Index Scan",
          "rows": 0,
          "loops": 1
        }
      ],
      "plan": [
        {
          "Plan": {
            "Node Type": "Append",
            "Parallel Aware": false,
            "Async Capable": false,
            "Startup Cost": 0.29,
            "Total Cost": 99.69,
            "Plan Rows": 12,
            "Plan Width": 23,
            "Actual Startup Time": 0.201,
            "Actual Total Time": 0.243,
            "Actual Rows": 1,
            "Actual Loops": 1,
            "Disabled": false,
            "Shared Hit Blocks": 25,
            "Shared Read Blocks": 0,
            "Shared Dirtied Blocks": 0,
            "Shared Written Blocks": 0,
            "Local Hit Blocks": 0,
            "Local Read Blocks": 0,
            "Local Dirtied Blocks": 0,
            "Local Written Blocks": 0,
            "Temp Read Blocks": 0,
            "Temp Written Blocks": 0,
            "Subplans Removed": 0,
            "Plans": [
              {
                "Node Type": "Index Scan",
                "Parent Relationship": "Member",
                "Parallel Aware": false,
                "Async Capable": false,
                "Scan Direction": "Forward",
                "Index Name": "orders_2026_01_pkey",
                "Relation Name": "orders_2026_01",
                "Alias": "orders_monthly_1",
                "Startup Cost": 0.29,
                "Total Cost": 8.3,
                "Plan Rows": 1,
                "Plan Width": 23,
                "Actual Startup Time": 0.05,
                "Actual Total Time": 0.05,
                "Actual Rows": 0,
                "Actual Loops": 1,
                "Disabled": false,
                "Index Cond": "(order_id = 103)",
                "Rows Removed by Index Recheck": 0,
                "Index Searches": 1,
                "Shared Hit Blocks": 2,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              {
                "Node Type": "Index Scan",
                "Parent Relationship": "Member",
                "Parallel Aware": false,
                "Async Capable": false,
                "Scan Direction": "Forward",
                "Index Name": "orders_2026_02_pkey",
                "Relation Name": "orders_2026_02",
                "Alias": "orders_monthly_2",
                "Startup Cost": 0.29,
                "Total Cost": 8.3,
                "Plan Rows": 1,
                "Plan Width": 23,
                "Actual Startup Time": 0.015,
                "Actual Total Time": 0.015,
                "Actual Rows": 0,
                "Actual Loops": 1,
                "Disabled": false,
                "Index Cond": "(order_id = 103)",
                "Rows Removed by Index Recheck": 0,
                "Index Searches": 1,
                "Shared Hit Blocks": 2,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              {
                "Node Type": "Index Scan",
                "Parent Relationship": "Member",
                "Parallel Aware": false,
                "Async Capable": false,
                "Scan Direction": "Forward",
                "Index Name": "orders_2026_03_pkey",
                "Relation Name": "orders_2026_03",
                "Alias": "orders_monthly_3",
                "Startup Cost": 0.29,
                "Total Cost": 8.3,
                "Plan Rows": 1,
                "Plan Width": 23,
                "Actual Startup Time": 0.012,
                "Actual Total Time": 0.013,
                "Actual Rows": 0,
                "Actual Loops": 1,
                "Disabled": false,
                "Index Cond": "(order_id = 103)",
                "Rows Removed by Index Recheck": 0,
                "Index Searches": 1,
                "Shared Hit Blocks": 2,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              {
                "Node Type": "Index Scan",
                "Parent Relationship": "Member",
                "Parallel Aware": false,
                "Async Capable": false,
                "Scan Direction": "Forward",
                "Index Name": "orders_2026_04_pkey",
                "Relation Name": "orders_2026_04",
                "Alias": "orders_monthly_4",
                "Startup Cost": 0.29,
                "Total Cost": 8.3,
                "Plan Rows": 1,
                "Plan Width": 23,
                "Actual Startup Time": 0.012,
                "Actual Total Time": 0.013,
                "Actual Rows": 0,
                "Actual Loops": 1,
                "Disabled": false,
                "Index Cond": "(order_id = 103)",
                "Rows Removed by Index Recheck": 0,
                "Index Searches": 1,
                "Shared Hit Blocks": 2,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              {
                "Node Type": "Index Scan",
                "Parent Relationship": "Member",
                "Parallel Aware": false,
                "Async Capable": false,
                "Scan Direction": "Forward",
                "Index Name": "orders_2026_05_pkey",
                "Relation Name": "orders_2026_05",
                "Alias": "orders_monthly_5",
                "Startup Cost": 0.29,
                "Total Cost": 8.3,
                "Plan Rows": 1,
                "Plan Width": 23,
                "Actual Startup Time": 0.012,
                "Actual Total Time": 0.012,
                "Actual Rows": 0,
                "Actual Loops": 1,
                "Disabled": false,
                "Index Cond": "(order_id = 103)",
                "Rows Removed by Index Recheck": 0,
                "Index Searches": 1,
                "Shared Hit Blocks": 2,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              {
                "Node Type": "Index Scan",
                "Parent Relationship": "Member",
                "Parallel Aware": false,
                "Async Capable": false,
                "Scan Direction": "Forward",
                "Index Name": "orders_2026_06_pkey",
                "Relation Name": "orders_2026_06",
                "Alias": "orders_monthly_6",
                "Startup Cost": 0.29,
                "Total Cost": 8.3,
                "Plan Rows": 1,
                "Plan Width": 23,
                "Actual Startup Time": 0.012,
                "Actual Total Time": 0.013,
                "Actual Rows": 0,
                "Actual Loops": 1,
                "Disabled": false,
                "Index Cond": "(order_id = 103)",
                "Rows Removed by Index Recheck": 0,
                "Index Searches": 1,
                "Shared Hit Blocks": 2,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              {
                "Node Type": "Index Scan",
                "Parent Relationship": "Member",
                "Parallel Aware": false,
                "Async Capable": false,
                "Scan Direction": "Forward",
                "Index Name": "orders_2026_07_pkey",
                "Relation Name": "orders_2026_07",
                "Alias": "orders_monthly_7",
                "Startup Cost": 0.29,
                "Total Cost": 8.3,
                "Plan Rows": 1,
                "Plan Width": 23,
                "Actual Startup Time": 0.011,
                "Actual Total Time": 0.012,
                "Actual Rows": 0,
                "Actual Loops": 1,
                "Disabled": false,
                "Index Cond": "(order_id = 103)",
                "Rows Removed by Index Recheck": 0,
                "Index Searches": 1,
                "Shared Hit Blocks": 2,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              {
                "Node Type": "Index Scan",
                "Parent Relationship": "Member",
                "Parallel Aware": false,
                "Async Capable": false,
                "Scan Direction": "Forward",
                "Index Name": "orders_2026_08_pkey",
                "Relation Name": "orders_2026_08",
                "Alias": "orders_monthly_8",
                "Startup Cost": 0.29,
                "Total Cost": 8.3,
                "Plan Rows": 1,
                "Plan Width": 23,
                "Actual Startup Time": 0.012,
                "Actual Total Time": 0.013,
                "Actual Rows": 0,
                "Actual Loops": 1,
                "Disabled": false,
                "Index Cond": "(order_id = 103)",
                "Rows Removed by Index Recheck": 0,
                "Index Searches": 1,
                "Shared Hit Blocks": 2,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              {
                "Node Type": "Index Scan",
                "Parent Relationship": "Member",
                "Parallel Aware": false,
                "Async Capable": false,
                "Scan Direction": "Forward",
                "Index Name": "orders_2026_09_pkey",
                "Relation Name": "orders_2026_09",
                "Alias": "orders_monthly_9",
                "Startup Cost": 0.29,
                "Total Cost": 8.3,
                "Plan Rows": 1,
                "Plan Width": 23,
                "Actual Startup Time": 0.011,
                "Actual Total Time": 0.012,
                "Actual Rows": 0,
                "Actual Loops": 1,
                "Disabled": false,
                "Index Cond": "(order_id = 103)",
                "Rows Removed by Index Recheck": 0,
                "Index Searches": 1,
                "Shared Hit Blocks": 2,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              {
                "Node Type": "Index Scan",
                "Parent Relationship": "Member",
                "Parallel Aware": false,
                "Async Capable": false,
                "Scan Direction": "Forward",
                "Index Name": "orders_2026_10_pkey",
                "Relation Name": "orders_2026_10",
                "Alias": "orders_monthly_10",
                "Startup Cost": 0.29,
                "Total Cost": 8.3,
                "Plan Rows": 1,
                "Plan Width": 21,
                "Actual Startup Time": 0.022,
                "Actual Total Time": 0.025,
                "Actual Rows": 1,
                "Actual Loops": 1,
                "Disabled": false,
                "Index Cond": "(order_id = 103)",
                "Rows Removed by Index Recheck": 0,
                "Index Searches": 1,
                "Shared Hit Blocks": 3,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              {
                "Node Type": "Index Scan",
                "Parent Relationship": "Member",
                "Parallel Aware": false,
                "Async Capable": false,
                "Scan Direction": "Forward",
                "Index Name": "orders_2026_11_pkey",
                "Relation Name": "orders_2026_11",
                "Alias": "orders_monthly_11",
                "Startup Cost": 0.29,
                "Total Cost": 8.3,
                "Plan Rows": 1,
                "Plan Width": 23,
                "Actual Startup Time": 0.011,
                "Actual Total Time": 0.012,
                "Actual Rows": 0,
                "Actual Loops": 1,
                "Disabled": false,
                "Index Cond": "(order_id = 103)",
                "Rows Removed by Index Recheck": 0,
                "Index Searches": 1,
                "Shared Hit Blocks": 2,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              {
                "Node Type": "Index Scan",
                "Parent Relationship": "Member",
                "Parallel Aware": false,
                "Async Capable": false,
                "Scan Direction": "Forward",
                "Index Name": "orders_2026_12_pkey",
                "Relation Name": "orders_2026_12",
                "Alias": "orders_monthly_12",
                "Startup Cost": 0.29,
                "Total Cost": 8.3,
                "Plan Rows": 1,
                "Plan Width": 23,
                "Actual Startup Time": 0.012,
                "Actual Total Time": 0.013,
                "Actual Rows": 0,
                "Actual Loops": 1,
                "Disabled": false,
                "Index Cond": "(order_id = 103)",
                "Rows Removed by Index Recheck": 0,
                "Index Searches": 1,
                "Shared Hit Blocks": 2,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              }
            ]
          },
          "Planning": {
            "Shared Hit Blocks": 0,
            "Shared Read Blocks": 0,
            "Shared Dirtied Blocks": 0,
            "Shared Written Blocks": 0,
            "Local Hit Blocks": 0,
            "Local Read Blocks": 0,
            "Local Dirtied Blocks": 0,
            "Local Written Blocks": 0,
            "Temp Read Blocks": 0,
            "Temp Written Blocks": 0
          },
          "Planning Time": 1.544,
          "Triggers": [],
          "Execution Time": 0.404
        }
      ]
    },
    {
      "label": "transformed_month",
      "relations": [
        {
          "relation": "orders_2026_01",
          "type": "Seq Scan",
          "rows": 0,
          "loops": 1,
          "rejected": 10191
        },
        {
          "relation": "orders_2026_02",
          "type": "Seq Scan",
          "rows": 0,
          "loops": 1,
          "rejected": 9205
        },
        {
          "relation": "orders_2026_03",
          "type": "Seq Scan",
          "rows": 0,
          "loops": 1,
          "rejected": 10192
        },
        {
          "relation": "orders_2026_04",
          "type": "Seq Scan",
          "rows": 0,
          "loops": 1,
          "rejected": 9863
        },
        {
          "relation": "orders_2026_05",
          "type": "Seq Scan",
          "rows": 0,
          "loops": 1,
          "rejected": 10192
        },
        {
          "relation": "orders_2026_06",
          "type": "Seq Scan",
          "rows": 0,
          "loops": 1,
          "rejected": 9862
        },
        {
          "relation": "orders_2026_07",
          "type": "Seq Scan",
          "rows": 0,
          "loops": 1,
          "rejected": 10191
        },
        {
          "relation": "orders_2026_08",
          "type": "Seq Scan",
          "rows": 0,
          "loops": 1,
          "rejected": 10192
        },
        {
          "relation": "orders_2026_09",
          "type": "Seq Scan",
          "rows": 0,
          "loops": 1,
          "rejected": 9864
        },
        {
          "relation": "orders_2026_10",
          "type": "Seq Scan",
          "rows": 10196,
          "loops": 1,
          "rejected": 0
        },
        {
          "relation": "orders_2026_11",
          "type": "Seq Scan",
          "rows": 0,
          "loops": 1,
          "rejected": 9863
        },
        {
          "relation": "orders_2026_12",
          "type": "Seq Scan",
          "rows": 0,
          "loops": 1,
          "rejected": 10192
        }
      ],
      "plan": [
        {
          "Plan": {
            "Node Type": "Aggregate",
            "Strategy": "Plain",
            "Partial Mode": "Simple",
            "Parallel Aware": false,
            "Async Capable": false,
            "Startup Cost": 3766.17,
            "Total Cost": 3766.18,
            "Plan Rows": 1,
            "Plan Width": 8,
            "Actual Startup Time": 894.483,
            "Actual Total Time": 894.508,
            "Actual Rows": 1,
            "Actual Loops": 1,
            "Disabled": false,
            "Shared Hit Blocks": 766,
            "Shared Read Blocks": 0,
            "Shared Dirtied Blocks": 0,
            "Shared Written Blocks": 0,
            "Local Hit Blocks": 0,
            "Local Read Blocks": 0,
            "Local Dirtied Blocks": 0,
            "Local Written Blocks": 0,
            "Temp Read Blocks": 0,
            "Temp Written Blocks": 0,
            "Plans": [
              {
                "Node Type": "Append",
                "Parent Relationship": "Outer",
                "Parallel Aware": false,
                "Async Capable": false,
                "Startup Cost": 0,
                "Total Cost": 3766.14,
                "Plan Rows": 12,
                "Plan Width": 0,
                "Actual Startup Time": 780.144,
                "Actual Total Time": 887.652,
                "Actual Rows": 10196,
                "Actual Loops": 1,
                "Disabled": false,
                "Shared Hit Blocks": 766,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0,
                "Subplans Removed": 0,
                "Plans": [
                  {
                    "Node Type": "Seq Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Relation Name": "orders_2026_01",
                    "Alias": "orders_monthly_1",
                    "Startup Cost": 0,
                    "Total Cost": 319.77,
                    "Plan Rows": 1,
                    "Plan Width": 0,
                    "Actual Startup Time": 90.009,
                    "Actual Total Time": 90.009,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                    "Rows Removed by Filter": 10191,
                    "Shared Hit Blocks": 65,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Seq Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Relation Name": "orders_2026_02",
                    "Alias": "orders_monthly_2",
                    "Startup Cost": 0,
                    "Total Cost": 289.12,
                    "Plan Rows": 1,
                    "Plan Width": 0,
                    "Actual Startup Time": 64.574,
                    "Actual Total Time": 64.575,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                    "Rows Removed by Filter": 9205,
                    "Shared Hit Blocks": 59,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Seq Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Relation Name": "orders_2026_03",
                    "Alias": "orders_monthly_3",
                    "Startup Cost": 0,
                    "Total Cost": 319.8,
                    "Plan Rows": 1,
                    "Plan Width": 0,
                    "Actual Startup Time": 254.339,
                    "Actual Total Time": 254.339,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                    "Rows Removed by Filter": 10192,
                    "Shared Hit Blocks": 65,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Seq Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Relation Name": "orders_2026_04",
                    "Alias": "orders_monthly_4",
                    "Startup Cost": 0,
                    "Total Cost": 309.58,
                    "Plan Rows": 1,
                    "Plan Width": 0,
                    "Actual Startup Time": 95.046,
                    "Actual Total Time": 95.047,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                    "Rows Removed by Filter": 9863,
                    "Shared Hit Blocks": 63,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Seq Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Relation Name": "orders_2026_05",
                    "Alias": "orders_monthly_5",
                    "Startup Cost": 0,
                    "Total Cost": 319.8,
                    "Plan Rows": 1,
                    "Plan Width": 0,
                    "Actual Startup Time": 67.595,
                    "Actual Total Time": 67.596,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                    "Rows Removed by Filter": 10192,
                    "Shared Hit Blocks": 65,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Seq Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Relation Name": "orders_2026_06",
                    "Alias": "orders_monthly_6",
                    "Startup Cost": 0,
                    "Total Cost": 309.55,
                    "Plan Rows": 1,
                    "Plan Width": 0,
                    "Actual Startup Time": 30.667,
                    "Actual Total Time": 30.668,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                    "Rows Removed by Filter": 9862,
                    "Shared Hit Blocks": 63,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Seq Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Relation Name": "orders_2026_07",
                    "Alias": "orders_monthly_7",
                    "Startup Cost": 0,
                    "Total Cost": 319.77,
                    "Plan Rows": 1,
                    "Plan Width": 0,
                    "Actual Startup Time": 111.42,
                    "Actual Total Time": 111.421,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                    "Rows Removed by Filter": 10191,
                    "Shared Hit Blocks": 65,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Seq Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Relation Name": "orders_2026_08",
                    "Alias": "orders_monthly_8",
                    "Startup Cost": 0,
                    "Total Cost": 319.8,
                    "Plan Rows": 1,
                    "Plan Width": 0,
                    "Actual Startup Time": 24.842,
                    "Actual Total Time": 24.843,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                    "Rows Removed by Filter": 10192,
                    "Shared Hit Blocks": 65,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Seq Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Relation Name": "orders_2026_09",
                    "Alias": "orders_monthly_9",
                    "Startup Cost": 0,
                    "Total Cost": 309.6,
                    "Plan Rows": 1,
                    "Plan Width": 0,
                    "Actual Startup Time": 29.653,
                    "Actual Total Time": 29.653,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                    "Rows Removed by Filter": 9864,
                    "Shared Hit Blocks": 63,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Seq Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Relation Name": "orders_2026_10",
                    "Alias": "orders_monthly_10",
                    "Startup Cost": 0,
                    "Total Cost": 319.9,
                    "Plan Rows": 1,
                    "Plan Width": 0,
                    "Actual Startup Time": 0.054,
                    "Actual Total Time": 44.871,
                    "Actual Rows": 10196,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                    "Rows Removed by Filter": 0,
                    "Shared Hit Blocks": 65,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Seq Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Relation Name": "orders_2026_11",
                    "Alias": "orders_monthly_11",
                    "Startup Cost": 0,
                    "Total Cost": 309.58,
                    "Plan Rows": 1,
                    "Plan Width": 0,
                    "Actual Startup Time": 20.139,
                    "Actual Total Time": 20.14,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                    "Rows Removed by Filter": 9863,
                    "Shared Hit Blocks": 63,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Seq Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Relation Name": "orders_2026_12",
                    "Alias": "orders_monthly_12",
                    "Startup Cost": 0,
                    "Total Cost": 319.8,
                    "Plan Rows": 1,
                    "Plan Width": 0,
                    "Actual Startup Time": 21.741,
                    "Actual Total Time": 21.742,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                    "Rows Removed by Filter": 10192,
                    "Shared Hit Blocks": 65,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  }
                ]
              }
            ]
          },
          "Planning": {
            "Shared Hit Blocks": 0,
            "Shared Read Blocks": 0,
            "Shared Dirtied Blocks": 0,
            "Shared Written Blocks": 0,
            "Local Hit Blocks": 0,
            "Local Read Blocks": 0,
            "Local Dirtied Blocks": 0,
            "Local Written Blocks": 0,
            "Temp Read Blocks": 0,
            "Temp Written Blocks": 0
          },
          "Planning Time": 1.699,
          "Triggers": [],
          "Execution Time": 894.698
        }
      ]
    },
    {
      "label": "parameterised_october",
      "relations": [
        {
          "relation": "orders_2026_10",
          "type": "Seq Scan",
          "rows": 10196,
          "loops": 1,
          "rejected": 0
        }
      ],
      "plan": [
        {
          "Plan": {
            "Node Type": "Aggregate",
            "Strategy": "Plain",
            "Partial Mode": "Simple",
            "Parallel Aware": false,
            "Async Capable": false,
            "Startup Cost": 2570.54,
            "Total Cost": 2570.55,
            "Plan Rows": 1,
            "Plan Width": 8,
            "Actual Startup Time": 54.97,
            "Actual Total Time": 54.976,
            "Actual Rows": 1,
            "Actual Loops": 1,
            "Disabled": false,
            "Shared Hit Blocks": 65,
            "Shared Read Blocks": 0,
            "Shared Dirtied Blocks": 0,
            "Shared Written Blocks": 0,
            "Local Hit Blocks": 0,
            "Local Read Blocks": 0,
            "Local Dirtied Blocks": 0,
            "Local Written Blocks": 0,
            "Temp Read Blocks": 0,
            "Temp Written Blocks": 0,
            "Plans": [
              {
                "Node Type": "Append",
                "Parent Relationship": "Outer",
                "Parallel Aware": false,
                "Async Capable": false,
                "Startup Cost": 0,
                "Total Cost": 2569.04,
                "Plan Rows": 599,
                "Plan Width": 0,
                "Actual Startup Time": 0.045,
                "Actual Total Time": 48.78,
                "Actual Rows": 10196,
                "Actual Loops": 1,
                "Disabled": false,
                "Shared Hit Blocks": 65,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0,
                "Subplans Removed": 11,
                "Plans": [
                  {
                    "Node Type": "Seq Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Relation Name": "orders_2026_10",
                    "Alias": "orders_monthly_1",
                    "Startup Cost": 0,
                    "Total Cost": 217.94,
                    "Plan Rows": 51,
                    "Plan Width": 0,
                    "Actual Startup Time": 0.042,
                    "Actual Total Time": 10.747,
                    "Actual Rows": 10196,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Filter": "((placed_at >= $1) AND (placed_at < $2))",
                    "Rows Removed by Filter": 0,
                    "Shared Hit Blocks": 65,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  }
                ]
              }
            ]
          },
          "Planning": {
            "Shared Hit Blocks": 0,
            "Shared Read Blocks": 0,
            "Shared Dirtied Blocks": 0,
            "Shared Written Blocks": 0,
            "Local Hit Blocks": 0,
            "Local Read Blocks": 0,
            "Local Dirtied Blocks": 0,
            "Local Written Blocks": 0,
            "Temp Read Blocks": 0,
            "Temp Written Blocks": 0
          },
          "Planning Time": 1.485,
          "Triggers": [],
          "Execution Time": 55.392
        }
      ]
    }
  ],
  "output": [
    {
      "rows": [],
      "fields": [],
      "command": "BEGIN",
      "affectedRows": 0
    },
    {
      "rows": [],
      "fields": [],
      "command": "CREATE",
      "affectedRows": 0
    },
    {
      "rows": [],
      "fields": [],
      "command": "SET",
      "affectedRows": 0
    },
    {
      "rows": [],
      "fields": [],
      "command": "SET",
      "affectedRows": 0
    },
    {
      "rows": [],
      "fields": [],
      "command": "CREATE",
      "affectedRows": 0
    },
    {
      "rows": [],
      "fields": [],
      "command": "CREATE",
      "affectedRows": 0
    },
    {
      "rows": [],
      "fields": [],
      "command": "CREATE",
      "affectedRows": 0
    },
    {
      "rows": [],
      "fields": [],
      "command": "CREATE",
      "affectedRows": 0
    },
    {
      "rows": [],
      "fields": [],
      "command": "CREATE",
      "affectedRows": 0
    },
    {
      "rows": [],
      "fields": [],
      "command": "INSERT",
      "affectedRows": 3,
      "rowCount": 3
    },
    {
      "rows": [],
      "fields": [],
      "command": "INSERT",
      "affectedRows": 6,
      "rowCount": 3
    },
    {
      "rows": [],
      "fields": [],
      "command": "INSERT",
      "affectedRows": 9,
      "rowCount": 3
    },
    {
      "rows": [],
      "fields": [],
      "command": "INSERT",
      "affectedRows": 14,
      "rowCount": 5
    },
    {
      "rows": [],
      "fields": [],
      "command": "INSERT",
      "affectedRows": 17,
      "rowCount": 3
    },
    {
      "rows": [],
      "fields": [],
      "command": "INSERT",
      "affectedRows": 1017,
      "rowCount": 1000
    },
    {
      "rows": [],
      "fields": [],
      "command": "INSERT",
      "affectedRows": 121017,
      "rowCount": 120000
    },
    {
      "rows": [],
      "fields": [],
      "command": "INSERT",
      "affectedRows": 481017,
      "rowCount": 360000
    },
    {
      "rows": [],
      "fields": [],
      "command": "ANALYZE",
      "affectedRows": 481017
    },
    {
      "rows": [],
      "fields": [],
      "command": "ANALYZE",
      "affectedRows": 481017
    },
    {
      "rows": [],
      "fields": [],
      "command": "ANALYZE",
      "affectedRows": 481017
    },
    {
      "rows": [],
      "fields": [],
      "command": "CREATE",
      "affectedRows": 481017
    },
    {
      "rows": [],
      "fields": [],
      "command": "DO",
      "affectedRows": 481017
    },
    {
      "rows": [],
      "fields": [],
      "command": "INSERT",
      "affectedRows": 601020,
      "rowCount": 120003
    },
    {
      "rows": [],
      "fields": [],
      "command": "ANALYZE",
      "affectedRows": 601020
    },
    {
      "rows": [
        {
          "check_name": "fixture_counts",
          "ok": true
        }
      ],
      "fields": [
        {
          "name": "check_name",
          "dataTypeID": 25
        },
        {
          "name": "ok",
          "dataTypeID": 16
        }
      ],
      "command": "SELECT",
      "affectedRows": 601020,
      "rowCount": 1
    },
    {
      "rows": [
        {
          "partition": "orders_2026_01",
          "orders": 10191,
          "paid": 1020
        },
        {
          "partition": "orders_2026_02",
          "orders": 9205,
          "paid": 919
        },
        {
          "partition": "orders_2026_03",
          "orders": 10192,
          "paid": 1018
        },
        {
          "partition": "orders_2026_04",
          "orders": 9863,
          "paid": 989
        },
        {
          "partition": "orders_2026_05",
          "orders": 10192,
          "paid": 1017
        },
        {
          "partition": "orders_2026_06",
          "orders": 9862,
          "paid": 989
        },
        {
          "partition": "orders_2026_07",
          "orders": 10191,
          "paid": 1019
        },
        {
          "partition": "orders_2026_08",
          "orders": 10192,
          "paid": 1018
        },
        {
          "partition": "orders_2026_09",
          "orders": 9864,
          "paid": 988
        },
        {
          "partition": "orders_2026_10",
          "orders": 10196,
          "paid": 9176
        },
        {
          "partition": "orders_2026_11",
          "orders": 9863,
          "paid": 987
        },
        {
          "partition": "orders_2026_12",
          "orders": 10192,
          "paid": 1018
        }
      ],
      "fields": [
        {
          "name": "partition",
          "dataTypeID": 25
        },
        {
          "name": "orders",
          "dataTypeID": 20
        },
        {
          "name": "paid",
          "dataTypeID": 20
        }
      ],
      "command": "SELECT",
      "affectedRows": 601020,
      "rowCount": 12
    },
    {
      "rows": [
        {
          "check_name": "copy_rows_equal",
          "ok": true
        }
      ],
      "fields": [
        {
          "name": "check_name",
          "dataTypeID": 25
        },
        {
          "name": "ok",
          "dataTypeID": 16
        }
      ],
      "command": "SELECT",
      "affectedRows": 601020,
      "rowCount": 1
    },
    {
      "rows": [],
      "fields": [],
      "command": "SELECT",
      "affectedRows": 601020,
      "rowCount": 3986
    },
    {
      "rows": [
        {
          "check_name": "report_results_equal",
          "ok": true
        }
      ],
      "fields": [
        {
          "name": "check_name",
          "dataTypeID": 25
        },
        {
          "name": "ok",
          "dataTypeID": 16
        }
      ],
      "command": "SELECT",
      "affectedRows": 601020,
      "rowCount": 1
    },
    {
      "rows": [
        {
          "report_window": "october",
          "customer_groups": 991,
          "total": "545932.50"
        },
        {
          "report_window": "year",
          "customer_groups": 1002,
          "total": "1199361.50"
        }
      ],
      "fields": [
        {
          "name": "report_window",
          "dataTypeID": 25
        },
        {
          "name": "customer_groups",
          "dataTypeID": 20
        },
        {
          "name": "total",
          "dataTypeID": 1700
        }
      ],
      "command": "SELECT",
      "affectedRows": 601020,
      "rowCount": 2
    },
    {
      "rows": [
        {
          "plan_label": "unpartitioned_october_report"
        }
      ],
      "fields": [
        {
          "name": "plan_label",
          "dataTypeID": 25
        }
      ],
      "command": "SELECT",
      "affectedRows": 601020,
      "rowCount": 1
    },
    {
      "rows": [
        {
          "QUERY PLAN": [
            {
              "Plan": {
                "Node Type": "Sort",
                "Parallel Aware": false,
                "Async Capable": false,
                "Startup Cost": 9826.18,
                "Total Cost": 9828.23,
                "Plan Rows": 819,
                "Plan Width": 36,
                "Actual Startup Time": 1178.751,
                "Actual Total Time": 1179.336,
                "Actual Rows": 991,
                "Actual Loops": 1,
                "Disabled": false,
                "Sort Key": [
                  "(sum(((i.quantity)::numeric * i.unit_price))) DESC",
                  "o.customer_id"
                ],
                "Sort Method": "quicksort",
                "Sort Space Used": 47,
                "Sort Space Type": "Memory",
                "Shared Hit Blocks": 3059,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0,
                "Plans": [
                  {
                    "Node Type": "Aggregate",
                    "Strategy": "Hashed",
                    "Partial Mode": "Simple",
                    "Parent Relationship": "Outer",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Startup Cost": 9776.31,
                    "Total Cost": 9786.55,
                    "Plan Rows": 819,
                    "Plan Width": 36,
                    "Actual Startup Time": 1170.108,
                    "Actual Total Time": 1173.174,
                    "Actual Rows": 991,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Group Key": [
                      "o.customer_id"
                    ],
                    "Planned Partitions": 0,
                    "HashAgg Batches": 1,
                    "Peak Memory Usage": 329,
                    "Disk Usage": 0,
                    "Shared Hit Blocks": 3059,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0,
                    "Plans": [
                      {
                        "Node Type": "Hash Join",
                        "Parent Relationship": "Outer",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Join Type": "Inner",
                        "Startup Cost": 2886.28,
                        "Total Cost": 9725.37,
                        "Plan Rows": 5094,
                        "Plan Width": 13,
                        "Actual Startup Time": 121.58,
                        "Actual Total Time": 1092.809,
                        "Actual Rows": 27525,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Inner Unique": true,
                        "Hash Cond": "(i.order_id = o.order_id)",
                        "Shared Hit Blocks": 3059,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0,
                        "Plans": [
                          {
                            "Node Type": "Seq Scan",
                            "Parent Relationship": "Outer",
                            "Parallel Aware": false,
                            "Async Capable": false,
                            "Relation Name": "order_items",
                            "Alias": "i",
                            "Startup Cost": 0,
                            "Total Cost": 5894.05,
                            "Plan Rows": 360005,
                            "Plan Width": 13,
                            "Actual Startup Time": 0.113,
                            "Actual Total Time": 537.695,
                            "Actual Rows": 360005,
                            "Actual Loops": 1,
                            "Disabled": false,
                            "Shared Hit Blocks": 2294,
                            "Shared Read Blocks": 0,
                            "Shared Dirtied Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Dirtied Blocks": 0,
                            "Local Written Blocks": 0,
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0
                          },
                          {
                            "Node Type": "Hash",
                            "Parent Relationship": "Inner",
                            "Parallel Aware": false,
                            "Async Capable": false,
                            "Startup Cost": 2865.05,
                            "Total Cost": 2865.05,
                            "Plan Rows": 1698,
                            "Plan Width": 8,
                            "Actual Startup Time": 121.406,
                            "Actual Total Time": 121.41,
                            "Actual Rows": 9176,
                            "Actual Loops": 1,
                            "Disabled": false,
                            "Hash Buckets": 16384,
                            "Original Hash Buckets": 2048,
                            "Hash Batches": 1,
                            "Original Hash Batches": 1,
                            "Peak Memory Usage": 351,
                            "Shared Hit Blocks": 765,
                            "Shared Read Blocks": 0,
                            "Shared Dirtied Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Dirtied Blocks": 0,
                            "Local Written Blocks": 0,
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0,
                            "Plans": [
                              {
                                "Node Type": "Seq Scan",
                                "Parent Relationship": "Outer",
                                "Parallel Aware": false,
                                "Async Capable": false,
                                "Relation Name": "orders",
                                "Alias": "o",
                                "Startup Cost": 0,
                                "Total Cost": 2865.05,
                                "Plan Rows": 1698,
                                "Plan Width": 8,
                                "Actual Startup Time": 0.051,
                                "Actual Total Time": 94.975,
                                "Actual Rows": 9176,
                                "Actual Loops": 1,
                                "Disabled": false,
                                "Filter": "((placed_at >= '2026-10-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2026-11-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                "Rows Removed by Filter": 110827,
                                "Shared Hit Blocks": 765,
                                "Shared Read Blocks": 0,
                                "Shared Dirtied Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Dirtied Blocks": 0,
                                "Local Written Blocks": 0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "Planning": {
                "Shared Hit Blocks": 24,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              "Planning Time": 1.708,
              "Triggers": [],
              "Execution Time": 1180.218
            }
          ]
        }
      ],
      "fields": [
        {
          "name": "QUERY PLAN",
          "dataTypeID": 114
        }
      ],
      "command": "EXPLAIN",
      "affectedRows": 601020
    },
    {
      "rows": [
        {
          "plan_label": "unpartitioned_year_report"
        }
      ],
      "fields": [
        {
          "name": "plan_label",
          "dataTypeID": 25
        }
      ],
      "command": "SELECT",
      "affectedRows": 601020,
      "rowCount": 1
    },
    {
      "rows": [
        {
          "QUERY PLAN": [
            {
              "Plan": {
                "Node Type": "Sort",
                "Parallel Aware": false,
                "Async Capable": false,
                "Startup Cost": 10614.81,
                "Total Cost": 10617.31,
                "Plan Rows": 1000,
                "Plan Width": 36,
                "Actual Startup Time": 1649.873,
                "Actual Total Time": 1650.446,
                "Actual Rows": 1002,
                "Actual Loops": 1,
                "Disabled": false,
                "Sort Key": [
                  "(sum(((i.quantity)::numeric * i.unit_price))) DESC",
                  "o.customer_id"
                ],
                "Sort Method": "quicksort",
                "Sort Space Used": 48,
                "Sort Space Type": "Memory",
                "Shared Hit Blocks": 3059,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0,
                "Plans": [
                  {
                    "Node Type": "Aggregate",
                    "Strategy": "Hashed",
                    "Partial Mode": "Simple",
                    "Parent Relationship": "Outer",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Startup Cost": 10552.48,
                    "Total Cost": 10564.98,
                    "Plan Rows": 1000,
                    "Plan Width": 36,
                    "Actual Startup Time": 1638.077,
                    "Actual Total Time": 1645.008,
                    "Actual Rows": 1002,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Group Key": [
                      "o.customer_id"
                    ],
                    "Planned Partitions": 0,
                    "HashAgg Batches": 1,
                    "Peak Memory Usage": 329,
                    "Disk Usage": 0,
                    "Shared Hit Blocks": 3059,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0,
                    "Plans": [
                      {
                        "Node Type": "Hash Join",
                        "Parent Relationship": "Outer",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Join Type": "Inner",
                        "Startup Cost": 3114.57,
                        "Total Cost": 9953.66,
                        "Plan Rows": 59882,
                        "Plan Width": 13,
                        "Actual Startup Time": 249.992,
                        "Actual Total Time": 1469.156,
                        "Actual Rows": 60471,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Inner Unique": true,
                        "Hash Cond": "(i.order_id = o.order_id)",
                        "Shared Hit Blocks": 3059,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0,
                        "Plans": [
                          {
                            "Node Type": "Seq Scan",
                            "Parent Relationship": "Outer",
                            "Parallel Aware": false,
                            "Async Capable": false,
                            "Relation Name": "order_items",
                            "Alias": "i",
                            "Startup Cost": 0,
                            "Total Cost": 5894.05,
                            "Plan Rows": 360005,
                            "Plan Width": 13,
                            "Actual Startup Time": 0.046,
                            "Actual Total Time": 449.858,
                            "Actual Rows": 360005,
                            "Actual Loops": 1,
                            "Disabled": false,
                            "Shared Hit Blocks": 2294,
                            "Shared Read Blocks": 0,
                            "Shared Dirtied Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Dirtied Blocks": 0,
                            "Local Written Blocks": 0,
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0
                          },
                          {
                            "Node Type": "Hash",
                            "Parent Relationship": "Inner",
                            "Parallel Aware": false,
                            "Async Capable": false,
                            "Startup Cost": 2865.05,
                            "Total Cost": 2865.05,
                            "Plan Rows": 19961,
                            "Plan Width": 8,
                            "Actual Startup Time": 249.918,
                            "Actual Total Time": 249.922,
                            "Actual Rows": 20158,
                            "Actual Loops": 1,
                            "Disabled": false,
                            "Hash Buckets": 32768,
                            "Original Hash Buckets": 32768,
                            "Hash Batches": 1,
                            "Original Hash Batches": 1,
                            "Peak Memory Usage": 758,
                            "Shared Hit Blocks": 765,
                            "Shared Read Blocks": 0,
                            "Shared Dirtied Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Dirtied Blocks": 0,
                            "Local Written Blocks": 0,
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0,
                            "Plans": [
                              {
                                "Node Type": "Seq Scan",
                                "Parent Relationship": "Outer",
                                "Parallel Aware": false,
                                "Async Capable": false,
                                "Relation Name": "orders",
                                "Alias": "o",
                                "Startup Cost": 0,
                                "Total Cost": 2865.05,
                                "Plan Rows": 19961,
                                "Plan Width": 8,
                                "Actual Startup Time": 0.028,
                                "Actual Total Time": 220.383,
                                "Actual Rows": 20158,
                                "Actual Loops": 1,
                                "Disabled": false,
                                "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                "Rows Removed by Filter": 99845,
                                "Shared Hit Blocks": 765,
                                "Shared Read Blocks": 0,
                                "Shared Dirtied Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Dirtied Blocks": 0,
                                "Local Written Blocks": 0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "Planning": {
                "Shared Hit Blocks": 14,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              "Planning Time": 1.648,
              "Triggers": [],
              "Execution Time": 1651.563
            }
          ]
        }
      ],
      "fields": [
        {
          "name": "QUERY PLAN",
          "dataTypeID": 114
        }
      ],
      "command": "EXPLAIN",
      "affectedRows": 601020
    },
    {
      "rows": [
        {
          "plan_label": "october_report"
        }
      ],
      "fields": [
        {
          "name": "plan_label",
          "dataTypeID": 25
        }
      ],
      "command": "SELECT",
      "affectedRows": 601020,
      "rowCount": 1
    },
    {
      "rows": [
        {
          "QUERY PLAN": [
            {
              "Plan": {
                "Node Type": "Sort",
                "Parallel Aware": false,
                "Async Capable": false,
                "Startup Cost": 8218.31,
                "Total Cost": 8220.81,
                "Plan Rows": 1000,
                "Plan Width": 36,
                "Actual Startup Time": 1167.076,
                "Actual Total Time": 1167.599,
                "Actual Rows": 991,
                "Actual Loops": 1,
                "Disabled": false,
                "Sort Key": [
                  "(sum(((i.quantity)::numeric * i.unit_price))) DESC",
                  "o.customer_id"
                ],
                "Sort Method": "quicksort",
                "Sort Space Used": 47,
                "Sort Space Type": "Memory",
                "Shared Hit Blocks": 2359,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0,
                "Plans": [
                  {
                    "Node Type": "Aggregate",
                    "Strategy": "Hashed",
                    "Partial Mode": "Simple",
                    "Parent Relationship": "Outer",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Startup Cost": 8155.98,
                    "Total Cost": 8168.48,
                    "Plan Rows": 1000,
                    "Plan Width": 36,
                    "Actual Startup Time": 1159.468,
                    "Actual Total Time": 1161.701,
                    "Actual Rows": 991,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Group Key": [
                      "o.customer_id"
                    ],
                    "Planned Partitions": 0,
                    "HashAgg Batches": 1,
                    "Peak Memory Usage": 329,
                    "Disk Usage": 0,
                    "Shared Hit Blocks": 2359,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0,
                    "Plans": [
                      {
                        "Node Type": "Hash Join",
                        "Parent Relationship": "Outer",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Join Type": "Inner",
                        "Startup Cost": 358.13,
                        "Total Cost": 7879.09,
                        "Plan Rows": 27689,
                        "Plan Width": 13,
                        "Actual Startup Time": 19.344,
                        "Actual Total Time": 1043.967,
                        "Actual Rows": 27525,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Inner Unique": false,
                        "Hash Cond": "(i.order_id = o.order_id)",
                        "Shared Hit Blocks": 2359,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0,
                        "Plans": [
                          {
                            "Node Type": "Seq Scan",
                            "Parent Relationship": "Outer",
                            "Parallel Aware": false,
                            "Async Capable": false,
                            "Relation Name": "order_items",
                            "Alias": "i",
                            "Startup Cost": 0,
                            "Total Cost": 5894.05,
                            "Plan Rows": 360005,
                            "Plan Width": 13,
                            "Actual Startup Time": 0.047,
                            "Actual Total Time": 506.369,
                            "Actual Rows": 360005,
                            "Actual Loops": 1,
                            "Disabled": false,
                            "Shared Hit Blocks": 2294,
                            "Shared Read Blocks": 0,
                            "Shared Dirtied Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Dirtied Blocks": 0,
                            "Local Written Blocks": 0,
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0
                          },
                          {
                            "Node Type": "Hash",
                            "Parent Relationship": "Inner",
                            "Parallel Aware": false,
                            "Async Capable": false,
                            "Startup Cost": 243.43,
                            "Total Cost": 243.43,
                            "Plan Rows": 9176,
                            "Plan Width": 8,
                            "Actual Startup Time": 19.267,
                            "Actual Total Time": 19.27,
                            "Actual Rows": 9176,
                            "Actual Loops": 1,
                            "Disabled": false,
                            "Hash Buckets": 16384,
                            "Original Hash Buckets": 16384,
                            "Hash Batches": 1,
                            "Original Hash Batches": 1,
                            "Peak Memory Usage": 351,
                            "Shared Hit Blocks": 65,
                            "Shared Read Blocks": 0,
                            "Shared Dirtied Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Dirtied Blocks": 0,
                            "Local Written Blocks": 0,
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0,
                            "Plans": [
                              {
                                "Node Type": "Seq Scan",
                                "Parent Relationship": "Outer",
                                "Parallel Aware": false,
                                "Async Capable": false,
                                "Relation Name": "orders_2026_10",
                                "Alias": "o",
                                "Startup Cost": 0,
                                "Total Cost": 243.43,
                                "Plan Rows": 9176,
                                "Plan Width": 8,
                                "Actual Startup Time": 0.031,
                                "Actual Total Time": 10.187,
                                "Actual Rows": 9176,
                                "Actual Loops": 1,
                                "Disabled": false,
                                "Filter": "((placed_at >= '2026-10-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2026-11-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                "Rows Removed by Filter": 1020,
                                "Shared Hit Blocks": 65,
                                "Shared Read Blocks": 0,
                                "Shared Dirtied Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Dirtied Blocks": 0,
                                "Local Written Blocks": 0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "Planning": {
                "Shared Hit Blocks": 25,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              "Planning Time": 10.958,
              "Triggers": [],
              "Execution Time": 1168.227
            }
          ]
        }
      ],
      "fields": [
        {
          "name": "QUERY PLAN",
          "dataTypeID": 114
        }
      ],
      "command": "EXPLAIN",
      "affectedRows": 601020
    },
    {
      "rows": [
        {
          "plan_label": "year_report"
        }
      ],
      "fields": [
        {
          "name": "plan_label",
          "dataTypeID": 25
        }
      ],
      "command": "SELECT",
      "affectedRows": 601020,
      "rowCount": 1
    },
    {
      "rows": [
        {
          "QUERY PLAN": [
            {
              "Plan": {
                "Node Type": "Sort",
                "Parallel Aware": false,
                "Async Capable": false,
                "Startup Cost": 11734.68,
                "Total Cost": 11737.18,
                "Plan Rows": 1000,
                "Plan Width": 36,
                "Actual Startup Time": 1675.035,
                "Actual Total Time": 1675.907,
                "Actual Rows": 1002,
                "Actual Loops": 1,
                "Disabled": false,
                "Sort Key": [
                  "(sum(((i.quantity)::numeric * i.unit_price))) DESC",
                  "o.customer_id"
                ],
                "Sort Method": "quicksort",
                "Sort Space Used": 48,
                "Sort Space Type": "Memory",
                "Shared Hit Blocks": 3060,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0,
                "Plans": [
                  {
                    "Node Type": "Aggregate",
                    "Strategy": "Hashed",
                    "Partial Mode": "Simple",
                    "Parent Relationship": "Outer",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Startup Cost": 11672.35,
                    "Total Cost": 11684.85,
                    "Plan Rows": 1000,
                    "Plan Width": 36,
                    "Actual Startup Time": 1587.575,
                    "Actual Total Time": 1589.57,
                    "Actual Rows": 1002,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Group Key": [
                      "o.customer_id"
                    ],
                    "Planned Partitions": 0,
                    "HashAgg Batches": 1,
                    "Peak Memory Usage": 329,
                    "Disk Usage": 0,
                    "Shared Hit Blocks": 3060,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0,
                    "Plans": [
                      {
                        "Node Type": "Hash Join",
                        "Parent Relationship": "Outer",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Join Type": "Inner",
                        "Startup Cost": 3218.82,
                        "Total Cost": 11067.62,
                        "Plan Rows": 60473,
                        "Plan Width": 13,
                        "Actual Startup Time": 197.354,
                        "Actual Total Time": 1404.598,
                        "Actual Rows": 60471,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Inner Unique": false,
                        "Hash Cond": "(i.order_id = o.order_id)",
                        "Shared Hit Blocks": 3060,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0,
                        "Plans": [
                          {
                            "Node Type": "Seq Scan",
                            "Parent Relationship": "Outer",
                            "Parallel Aware": false,
                            "Async Capable": false,
                            "Relation Name": "order_items",
                            "Alias": "i",
                            "Startup Cost": 0,
                            "Total Cost": 5894.05,
                            "Plan Rows": 360005,
                            "Plan Width": 13,
                            "Actual Startup Time": 0.051,
                            "Actual Total Time": 545.142,
                            "Actual Rows": 360005,
                            "Actual Loops": 1,
                            "Disabled": false,
                            "Shared Hit Blocks": 2294,
                            "Shared Read Blocks": 0,
                            "Shared Dirtied Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Dirtied Blocks": 0,
                            "Local Written Blocks": 0,
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0
                          },
                          {
                            "Node Type": "Hash",
                            "Parent Relationship": "Inner",
                            "Parallel Aware": false,
                            "Async Capable": false,
                            "Startup Cost": 2966.84,
                            "Total Cost": 2966.84,
                            "Plan Rows": 20158,
                            "Plan Width": 8,
                            "Actual Startup Time": 197.28,
                            "Actual Total Time": 197.305,
                            "Actual Rows": 20158,
                            "Actual Loops": 1,
                            "Disabled": false,
                            "Hash Buckets": 32768,
                            "Original Hash Buckets": 32768,
                            "Hash Batches": 1,
                            "Original Hash Batches": 1,
                            "Peak Memory Usage": 758,
                            "Shared Hit Blocks": 766,
                            "Shared Read Blocks": 0,
                            "Shared Dirtied Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Dirtied Blocks": 0,
                            "Local Written Blocks": 0,
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0,
                            "Plans": [
                              {
                                "Node Type": "Append",
                                "Parent Relationship": "Outer",
                                "Parallel Aware": false,
                                "Async Capable": false,
                                "Startup Cost": 0,
                                "Total Cost": 2966.84,
                                "Plan Rows": 20158,
                                "Plan Width": 8,
                                "Actual Startup Time": 0.036,
                                "Actual Total Time": 155.732,
                                "Actual Rows": 20158,
                                "Actual Loops": 1,
                                "Disabled": false,
                                "Shared Hit Blocks": 766,
                                "Shared Read Blocks": 0,
                                "Shared Dirtied Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Dirtied Blocks": 0,
                                "Local Written Blocks": 0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Subplans Removed": 0,
                                "Plans": [
                                  {
                                    "Node Type": "Seq Scan",
                                    "Parent Relationship": "Member",
                                    "Parallel Aware": false,
                                    "Async Capable": false,
                                    "Relation Name": "orders_2026_01",
                                    "Alias": "o_1",
                                    "Startup Cost": 0,
                                    "Total Cost": 243.34,
                                    "Plan Rows": 1020,
                                    "Plan Width": 8,
                                    "Actual Startup Time": 0.032,
                                    "Actual Total Time": 4.98,
                                    "Actual Rows": 1020,
                                    "Actual Loops": 1,
                                    "Disabled": false,
                                    "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                    "Rows Removed by Filter": 9171,
                                    "Shared Hit Blocks": 65,
                                    "Shared Read Blocks": 0,
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Dirtied Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0
                                  },
                                  {
                                    "Node Type": "Seq Scan",
                                    "Parent Relationship": "Member",
                                    "Parallel Aware": false,
                                    "Async Capable": false,
                                    "Relation Name": "orders_2026_02",
                                    "Alias": "o_2",
                                    "Startup Cost": 0,
                                    "Total Cost": 220.09,
                                    "Plan Rows": 919,
                                    "Plan Width": 8,
                                    "Actual Startup Time": 0.052,
                                    "Actual Total Time": 5.696,
                                    "Actual Rows": 919,
                                    "Actual Loops": 1,
                                    "Disabled": false,
                                    "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                    "Rows Removed by Filter": 8286,
                                    "Shared Hit Blocks": 59,
                                    "Shared Read Blocks": 0,
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Dirtied Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0
                                  },
                                  {
                                    "Node Type": "Seq Scan",
                                    "Parent Relationship": "Member",
                                    "Parallel Aware": false,
                                    "Async Capable": false,
                                    "Relation Name": "orders_2026_03",
                                    "Alias": "o_3",
                                    "Startup Cost": 0,
                                    "Total Cost": 243.36,
                                    "Plan Rows": 1018,
                                    "Plan Width": 8,
                                    "Actual Startup Time": 0.042,
                                    "Actual Total Time": 4.995,
                                    "Actual Rows": 1018,
                                    "Actual Loops": 1,
                                    "Disabled": false,
                                    "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                    "Rows Removed by Filter": 9174,
                                    "Shared Hit Blocks": 65,
                                    "Shared Read Blocks": 0,
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Dirtied Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0
                                  },
                                  {
                                    "Node Type": "Seq Scan",
                                    "Parent Relationship": "Member",
                                    "Parallel Aware": false,
                                    "Async Capable": false,
                                    "Relation Name": "orders_2026_04",
                                    "Alias": "o_4",
                                    "Startup Cost": 0,
                                    "Total Cost": 235.6,
                                    "Plan Rows": 989,
                                    "Plan Width": 8,
                                    "Actual Startup Time": 0.056,
                                    "Actual Total Time": 16.041,
                                    "Actual Rows": 989,
                                    "Actual Loops": 1,
                                    "Disabled": false,
                                    "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                    "Rows Removed by Filter": 8874,
                                    "Shared Hit Blocks": 63,
                                    "Shared Read Blocks": 0,
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Dirtied Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0
                                  },
                                  {
                                    "Node Type": "Seq Scan",
                                    "Parent Relationship": "Member",
                                    "Parallel Aware": false,
                                    "Async Capable": false,
                                    "Relation Name": "orders_2026_05",
                                    "Alias": "o_5",
                                    "Startup Cost": 0,
                                    "Total Cost": 243.36,
                                    "Plan Rows": 1017,
                                    "Plan Width": 8,
                                    "Actual Startup Time": 0.066,
                                    "Actual Total Time": 6.351,
                                    "Actual Rows": 1017,
                                    "Actual Loops": 1,
                                    "Disabled": false,
                                    "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                    "Rows Removed by Filter": 9175,
                                    "Shared Hit Blocks": 65,
                                    "Shared Read Blocks": 0,
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Dirtied Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0
                                  },
                                  {
                                    "Node Type": "Seq Scan",
                                    "Parent Relationship": "Member",
                                    "Parallel Aware": false,
                                    "Async Capable": false,
                                    "Relation Name": "orders_2026_06",
                                    "Alias": "o_6",
                                    "Startup Cost": 0,
                                    "Total Cost": 235.59,
                                    "Plan Rows": 989,
                                    "Plan Width": 8,
                                    "Actual Startup Time": 0.072,
                                    "Actual Total Time": 37.134,
                                    "Actual Rows": 989,
                                    "Actual Loops": 1,
                                    "Disabled": false,
                                    "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                    "Rows Removed by Filter": 8873,
                                    "Shared Hit Blocks": 63,
                                    "Shared Read Blocks": 0,
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Dirtied Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0
                                  },
                                  {
                                    "Node Type": "Seq Scan",
                                    "Parent Relationship": "Member",
                                    "Parallel Aware": false,
                                    "Async Capable": false,
                                    "Relation Name": "orders_2026_07",
                                    "Alias": "o_7",
                                    "Startup Cost": 0,
                                    "Total Cost": 243.34,
                                    "Plan Rows": 1019,
                                    "Plan Width": 8,
                                    "Actual Startup Time": 0.076,
                                    "Actual Total Time": 5.819,
                                    "Actual Rows": 1019,
                                    "Actual Loops": 1,
                                    "Disabled": false,
                                    "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                    "Rows Removed by Filter": 9172,
                                    "Shared Hit Blocks": 65,
                                    "Shared Read Blocks": 0,
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Dirtied Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0
                                  },
                                  {
                                    "Node Type": "Seq Scan",
                                    "Parent Relationship": "Member",
                                    "Parallel Aware": false,
                                    "Async Capable": false,
                                    "Relation Name": "orders_2026_08",
                                    "Alias": "o_8",
                                    "Startup Cost": 0,
                                    "Total Cost": 243.36,
                                    "Plan Rows": 1018,
                                    "Plan Width": 8,
                                    "Actual Startup Time": 0.155,
                                    "Actual Total Time": 5.336,
                                    "Actual Rows": 1018,
                                    "Actual Loops": 1,
                                    "Disabled": false,
                                    "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                    "Rows Removed by Filter": 9174,
                                    "Shared Hit Blocks": 65,
                                    "Shared Read Blocks": 0,
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Dirtied Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0
                                  },
                                  {
                                    "Node Type": "Seq Scan",
                                    "Parent Relationship": "Member",
                                    "Parallel Aware": false,
                                    "Async Capable": false,
                                    "Relation Name": "orders_2026_09",
                                    "Alias": "o_9",
                                    "Startup Cost": 0,
                                    "Total Cost": 235.62,
                                    "Plan Rows": 988,
                                    "Plan Width": 8,
                                    "Actual Startup Time": 0.076,
                                    "Actual Total Time": 5.591,
                                    "Actual Rows": 988,
                                    "Actual Loops": 1,
                                    "Disabled": false,
                                    "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                    "Rows Removed by Filter": 8876,
                                    "Shared Hit Blocks": 63,
                                    "Shared Read Blocks": 0,
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Dirtied Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0
                                  },
                                  {
                                    "Node Type": "Seq Scan",
                                    "Parent Relationship": "Member",
                                    "Parallel Aware": false,
                                    "Async Capable": false,
                                    "Relation Name": "orders_2026_10",
                                    "Alias": "o_10",
                                    "Startup Cost": 0,
                                    "Total Cost": 243.43,
                                    "Plan Rows": 9176,
                                    "Plan Width": 8,
                                    "Actual Startup Time": 0.048,
                                    "Actual Total Time": 12.001,
                                    "Actual Rows": 9176,
                                    "Actual Loops": 1,
                                    "Disabled": false,
                                    "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                    "Rows Removed by Filter": 1020,
                                    "Shared Hit Blocks": 65,
                                    "Shared Read Blocks": 0,
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Dirtied Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0
                                  },
                                  {
                                    "Node Type": "Seq Scan",
                                    "Parent Relationship": "Member",
                                    "Parallel Aware": false,
                                    "Async Capable": false,
                                    "Relation Name": "orders_2026_11",
                                    "Alias": "o_11",
                                    "Startup Cost": 0,
                                    "Total Cost": 235.6,
                                    "Plan Rows": 987,
                                    "Plan Width": 8,
                                    "Actual Startup Time": 0.077,
                                    "Actual Total Time": 7.196,
                                    "Actual Rows": 987,
                                    "Actual Loops": 1,
                                    "Disabled": false,
                                    "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                    "Rows Removed by Filter": 8876,
                                    "Shared Hit Blocks": 63,
                                    "Shared Read Blocks": 0,
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Dirtied Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0
                                  },
                                  {
                                    "Node Type": "Seq Scan",
                                    "Parent Relationship": "Member",
                                    "Parallel Aware": false,
                                    "Async Capable": false,
                                    "Relation Name": "orders_2026_12",
                                    "Alias": "o_12",
                                    "Startup Cost": 0,
                                    "Total Cost": 243.36,
                                    "Plan Rows": 1018,
                                    "Plan Width": 8,
                                    "Actual Startup Time": 0.07,
                                    "Actual Total Time": 9.259,
                                    "Actual Rows": 1018,
                                    "Actual Loops": 1,
                                    "Disabled": false,
                                    "Filter": "((placed_at >= '2026-01-01 00:00:00+00'::timestamp with time zone) AND (placed_at < '2027-01-01 00:00:00+00'::timestamp with time zone) AND (status = 'paid'::text))",
                                    "Rows Removed by Filter": 9174,
                                    "Shared Hit Blocks": 65,
                                    "Shared Read Blocks": 0,
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Dirtied Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "Planning": {
                "Shared Hit Blocks": 8,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              "Planning Time": 3.321,
              "Triggers": [],
              "Execution Time": 1677.724
            }
          ]
        }
      ],
      "fields": [
        {
          "name": "QUERY PLAN",
          "dataTypeID": 114
        }
      ],
      "command": "EXPLAIN",
      "affectedRows": 601020
    },
    {
      "rows": [
        {
          "plan_label": "id_only"
        }
      ],
      "fields": [
        {
          "name": "plan_label",
          "dataTypeID": 25
        }
      ],
      "command": "SELECT",
      "affectedRows": 601020,
      "rowCount": 1
    },
    {
      "rows": [
        {
          "QUERY PLAN": [
            {
              "Plan": {
                "Node Type": "Append",
                "Parallel Aware": false,
                "Async Capable": false,
                "Startup Cost": 0.29,
                "Total Cost": 99.69,
                "Plan Rows": 12,
                "Plan Width": 23,
                "Actual Startup Time": 0.201,
                "Actual Total Time": 0.243,
                "Actual Rows": 1,
                "Actual Loops": 1,
                "Disabled": false,
                "Shared Hit Blocks": 25,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0,
                "Subplans Removed": 0,
                "Plans": [
                  {
                    "Node Type": "Index Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Scan Direction": "Forward",
                    "Index Name": "orders_2026_01_pkey",
                    "Relation Name": "orders_2026_01",
                    "Alias": "orders_monthly_1",
                    "Startup Cost": 0.29,
                    "Total Cost": 8.3,
                    "Plan Rows": 1,
                    "Plan Width": 23,
                    "Actual Startup Time": 0.05,
                    "Actual Total Time": 0.05,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Index Cond": "(order_id = 103)",
                    "Rows Removed by Index Recheck": 0,
                    "Index Searches": 1,
                    "Shared Hit Blocks": 2,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Index Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Scan Direction": "Forward",
                    "Index Name": "orders_2026_02_pkey",
                    "Relation Name": "orders_2026_02",
                    "Alias": "orders_monthly_2",
                    "Startup Cost": 0.29,
                    "Total Cost": 8.3,
                    "Plan Rows": 1,
                    "Plan Width": 23,
                    "Actual Startup Time": 0.015,
                    "Actual Total Time": 0.015,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Index Cond": "(order_id = 103)",
                    "Rows Removed by Index Recheck": 0,
                    "Index Searches": 1,
                    "Shared Hit Blocks": 2,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Index Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Scan Direction": "Forward",
                    "Index Name": "orders_2026_03_pkey",
                    "Relation Name": "orders_2026_03",
                    "Alias": "orders_monthly_3",
                    "Startup Cost": 0.29,
                    "Total Cost": 8.3,
                    "Plan Rows": 1,
                    "Plan Width": 23,
                    "Actual Startup Time": 0.012,
                    "Actual Total Time": 0.013,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Index Cond": "(order_id = 103)",
                    "Rows Removed by Index Recheck": 0,
                    "Index Searches": 1,
                    "Shared Hit Blocks": 2,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Index Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Scan Direction": "Forward",
                    "Index Name": "orders_2026_04_pkey",
                    "Relation Name": "orders_2026_04",
                    "Alias": "orders_monthly_4",
                    "Startup Cost": 0.29,
                    "Total Cost": 8.3,
                    "Plan Rows": 1,
                    "Plan Width": 23,
                    "Actual Startup Time": 0.012,
                    "Actual Total Time": 0.013,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Index Cond": "(order_id = 103)",
                    "Rows Removed by Index Recheck": 0,
                    "Index Searches": 1,
                    "Shared Hit Blocks": 2,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Index Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Scan Direction": "Forward",
                    "Index Name": "orders_2026_05_pkey",
                    "Relation Name": "orders_2026_05",
                    "Alias": "orders_monthly_5",
                    "Startup Cost": 0.29,
                    "Total Cost": 8.3,
                    "Plan Rows": 1,
                    "Plan Width": 23,
                    "Actual Startup Time": 0.012,
                    "Actual Total Time": 0.012,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Index Cond": "(order_id = 103)",
                    "Rows Removed by Index Recheck": 0,
                    "Index Searches": 1,
                    "Shared Hit Blocks": 2,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Index Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Scan Direction": "Forward",
                    "Index Name": "orders_2026_06_pkey",
                    "Relation Name": "orders_2026_06",
                    "Alias": "orders_monthly_6",
                    "Startup Cost": 0.29,
                    "Total Cost": 8.3,
                    "Plan Rows": 1,
                    "Plan Width": 23,
                    "Actual Startup Time": 0.012,
                    "Actual Total Time": 0.013,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Index Cond": "(order_id = 103)",
                    "Rows Removed by Index Recheck": 0,
                    "Index Searches": 1,
                    "Shared Hit Blocks": 2,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Index Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Scan Direction": "Forward",
                    "Index Name": "orders_2026_07_pkey",
                    "Relation Name": "orders_2026_07",
                    "Alias": "orders_monthly_7",
                    "Startup Cost": 0.29,
                    "Total Cost": 8.3,
                    "Plan Rows": 1,
                    "Plan Width": 23,
                    "Actual Startup Time": 0.011,
                    "Actual Total Time": 0.012,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Index Cond": "(order_id = 103)",
                    "Rows Removed by Index Recheck": 0,
                    "Index Searches": 1,
                    "Shared Hit Blocks": 2,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Index Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Scan Direction": "Forward",
                    "Index Name": "orders_2026_08_pkey",
                    "Relation Name": "orders_2026_08",
                    "Alias": "orders_monthly_8",
                    "Startup Cost": 0.29,
                    "Total Cost": 8.3,
                    "Plan Rows": 1,
                    "Plan Width": 23,
                    "Actual Startup Time": 0.012,
                    "Actual Total Time": 0.013,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Index Cond": "(order_id = 103)",
                    "Rows Removed by Index Recheck": 0,
                    "Index Searches": 1,
                    "Shared Hit Blocks": 2,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Index Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Scan Direction": "Forward",
                    "Index Name": "orders_2026_09_pkey",
                    "Relation Name": "orders_2026_09",
                    "Alias": "orders_monthly_9",
                    "Startup Cost": 0.29,
                    "Total Cost": 8.3,
                    "Plan Rows": 1,
                    "Plan Width": 23,
                    "Actual Startup Time": 0.011,
                    "Actual Total Time": 0.012,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Index Cond": "(order_id = 103)",
                    "Rows Removed by Index Recheck": 0,
                    "Index Searches": 1,
                    "Shared Hit Blocks": 2,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Index Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Scan Direction": "Forward",
                    "Index Name": "orders_2026_10_pkey",
                    "Relation Name": "orders_2026_10",
                    "Alias": "orders_monthly_10",
                    "Startup Cost": 0.29,
                    "Total Cost": 8.3,
                    "Plan Rows": 1,
                    "Plan Width": 21,
                    "Actual Startup Time": 0.022,
                    "Actual Total Time": 0.025,
                    "Actual Rows": 1,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Index Cond": "(order_id = 103)",
                    "Rows Removed by Index Recheck": 0,
                    "Index Searches": 1,
                    "Shared Hit Blocks": 3,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Index Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Scan Direction": "Forward",
                    "Index Name": "orders_2026_11_pkey",
                    "Relation Name": "orders_2026_11",
                    "Alias": "orders_monthly_11",
                    "Startup Cost": 0.29,
                    "Total Cost": 8.3,
                    "Plan Rows": 1,
                    "Plan Width": 23,
                    "Actual Startup Time": 0.011,
                    "Actual Total Time": 0.012,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Index Cond": "(order_id = 103)",
                    "Rows Removed by Index Recheck": 0,
                    "Index Searches": 1,
                    "Shared Hit Blocks": 2,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  },
                  {
                    "Node Type": "Index Scan",
                    "Parent Relationship": "Member",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Scan Direction": "Forward",
                    "Index Name": "orders_2026_12_pkey",
                    "Relation Name": "orders_2026_12",
                    "Alias": "orders_monthly_12",
                    "Startup Cost": 0.29,
                    "Total Cost": 8.3,
                    "Plan Rows": 1,
                    "Plan Width": 23,
                    "Actual Startup Time": 0.012,
                    "Actual Total Time": 0.013,
                    "Actual Rows": 0,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Index Cond": "(order_id = 103)",
                    "Rows Removed by Index Recheck": 0,
                    "Index Searches": 1,
                    "Shared Hit Blocks": 2,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0
                  }
                ]
              },
              "Planning": {
                "Shared Hit Blocks": 0,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              "Planning Time": 1.544,
              "Triggers": [],
              "Execution Time": 0.404
            }
          ]
        }
      ],
      "fields": [
        {
          "name": "QUERY PLAN",
          "dataTypeID": 114
        }
      ],
      "command": "EXPLAIN",
      "affectedRows": 601020
    },
    {
      "rows": [
        {
          "plan_label": "transformed_month"
        }
      ],
      "fields": [
        {
          "name": "plan_label",
          "dataTypeID": 25
        }
      ],
      "command": "SELECT",
      "affectedRows": 601020,
      "rowCount": 1
    },
    {
      "rows": [
        {
          "QUERY PLAN": [
            {
              "Plan": {
                "Node Type": "Aggregate",
                "Strategy": "Plain",
                "Partial Mode": "Simple",
                "Parallel Aware": false,
                "Async Capable": false,
                "Startup Cost": 3766.17,
                "Total Cost": 3766.18,
                "Plan Rows": 1,
                "Plan Width": 8,
                "Actual Startup Time": 894.483,
                "Actual Total Time": 894.508,
                "Actual Rows": 1,
                "Actual Loops": 1,
                "Disabled": false,
                "Shared Hit Blocks": 766,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0,
                "Plans": [
                  {
                    "Node Type": "Append",
                    "Parent Relationship": "Outer",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Startup Cost": 0,
                    "Total Cost": 3766.14,
                    "Plan Rows": 12,
                    "Plan Width": 0,
                    "Actual Startup Time": 780.144,
                    "Actual Total Time": 887.652,
                    "Actual Rows": 10196,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Shared Hit Blocks": 766,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0,
                    "Subplans Removed": 0,
                    "Plans": [
                      {
                        "Node Type": "Seq Scan",
                        "Parent Relationship": "Member",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Relation Name": "orders_2026_01",
                        "Alias": "orders_monthly_1",
                        "Startup Cost": 0,
                        "Total Cost": 319.77,
                        "Plan Rows": 1,
                        "Plan Width": 0,
                        "Actual Startup Time": 90.009,
                        "Actual Total Time": 90.009,
                        "Actual Rows": 0,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                        "Rows Removed by Filter": 10191,
                        "Shared Hit Blocks": 65,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0
                      },
                      {
                        "Node Type": "Seq Scan",
                        "Parent Relationship": "Member",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Relation Name": "orders_2026_02",
                        "Alias": "orders_monthly_2",
                        "Startup Cost": 0,
                        "Total Cost": 289.12,
                        "Plan Rows": 1,
                        "Plan Width": 0,
                        "Actual Startup Time": 64.574,
                        "Actual Total Time": 64.575,
                        "Actual Rows": 0,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                        "Rows Removed by Filter": 9205,
                        "Shared Hit Blocks": 59,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0
                      },
                      {
                        "Node Type": "Seq Scan",
                        "Parent Relationship": "Member",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Relation Name": "orders_2026_03",
                        "Alias": "orders_monthly_3",
                        "Startup Cost": 0,
                        "Total Cost": 319.8,
                        "Plan Rows": 1,
                        "Plan Width": 0,
                        "Actual Startup Time": 254.339,
                        "Actual Total Time": 254.339,
                        "Actual Rows": 0,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                        "Rows Removed by Filter": 10192,
                        "Shared Hit Blocks": 65,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0
                      },
                      {
                        "Node Type": "Seq Scan",
                        "Parent Relationship": "Member",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Relation Name": "orders_2026_04",
                        "Alias": "orders_monthly_4",
                        "Startup Cost": 0,
                        "Total Cost": 309.58,
                        "Plan Rows": 1,
                        "Plan Width": 0,
                        "Actual Startup Time": 95.046,
                        "Actual Total Time": 95.047,
                        "Actual Rows": 0,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                        "Rows Removed by Filter": 9863,
                        "Shared Hit Blocks": 63,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0
                      },
                      {
                        "Node Type": "Seq Scan",
                        "Parent Relationship": "Member",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Relation Name": "orders_2026_05",
                        "Alias": "orders_monthly_5",
                        "Startup Cost": 0,
                        "Total Cost": 319.8,
                        "Plan Rows": 1,
                        "Plan Width": 0,
                        "Actual Startup Time": 67.595,
                        "Actual Total Time": 67.596,
                        "Actual Rows": 0,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                        "Rows Removed by Filter": 10192,
                        "Shared Hit Blocks": 65,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0
                      },
                      {
                        "Node Type": "Seq Scan",
                        "Parent Relationship": "Member",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Relation Name": "orders_2026_06",
                        "Alias": "orders_monthly_6",
                        "Startup Cost": 0,
                        "Total Cost": 309.55,
                        "Plan Rows": 1,
                        "Plan Width": 0,
                        "Actual Startup Time": 30.667,
                        "Actual Total Time": 30.668,
                        "Actual Rows": 0,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                        "Rows Removed by Filter": 9862,
                        "Shared Hit Blocks": 63,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0
                      },
                      {
                        "Node Type": "Seq Scan",
                        "Parent Relationship": "Member",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Relation Name": "orders_2026_07",
                        "Alias": "orders_monthly_7",
                        "Startup Cost": 0,
                        "Total Cost": 319.77,
                        "Plan Rows": 1,
                        "Plan Width": 0,
                        "Actual Startup Time": 111.42,
                        "Actual Total Time": 111.421,
                        "Actual Rows": 0,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                        "Rows Removed by Filter": 10191,
                        "Shared Hit Blocks": 65,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0
                      },
                      {
                        "Node Type": "Seq Scan",
                        "Parent Relationship": "Member",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Relation Name": "orders_2026_08",
                        "Alias": "orders_monthly_8",
                        "Startup Cost": 0,
                        "Total Cost": 319.8,
                        "Plan Rows": 1,
                        "Plan Width": 0,
                        "Actual Startup Time": 24.842,
                        "Actual Total Time": 24.843,
                        "Actual Rows": 0,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                        "Rows Removed by Filter": 10192,
                        "Shared Hit Blocks": 65,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0
                      },
                      {
                        "Node Type": "Seq Scan",
                        "Parent Relationship": "Member",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Relation Name": "orders_2026_09",
                        "Alias": "orders_monthly_9",
                        "Startup Cost": 0,
                        "Total Cost": 309.6,
                        "Plan Rows": 1,
                        "Plan Width": 0,
                        "Actual Startup Time": 29.653,
                        "Actual Total Time": 29.653,
                        "Actual Rows": 0,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                        "Rows Removed by Filter": 9864,
                        "Shared Hit Blocks": 63,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0
                      },
                      {
                        "Node Type": "Seq Scan",
                        "Parent Relationship": "Member",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Relation Name": "orders_2026_10",
                        "Alias": "orders_monthly_10",
                        "Startup Cost": 0,
                        "Total Cost": 319.9,
                        "Plan Rows": 1,
                        "Plan Width": 0,
                        "Actual Startup Time": 0.054,
                        "Actual Total Time": 44.871,
                        "Actual Rows": 10196,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                        "Rows Removed by Filter": 0,
                        "Shared Hit Blocks": 65,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0
                      },
                      {
                        "Node Type": "Seq Scan",
                        "Parent Relationship": "Member",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Relation Name": "orders_2026_11",
                        "Alias": "orders_monthly_11",
                        "Startup Cost": 0,
                        "Total Cost": 309.58,
                        "Plan Rows": 1,
                        "Plan Width": 0,
                        "Actual Startup Time": 20.139,
                        "Actual Total Time": 20.14,
                        "Actual Rows": 0,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                        "Rows Removed by Filter": 9863,
                        "Shared Hit Blocks": 63,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0
                      },
                      {
                        "Node Type": "Seq Scan",
                        "Parent Relationship": "Member",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Relation Name": "orders_2026_12",
                        "Alias": "orders_monthly_12",
                        "Startup Cost": 0,
                        "Total Cost": 319.8,
                        "Plan Rows": 1,
                        "Plan Width": 0,
                        "Actual Startup Time": 21.741,
                        "Actual Total Time": 21.742,
                        "Actual Rows": 0,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Filter": "((EXTRACT(year FROM (placed_at AT TIME ZONE 'UTC'::text)) = '2026'::numeric) AND (EXTRACT(month FROM (placed_at AT TIME ZONE 'UTC'::text)) = '10'::numeric))",
                        "Rows Removed by Filter": 10192,
                        "Shared Hit Blocks": 65,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0
                      }
                    ]
                  }
                ]
              },
              "Planning": {
                "Shared Hit Blocks": 0,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              "Planning Time": 1.699,
              "Triggers": [],
              "Execution Time": 894.698
            }
          ]
        }
      ],
      "fields": [
        {
          "name": "QUERY PLAN",
          "dataTypeID": 114
        }
      ],
      "command": "EXPLAIN",
      "affectedRows": 601020
    },
    {
      "rows": [],
      "fields": [],
      "command": "SET",
      "affectedRows": 601020
    },
    {
      "rows": [],
      "fields": [],
      "command": "PREPARE",
      "affectedRows": 601020
    },
    {
      "rows": [
        {
          "plan_label": "parameterised_october"
        }
      ],
      "fields": [
        {
          "name": "plan_label",
          "dataTypeID": 25
        }
      ],
      "command": "SELECT",
      "affectedRows": 601020,
      "rowCount": 1
    },
    {
      "rows": [
        {
          "QUERY PLAN": [
            {
              "Plan": {
                "Node Type": "Aggregate",
                "Strategy": "Plain",
                "Partial Mode": "Simple",
                "Parallel Aware": false,
                "Async Capable": false,
                "Startup Cost": 2570.54,
                "Total Cost": 2570.55,
                "Plan Rows": 1,
                "Plan Width": 8,
                "Actual Startup Time": 54.97,
                "Actual Total Time": 54.976,
                "Actual Rows": 1,
                "Actual Loops": 1,
                "Disabled": false,
                "Shared Hit Blocks": 65,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0,
                "Plans": [
                  {
                    "Node Type": "Append",
                    "Parent Relationship": "Outer",
                    "Parallel Aware": false,
                    "Async Capable": false,
                    "Startup Cost": 0,
                    "Total Cost": 2569.04,
                    "Plan Rows": 599,
                    "Plan Width": 0,
                    "Actual Startup Time": 0.045,
                    "Actual Total Time": 48.78,
                    "Actual Rows": 10196,
                    "Actual Loops": 1,
                    "Disabled": false,
                    "Shared Hit Blocks": 65,
                    "Shared Read Blocks": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Written Blocks": 0,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0,
                    "Subplans Removed": 11,
                    "Plans": [
                      {
                        "Node Type": "Seq Scan",
                        "Parent Relationship": "Member",
                        "Parallel Aware": false,
                        "Async Capable": false,
                        "Relation Name": "orders_2026_10",
                        "Alias": "orders_monthly_1",
                        "Startup Cost": 0,
                        "Total Cost": 217.94,
                        "Plan Rows": 51,
                        "Plan Width": 0,
                        "Actual Startup Time": 0.042,
                        "Actual Total Time": 10.747,
                        "Actual Rows": 10196,
                        "Actual Loops": 1,
                        "Disabled": false,
                        "Filter": "((placed_at >= $1) AND (placed_at < $2))",
                        "Rows Removed by Filter": 0,
                        "Shared Hit Blocks": 65,
                        "Shared Read Blocks": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Written Blocks": 0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0
                      }
                    ]
                  }
                ]
              },
              "Planning": {
                "Shared Hit Blocks": 0,
                "Shared Read Blocks": 0,
                "Shared Dirtied Blocks": 0,
                "Shared Written Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Dirtied Blocks": 0,
                "Local Written Blocks": 0,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0
              },
              "Planning Time": 1.485,
              "Triggers": [],
              "Execution Time": 55.392
            }
          ]
        }
      ],
      "fields": [
        {
          "name": "QUERY PLAN",
          "dataTypeID": 114
        }
      ],
      "command": "EXPLAIN",
      "affectedRows": 601020
    },
    {
      "rows": [],
      "fields": [],
      "command": "DEALLOCATE",
      "affectedRows": 601020
    },
    {
      "rows": [],
      "fields": [],
      "command": "SET",
      "affectedRows": 601020
    },
    {
      "rows": [],
      "fields": [],
      "command": "CREATE",
      "affectedRows": 601020
    },
    {
      "rows": [],
      "fields": [],
      "command": "CREATE",
      "affectedRows": 601020
    },
    {
      "rows": [],
      "fields": [],
      "command": "CREATE",
      "affectedRows": 601020
    },
    {
      "rows": [],
      "fields": [],
      "command": "INSERT",
      "affectedRows": 601022,
      "rowCount": 2
    },
    {
      "rows": [
        {
          "check_name": "different_pairs_allow_same_id",
          "ok": true
        }
      ],
      "fields": [
        {
          "name": "check_name",
          "dataTypeID": 25
        },
        {
          "name": "ok",
          "dataTypeID": 16
        }
      ],
      "command": "SELECT",
      "affectedRows": 601022,
      "rowCount": 1
    },
    {
      "rows": [
        {
          "check_name": "exact_boundary_routes_november",
          "ok": true
        }
      ],
      "fields": [
        {
          "name": "check_name",
          "dataTypeID": 25
        },
        {
          "name": "ok",
          "dataTypeID": 16
        }
      ],
      "command": "SELECT",
      "affectedRows": 601022,
      "rowCount": 1
    },
    {
      "rows": [],
      "fields": [],
      "command": "CREATE",
      "affectedRows": 601022
    },
    {
      "rows": [],
      "fields": [],
      "command": "DO",
      "affectedRows": 601022
    },
    {
      "rows": [],
      "fields": [],
      "command": "CREATE",
      "affectedRows": 601022
    },
    {
      "rows": [],
      "fields": [],
      "command": "INSERT",
      "affectedRows": 601023,
      "rowCount": 1
    },
    {
      "rows": [],
      "fields": [],
      "command": "DO",
      "affectedRows": 601023
    },
    {
      "rows": [
        {
          "check_name": "id_only_reference_refused",
          "ok": true,
          "sqlstate": "42830"
        },
        {
          "check_name": "id_only_unique_refused",
          "ok": true,
          "sqlstate": "0A000"
        },
        {
          "check_name": "missing_range_rejected",
          "ok": true,
          "sqlstate": "23514"
        },
        {
          "check_name": "referenced_detach_rejected",
          "ok": true,
          "sqlstate": "23503"
        },
        {
          "check_name": "referenced_key_update_rejected",
          "ok": true,
          "sqlstate": "23503"
        },
        {
          "check_name": "same_pair_rejected",
          "ok": true,
          "sqlstate": "23505"
        },
        {
          "check_name": "wrong_timestamp_reference_rejected",
          "ok": true,
          "sqlstate": "23503"
        }
      ],
      "fields": [
        {
          "name": "check_name",
          "dataTypeID": 25
        },
        {
          "name": "ok",
          "dataTypeID": 16
        },
        {
          "name": "sqlstate",
          "dataTypeID": 25
        }
      ],
      "command": "SELECT",
      "affectedRows": 601023,
      "rowCount": 7
    },
    {
      "rows": [],
      "fields": [],
      "command": "DELETE",
      "affectedRows": 601024,
      "rowCount": 1
    },
    {
      "rows": [],
      "fields": [],
      "command": "UPDATE",
      "affectedRows": 601025,
      "rowCount": 1
    },
    {
      "rows": [
        {
          "check_name": "key_update_moves_partition",
          "ok": true
        }
      ],
      "fields": [
        {
          "name": "check_name",
          "dataTypeID": 25
        },
        {
          "name": "ok",
          "dataTypeID": 16
        }
      ],
      "command": "SELECT",
      "affectedRows": 601025,
      "rowCount": 1
    },
    {
      "rows": [
        {
          "check_name": "january_wholly_eligible",
          "ok": true
        }
      ],
      "fields": [
        {
          "name": "check_name",
          "dataTypeID": 25
        },
        {
          "name": "ok",
          "dataTypeID": 16
        }
      ],
      "command": "SELECT",
      "affectedRows": 601025,
      "rowCount": 1
    },
    {
      "rows": [
        {
          "check_name": "january_partial_cutoff_ineligible_rows_exist",
          "ok": true
        }
      ],
      "fields": [
        {
          "name": "check_name",
          "dataTypeID": 25
        },
        {
          "name": "ok",
          "dataTypeID": 16
        }
      ],
      "command": "SELECT",
      "affectedRows": 601025,
      "rowCount": 1
    },
    {
      "rows": [],
      "fields": [],
      "command": "SELECT",
      "affectedRows": 601025,
      "rowCount": 1
    },
    {
      "rows": [],
      "fields": [],
      "command": "ALTER",
      "affectedRows": 601025
    },
    {
      "rows": [
        {
          "check_name": "detached_rows_still_exist",
          "ok": true,
          "parent_count": 120003,
          "january_count": 10191,
          "remaining_parent_count": 109812
        }
      ],
      "fields": [
        {
          "name": "check_name",
          "dataTypeID": 25
        },
        {
          "name": "ok",
          "dataTypeID": 16
        },
        {
          "name": "parent_count",
          "dataTypeID": 20
        },
        {
          "name": "january_count",
          "dataTypeID": 20
        },
        {
          "name": "remaining_parent_count",
          "dataTypeID": 20
        }
      ],
      "command": "SELECT",
      "affectedRows": 601025,
      "rowCount": 1
    },
    {
      "rows": [],
      "fields": [],
      "command": "DO",
      "affectedRows": 601025
    },
    {
      "rows": [
        {
          "check_name": "late_write_after_detach_rejected",
          "ok": true,
          "sqlstate": "23514"
        }
      ],
      "fields": [
        {
          "name": "check_name",
          "dataTypeID": 25
        },
        {
          "name": "ok",
          "dataTypeID": 16
        },
        {
          "name": "sqlstate",
          "dataTypeID": 25
        }
      ],
      "command": "SELECT",
      "affectedRows": 601025,
      "rowCount": 1
    },
    {
      "rows": [],
      "fields": [],
      "command": "DROP",
      "affectedRows": 601025
    },
    {
      "rows": [
        {
          "check_name": "detached_table_dropped",
          "ok": true
        }
      ],
      "fields": [
        {
          "name": "check_name",
          "dataTypeID": 25
        },
        {
          "name": "ok",
          "dataTypeID": 16
        }
      ],
      "command": "SELECT",
      "affectedRows": 601025,
      "rowCount": 1
    },
    {
      "rows": [
        {
          "check_name": "original_authority_and_dependants_unchanged",
          "ok": true
        }
      ],
      "fields": [
        {
          "name": "check_name",
          "dataTypeID": 25
        },
        {
          "name": "ok",
          "dataTypeID": 16
        }
      ],
      "command": "SELECT",
      "affectedRows": 601025,
      "rowCount": 1
    },
    {
      "rows": [],
      "fields": [],
      "command": "ROLLBACK",
      "affectedRows": 601025
    }
  ],
  "limits": [
    "WASM observations, not a native server or concurrent-client run.",
    "No production timing threshold, lock waits or concurrent safety established.",
    "Generated workload is a reporting model, not reconstructed stock history.",
    "Report copy has weaker composite uniqueness and no incoming foreign keys."
  ]
}
