Domanda

sto usando Allround automazione PL / SQL Developer con Oracle 10g, e oggi ho notato che spiegano i piani non è più visualizza nulla per l'accesso predicati o filtrare predicati. L'unica cosa che è cambiata (che io sappia) è che ieri ho provato ad utilizzare Oracle Enterprise Manager di spiegare un piano di query, e dopo che PL / SQL Developer non è più popolato queste due colonne.

Non so se si utilizza OEM potrebbe avere cambiato qualche impostazione che ora è fonte di confusione PL / SQL Developer. Qualcuno ha qualche suggerimento?

È stato utile?

Soluzione

Can you

SELECT owner, table_name
  FROM dba_tables
 WHERE table_name = 'PLAN_TABLE'

I've seen many times where different GUIs try to be "helpful" and create the PLAN_TABLE in a local schema if it doesn't exist there without noticing that there is a synonym to a shared PLAN_TABLE. And, being helpful GUIs, they tend to create the plan table with an older version of the table that may not support reporting on things like access and filter predicates.

If there is only one PLAN_TABLE, can you use the latest utlxplan.sql script from your install to re-create the PLAN_TABLE (or verify that you have the latest version of the table)?

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top