From 62ca310ed9b338faafbd7eaa65bf05c9fd68524d Mon Sep 17 00:00:00 2001
From: richvdh Synapse maintains room and user statistics (as well as a cache of room state),
-in various tables. These can be used for administrative purposes but are also
-used when generating the public room directory. Synapse maintains room and user statistics in various tables. These can be used
+for administrative purposes but are also used when generating the public room
+directory.Room and User Statistics
-Synapse Developer Documentation
High-Level Concepts
Definitions
@@ -193,48 +193,10 @@ used when generating the public room directory.
Stats are maintained as time series. There are two kinds of column:
-end_ts
-in the stats row. (Imagine a line graph for these values)
-(end_ts − bucket_size)…end_ts
-or start_ts…end_ts
. (Imagine a histogram for these values)Stats are maintained in two tables (for each type): current and historical.
-Current stats correspond to the present values. Each subject can only have one -entry.
-Historical stats correspond to values in the past. Subjects may have multiple -entries.
-Current rows contain the most up-to-date statistics for a room. -They only contain absolute columns
-Historical rows can always be considered to be valid for the time slice and -end time specified.
-0
)The purging of historical rows is not yet implemented.
+Stats correspond to the present values. Current rows contain the most up-to-date +statistics for a room. Each subject can only have one entry.
-- cgit 1.5.1