Menu
Simba Technologies
Simba Technologies

Simba MongoDB ODBC Driver with SQL Connector 2.2.3
Installation and Configuration Guide

Write Concern

Key Name Default Value Required

WriteConcern

1

No

Description

The total number of primary and secondary servers that must acknowledge a write operation in order for the driver to report a successful write operation.

When this option is set to 0, the driver does not require write operations to be acknowledged.

Important:

  • If you set this option to a value that is greater than 1, make sure to also specify an appropriate value for the Timeout setting or the WriteConcernTimeout key. Setting this option to a value greater than 1 without specifying a timeout interval may cause the driver to wait indefinitely for replica set members to come online.
  • The process for acknowledging a write operation typically takes four times longer than an INSERT or UPDATE operation, but it is necessary if fault tolerance is important.