Dynamic array fetching in Pro*C
From: Robert Swan <roberts_at_g2syd.genasys.com.au>
Date: Wed, 8 Sep 1993 02:57:35 GMT
Message-ID: <1993Sep8.025735.12946_at_g2syd.genasys.com.au>
Date: Wed, 8 Sep 1993 02:57:35 GMT
Message-ID: <1993Sep8.025735.12946_at_g2syd.genasys.com.au>
I've tracked the performance bottleneck down (principally) to communications between our client program and the Oracle server. It appears that Oracle's back-end passes the rows back to us one at a time.
Our equivalent program running with Ingres has a `FOR READONLY' clause appended to the `OPEN CURSOR' directive. This tells the server that we will neither be updating nor deleting rows as they are retrieved, so it can bundle them up in fewer packets.
-- Stop, catch your breath and relax.| Robert Swan, roberts_at_g2syd.genasys.com.au Now ... | Genasys II Pty. Ltd., North Sydney.Received on Wed Sep 08 1993 - 04:57:35 CEST