Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultIndexCacheSize = 128 * common.M DefaultMTCacheSize = 4 * common.G DefaultSSTCacheSize = 4 * common.G DefaultBlockMaxRows = uint64(40000) DefaultBlocksPerSegment = uint64(40) DefaultCleanInterval = 5 DefaultBlockWriters = uint16(8) DefaultSegmentWriters = uint16(4) DefaultStatelessWorkers = uint16(1) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IterOptions ¶
type MetaCleanerCfg ¶
type Options ¶
type Options struct {
EventListener event.Listener
Mu sync.RWMutex
Scheduler iface.DBScheduler
SchedulerCfg *SchedulerCfg `toml:"scheduler-cfg"`
WalRole wal.Role
Wal wal.ShardAwareWal
Meta struct {
Conf *MetaCfg
Catalog *metadata.Catalog
}
GC struct {
Conf *gci.WorkerCfg
Acceptor gci.IAcceptor
}
CacheCfg *CacheCfg `toml:"cache-cfg"`
MetaCleanerCfg *MetaCleanerCfg
}
func (*Options) CreateCatalog ¶
func (*Options) FillDefaults ¶
type SchedulerCfg ¶
Click to show internal directories.
Click to hide internal directories.