# New Oracle extension execution plan

**URL:** <https://community.dynatrace.com/t/new-oracle-extension-execution-plan/47986>\
**Category:** Extensions\
**Tags:** extensions\
**Created:** [September 26, 2024, 7:06am UTC](https://community.dynatrace.com/t/new-oracle-extension-execution-plan/47986 "2024-09-26T07:06:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amita](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@amita](https://community.dynatrace.com/u/amita)\
**Post date:** [September 26, 2024, 7:06am UTC](https://community.dynatrace.com/t/new-oracle-extension-execution-plan/47986/1 "2024-09-26T07:06:53Z")

</div>

I am trying to get the execution plan for in new oracle extension,However after Requesting for the same it is giving me error stating “Couldn’t obtain execution plan”,

Kindly let me know if something is missing here.

 ![amita_0-1727334320627.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/7/a7556ccf5de072e32c29d2adcf2f9c06572bbbd6.png)

Thanks

Amita

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [September 26, 2024, 10:30pm UTC](https://community.dynatrace.com/t/new-oracle-extension-execution-plan/47986/2 "2024-09-26T22:30:28Z")

</div>

Hi&nbsp;[@amita](https://community.dynatrace.com/user/63691)

Are all the needed permissions set as below?

> **[Oracle Database monitoring & observability | Dynatrace Hub](https://www.dynatrace.com/hub/detail/oracle-database/)**
>
> Observe, analyze and optimize the usage, health and performance of your database. Start your free trial today!

## Execution Plan Monitoring

For SaaS customers with access to the Databases app, the execution plan monitoring functionality is also available when analyzing statement performance.

For this feature to work, the&nbsp;[DBMS\_XPLAN&nbsp;package](https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_XPLAN.html)&nbsp;needs to be available, and the user configured in the Dynatrace extension needs to have permissions to call the&nbsp;DISPLAY\_CURSOR&nbsp;function. As per&nbsp;[the official documentation](https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_XPLAN.html#GUID-BEE6D488-0381-4864-9B19-6299DE2B6210)&nbsp;this means that&nbsp;SELECT&nbsp;or&nbsp;READ&nbsp;permissions are required on the following views:

- V$SQL\_PLAN
- V$SESSION
- V$SQL\_PLAN\_STATISTICS\_ALL
- V$SQL

In addition to this, the&nbsp;SELECT&nbsp;permission is also required for&nbsp;V$SQL\_PLAN.

Please note that the execution plan monitoring feature may sometimes not work as expected for RAC deployments. This will be fixed as soon as possible.

---

<div class="post-metadata">

**Author:** ![amita](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@amita](https://community.dynatrace.com/u/amita)\
**Post date:** [September 30, 2024, 10:49am UTC](https://community.dynatrace.com/t/new-oracle-extension-execution-plan/47986/3 "2024-09-30T10:49:53Z")

</div>

Hi&nbsp;[@p\_devulapalli](https://community.dynatrace.com/user/21657)&nbsp;  
Thanks for your reply.

I will reverify above config once again.

Amita
