How large can SecurityGateway message database get before performance becomes an issue?
As the database approaches 5 million message records, performance may become an issue. If this is where your database is, consider tweaking your settings under Setup | Data Retention from the SecurityGateway dashboard.