# PostgreSQL - how to divide in different process groups

**URL:** <https://community.dynatrace.com/t/postgresql-how-to-divide-in-different-process-groups/21883>\
**Category:** Open Q&A\
**Tags:** process-groups, postgresql\
**Created:** [September 11, 2019, 12:04pm UTC](https://community.dynatrace.com/t/postgresql-how-to-divide-in-different-process-groups/21883 "2019-09-11T12:04:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![y\_buccellato](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/y_buccellato/32/160_2.png) [@y\_buccellato](https://community.dynatrace.com/u/y_buccellato)\
**Post date:** [September 11, 2019, 12:04pm UTC](https://community.dynatrace.com/t/postgresql-how-to-divide-in-different-process-groups/21883/1 "2019-09-11T12:04:55Z")

</div>

Hi,

I’m currently trying to split several processes PostgreSQL that falls under a unique Process-Group in different Process Groups.

In order to do so, as I did before for processes like jboss/weblogic ecc… I’m looking into the following menù:

Setting \> Process and containers \> Process group detection \> Process group detection rules

I cannot find any process property that includes PostgreSQL.  
My guess is that this is intended but is there any work-around to achive this goal?

Thank you

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [September 11, 2019, 2:14pm UTC](https://community.dynatrace.com/t/postgresql-how-to-divide-in-different-process-groups/21883/2 "2019-09-11T14:14:45Z")

</div>

You can gry configuring environment variables on each host nas split PG based on this. If you have multiple hosts that serves PG you can as well define host group for them:

> **[Organize your environment using host groups](https://docs.dynatrace.com/docs/observe/infrastructure-observability/hosts/configuration/organize-your-environment-using-host-groups)**
>
> Find out how Dynatrace enables you to organize your hosts, processes, and services using host groups.

Procesem working on different hostgroups will split automatically

Sebastian

---

<div class="post-metadata">

**Author:** ![y\_buccellato](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/y_buccellato/32/160_2.png) [@y\_buccellato](https://community.dynatrace.com/u/y_buccellato)\
**Post date:** [September 12, 2019, 7:51am UTC](https://community.dynatrace.com/t/postgresql-how-to-divide-in-different-process-groups/21883/3 "2019-09-12T07:51:56Z")

</div>

This can be the way to go and I totally missed it.  
Going to study to see if this fit my managed situation, thank you for your time!
