| 12345678910111213141516171819202122232425262728293031323334 | [[index-modules-translog]]== TranslogEach shard has a transaction log or write ahead log associated with it.It allows to guarantee that when an index/delete operation occurs, it isapplied atomically, while not "committing" the internal Lucene index foreach request. A flush ("commit") still happens based on severalparameters:`index.translog.flush_threshold_ops`::After how many operations to flush. Defaults to `unlimited`.`index.translog.flush_threshold_size`:: Once the translog hits this size, a flush will happen. Defaults to `200mb`.`index.translog.flush_threshold_period`:: The period with no flush happening to force a flush. Defaults to `30m`.`index.translog.interval`:: How often to check if a flush is needed, randomizedbetween the interval value and 2x the interval value. Defaults to `5s`.`index.gateway.local.sync`::How often the translog is ++fsync++ed to disk. Defaults to `5s`.Note: these parameters can be updated at runtime using the IndexSettings Update API (for example, these number can be increased whenexecuting bulk updates to support higher TPS)
 |