Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyPlanJSON = errors.New("empty plan JSON")
View Source
var ErrInvalidPlanJSON = errors.New("invalid plan JSON")
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
Method string `json:"Node Type"`
Table string `json:"Relation Name"`
Alias string `json:"Alias"`
Index string `json:"Index Name"`
ParentRelationship string `json:"Parent Relationship"`
PlanCost float64 `json:"Total Cost"`
PlanRows int `json:"Plan Rows"`
PlanWidth int `json:"Plan Width"`
ActualTotalTime float64 `json:"Actual Total Time"`
ActualRows int `json:"Actual Rows"`
ActualLoops int `json:"Actual Loops"`
Filter string `json:"Filter"`
JoinFilter string `json:"Join Filter"`
HashCond string `json:"Hash Cond"`
IndexCond string `json:"Index Cond"`
RecheckCond string `json:"Recheck Cond"`
BuffersHit int `json:"Shared Hit Blocks"`
BuffersRead int `json:"Shared Read Blocks"`
MemoryUsage int `json:"Peak Memory Usage"`
HashBuckets int `json:"Hash Buckets"`
HashBatches int `json:"Hash Batches"`
SortKey []string `json:"Sort Key"`
SortMethod string `json:"Sort Method"`
SortSpaceUsed int `json:"Sort Space Used"`
SortSpaceType string `json:"Sort Space Type"`
Children []Node `json:"Plans"`
}
Click to show internal directories.
Click to hide internal directories.