summary refs log tree commit diff
path: root/docs/room_and_user_statistics.md
blob: cc38c890bb590ade6911a230beea78d9e35cc984 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Room and User Statistics
========================

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.


# Synapse Developer Documentation

## High-Level Concepts

### Definitions

* **subject**: Something we are tracking stats about – currently a room or user.
* **current row**: An entry for a subject in the appropriate current statistics
    table. Each subject can have only one.

### Overview

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.