mirror of https://github.com/zulip/zulip.git
610e92b94e
This is a major change to the analytics schema, and is the first step in a number of refactorings and performance improvements. For instance, it allows * Grouping sets of similar CountStats in the *Count tables. For instance, active{_humans,_bots} will now have the same property, but have different subgroup values. * Combining queries that differ only in their value on 1 filter clause, so that we make fewer passes through the zerver tables. For instance, instead of running a query for each of messages_sent_to_public_streams and messages_sent_to_private_streams, we can now run a single query with a group by on Stream.invite_only, and store the group by value in the subgroup column. |
||
---|---|---|
.. | ||
__init__.py | ||
test_counts.py |