ICollectionApiClientPutCompactCollectionDataAsync Method |
Compacts the data of a collection in order to reclaim disk space.
The operation will compact the document and index data by rewriting
the underlying .sst files and only keeping the relevant entries.
PUT /_api/collection/{collection-name}/compact
Namespace:
ArangoDBNetStandard.CollectionApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<PutCompactCollectionDataResponse> PutCompactCollectionDataAsync(
string collectionName
)
Function PutCompactCollectionDataAsync (
collectionName As String
) As Task(Of PutCompactCollectionDataResponse)
Task<PutCompactCollectionDataResponse^>^ PutCompactCollectionDataAsync(
String^ collectionName
)
abstract PutCompactCollectionDataAsync :
collectionName : string -> Task<PutCompactCollectionDataResponse>
Parameters
- collectionName
- Type: SystemString
Name of the collection.
Return Value
Type:
TaskPutCompactCollectionDataResponseSee Also