Appearance
QueryPlanResult Class
Definition
Result of requesting an explain / showplan for a SQL statement.
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Constructors
| Name | Description |
|---|---|
QueryPlanResult() |
Properties
| Name | Description |
|---|---|
Advisories | Gets basic advisories derived from the plan (heuristics and engine-relayed hints). |
DatabaseType | Gets the database provider that produced the plan. |
ExecutionTime | Gets execution time when reported (typically PostgreSQL actual plans). |
Mode | Gets the explain mode that was requested. |
Parameters | Gets the parameters bound when the plan was collected, if any. |
PlanningTime | Gets planning time when reported (typically PostgreSQL actual plans). |
RawFormat | Gets the format of RawPlan. |
RawPlan | Gets the engine-native plan payload (JSON, XML, or text). |
Roots | Gets the root node(s) of the normalized plan tree. |
Statement | Gets the SQL statement that was explained (without the explain wrapper). |
TotalEstimatedCost | Gets the estimated total cost of the root plan when available. |
TotalEstimatedRows | Gets the estimated row count of the root plan when available. |
Remarks
RawPlan always retains the engine-native payload. Roots and summary metrics are a best-effort normalization across providers.