Skip to content

Commit 8e3a225

Browse files
committed
Update README.md
1 parent 52e2616 commit 8e3a225

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ Basic settings of the sink are configured using the properties in a `MSSqlServer
246246
* `BatchPeriod`
247247
* `EagerlyEmitFirstEvent`
248248
* `LevelSwitch`
249+
* `UseSqlBulkCopy`
249250

250251
### TableName
251252

@@ -291,6 +292,11 @@ This setting is not used by the audit sink as it writes each event immediately a
291292

292293
A switch allowing the pass-through minimum level to be changed at runtime. If this is set, the parameter `restrictedToMinimumLevel` in the [sink configuration method](#sink-configuration) is ignored.
293294

295+
### UseSqlBulkCopy
296+
297+
A flag to use `SqlBulkCopy` instead of individual INSERT statements when writing log events. The default is `true`.
298+
This setting is not used by the audit sink as it always uses INSERT statements to write events.
299+
294300
## ColumnOptions Object
295301

296302
Features of the log table are defined by changing properties on a `ColumnOptions` object:
@@ -319,7 +325,7 @@ Setting this to `true` changes the table to the clustered columnstore index (CCI
319325

320326
### DisableTriggers
321327

322-
Disabling triggers can significantly improve batch-write performance.
328+
Disabling triggers can significantly improve batch-write performance. Only applies when `SqlBulkCopy` is used.
323329

324330
### AdditionalColumns
325331

0 commit comments

Comments
 (0)