ClickHouse/docs/zh/engines/database-engines/atomic.md

18 lines
387 B
Markdown
Raw Normal View History

2021-01-25 20:22:34 +00:00
---
toc_priority: 32
toc_title: Atomic
---
# Atomic {#atomic}
2021-07-16 02:07:16 +00:00
它支持非阻塞 DROP 和 RENAME TABLE 查询以及原子 EXCHANGE TABLES t1 AND t2 查询。默认情况下使用Atomic数据库引擎。
2021-01-25 20:22:34 +00:00
2021-07-16 02:07:16 +00:00
## 创建数据库 {#creating-a-database}
2021-01-25 20:22:34 +00:00
```sql
CREATE DATABASE test ENGINE = Atomic;
```
2021-07-16 02:07:16 +00:00
[原文](https://clickhouse.tech/docs/en/engines/database_engines/atomic/) <!--hide-->