That is Plex Media Server de-bloating the database. It can take several hours. Plex will be unresponsive during the de-bloating.
An alternative is deflate.sh mentioned in the thread @ChristianKent linked. It is faster than letting PMS perform the de-bloating.
Here’s the Linux version: Library.db size more than doubled in latest version - #375 by ChuckPa