public BulkInsertOptions() { BatchSize = 512; WriteTimeoutMilliseconds = 15 * 1000; ChunkedBulkInsertOptions = new ChunkedBulkInsertOptions { MaxDocumentsPerChunk = BatchSize * 4, MaxChunkVolumeInBytes = 8 * 1024 * 1024 }; }
public BulkInsertOptions() { BatchSize = 512; WriteTimeoutMilliseconds = 15 * 1000; ChunkedBulkInsertOptions = new ChunkedBulkInsertOptions { MaxDocumentsPerChunk = BatchSize*4, MaxChunkVolumeInBytes = 8 * 1024 * 1024 }; }
public BulkInsertOptions() { BatchSize = 512; WriteTimeoutMilliseconds = 15 * 1000; Compression = BulkInsertCompression.GZip; Format = BulkInsertFormat.Bson; ChunkedBulkInsertOptions = new ChunkedBulkInsertOptions { MaxDocumentsPerChunk = BatchSize * 4, MaxChunkVolumeInBytes = 8 * 1024 * 1024 }; }