package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
FormatIdxRecommendations formats a list of index recommendations.
NewIndexRecommendationsCache creates a new map to be used as a cache for index recommendations.
# Structs
IndexRecCache stores the map of index recommendations keys (fingerprint, database, planHash) and information (lastGeneratedTs, recommendations, executionCount).
# Interfaces
IdxRecommendations controls the generation of index recommendations for specific statements, and update accordingly.