protected function handleSizeAlerts($db)
    {
        if (($db['alert_greater_than_mb'] > 0) && ($db['size'] > $db['alert_greater_than_mb'])) {
            if ($this->eye->status()->isHealthy('database_size_'.$db['connection'])) {
                $this->eye->notifier()->alert(new SizeLarge($db));
            }

            $this->eye->status()->setSick('database_size_'.$db['connection']);
        } elseif (($db['alert_less_than_mb'] > 0) && ($db['size'] < $db['alert_less_than_mb'])) {
            if ($this->eye->status()->isHealthy('database_size_'.$db['connection'])) {
                $this->eye->notifier()->alert(new SizeSmall($db));
            }

            $this->eye->status()->setSick('database_size_'.$db['connection']);
        } else {
            if ($this->eye->status()->isSick('database_size_'.$db['connection'])) {
                $this->eye->notifier()->alert(new SizeOk($db));
            }

            $this->eye->status()->setHealthy('database_size_'.$db['connection']);
        }

    }