Repository navigation
Does SEQ automatically de-duplicate signals when an index is available? #2600
Replies: 1 comment
|
Hi! Oddly, we've just been talking about exactly this in the past week or two. Seq doesn't connect signal and property/expression indexes at all, today (2026.1), nor does it do any deduplication. Signal indexes are used only when signals are explicitly used, property indexes whenever a compatible clause appears, and in some cases both will be applied in the same query and their intersection calculated (i.e. a full overlap). We've talked a little about creating and using property indexes when multiple signals filter on the same property. Because signal indexes are so compact, though, the cardinality of the set of values of the property would need to be quite high before the two would break even on disk usage and IO (perhaps 100+). This got us around to considering using signal-index-style bitmap encoding for property indexes below a certain cardinality, which would bring the cost of property indexes down. The work on column-oriented storage that shipped in Seq 2026.1 includes some newer bitmap encoding techniques which might push storage/IO costs for both types of index down further still. From the other side, we're also exploring whether we can start using signal indexes implicitly, bringing the two indexing techniques closer together for some kind of eventual unification. We're not sure yet when we'll start to push this all along - we'd hoped to start some of this work in 2026.2, but the end of the year is coming up fast, so it may be further down the line... :-) |
Uh oh!
There was an error while loading. Please reload this page.
Hello
We have a couple of signals, e.g.
foo=bar,foo=bazWe also have an index on
fooAs a result, I have a large index, and many smaller signals. I was wondering if Seq can automatically reuse the index for a signal if it exists. Just curious how it works in the background.
All reactions