add complexity sql command
This commit is contained in:
parent
88598c4ecf
commit
f8b77b5982
|
@ -61,3 +61,9 @@ SELECT nspname || '.' || relname AS "relation",
|
|||
ORDER BY pg_total_relation_size(c.oid) DESC
|
||||
LIMIT 20;
|
||||
```
|
||||
|
||||
show complexity of room:
|
||||
|
||||
```sql
|
||||
SELECT COUNT(*)/500.0 FROM current_state_events WHERE room_id='...';
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user