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
{{% product-name %}} provides the `/write` and `/api/v2/write` endpoints for backward compatibility with clients that can write data to previous versions of InfluxDB.
232
232
However, these APIs differ from the APIs in the previous versions in the following ways:
@@ -311,23 +311,24 @@ The response is the following:
311
311
}
312
312
```
313
313
314
-
Neither line is written to the database.
314
+
InfluxDB rejects all points in the batch.
315
315
The response is an HTTP error (`400`) status, and the response body contains `parsing failed for write_lp endpoint` and details about the problem line.
316
316
317
317
##### Data durability
318
318
319
-
Written data goes into WAL files, created once per second, and into an in-memory queryable buffer. Later, InfluxDB snapshots the WAL and persists the data into object storage as Parquet files.
320
-
We cover the [diskless architecture](#diskless-architecture) later in this guide.
319
+
When you write data to InfluxDB, InfluxDB ingests the data and writes it to WAL files, created once per second, and to an in-memory queryable buffer.
320
+
Later, InfluxDB snapshots the WAL and persists the data into object storage as Parquet files.
321
+
For more information, see [diskless architecture](#diskless-architecture).
321
322
322
323
> [!Note]
323
324
>##### Write requests return after WAL flush
324
-
> Write requests to the database _don't_ return until a WAL file has been flushed to the configured object store, which by default happens once per second.
325
-
> Individual write requests might not complete quickly, but you can make many concurrent requests to get higher total throughput.
326
-
> In the future, we will add an API parameter that lets requests return without waiting for the WAL flush.
325
+
>
326
+
>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.
327
+
>Future enhancements will include an API parameter that lets requests return without waiting for the WAL flush.
327
328
328
-
#### Create a Database or Table
329
+
#### Create a database or Table
329
330
330
-
To create a database without writing data into it, use the `create` subcommand--for example:
331
+
To create a database without writing data, use the `create` subcommand--for example:
331
332
332
333
```bash
333
334
influxdb3 create database mydb
@@ -345,6 +346,8 @@ InfluxDB 3 now supports native SQL for querying, in addition to InfluxQL, an
345
346
SQL-like language customized fortime series queries. {{< product-name >}} limits
346
347
query time ranges to 72 hours (both recent and historical) to ensure query performance.
347
348
349
+
For more information about the 72-hour limitation, see the [Jan 27, 2025 blog post](https://www.influxdata.com/blog/influxdb3-open-source-public-alpha-jan-27/).
350
+
348
351
> [!Note]
349
352
> Flux, the language introduced in InfluxDB 2.0, is **not** supported in InfluxDB 3.
{{% product-name %}} provides the `/write` and `/api/v2/write` endpoints for backward compatibility with clients that can write data to previous versions of InfluxDB.
227
227
However, these APIs differ from the APIs in the previous versions in the following ways:
@@ -306,23 +306,24 @@ The response is the following:
306
306
}
307
307
```
308
308
309
-
Neither line is written to the database.
309
+
InfluxDB rejects all points in the batch.
310
310
The response is an HTTP error (`400`) status, and the response body contains `parsing failed for write_lp endpoint` and details about the problem line.
311
311
312
312
##### Data durability
313
313
314
-
Written data goes into WAL files, created once per second, and into an in-memory queryable buffer. Later, InfluxDB snapshots the WAL and persists the data into object storage as Parquet files.
315
-
We cover the [diskless architecture](#diskless-architecture) later in this guide.
314
+
When you write data to InfluxDB, InfluxDB ingests the data and writes it to WAL files, created once per second, and to an in-memory queryable buffer.
315
+
Later, InfluxDB snapshots the WAL and persists the data into object storage as Parquet files.
316
+
For more information, see [diskless architecture](#diskless-architecture).
316
317
317
318
> [!Note]
318
319
>##### Write requests return after WAL flush
319
-
> Write requests to the database _don't_ return until a WAL file has been flushed to the configured object store, which by default happens once per second.
320
-
> Individual write requests might not complete quickly, but you can make many concurrent requests to get higher total throughput.
321
-
> In the future, we will add an API parameter that lets requests return without waiting for the WAL flush.
320
+
>
321
+
>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.
322
+
>Future enhancements will include an API parameter that lets requests return without waiting for the WAL flush.
322
323
323
-
#### Create a Database or Table
324
+
#### Create a database or table
324
325
325
-
To create a database without writing data into it, use the `create` subcommand--for example:
326
+
To create a database without writing data, use the `create` subcommand--for example:
326
327
327
328
```bash
328
329
influxdb3 create database mydb
@@ -397,7 +398,7 @@ $ influxdb3 query --database=servers "SELECT DISTINCT usage_percent, time FROM c
397
398
To query using InfluxQL, enter the `influxdb3 query` subcommand and specify `influxql`in the language option--for example:
398
399
399
400
```bash
400
-
influxdb3 query --database=servers --lang=influxql "SELECT DISTINCT usage_percent FROM cpu WHERE time >= now() - 1d"
401
+
influxdb3 query --database=servers --language=influxql "SELECT DISTINCT usage_percent FROM cpu WHERE time >= now() - 1d"
0 commit comments