Kinetica   C#   API  Version 7.2.3.1
KineticaAdo.InsertBatchOptions Class Reference

Options for batch insert operations. More...

Properties

int BatchSize = 10000 [get, set]
 The number of records to batch before flushing. More...
 
bool UpdateOnExistingPk = false [get, set]
 If true, updates existing records with matching primary keys. More...
 
bool ReturnIndividualErrors = false [get, set]
 If true, returns individual errors for each failed record. More...
 
int MaxRetries = 3 [get, set]
 Maximum number of retry attempts for failed batches. More...
 
int RetryDelayMs = 100 [get, set]
 Base delay in milliseconds between retries. More...
 
int MaxInFlightBatches = 100 [get, set]
 Maximum in-flight batches for backpressure control. More...
 
int NumStripes = Environment.ProcessorCount [get, set]
 Number of stripes per worker queue. More...
 
int MaxFlushWorkers = Math.Max(4, Environment.ProcessorCount * 2) [get, set]
 Maximum concurrent flush workers. More...
 

Detailed Description

Options for batch insert operations.

Definition at line 263 of file InsertBatchManager.cs.

Property Documentation

◆ BatchSize

int KineticaAdo.InsertBatchOptions.BatchSize = 10000
getset

The number of records to batch before flushing.

Default is 10,000.

Definition at line 268 of file InsertBatchManager.cs.

◆ MaxFlushWorkers

int KineticaAdo.InsertBatchOptions.MaxFlushWorkers = Math.Max(4, Environment.ProcessorCount * 2)
getset

Maximum concurrent flush workers.

Default is processor count * 2.

Definition at line 303 of file InsertBatchManager.cs.

◆ MaxInFlightBatches

int KineticaAdo.InsertBatchOptions.MaxInFlightBatches = 100
getset

Maximum in-flight batches for backpressure control.

Default is 100.

Definition at line 293 of file InsertBatchManager.cs.

◆ MaxRetries

int KineticaAdo.InsertBatchOptions.MaxRetries = 3
getset

Maximum number of retry attempts for failed batches.

Default is 3.

Definition at line 283 of file InsertBatchManager.cs.

◆ NumStripes

int KineticaAdo.InsertBatchOptions.NumStripes = Environment.ProcessorCount
getset

Number of stripes per worker queue.

Default is processor count.

Definition at line 298 of file InsertBatchManager.cs.

◆ RetryDelayMs

int KineticaAdo.InsertBatchOptions.RetryDelayMs = 100
getset

Base delay in milliseconds between retries.

Default is 100ms.

Definition at line 288 of file InsertBatchManager.cs.

◆ ReturnIndividualErrors

bool KineticaAdo.InsertBatchOptions.ReturnIndividualErrors = false
getset

If true, returns individual errors for each failed record.

Default is false.

Definition at line 278 of file InsertBatchManager.cs.

◆ UpdateOnExistingPk

bool KineticaAdo.InsertBatchOptions.UpdateOnExistingPk = false
getset

If true, updates existing records with matching primary keys.

Default is false.

Definition at line 273 of file InsertBatchManager.cs.


The documentation for this class was generated from the following file: