- General Information
 - Server Administration
 - Mission Database
 - Data Management
 - Data Links
 - Processors
 - Commanding
 - Services
 - Security
 - Web Interface
 - Programs
 
Extending Yamcs
Appendices
        
          
        
          
            Yamcs HTTP API
          
        
          
            Yamcs Release Notes
          
        
        
          
            Source Code Documentation
          
        
          
        
          
        
        
      
yamcsadmin rocksdb¶
Synopsis¶
Description¶
Provides low-level RocksDB data operations.
Commands¶
- compact [--dbDir DIR] [--sizeMB SIZE]
 Compact RocksDB database
- bench [--dbDir DIR] [--baseTime TIME] [--count COUNT] [--duration HOURS]
 Benchmark RocksDB storage engine.
A
rocksbencharchive instance will be created in the directory indicated by--dbDir.The benchmark consists of a table load and a few selects. The table is loaded with telemetry packets received at frequencies of [10/sec, 1/sec, 1/10sec, 1/60sec and 1/hour]. The table will be identical to the tm table and will contain a histogram on pname (= packet name). It is possible to specify how many partitions (i.e. how many different pnames) to be loaded for each frequency and the time duration of the data.
Options¶
- --dbDir <DIR>¶
 Database directory.
- --sizeMB <SIZE>¶
 This option is only valid for the
compactcommand.Target size of each SST file in MB (default is 256 MB).
- --baseTime <TIME>¶
 This option is only valid for the
benchcommand.Start inserting data with this time. Default: 2017-01-01T00:00:00
- --count <COUNT>¶
 This option is only valid for the
benchcommand.The partition counts for the 5 frequencies: [10/sec, 1/sec, 1/10sec, 1/60sec and 1/hour]. It has to be specified as a string (use quotes).
- --duration <HOURS>¶
 This option is only valid for the
benchcommand.The duration in hours of the simulated data. Default: 24