Versions in this module Expand all Collapse all v7 v7.0.4 Jan 30, 2023 v7.0.2 Jan 30, 2023 v7.0.1 Jan 30, 2023 v7.0.0 Jan 30, 2023 Changes in this version + const DefAuthTokenRefreshInterval + const DefDDLSlowOprThreshold + const DefExpensiveQueryTimeThreshold + const DefHost + const DefIndexLimit + const DefMaxIndexLength + const DefMaxOfIndexLimit + const DefMaxOfMaxIndexLength + const DefMaxOfStatsLoadConcurrencyLimit + const DefMaxOfStatsLoadQueueSizeLimit + const DefMaxOfTableColumnCountLimit + const DefMemoryUsageAlarmRatio + const DefPort + const DefRowsForSampleRate + const DefStatsLoadConcurrencyLimit + const DefStatsLoadQueueSizeLimit + const DefStatusHost + const DefStatusPort + const DefTableColumnCountLimit + const DefTempDir + const DefTxnEntrySizeLimit + const DefTxnTotalSizeLimit + const EnvVarKeyspaceName + const MaxLogFileSize + const MaxTxnEntrySizeLimit + const SpilledFileEncryptionMethodAES128CTR + const SpilledFileEncryptionMethodPlaintext + const SuperLargeTxnSize + var CheckTableBeforeDrop = false + var ConflictOptions []InstanceConfigSection + var DeprecatedOptions []InstanceConfigSection + var TableLockDelayClean = func() uint64 + var TikvConfigLock sync.Mutex + var ValidStorage = map[string]bool + func ContainHiddenConfig(s string) bool + func FlattenConfigItems(nestedConfig map[string]interface{}) map[string]interface + func GetGlobalKeyspaceName() string + func GetJSONConfig() (string, error) + func GetTxnScopeFromConfig() string + func InitializeConfig(confPath string, configCheck, configStrict bool, enforceCmdArgs func(*Config)) + func MergeConfigItems(dstConf, newConf *Config) (acceptedItems, rejectedItems []string) + func RestoreFunc() (restore func()) + func StoreGlobalConfig(config *Config) + func TableLockEnabled() bool + func UpdateGlobal(f func(conf *Config)) + type AtomicBool struct + func NewAtomicBool(v bool) *AtomicBool + func (b *AtomicBool) UnmarshalText(text []byte) error + func (b AtomicBool) MarshalText() ([]byte, error) + type Binlog struct + BinlogSocket string + Enable bool + IgnoreError bool + Strategy string + WriteTimeout string + type ConfReloadFunc func(oldConf, newConf *Config) + type Config struct + AdvertiseAddress string + AlterPrimaryKey bool + BallastObjectSize int + Binlog Binlog + CheckMb4ValueInUTF8 AtomicBool + CompatibleKillQuery bool + Cors string + DelayCleanTableLock uint64 + DeprecateIntegerDisplayWidth bool + DisaggregatedTiFlash bool + EnableBatchDML bool + EnableCollectExecutionInfo bool + EnableEnumLengthLimit bool + EnableForwarding bool + EnableGlobalIndex bool + EnableGlobalKill bool + EnableTCP4Only bool + EnableTableLock bool + EnableTelemetry bool + Experimental Experimental + GracefulWaitBeforeShutdown int + Host string + IndexLimit int + InitializeSQLFile string + Instance Instance + IsolationRead IsolationRead + KeyspaceName string + Labels map[string]string + Lease string + Log Log + MaxBallastObjectSize int + MaxIndexLength int + MaxServerConnections uint32 + MemQuotaQuery int64 + NewCollationsEnabledOnFirstBootstrap bool + OOMAction string + OOMUseTmpStorage bool + OpenTracing OpenTracing + PDClient tikvcfg.PDClient + Path string + Performance Performance + PessimisticTxn PessimisticTxn + Plugin Plugin + Port uint + PreparedPlanCache PreparedPlanCache + ProxyProtocol ProxyProtocol + RepairMode bool + RepairTableList []string + RunDDL bool + Security Security + ServerVersion string + SkipRegisterToDashboard bool + Socket string + SplitRegionMaxNum uint64 + SplitTable bool + Status Status + Store string + StoresRefreshInterval uint64 + TableColumnCountLimit uint32 + TempDir string + TempStoragePath string + TempStorageQuota int64 + TiDBEdition string + TiDBEnableExitCheck bool + TiDBMaxReuseChunk uint32 + TiDBMaxReuseColumn uint32 + TiDBReleaseVersion string + TiKVClient tikvcfg.TiKVClient + TokenLimit uint + TopSQL TopSQL + TreatOldVersionUTF8AsUTF8MB4 bool + TrxSummary TrxSummary + TxnLocalLatches tikvcfg.TxnLocalLatches + VersionComment string + func CloneConf(conf *Config) (*Config, error) + func GetGlobalConfig() *Config + func NewConfig() *Config + func (c *Config) GetTiKVConfig() *tikvcfg.Config + func (c *Config) Load(confFile string) error + func (c *Config) RemovedVariableCheck(confFile string) error + func (c *Config) UpdateTempStoragePath() + func (c *Config) Valid() error + type ErrConfigInstanceSection struct + func (e *ErrConfigInstanceSection) Error() string + type ErrConfigValidationFailed struct + UndecodedItems []string + func (e *ErrConfigValidationFailed) Error() string + type Experimental struct + AllowsExpressionIndex bool + EnableNewCharset bool + type Instance struct + CheckMb4ValueInUTF8 AtomicBool + DDLSlowOprThreshold uint32 + EnableCollectExecutionInfo AtomicBool + EnablePProfSQLCPU bool + EnableSlowLog AtomicBool + ExpensiveQueryTimeThreshold uint64 + ForcePriority string + MaxConnections uint32 + MemoryUsageAlarmRatio float64 + PluginDir string + PluginLoad string + RecordPlanInSlowLog uint32 + SlowThreshold uint64 + TiDBEnableDDL AtomicBool + TiDBGeneralLog bool + TiDBRCReadCheckTS bool + type InstanceConfigSection struct + NameMappings map[string]string + SectionName string + type IsolationRead struct + Engines []string + type Log struct + DisableErrorStack nullableBool + DisableTimestamp nullableBool + EnableErrorStack nullableBool + EnableSlowLog AtomicBool + EnableTimestamp nullableBool + ExpensiveThreshold uint + File logutil.FileLogConfig + Format string + Level string + QueryLogMaxLen uint64 + RecordPlanInSlowLog uint32 + SlowQueryFile string + SlowThreshold uint64 + func (l *Log) ToLogConfig() *logutil.LogConfig + type LogBackup struct + Advancer logbackupconf.Config + Enabled bool + type OpenTracing struct + Enable bool + RPCMetrics bool + Reporter OpenTracingReporter + Sampler OpenTracingSampler + func (t *OpenTracing) ToTracingConfig() *tracing.Configuration + type OpenTracingReporter struct + BufferFlushInterval time.Duration + LocalAgentHostPort string + LogSpans bool + QueueSize int + type OpenTracingSampler struct + MaxOperations int + Param float64 + SamplingRefreshInterval time.Duration + SamplingServerURL string + Type string + type Performance struct + AnalyzePartitionConcurrencyQuota uint + BindInfoLease string + CommitterConcurrency int + CrossJoin bool + DistinctAggPushDown bool + EnableLoadFMSketch bool + EnableStatsCacheMemQuota bool + EnforceMPP bool + ForcePriority string + GOGC int + IndexUsageSyncLease string + MaxMemory uint64 + MaxProcs uint + MaxTxnTTL uint64 + MemProfileInterval string + MemoryUsageAlarmRatio float64 + PlanReplayerDumpWorkerConcurrency uint + PlanReplayerGCLease string + ProjectionPushDown bool + PseudoEstimateRatio float64 + RunAutoAnalyze bool + ServerMemoryQuota uint64 + StatsLease string + StatsLoadConcurrency uint + StatsLoadQueueSize uint + StmtCountLimit uint + TCPKeepAlive bool + TCPNoDelay bool + TxnEntrySizeLimit uint64 + TxnTotalSizeLimit uint64 + type PessimisticTxn struct + ConstraintCheckInPlacePessimistic bool + DeadlockHistoryCapacity uint + DeadlockHistoryCollectRetryable bool + MaxRetryCount uint + PessimisticAutoCommit AtomicBool + func DefaultPessimisticTxn() PessimisticTxn + type PlanCache struct + Capacity uint + Enabled bool + Shards uint + type Plugin struct + Dir string + Load string + type PreparedPlanCache struct + Capacity uint + Enabled bool + MemoryGuardRatio float64 + type ProxyProtocol struct + HeaderTimeout uint + Networks string + type Security struct + AuthTokenJWKS string + AuthTokenRefreshInterval string + AutoTLS bool + ClusterSSLCA string + ClusterSSLCert string + ClusterSSLKey string + ClusterVerifyCN []string + DisconnectOnExpiredPassword bool + EnableSEM bool + MinTLSVersion string + RSAKeySize int + SSLCA string + SSLCert string + SSLKey string + SecureBootstrap bool + SessionTokenSigningCert string + SessionTokenSigningKey string + SkipGrantTable bool + SpilledFileEncryptionMethod string + func (s *Security) ClusterSecurity() tikvcfg.Security + type Status struct + GRPCConcurrentStreams uint + GRPCInitialWindowSize int + GRPCKeepAliveTime uint + GRPCKeepAliveTimeout uint + GRPCMaxSendMsgSize int + MetricsAddr string + MetricsInterval uint + RecordQPSbyDB bool + ReportStatus bool + StatusHost string + StatusPort uint + type TopSQL struct + ReceiverAddress string + type TrxSummary struct + TransactionIDDigestMinDuration uint + TransactionSummaryCapacity uint + func DefaultTrxSummary() TrxSummary + func (config *TrxSummary) Valid() error Other modules containing this package github.com/lemon-mint/tidb