package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
NewTimes create a new instance of the Times.
# Constants
PlannerEndExecStmt is the SessionPhase when execution ends.
PlannerEndLogicalPlan is the SessionPhase when planning ends.
PlannerStartExecStmt is the SessionPhase when execution starts.
PlannerStartLogicalPlan is the SessionPhase when planning starts.
SessionEndExecTransaction is the SessionPhase when a transaction is either committed or rolled back.
SessionEndParse is the SessionPhase when parsing ends.
SessionEndPostCommitJob is the SessionPhase when a post transaction `COMMIT` job ends.
SessionEndTransactionCommit is the SessionPhase when a transaction `COMMIT` ends.
SessionFirstStartExecTransaction is the SessionPhase when a transaction is started for the first time.
SessionMostRecentStartExecTransaction is the SessionPhase when a transaction is started for the most recent time.
SessionNumPhases must be listed last so that it can be used to define arrays sufficiently large to hold all the other values.
SessionQueryReceived is the SessionPhase when a query is received.
SessionQueryServiced is the SessionPhase when a query is serviced.
SessionStartParse is the SessionPhase when parsing starts.
SessionStartPostCommitJob is the SessionPhase when a post transaction `COMMIT` job starts.
SessionStartTransactionCommit is the SessionPhase when a transaction `COMMIT` starts.
SessionTransactionStarted is the SessionPhase when a transaction is started.
# Type aliases
SessionPhase is used to index the Session.PhaseTimes array.