You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The mongo collection which contains the server statistics can run quite large over time. After several years, for me it is the largest table now, exceeding the size of the message collection:
-rw-r--r-- 1 mongodb daemon 454M May 7 00:02 rocketchat_message.bson
-rw-r--r-- 1 mongodb daemon 496M May 7 00:02 rocketchat_statistics.bson
Looking inside, it seems the all entries since the installation in 2017 have been kept. Apparently there is no auto-rotation.
Expected behavior:
Statistics entries older than a configured retention time get removed.
Actual behavior:
Statistics entries are kept forever. There is no retention to be configured currently.
Server Setup Information:
Version of Rocket.Chat Server: 7.5.1
License Type: free
Deployment Method: tar
Operating System: Arch
Number of Running Instances: 1
NodeJS Version: 20.19.0
MongoDB Version: 8.0.4-1
The text was updated successfully, but these errors were encountered:
I confirm this. For our oldest RC instance from 2017 rocketchat_statistics.bson size is now 864 MB. The first entries are from 2017, and the latest one today.
So it grows, but it seems quite linear, ~100 MB per year.
Description:
The mongo collection which contains the server statistics can run quite large over time. After several years, for me it is the largest table now, exceeding the size of the message collection:
Looking inside, it seems the all entries since the installation in 2017 have been kept. Apparently there is no auto-rotation.
Expected behavior:
Statistics entries older than a configured retention time get removed.
Actual behavior:
Statistics entries are kept forever. There is no retention to be configured currently.
Server Setup Information:
The text was updated successfully, but these errors were encountered: