Interface TuningConfig

All Known Subinterfaces:
AppenderatorConfig

public interface TuningConfig
  • Field Details

    • DEFAULT_LOG_PARSE_EXCEPTIONS

      static final boolean DEFAULT_LOG_PARSE_EXCEPTIONS
      See Also:
    • DEFAULT_APPENDABLE_INDEX

      static final AppendableIndexSpec 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_BATCH
      For 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 limit getMaxBytesInMemory().
      See Also:
    • DEFAULT_MAX_ROWS_IN_MEMORY_REALTIME

      static final int DEFAULT_MAX_ROWS_IN_MEMORY_REALTIME
      For realtime ingestion, we want to balance ingestion throughput and query performance. Since queries on in-memory data are slower due to using IncrementalIndex instead of QueryableIndex, 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()