diff --git a/ja/learn/admin/REST/compaction-rest-api.dita b/ja/learn/admin/REST/compaction-rest-api.dita index 1549888..b1d2426 100644 --- a/ja/learn/admin/REST/compaction-rest-api.dita +++ b/ja/learn/admin/REST/compaction-rest-api.dita @@ -1,47 +1,48 @@ - + Compaction API - Compaction is used to reclaim disk space and reduce disk fragmentation. + Compaction はディスク領域を開放し、断片化したディスクを軽減させるために使用します。 -
Description -

Couchbase Server writes all data that you append, update and delete as files on disk. The - compaction process can eventually lead to gaps in the data file, particularly when - you delete data. Be aware the server also writes index files in a sequential format - based on appending new results in the index. You can reclaim the empty gaps in all - data files by performing a process called compaction. For both data files and index - files, perform frequent compaction of the files on disk to help reclaim disk space - and reduce disk fragmentation.

+
+ 説明 +

+ Couchbase Serverは追加、更新、削除した全てのデータをディスクのファイルと同じように書き込み処理を行います。 + 特にデータ削除時に行うと、compaction処理は最終的にデータファイルの欠落を起こすことがあります。 + インデックスに新しい結果を追加すると逐次フォーマットベースでインデックスファイルに書き込みされることも注意してください。 + compactionと呼ばれる処理を行うことによりすべてのファイルの空白を再利用することができます。 + データファイルとインデックスファイル両方にとって、頻繁にファイルのcompactionを頻繁に行うことはディスク領域の開放やディスクの断片化の軽減の役に立ちます。 +

- Compaction endpoints + Compaction エンドポイント - HTTP method - URI path - Description + HTTPメソッド + URIパス + 説明 POST /pools/default/buckets/[bucket_name]/controller/compactBucket - Compacts bucket data and indexes. + bucketデータやインデックスを圧縮します。 POST /pools/default/buckets/[bucket_name]/controller/cancelBucketCompaction - Cancels compaction for the specified bucket. + 特定のbucketの圧縮をキャンセルします。 POST /[bucket_name]/_design/[ddoc_name]/_spatial/_compact - Compacts a spatial view. + 空間ビューを圧縮します。