# Need help in setting up alerts for Database

**URL:** <https://community.dynatrace.com/t/need-help-in-setting-up-alerts-for-database/6426>\
**Category:** Alerting\
**Tags:** databases, problems-classic\
**Created:** [June 8, 2017, 1:48pm UTC](https://community.dynatrace.com/t/need-help-in-setting-up-alerts-for-database/6426 "2017-06-08T13:48:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tarun\_agastya1](https://avatars.discourse-cdn.com/v4/letter/t/ecccb3/32.png) [@tarun\_agastya1](https://community.dynatrace.com/u/tarun_agastya1)\
**Post date:** [June 8, 2017, 1:48pm UTC](https://community.dynatrace.com/t/need-help-in-setting-up-alerts-for-database/6426/1 "2017-06-08T13:48:37Z")

</div>

Hi,

I want to setup alerts for database,whenever DB queries taking too long & DB errors when not able to communicate.

can someone help me whether these are possible,if possible how can we setup.

Thanks,

---

<div class="post-metadata">

**Author:** ![wolfgang\_beer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/wolfgang_beer/32/14717_2.png) [@wolfgang\_beer](https://community.dynatrace.com/u/wolfgang_beer)\
**Post date:** [June 8, 2017, 1:56pm UTC](https://community.dynatrace.com/t/need-help-in-setting-up-alerts-for-database/6426/2 "2017-06-08T13:56:43Z")

</div>

You find the specific error and response time threshold settings within the settings of the individual database service or on a global level under Settings → Anomaly detection → Database services

All database services are automatically baselined and will open an event if the collected baseline is breached. That works out of the box without any configuration necessary. You just have to run the service under normal load for a day and it will begin to alert on anomalies.
