Necessary db tuning things