Analytic Database: Powering Business Intelligence with Historical Data