Does it keep messages in the database forever or are there housekeeping parameters that can be configured?
I believe by default it will store everything until you run out of space You can go to Archiving > Archiving Settings and change Max Message Age to a desired setting.