# Dynatrace Workflows: "Auto-fetch execution plans" Workflow is Not Fetching Execution Plans

**URL:** <https://community.dynatrace.com/t/dynatrace-workflows-auto-fetch-execution-plans-workflow-is-not-fetching-execution-plans/54545>\
**Category:** Automations\
**Tags:** databases, workflows, postgresql\
**Created:** [January 6, 2026, 11:09pm UTC](https://community.dynatrace.com/t/dynatrace-workflows-auto-fetch-execution-plans-workflow-is-not-fetching-execution-plans/54545 "2026-01-06T23:09:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ASE](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@ASE](https://community.dynatrace.com/u/ASE)\
**Post date:** [January 6, 2026, 11:09pm UTC](https://community.dynatrace.com/t/dynatrace-workflows-auto-fetch-execution-plans-workflow-is-not-fetching-execution-plans/54545/1 "2026-01-06T23:09:14Z")

</div>

**Description:**

We recently added Dynatrace’s ready-made&nbsp;[Auto-fetch execution plans workflow](https://docs.dynatrace.com/docs/observe/infrastructure-observability/databases/database-app#auto-fetch-workflow)&nbsp;to our&nbsp; **Dynatrace Workflows**.

However, even though it’s executing as expected, when in the&nbsp; **Databases** &nbsp;app, I’m not seeing any new&nbsp; **Execution plans** &nbsp;marked as&nbsp; **Available**.

**Note: The only Execution Plans marked as Available are the ones I fetched manually.**

**I thought the whole point to adding this Workflow was so we didn’t have to manually Fetch Execution Plans?**

**Technologies:**

This is related to the Execution Plan function in the&nbsp; **Databases** &nbsp;app, where we are currently and primarily monitoring our primary RDS PostgreSQL instances.

**Troubleshooting steps already tried:**

Confirmed the affected TEST database meets all the&nbsp;[requirements](https://docs.dynatrace.com/docs/shortlink/postgresdb-remote-monitoring-extension#requirements)&nbsp;listed here. Auto-fetching doesn’t work, but manually fetching&nbsp; **Execution Plans** &nbsp;does.

**Steps for Reproduction:**

Visiting the&nbsp; **Databases** &nbsp;app, you can clearly see no&nbsp; **Execution Plans** &nbsp;are marked as&nbsp; **Available**.

**Impacted environments:**

At the moment, only our TEST databases are affected. We have not created the&nbsp; **dynatrace** &nbsp;schema needed for&nbsp; **Execution Plans** &nbsp;(as mentioned in the&nbsp;[requirements](https://docs.dynatrace.com/docs/shortlink/postgresdb-remote-monitoring-extension#requirements)) on any of our PROD databases. We want to confirm functionality on a TEST database before deploying this to PROD.

Could someone help us confirm that this ready-made Workflow is actually working properly?

If it’s not working as expected, we will need to disable it, as&nbsp; **Workflows** &nbsp;cost us money.

---

<div class="post-metadata">

**Author:** ![ASE](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@ASE](https://community.dynatrace.com/u/ASE)\
**Post date:** [January 6, 2026, 11:14pm UTC](https://community.dynatrace.com/t/dynatrace-workflows-auto-fetch-execution-plans-workflow-is-not-fetching-execution-plans/54545/2 "2026-01-06T23:14:18Z")

</div>

Another thing I just noticed is that the queries retrieved from the logs (when using the DQL query below) do not match the queries displayed in the&nbsp; **Statement Performance** &nbsp;tab.Even when sorted by&nbsp; **Total Execution Time** , they do not match.**fetch logs  
| filter&nbsp;[dt.extension.name](http://dt.extension.name/)==“com.dynatrace.extension.postgres” and event.group==“top\_queries”  
| sort total\_exec\_time desc**
