Skip to main content

ORA-01775 Looping chain of synonyms

Explain Plan Error: ORA-01775: Looping chain of synonyms


  

Looping-chain-of-synonyms

















It's a toad issue.
1. In Toad go to View>Toad Options>Oracle>General 
Looping-chain-of-synonyms



looping-chain-synonyms
remove TOAD_PLAN_TABLE 
from EXPLAIN PLAN section and put PLAN_TABLE (i.e. synonym for SYS.PLAN_TABLE).










looping-chain-synonyms


Generally after an upgrade to new version of toad, this gets overwritten and you start getting this error.









looping-chain-of-synonyms

Cheers !!!! . 

[If you find helpful  please share it.]









Alternative solution from Dell support

Make sure that Toad is referencing a valid Explain Plan Table. Please follow these steps to verify:

1) Go to View | Options | Oracle | General
2) On the right, make sure that the 'Explain Plan' section has a valid Explain Plan table. Please change the values if Toad is not referencing a valid Explain Plan table.

You can use this script to create an Explain Plan Table:

CREATE TABLE TOAD_PLAN_TABLE
(
STATEMENT_ID VARCHAR2(32 BYTE),
TIMESTAMP DATE,
REMARKS VARCHAR2(80 BYTE),
OPERATION VARCHAR2(30 BYTE),
OPTIONS VARCHAR2(30 BYTE),
OBJECT_NODE VARCHAR2(128 BYTE),
OBJECT_OWNER VARCHAR2(30 BYTE),
OBJECT_NAME VARCHAR2(30 BYTE),
OBJECT_INSTANCE NUMBER,
OBJECT_TYPE VARCHAR2(30 BYTE),
SEARCH_COLUMNS NUMBER,
ID NUMBER,
COST NUMBER,
PARENT_ID NUMBER,
POSITION NUMBER,
CARDINALITY NUMBER,
OPTIMIZER VARCHAR2(255 BYTE),
BYTES NUMBER,
OTHER_TAG VARCHAR2(255 BYTE),
PARTITION_ID NUMBER,
PARTITION_START VARCHAR2(255 BYTE),
PARTITION_STOP VARCHAR2(255 BYTE),
DISTRIBUTION VARCHAR2(30 BYTE),
OTHER LONG
)

-- cheers

Comments

Popular posts from this blog

Checking operating system version: must be 5.0, 5.1 or 5.2 Actual 6.1 Failed

This error occurred when we are installing old oracle software in latest OS (Operating System).   Basically Its’s occurring on windows platform.

Oracle forms 11g default configuration file formsweb.cfg

#formsweb.cfg defines parameter values used by the FormsServlet # formsweb.cfg defines parameter values used by the FormsServlet (frmservlet) # This section defines the Default settings. Any of them may be overridden in the # following Named Configuration sections. If they are not overridden, then the # values here will be used. # The default settings comprise two types of parameters: System parameters, # which cannot be overridden in the URL, and User Parameters, which can. # Parameters which are not marked as System parameters are User parameters. # SYSTEM PARAMETERS