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

18 lines
413 B
Markdown
Raw Normal View History

2021-01-23 19:46:24 +00:00
---
toc_priority: 32
toc_title: Atomic
---
# Atomic {#atomic}
2021-01-25 18:49:13 +00:00
It is supports non-blocking `DROP` and `RENAME TABLE` queries and atomic `EXCHANGE TABLES t1 AND t2` queries. Atomic database engine is used by default.
2021-01-23 19:46:24 +00:00
## Creating a Database {#creating-a-database}
2021-01-25 18:49:13 +00:00
```sql
CREATE DATABASE test ENGINE = Atomic;
```
2021-01-23 19:46:24 +00:00
[Original article](https://clickhouse.tech/docs/en/engines/database_engines/atomic/) <!--hide-->