Skip to content

v0.1.0-alpha.4

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 04 Dec 07:32
· 9 commits to main since this release
2ba0b23

Adds EXPLAIN: the Explain Plan button now opens Visual Explain for
CockroachDB plans. Tested against CockroachDB v24.3 and the latest release.

Added

  • explain_query (#28): runs EXPLAIN, or EXPLAIN ANALYZE when the host
    asks for it, and parses CockroachDB's text plan into the host's plan tree.
    • Planning and execution times, estimated and actual row counts, per-node
      times, tables and indexes, filters, spans, join types and conditions are
      mapped; everything else lands in the node's extra. Costs are empty because
      CockroachDB does not print them.
    • Subqueries, CTEs and several top-level trees hang under a synthetic root
      node, so no branch is dropped.
    • Every node carries a unique id and the response includes raw_output for
      the host's graph and Raw Output tab.
    • EXPLAIN ANALYZE executes the statement, so anything other than a plain
      SELECT runs inside a transaction that is always rolled back.
    • Cancellation and the schema selector work as in execute_query.

Changed

  • Dependency: bytes 1.12.1 to 1.12.2 (#27).