Re: Question - Pro*C / OCI binary on Linux -set FETCHSIZE parameter?

From: Chris Taylor <christopherdtaylor1994_at_gmail.com>
Date: Sun, 23 Jun 2024 09:51:37 -0500
Message-ID: <CAP79kiTc0dWq-=VAHGA+bhMCw=23c7b5xqw-mso3NDaia-_K=w_at_mail.gmail.com>



To close this loop, I was able to get access to the application and profile the SQLs being executed (and how). Unfortunately, each SQL execution is done in a loop and returns 1 row. So, let's say the app wants to pull details for 1500 crew members, it issues 1500 select statements :( And it does this for many SQLs involved in any particular screen.

So, tuning fetchsize doesn't really help us and basically we're forced to pick up the application and move it to OCI VMs to be closer to the database.

Thanks,
Chris

On Mon, Jun 17, 2024 at 8:27 AM Chris Taylor < christopherdtaylor1994_at_gmail.com> wrote:

> We recently migrated to OCI (last night) from AWS.
>
> One of our applications is quite old and built in pro*c (I think - not
> positive) and uses OCI libraries to connect to the database.
>
> Due to the new latency 10ms between hosts, this application is suffering
> due to number of roundtrips required to answer some queries. (>5000 round
> trips in some cases)
>
> Does anyone know if its possible to set a system variable in Linux to
> control the fetchsize/arraysize for an OCI compiled binary that the binary
> might possibly pick up and use?
>
> Thanks,
>
> Chris
>

--
http://www.freelists.org/webpage/oracle-l
Received on Sun Jun 23 2024 - 16:51:37 CEST

Original text of this message