Skip to content

Commit f01a9ab

Browse files
committed
Adding a no_sync documentation to get-started page (#5826)
1 parent 471e9f2 commit f01a9ab

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

content/shared/v3-core-get-started/_index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,13 @@ For more information, see [diskless architecture](#diskless-architecture).
323323
> Because InfluxDB sends a write response after the WAL file has been flushed to the configured object store (default is every second), individual write requests might not complete quickly, but you can make many concurrent requests to achieve higher total throughput.
324324
> Future enhancements will include an API parameter that lets requests return without waiting for the WAL flush.
325325
326+
##### no_sync Write Option
327+
328+
InfluxDB provides a no_sync write option to allow faster response of write request by skipping the wait for WAL presistence. When `no_sync=true`, InfluxDB writes data to WAL but immediately acknowledges the write request without waiting for persistence.
329+
330+
- Default behavior(`no_sync=false`): Ensures data is persisted before acknowledging writes. Thus, reducing the risk of data loss.
331+
- With `no_sync=true`: Improves write performance but increases the risk of data loss in case of crashes before WAL persistence.
332+
326333
#### Create a database or Table
327334
328335
To create a database without writing data, use the `create` subcommand--for example:

0 commit comments

Comments
 (0)