You can configure the DB so that it uses multiple files instead of one big ibdata1 file. This allows to run a command to optimize the space when/if it become too big.