Documentation
¶
Overview ¶
Package stats provides statistics tracking for FDW query operations.
This package collects query execution statistics including cost metrics, row counts, and result widths using quantile streams. The statistics are used to generate accurate EXPLAIN plans and help the Postgres query planner make better decisions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Package ¶
Package collects query execution statistics for a specific table and operation. It uses quantile streams to track cost, row count, and result width metrics.
func NewPackage ¶
NewPackage creates a new statistics package for a table and operation.
func (*Package) AddWidthSample ¶
AddWidthSample records a result width sample.
Click to show internal directories.
Click to hide internal directories.