Click or drag to resize

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
)

Parameters

collectionName
Type: SystemString
Name of the collection.

Return Value

Type: TaskPutCompactCollectionDataResponse
See Also