Re: Improve SQL run time
Date: Mon, 16 Oct 2023 17:39:15 +0200
Message-ID: <29cb9cfe-c512-4eef-995a-e20aa6f6f108_at_bluewin.ch>
Estimates are way wrong indexing could be improved.
But since most of the time is spend on line 9-12 I would look first into
elimination the select max(subquery) by using an analytic function as in
this example:
https://forums.oracle.com/ords/apexds/post/analytic-function-vs-subquery-8485
Thanks
Lothar
Am 16.10.2023 um 17:07 schrieb Amit Saroha:
> Hi All,
>
> I'm executing the enclosed query and want to minimize the response
> time to 10 seconds. The SQL monitor, SQL, and SQL Plan are enclosed
> for your feedback.
>
> Please evaluate and provide feedback and if more informationĀ is
> needed, please let me know.
>
> Thank you for your help in advance.
>
> Best Regards,
> Amit
--
http://www.freelists.org/webpage/oracle-l
Received on Mon Oct 16 2023 - 17:39:15 CEST