Yamcs Server Manual
- General Information
- Server Administration
- Mission Database
- Data Management
- Data Links
- Processors
- Commanding
- Services
- Security
- Web Interface
- Programs
Related
Yamcs Release Notes
Yamcs HTTP API
Source Code Documentation
Download this Document
ParametersΒΆ
This table is created by the Parameter Recorder and uses the generation time and sequence number as primary key:
CREATE TABLE pp(
gentime TIMESTAMP,
ppgroup ENUM,
seqNum INT,
rectime TIMESTAMP,
primary key(
gentime,
seqNum
)
) histogram(ppgroup) PARTITION BY TIME_AND_VALUE(gentime,ppgroup) table_format=compressed;
Where the columns are:
- gentimethe generation time of the command set by the originator.
- ppgroupa string used to group parameters. The parameters sharing the same group and the same timestamp are stored together.
- seqNuma sequence number supposed to be increasing independently for each group.
- rectimethe time when the parameters have been received by Yamcs.
In addition to these columns that are statically created, the pp table will store columns with the name of the parameter and the type PROTOBUF(org.yamcs.protobuf.Pvalue$ParameterValue)
.
Note
Because partitioning by ppgroup
is specified, this is also implicitly part of the primary key, but not stored as such in the RocksDB key.