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

> Ordinary データベースエンジンは非推奨のレガシーエンジンであり、Atomic に置き換えられました。

# Ordinary

`Ordinary` データベースエンジンは、旧来のデータベースエンジンです。各テーブルのメタデータを個別のファイルに保存しますが、現在は [`Atomic`](/ja/reference/engines/database-engines/atomic) に置き換えられています。

<Warning>
  `Ordinary` は非推奨です。新しいデータベースには使用しないでください。
</Warning>

## データベースの作成

`Ordinary` データベースを作成するには、[`allow_deprecated_database_ordinary`](/ja/reference/settings/session-settings/allow-deprecated#allow_deprecated_database_ordinary) を有効にする必要があります。

```sql theme={null}
SET allow_deprecated_database_ordinary = 1;

CREATE DATABASE legacy
ENGINE = Ordinary;
```

## 移行

新規のデータベースには `Atomic` を使用してください。オープンソース版 ClickHouse のデフォルトのデータベースエンジンであり、ノンブロッキングな `DROP TABLE` や `RENAME TABLE` を含むアトミックなメタデータ操作をサポートします。

## 関連項目

* [Atomic データベースエンジン](/ja/reference/engines/database-engines/atomic)
* [`allow_deprecated_database_ordinary`](/ja/reference/settings/session-settings/allow-deprecated#allow_deprecated_database_ordinary)
