Skip to content

perf(post-1.0): cost-based optimizer extensions for new clause types #205

Closed

Description

@adityamukho

Roadmap source

ROADMAP.md: Post-1.0 Performance Backlog.

Work item

Extend optimizer.rs plan() with cost estimates for negation sub-queries, aggregate post-processing, and disjunction branch selection.

Acceptance criteria

  • Add cost estimates for not / not-join.
  • Add cost estimates for aggregation post-processing.
  • Add cost estimates for or / or-join branch selection.
  • Use benchmark/profiling data to validate plan choices.
  • Add tests for expected plan ordering where feasible.

Activity

  1. added
    rustPull requests that update rust code
    performanceBenchmark performance regressions
    on May 1, 2026
  2. adityamukho commented on May 15, 2026

    @adityamukho
    CollaboratorAuthor

    Prerequisites

    This issue should be scheduled after the hash-join fixes in #202, #203, and #204. The cost-based optimizer extensions need empirical benchmark and profiling data from those fixes to validate plan choices — extending the cost model before the O(N²) hot paths are resolved means the cost estimates would be calibrated against a workload profile that's about to change significantly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceBenchmark performance regressionsrustPull requests that update rust code

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions