prop

package
v0.0.0-...-d1bd9ee Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InsertStart        = "insertstart"
	InsertCount        = "insertcount"
	InsertStartDefault = int64(0)

	OperationCount     = "operationcount"
	RecordCount        = "recordcount"
	RecordCountDefault = int64(0)
	Workload           = "workload"
	DB                 = "db"
	Exporter           = "exporter"
	ExportFile         = "exportfile"
	ThreadCount        = "threadcount"
	ThreadCountDefault = int64(200)
	Target             = "target"
	MaxExecutiontime   = "maxexecutiontime"
	WarmUpTime         = "warmuptime"
	DoTransactions     = "dotransactions"
	Status             = "status"
	Label              = "label"
	// batch mode
	BatchSize        = "batch.size"
	DefaultBatchSize = int(1)

	TableName         = "table"
	TableNameDefault  = "usertable"
	FieldCount        = "fieldcount"
	FieldCountDefault = int64(10)
	// "uniform", "zipfian", "constant", "histogram"
	FieldLengthDistribution        = "fieldlengthdistribution"
	FieldLengthDistributionDefault = "constant"
	FieldLength                    = "fieldlength"
	FieldLengthDefault             = int64(100)
	// Used if fieldlengthdistribution is "histogram"
	FieldLengthHistogramFile         = "fieldlengthhistogram"
	FieldLengthHistogramFileDefault  = "hist.txt"
	ReadAllFields                    = "readallfields"
	ReadALlFieldsDefault             = true
	WriteAllFields                   = "writeallfields"
	WriteAllFieldsDefault            = false
	DataIntegrity                    = "dataintegrity"
	DataIntegrityDefault             = false
	ReadProportion                   = "readproportion"
	ReadProportionDefault            = float64(0.95)
	UpdateProportion                 = "updateproportion"
	UpdateProportionDefault          = float64(0.05)
	InsertProportion                 = "insertproportion"
	InsertProportionDefault          = float64(0.0)
	ScanProportion                   = "scanproportion"
	ScanProportionDefault            = float64(0.0)
	ReadModifyWriteProportion        = "readmodifywriteproportion"
	ReadModifyWriteProportionDefault = float64(0.0)
	// "uniform", "zipfian", "latest"
	RequestDistribution        = "requestdistribution"
	RequestDistributionDefault = "uniform"
	ZeroPadding                = "zeropadding"
	ZeroPaddingDefault         = int64(1)
	MaxScanLength              = "maxscanlength"
	MaxScanLengthDefault       = int64(1000)
	// "uniform", "zipfian"
	ScanLengthDistribution        = "scanlengthdistribution"
	ScanLengthDistributionDefault = "uniform"
	// "ordered", "hashed"
	InsertOrder                   = "insertorder"
	InsertOrderDefault            = "hashed"
	HotspotDataFraction           = "hotspotdatafraction"
	HotspotDataFractionDefault    = float64(0.2)
	HotspotOpnFraction            = "hotspotopnfraction"
	HotspotOpnFractionDefault     = float64(0.8)
	InsertionRetryLimit           = "core_workload_insertion_retry_limit"
	InsertionRetryLimitDefault    = int64(0)
	InsertionRetryInterval        = "core_workload_insertion_retry_interval"
	InsertionRetryIntervalDefault = int64(3)

	ExponentialPercentile        = "exponential.percentile"
	ExponentialPercentileDefault = float64(95)
	ExponentialFrac              = "exponential.frac"
	ExponentialFracDefault       = float64(0.8571428571)

	DebugPprof        = "debug.pprof"
	DebugPprofDefault = ":6060"

	Verbose         = "verbose"
	VerboseDefault  = false
	DropData        = "dropdata"
	DropDataDefault = false

	Silence        = "silence"
	SilenceDefault = true

	KeyPrefix        = "keyprefix"
	KeyPrefixDefault = "user"

	LogInterval = "measurement.interval"
)

Properties

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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