Documentation ¶
Index ¶
- Variables
- type CompilationStats
- func (*CompilationStats) Descriptor() ([]byte, []int)deprecated
- func (x *CompilationStats) GetCpuTimeUs() uint64
- func (x *CompilationStats) GetDurationUs() uint64
- func (x *CompilationStats) GetFromCache() bool
- func (*CompilationStats) ProtoMessage()
- func (x *CompilationStats) ProtoReflect() protoreflect.Message
- func (x *CompilationStats) Reset()
- func (x *CompilationStats) String() string
- type OperationStats
- func (*OperationStats) Descriptor() ([]byte, []int)deprecated
- func (x *OperationStats) GetBytes() uint64
- func (x *OperationStats) GetRows() uint64
- func (*OperationStats) ProtoMessage()
- func (x *OperationStats) ProtoReflect() protoreflect.Message
- func (x *OperationStats) Reset()
- func (x *OperationStats) String() string
- type QueryPhaseStats
- func (*QueryPhaseStats) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPhaseStats) GetAffectedShards() uint64
- func (x *QueryPhaseStats) GetCpuTimeUs() uint64
- func (x *QueryPhaseStats) GetDurationUs() uint64
- func (x *QueryPhaseStats) GetLiteralPhase() bool
- func (x *QueryPhaseStats) GetTableAccess() []*TableAccessStats
- func (*QueryPhaseStats) ProtoMessage()
- func (x *QueryPhaseStats) ProtoReflect() protoreflect.Message
- func (x *QueryPhaseStats) Reset()
- func (x *QueryPhaseStats) String() string
- type QueryStats
- func (*QueryStats) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStats) GetCompilation() *CompilationStats
- func (x *QueryStats) GetProcessCpuTimeUs() uint64
- func (x *QueryStats) GetQueryAst() string
- func (x *QueryStats) GetQueryPhases() []*QueryPhaseStats
- func (x *QueryStats) GetQueryPlan() string
- func (x *QueryStats) GetTotalCpuTimeUs() uint64
- func (x *QueryStats) GetTotalDurationUs() uint64
- func (*QueryStats) ProtoMessage()
- func (x *QueryStats) ProtoReflect() protoreflect.Message
- func (x *QueryStats) Reset()
- func (x *QueryStats) String() string
- type TableAccessStats
- func (*TableAccessStats) Descriptor() ([]byte, []int)deprecated
- func (x *TableAccessStats) GetDeletes() *OperationStats
- func (x *TableAccessStats) GetName() string
- func (x *TableAccessStats) GetPartitionsCount() uint64
- func (x *TableAccessStats) GetReads() *OperationStats
- func (x *TableAccessStats) GetUpdates() *OperationStats
- func (*TableAccessStats) ProtoMessage()
- func (x *TableAccessStats) ProtoReflect() protoreflect.Message
- func (x *TableAccessStats) Reset()
- func (x *TableAccessStats) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_protos_ydb_query_stats_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CompilationStats ¶
type CompilationStats struct { FromCache bool `protobuf:"varint,1,opt,name=from_cache,json=fromCache,proto3" json:"from_cache,omitempty"` DurationUs uint64 `protobuf:"varint,2,opt,name=duration_us,json=durationUs,proto3" json:"duration_us,omitempty"` CpuTimeUs uint64 `protobuf:"varint,3,opt,name=cpu_time_us,json=cpuTimeUs,proto3" json:"cpu_time_us,omitempty"` // contains filtered or unexported fields }
func (*CompilationStats) Descriptor
deprecated
func (*CompilationStats) Descriptor() ([]byte, []int)
Deprecated: Use CompilationStats.ProtoReflect.Descriptor instead.
func (*CompilationStats) GetCpuTimeUs ¶
func (x *CompilationStats) GetCpuTimeUs() uint64
func (*CompilationStats) GetDurationUs ¶
func (x *CompilationStats) GetDurationUs() uint64
func (*CompilationStats) GetFromCache ¶
func (x *CompilationStats) GetFromCache() bool
func (*CompilationStats) ProtoMessage ¶
func (*CompilationStats) ProtoMessage()
func (*CompilationStats) ProtoReflect ¶
func (x *CompilationStats) ProtoReflect() protoreflect.Message
func (*CompilationStats) Reset ¶
func (x *CompilationStats) Reset()
func (*CompilationStats) String ¶
func (x *CompilationStats) String() string
type OperationStats ¶
type OperationStats struct { Rows uint64 `protobuf:"varint,1,opt,name=rows,proto3" json:"rows,omitempty"` Bytes uint64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
Describes select, update (insert, upsert, replace) and delete operations
func (*OperationStats) Descriptor
deprecated
func (*OperationStats) Descriptor() ([]byte, []int)
Deprecated: Use OperationStats.ProtoReflect.Descriptor instead.
func (*OperationStats) GetBytes ¶
func (x *OperationStats) GetBytes() uint64
func (*OperationStats) GetRows ¶
func (x *OperationStats) GetRows() uint64
func (*OperationStats) ProtoMessage ¶
func (*OperationStats) ProtoMessage()
func (*OperationStats) ProtoReflect ¶
func (x *OperationStats) ProtoReflect() protoreflect.Message
func (*OperationStats) Reset ¶
func (x *OperationStats) Reset()
func (*OperationStats) String ¶
func (x *OperationStats) String() string
type QueryPhaseStats ¶
type QueryPhaseStats struct { DurationUs uint64 `protobuf:"varint,1,opt,name=duration_us,json=durationUs,proto3" json:"duration_us,omitempty"` TableAccess []*TableAccessStats `protobuf:"bytes,2,rep,name=table_access,json=tableAccess,proto3" json:"table_access,omitempty"` CpuTimeUs uint64 `protobuf:"varint,3,opt,name=cpu_time_us,json=cpuTimeUs,proto3" json:"cpu_time_us,omitempty"` AffectedShards uint64 `protobuf:"varint,4,opt,name=affected_shards,json=affectedShards,proto3" json:"affected_shards,omitempty"` LiteralPhase bool `protobuf:"varint,5,opt,name=literal_phase,json=literalPhase,proto3" json:"literal_phase,omitempty"` // contains filtered or unexported fields }
func (*QueryPhaseStats) Descriptor
deprecated
func (*QueryPhaseStats) Descriptor() ([]byte, []int)
Deprecated: Use QueryPhaseStats.ProtoReflect.Descriptor instead.
func (*QueryPhaseStats) GetAffectedShards ¶
func (x *QueryPhaseStats) GetAffectedShards() uint64
func (*QueryPhaseStats) GetCpuTimeUs ¶
func (x *QueryPhaseStats) GetCpuTimeUs() uint64
func (*QueryPhaseStats) GetDurationUs ¶
func (x *QueryPhaseStats) GetDurationUs() uint64
func (*QueryPhaseStats) GetLiteralPhase ¶
func (x *QueryPhaseStats) GetLiteralPhase() bool
func (*QueryPhaseStats) GetTableAccess ¶
func (x *QueryPhaseStats) GetTableAccess() []*TableAccessStats
func (*QueryPhaseStats) ProtoMessage ¶
func (*QueryPhaseStats) ProtoMessage()
func (*QueryPhaseStats) ProtoReflect ¶
func (x *QueryPhaseStats) ProtoReflect() protoreflect.Message
func (*QueryPhaseStats) Reset ¶
func (x *QueryPhaseStats) Reset()
func (*QueryPhaseStats) String ¶
func (x *QueryPhaseStats) String() string
type QueryStats ¶
type QueryStats struct { // A query might have one or more execution phases QueryPhases []*QueryPhaseStats `protobuf:"bytes,1,rep,name=query_phases,json=queryPhases,proto3" json:"query_phases,omitempty"` Compilation *CompilationStats `protobuf:"bytes,2,opt,name=compilation,proto3" json:"compilation,omitempty"` ProcessCpuTimeUs uint64 `protobuf:"varint,3,opt,name=process_cpu_time_us,json=processCpuTimeUs,proto3" json:"process_cpu_time_us,omitempty"` QueryPlan string `protobuf:"bytes,4,opt,name=query_plan,json=queryPlan,proto3" json:"query_plan,omitempty"` QueryAst string `protobuf:"bytes,5,opt,name=query_ast,json=queryAst,proto3" json:"query_ast,omitempty"` TotalDurationUs uint64 `protobuf:"varint,6,opt,name=total_duration_us,json=totalDurationUs,proto3" json:"total_duration_us,omitempty"` TotalCpuTimeUs uint64 `protobuf:"varint,7,opt,name=total_cpu_time_us,json=totalCpuTimeUs,proto3" json:"total_cpu_time_us,omitempty"` // contains filtered or unexported fields }
func (*QueryStats) Descriptor
deprecated
func (*QueryStats) Descriptor() ([]byte, []int)
Deprecated: Use QueryStats.ProtoReflect.Descriptor instead.
func (*QueryStats) GetCompilation ¶
func (x *QueryStats) GetCompilation() *CompilationStats
func (*QueryStats) GetProcessCpuTimeUs ¶
func (x *QueryStats) GetProcessCpuTimeUs() uint64
func (*QueryStats) GetQueryAst ¶
func (x *QueryStats) GetQueryAst() string
func (*QueryStats) GetQueryPhases ¶
func (x *QueryStats) GetQueryPhases() []*QueryPhaseStats
func (*QueryStats) GetQueryPlan ¶
func (x *QueryStats) GetQueryPlan() string
func (*QueryStats) GetTotalCpuTimeUs ¶
func (x *QueryStats) GetTotalCpuTimeUs() uint64
func (*QueryStats) GetTotalDurationUs ¶
func (x *QueryStats) GetTotalDurationUs() uint64
func (*QueryStats) ProtoMessage ¶
func (*QueryStats) ProtoMessage()
func (*QueryStats) ProtoReflect ¶
func (x *QueryStats) ProtoReflect() protoreflect.Message
func (*QueryStats) Reset ¶
func (x *QueryStats) Reset()
func (*QueryStats) String ¶
func (x *QueryStats) String() string
type TableAccessStats ¶
type TableAccessStats struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Reads *OperationStats `protobuf:"bytes,3,opt,name=reads,proto3" json:"reads,omitempty"` Updates *OperationStats `protobuf:"bytes,4,opt,name=updates,proto3" json:"updates,omitempty"` Deletes *OperationStats `protobuf:"bytes,5,opt,name=deletes,proto3" json:"deletes,omitempty"` PartitionsCount uint64 `protobuf:"varint,6,opt,name=partitions_count,json=partitionsCount,proto3" json:"partitions_count,omitempty"` // contains filtered or unexported fields }
Describes all operations on a table
func (*TableAccessStats) Descriptor
deprecated
func (*TableAccessStats) Descriptor() ([]byte, []int)
Deprecated: Use TableAccessStats.ProtoReflect.Descriptor instead.
func (*TableAccessStats) GetDeletes ¶
func (x *TableAccessStats) GetDeletes() *OperationStats
func (*TableAccessStats) GetName ¶
func (x *TableAccessStats) GetName() string
func (*TableAccessStats) GetPartitionsCount ¶
func (x *TableAccessStats) GetPartitionsCount() uint64
func (*TableAccessStats) GetReads ¶
func (x *TableAccessStats) GetReads() *OperationStats
func (*TableAccessStats) GetUpdates ¶
func (x *TableAccessStats) GetUpdates() *OperationStats
func (*TableAccessStats) ProtoMessage ¶
func (*TableAccessStats) ProtoMessage()
func (*TableAccessStats) ProtoReflect ¶
func (x *TableAccessStats) ProtoReflect() protoreflect.Message
func (*TableAccessStats) Reset ¶
func (x *TableAccessStats) Reset()
func (*TableAccessStats) String ¶
func (x *TableAccessStats) String() string
Click to show internal directories.
Click to hide internal directories.