Review a PostgreSQL EXPLAIN (FORMAT JSON) plan: exclusive time per node, hotspot...
https://code.halowerk.com/v1/explain-reviewOverview
Review a PostgreSQL EXPLAIN (FORMAT JSON) plan: exclusive time per node, hotspots, misestimates, disk spills, wasteful scans and index candidates from filter columns. Reads EXPLAIN output in JSON format (with or without ANALYZE/BUFFERS) and walks the plan tree.
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
USD Coin
Payment Network
Base
Category
uncategorized
Provider
code
Source
bazaar
Indexed
2026-11-20 13:10:04
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
—
Asset Verified
—
Facilitator
—
Input Schema
{
"body": {
"plan": [
{
"Execution Time": 12.6,
"Plan": {
"Actual Loops": 1,
"Actual Rows": 950,
"Actual Total Time": 12.4,
"Alias": "orders",
"Filter": "(status = 'open'::text)",
"Node Type": "Seq Scan",
"Plan Rows": 1000,
"Relation Name": "orders",
"Rows Removed by Filter": 99050,
"Total Cost": 1693
},
"Planning Time": 0.1
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"limitations": [
"Exclusive times of parallel plans and nodes below Gather are approximations (worker times are averaged by PostgreSQL).",
"Index candidates come from filter expressions only; check them with index-suggest or EXPLAIN after creating the index."
],
"result": {
"analyzed": true,
"execution_time_ms": 12.6,
"findings": [
{
"detail": {
"filter_columns": [
"status"
],
"rows_removed": 99050,
"rows_returned": 950
},
"message": "Seq Scan on orders discarded 99050 of 100000 rows with filter (status = 'open'::text).",
"node_id": 0,
"relation": "orders",
"rule": "seq-scan-filter",
"severity": "warning",
"source": "https://www.postgresql.org/docs/18/using-explain.html"
}
],
"hotspots": [
{
"exclusive_cost": 1693,
"exclusive_ms": 12.4,
"index": null,
"node_id": 0,
"node_type": "Seq Scan",
"relation": "orders",
"share": 1
}
],
"index_candidates": [
{
"columns": [
"status"
],
"node_id": 0,
"reason": "selective filter on Seq Scan (node 0)",
"table": "orders"
}
],
"nodes": 1,
"planning_time_ms": 0.1,
"total_cost": 1693,
"tree": [
{
"actual_rows": 950,
"depth": 0,
"exclusive_ms": 12.4,
"id": 0,
"inclusive_ms": 12.4,
"index": null,
"loops": 1,
"node_type": "Seq Scan",
"parent": null,
"plan_rows": 1000,
"relation": "orders",
"total_cost": 1693
}
]
},
"service": "explain-review",
"status": "success"
},
"type": "json"
}