mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-17 05:50:49 +00:00
d91c97d15d
* Replace underscores with hyphens * remove temporary code * fix style check * fix collapse
20 lines
1.6 KiB
Markdown
20 lines
1.6 KiB
Markdown
---
|
||
machine_translated: true
|
||
machine_translated_rev: d734a8e46ddd7465886ba4133bff743c55190626
|
||
toc_priority: 44
|
||
toc_title: "\u30E1\u30E2\u30EA"
|
||
---
|
||
|
||
# メモリ {#memory}
|
||
|
||
メモリエンジンは、データを非圧縮形式でramに格納します。 データは、読み取り時に受信されるのとまったく同じ形式で格納されます。 言い換えれば、この表からの読み取りは完全に無料です。
|
||
同時データアクセスは同期されます。 ロックは短く、読み取り操作と書き込み操作は互いにブロックしません。
|
||
索引はサポートされません。 読み取りは並列化されます。
|
||
ディスクからの読み取り、デンプレッシング、データの逆シリアル化がないため、単純なクエリで最大の生産性(10gb/秒以上)に達します。 (多くの場合、mergetreeエンジンの生産性はほぼ同じ高さにあることに注意してください。)
|
||
サーバーを再起動すると、テーブルからデータが消え、テーブルが空になります。
|
||
通常、このテーブルエンジンの使用は正当化されません。 ただし、テストや、比較的少数の行で最大速度が必要なタスク(およそ100,000,000まで)に使用できます。
|
||
|
||
メモリーのエンジンを使用するシステムの一時テーブルの外部クエリデータの項をご参照ください “External data for processing a query”グローバルでの実装のために(セクションを参照 “IN operators”).
|
||
|
||
[元の記事](https://clickhouse.tech/docs/en/operations/table_engines/memory/) <!--hide-->
|