Skip to content

Stable, serializable query plan (EXPLAIN) contract for local and gRPC #569

Backlog

Description

@MPCoreDeveloper

Summary

SCDMS wants a Query Plan explorer, but there is no versioned, serializable plan contract that is identical over the embedded engine and the gRPC server.

Current behaviour (2.3.6)

  • QueryPlanCache, ExecutionPlan and QueryOptimizer exist internally.
  • There is no stable public/serializable representation of the plan (operators, indexes used, estimated rows/cost) exposed to clients, and no gRPC counterpart.

Needed

  1. A versioned, JSON-serializable plan model (operator tree/graph, index, estimated vs actual rows, cost/bottlenecks).
  2. Exposure over the local API and gRPC (same shape) so SCDMS can render/compare plans without scraping internals.
  3. Document the contract and keep it additive.

References

  • SharpCoreDB roadmap v2.4 ("plan explorer in SCDMS") and v2.x ("advanced plan profiling").
  • SCDMS: docs/product-ui-roadmap.md §7 Query Plan.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions