public function index()
    {
        Piwik::checkUserHasSuperUserAccess();
        $view = new View('@DBStats/index');
        $this->setBasicVariablesView($view);

        $_GET['showtitle'] = '1';

        $view->databaseUsageSummary = $this->renderReport('getDatabaseUsageSummary');
        $view->trackerDataSummary   = $this->renderReport('getTrackerDataSummary');
        $view->metricDataSummary    = $this->renderReport('getMetricDataSummary');
        $view->reportDataSummary    = $this->renderReport('getReportDataSummary');
        $view->adminDataSummary     = $this->renderReport('getAdminDataSummary');

        list($siteCount, $userCount, $totalSpaceUsed) = API::getInstance()->getGeneralInformation();

        $formatter = new Formatter();
        $view->siteCount      = $formatter->getPrettyNumber($siteCount);
        $view->userCount      = $formatter->getPrettyNumber($userCount);
        $view->totalSpaceUsed = $formatter->getPrettySizeFromBytes($totalSpaceUsed);

        return $view->render();
    }