Skip to content

Store metrics using explicit schema #165

@ants

Description

@ants

In pgw2 data and tags are stored as jsonb. This duplicates schema information in every row, giving bad storage efficiency for uncompressed data. It also defeats timeseries compression mechanisms for compressed data. Additionally, any access to data needs to decompress the whole document instead of accessing just the necessary column, which is very important for columnar storage.

Storing series metadata (e.g. full query text) out-of-line in a separate table might also be a good idea.

TBD: measurements on real world data

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestrefactoringSomething done as it should've been done from the startsinksWhere and how to store monitored data

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions