I have a query (with lot of JOINS), which takes about 36 seconds first time and takes only 2 seconds second time. The same query runs with vendor env within 5 seconds first time itself.
Any idea how to make the query runs faster even first time?
It is AIX5.3/10.2.0.2