Interface TuningConfig
- All Known Subinterfaces:
AppenderatorConfig
public interface TuningConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AppendableIndexSpecstatic final longstatic final booleanstatic final intstatic final intFor batch ingestion, we want to maximize throughput by minimizing the number of incremental persists.static final intFor realtime ingestion, we want to balance ingestion throughput and query performance.static final intstatic final boolean -
Method Summary
Modifier and TypeMethodDescriptionThe incremental index implementation to uselongMaximum number of bytes (estimated) to store in memory before persisting to local storagedefault longMaximum number of bytes (estimated) to store in memory before persisting to local storage.intMaximum number of rows in memory before persisting to local storage
-
Field Details
-
DEFAULT_LOG_PARSE_EXCEPTIONS
static final boolean DEFAULT_LOG_PARSE_EXCEPTIONS- See Also:
-
DEFAULT_APPENDABLE_INDEX
-
DEFAULT_MAX_PARSE_EXCEPTIONS
static final int DEFAULT_MAX_PARSE_EXCEPTIONS- See Also:
-
DEFAULT_MAX_SAVED_PARSE_EXCEPTIONS
static final int DEFAULT_MAX_SAVED_PARSE_EXCEPTIONS- See Also:
-
DEFAULT_MAX_ROWS_IN_MEMORY_BATCH
static final int DEFAULT_MAX_ROWS_IN_MEMORY_BATCHFor batch ingestion, we want to maximize throughput by minimizing the number of incremental persists. The limit here is really a safety: in case we have a large number of very small rows, we don't want to get overwhelmed by per-row overheads. Mostly, we rely on the bytes limitgetMaxBytesInMemory().- See Also:
-
DEFAULT_MAX_ROWS_IN_MEMORY_REALTIME
static final int DEFAULT_MAX_ROWS_IN_MEMORY_REALTIMEFor realtime ingestion, we want to balance ingestion throughput and query performance. Since queries on in-memory data are slower due to usingIncrementalIndexinstead ofQueryableIndex, we cap the row count of in-memory data.- See Also:
-
DEFAULT_SKIP_BYTES_IN_MEMORY_OVERHEAD_CHECK
static final boolean DEFAULT_SKIP_BYTES_IN_MEMORY_OVERHEAD_CHECK- See Also:
-
DEFAULT_AWAIT_SEGMENT_AVAILABILITY_TIMEOUT_MILLIS
static final long DEFAULT_AWAIT_SEGMENT_AVAILABILITY_TIMEOUT_MILLIS- See Also:
-
-
Method Details
-
getAppendableIndexSpec
AppendableIndexSpec getAppendableIndexSpec()The incremental index implementation to use -
getMaxRowsInMemory
int getMaxRowsInMemory()Maximum number of rows in memory before persisting to local storage -
getMaxBytesInMemory
long getMaxBytesInMemory()Maximum number of bytes (estimated) to store in memory before persisting to local storage -
getMaxBytesInMemoryOrDefault
default long getMaxBytesInMemoryOrDefault()Maximum number of bytes (estimated) to store in memory before persisting to local storage. If getMaxBytesInMemory() returns 0, the appendable index default will be used. -
getPartitionsSpec
PartitionsSpec getPartitionsSpec() -
getIndexSpec
IndexSpec getIndexSpec() -
getIndexSpecForIntermediatePersists
IndexSpec getIndexSpecForIntermediatePersists()
-