Build a secondary table usable for SQL aggregates #2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The main table is append-only and consists of raw events. It cannot be used for aggregates, as an iterative aproach is necessary to extract time spans of activity.
The GUI will build a secondary table when necessary. This is a relatively rare action, and SQLite aggregate functions can finally build on top of this. Retain the schema version in the user_version field.
This table will have indexes over times and an FTS5 index over window titles and window classes. (I've checked that FTS5 is enabled in Arch since 2016.)
It is an open question whether string normalisation would make sense. Avoid doing this at first, as it adds complexity.