Ydb_TableStats

package
v2.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CompilationStats) Descriptor

func (*CompilationStats) Descriptor() ([]byte, []int)

func (*CompilationStats) GetCpuTimeUs

func (m *CompilationStats) GetCpuTimeUs() uint64

func (*CompilationStats) GetDurationUs

func (m *CompilationStats) GetDurationUs() uint64

func (*CompilationStats) GetFromCache

func (m *CompilationStats) GetFromCache() bool

func (*CompilationStats) ProtoMessage

func (*CompilationStats) ProtoMessage()

func (*CompilationStats) Reset

func (m *CompilationStats) Reset()

func (*CompilationStats) String

func (m *CompilationStats) String() string

func (*CompilationStats) XXX_DiscardUnknown

func (m *CompilationStats) XXX_DiscardUnknown()

func (*CompilationStats) XXX_Marshal

func (m *CompilationStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CompilationStats) XXX_Merge

func (m *CompilationStats) XXX_Merge(src proto.Message)

func (*CompilationStats) XXX_Size

func (m *CompilationStats) XXX_Size() int

func (*CompilationStats) XXX_Unmarshal

func (m *CompilationStats) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Describes select, update (insert, upsert, replace) and delete operations

func (*OperationStats) Descriptor

func (*OperationStats) Descriptor() ([]byte, []int)

func (*OperationStats) GetBytes

func (m *OperationStats) GetBytes() uint64

func (*OperationStats) GetRows

func (m *OperationStats) GetRows() uint64

func (*OperationStats) ProtoMessage

func (*OperationStats) ProtoMessage()

func (*OperationStats) Reset

func (m *OperationStats) Reset()

func (*OperationStats) String

func (m *OperationStats) String() string

func (*OperationStats) XXX_DiscardUnknown

func (m *OperationStats) XXX_DiscardUnknown()

func (*OperationStats) XXX_Marshal

func (m *OperationStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OperationStats) XXX_Merge

func (m *OperationStats) XXX_Merge(src proto.Message)

func (*OperationStats) XXX_Size

func (m *OperationStats) XXX_Size() int

func (*OperationStats) XXX_Unmarshal

func (m *OperationStats) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*QueryPhaseStats) Descriptor

func (*QueryPhaseStats) Descriptor() ([]byte, []int)

func (*QueryPhaseStats) GetAffectedShards

func (m *QueryPhaseStats) GetAffectedShards() uint64

func (*QueryPhaseStats) GetCpuTimeUs

func (m *QueryPhaseStats) GetCpuTimeUs() uint64

func (*QueryPhaseStats) GetDurationUs

func (m *QueryPhaseStats) GetDurationUs() uint64

func (*QueryPhaseStats) GetLiteralPhase

func (m *QueryPhaseStats) GetLiteralPhase() bool

func (*QueryPhaseStats) GetTableAccess

func (m *QueryPhaseStats) GetTableAccess() []*TableAccessStats

func (*QueryPhaseStats) ProtoMessage

func (*QueryPhaseStats) ProtoMessage()

func (*QueryPhaseStats) Reset

func (m *QueryPhaseStats) Reset()

func (*QueryPhaseStats) String

func (m *QueryPhaseStats) String() string

func (*QueryPhaseStats) XXX_DiscardUnknown

func (m *QueryPhaseStats) XXX_DiscardUnknown()

func (*QueryPhaseStats) XXX_Marshal

func (m *QueryPhaseStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPhaseStats) XXX_Merge

func (m *QueryPhaseStats) XXX_Merge(src proto.Message)

func (*QueryPhaseStats) XXX_Size

func (m *QueryPhaseStats) XXX_Size() int

func (*QueryPhaseStats) XXX_Unmarshal

func (m *QueryPhaseStats) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*QueryStats) Descriptor

func (*QueryStats) Descriptor() ([]byte, []int)

func (*QueryStats) GetCompilation

func (m *QueryStats) GetCompilation() *CompilationStats

func (*QueryStats) GetProcessCpuTimeUs

func (m *QueryStats) GetProcessCpuTimeUs() uint64

func (*QueryStats) GetQueryAst

func (m *QueryStats) GetQueryAst() string

func (*QueryStats) GetQueryPhases

func (m *QueryStats) GetQueryPhases() []*QueryPhaseStats

func (*QueryStats) GetQueryPlan

func (m *QueryStats) GetQueryPlan() string

func (*QueryStats) ProtoMessage

func (*QueryStats) ProtoMessage()

func (*QueryStats) Reset

func (m *QueryStats) Reset()

func (*QueryStats) String

func (m *QueryStats) String() string

func (*QueryStats) XXX_DiscardUnknown

func (m *QueryStats) XXX_DiscardUnknown()

func (*QueryStats) XXX_Marshal

func (m *QueryStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryStats) XXX_Merge

func (m *QueryStats) XXX_Merge(src proto.Message)

func (*QueryStats) XXX_Size

func (m *QueryStats) XXX_Size() int

func (*QueryStats) XXX_Unmarshal

func (m *QueryStats) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Describes all operations on a table

func (*TableAccessStats) Descriptor

func (*TableAccessStats) Descriptor() ([]byte, []int)

func (*TableAccessStats) GetDeletes

func (m *TableAccessStats) GetDeletes() *OperationStats

func (*TableAccessStats) GetName

func (m *TableAccessStats) GetName() string

func (*TableAccessStats) GetPartitionsCount

func (m *TableAccessStats) GetPartitionsCount() uint64

func (*TableAccessStats) GetReads

func (m *TableAccessStats) GetReads() *OperationStats

func (*TableAccessStats) GetUpdates

func (m *TableAccessStats) GetUpdates() *OperationStats

func (*TableAccessStats) ProtoMessage

func (*TableAccessStats) ProtoMessage()

func (*TableAccessStats) Reset

func (m *TableAccessStats) Reset()

func (*TableAccessStats) String

func (m *TableAccessStats) String() string

func (*TableAccessStats) XXX_DiscardUnknown

func (m *TableAccessStats) XXX_DiscardUnknown()

func (*TableAccessStats) XXX_Marshal

func (m *TableAccessStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TableAccessStats) XXX_Merge

func (m *TableAccessStats) XXX_Merge(src proto.Message)

func (*TableAccessStats) XXX_Size

func (m *TableAccessStats) XXX_Size() int

func (*TableAccessStats) XXX_Unmarshal

func (m *TableAccessStats) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL