You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -246,6 +246,7 @@ Basic settings of the sink are configured using the properties in a `MSSqlServer
246
246
*`BatchPeriod`
247
247
*`EagerlyEmitFirstEvent`
248
248
*`LevelSwitch`
249
+
*`UseSqlBulkCopy`
249
250
250
251
### TableName
251
252
@@ -291,6 +292,11 @@ This setting is not used by the audit sink as it writes each event immediately a
291
292
292
293
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.
293
294
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
+
294
300
## ColumnOptions Object
295
301
296
302
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
319
325
320
326
### DisableTriggers
321
327
322
-
Disabling triggers can significantly improve batch-write performance.
328
+
Disabling triggers can significantly improve batch-write performance. Only applies when `SqlBulkCopy` is used.
0 commit comments