Containers (replace groups) #4
riklempens
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In SiriDB 2.x, all series are put into a single container.
To bring structure into series, the user of SiriDB required careful thinking in what name for series to use. All the structure for the series had to be contained into the name. Therefore, often, a separate character had to be used, combined with groups or regular expressions to get certain series. For example:
<Company>/<Department>/<Item>
. It is very difficult and almost impossible to change the structure afterwards. One reason is that the name is responsible for assigning the series into a pool, and moving from one pool to another had quite some impact.With SiriDB 3.x we introduce a “container” concept. Instead of using a single series name, we now can write the following:
“Company”.”Department”.”Item”
. In this case, only“Item”
will be the series. The other components will be containers.A container will be created automatically when it does not exist.
Within a container it is possible to have multiple containers and time series as long as the names are unique. Both time series and containers can be “linked” to other containers, so the same time series may exist in multiple containers.
Using
“drop”
we can remove time series from all containers and with a new“unlink”
command it will be possible to remove time series from a single container (if time series no longer exist in any container, unlink has the same effect as drop).Beta Was this translation helpful? Give feedback.
All reactions