On a large TeamCity version 2019.1 installation, we noticed that the remember_me table has about 250 million records (!), and the on disk usage, as reported by MySQL "SHOW TABLE STATUS" is about 13 GB.
When any user tries to login through the UI, with the "Remember me" checkbox selected (as it is by default) then click the Login button the page looks like it is attempting to login but then it fails after a few minutes, timing out.
If the "Remember me" options is not checked, then users are able to login instantly.
The number of users in the users table is around 4,000.
So, why there are so many entries in the remember_me table? Is the remember_me table related to the "Remember me" option on the login page? Also, if we delete all entries from this table, while the TeamCity process is still running, would have any other impact on the service other than logging out all users from the UI (which is ok for us)?
What is the purpose of the remember_me table and how it works? Thanks.