Analytical Profile Estimation in Database Systems