GitHub user yezhizi added a comment to the discussion: TimeSeries Proposal

> I see. My concern is it might has the performance issue since one time series 
> might have thousand label values. And we need to read-modify-write this value 
> every time a new label was added.

OK, splitting it into multiple keys might be more reasonable. When users update 
labels, we can modify only the relevant keys.
Something like that:
```
                          +------------------+
key|version|label_key1 => |  label_value1    |
                          |     (Xbyte)      |  
                          +------------------+
                          +------------------+
key|version|label_key2 => |  label_value2    |
                          |     (Xbyte)      |  
                          +------------------+
...

```

GitHub link: 
https://github.com/apache/kvrocks/discussions/3044#discussioncomment-13715711

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to