> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-3a82795f.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> 包含队列中待处理异步插入相关信息的系统表。

# system.asynchronous_inserts

<Info>
  **在 ClickHouse Cloud 中查询**

  此系统表中的数据分别保存在 ClickHouse Cloud 各节点的本地。因此，如需查看所有数据的完整情况，需要使用 `clusterAllReplicas` 函数。更多详情请参见[此处](/zh/reference/system-tables/overview#system-tables-in-clickhouse-cloud)。
</Info>

<div id="description">
  ## 描述
</div>

包含队列中待处理异步插入的信息。

<div id="columns">
  ## 列
</div>

* `query` ([String](/zh/reference/data-types)) — 查询文本。
* `database` ([String](/zh/reference/data-types)) — 数据库名。
* `table` ([String](/zh/reference/data-types)) — 表名。
* `format` ([String](/zh/reference/data-types)) — 格式名称。
* `first_update` ([DateTime64(6)](/zh/reference/data-types)) — 首次写入时间 (微秒精度) 。
* `total_bytes` ([UInt64](/zh/reference/data-types)) — 队列中等待处理的总字节数。
* `entries.query_id` ([Array(String)](/zh/reference/data-types)) — 队列中等待处理的插入操作的查询 id 数组。
* `entries.bytes` ([Array(UInt64)](/zh/reference/data-types)) — 队列中等待处理的每个插入查询的字节数数组。

<div id="example">
  ## 示例
</div>

```sql title="Query" theme={null}
SELECT * FROM system.asynchronous_inserts LIMIT 1 \G;
```

```text title="Response" theme={null}
Row 1:
──────
query:            INSERT INTO public.data_guess (user_id, datasource_id, timestamp, path, type, num, str) FORMAT CSV
database:         public
table:            data_guess
format:           CSV
first_update:     2023-06-08 10:08:54.199606
total_bytes:      133223
entries.query_id: ['b46cd4c4-0269-4d0b-99f5-d27668c6102e']
entries.bytes:    [133223]
```

<div id="see-also">
  ## 另请参阅
</div>

* [system.query\_log](/zh/reference/system-tables/query_log) — `query_log` 系统表的说明，其中包含有关查询执行的常见信息。
* [system.asynchronous\_insert\_log](/zh/reference/system-tables/asynchronous_insert_log) — 此表包含有关已执行异步插入的信息。
