I have some optimization problem with Oracle 11g database. I got query with structure as below:
select
(....)
from
(select ...)
where
(...)
CONNECT BY
PRIOR J.JDN_ID_POD = J.JDN_ID_NAD and (HUGE_CONDITION)
START WITH
J.JDN_ID_NAD = 1 and (HUGE_CONDITION)
and because of HUGE_CONDITION is really huge (~3500 characters) and is in two places, the query is very slow; is there any way to do it in another way?