/  Yamcs HTTP API  /  RocksDB  /  Compact Database

Compact DatabaseΒΆ

Compact database

URI Template

POST /api/archive/rocksdb/{tablespace}/{dbpath}:compact
{tablespace}
{dbpath}

Request Body

interface CompactDatabaseRequest {

  // Column family
  //
  // Starting with Yamcs 5.9.0 the following column families are used:
  //
  // | Column Family     | Content                                   |
  // | ----------------- | ----------------------------------------- |
  // | _metadata_        | Table info, partition info                |
  // | rt_data           | tm, pp and events tables                  |
  // | parameter_archive | Parameter Archive                         |
  // | default           | Everything else (cmdhistory, alarms, ...) |
  cfname: string;
}