Re: [PATCHES] ECPG patch to use prepare for improved performance

2007-05-13 Thread Bruce Momjian
: [PATCHES] ECPG patch to use prepare for improved performance On Wed, May 09, 2007 at 01:12:17PM -0700, William Lawrance wrote: 2. The performance was improved by about 1 hour in the 3 hour elapsed time of the application. This is important to the customer in terms

Re: [PATCHES] ECPG patch to use prepare for improved performance

2007-05-10 Thread Michael Meskes
On Wed, May 09, 2007 at 01:12:17PM -0700, William Lawrance wrote: 2. The performance was improved by about 1 hour in the 3 hour elapsed time of the application. This is important to the customer in terms of accomplishing his work load in the time that has been allotted, based on his

Re: [PATCHES] ECPG patch to use prepare for improved performance

2007-05-10 Thread William Lawrance
, 2007 3:01 AM To: William Lawrance Cc: Michael Meskes; Pgsql-Patches Subject: Re: [PATCHES] ECPG patch to use prepare for improved performance On Wed, May 09, 2007 at 01:12:17PM -0700, William Lawrance wrote: 2. The performance was improved by about 1 hour in the 3 hour elapsed time

Re: [PATCHES] ECPG patch to use prepare for improved performance

2007-05-10 Thread Andrew Dunstan
: [PATCHES] ECPG patch to use prepare for improved performance On Wed, May 09, 2007 at 01:12:17PM -0700, William Lawrance wrote: 2. The performance was improved by about 1 hour in the 3 hour elapsed time of the application. This is important to the customer in terms of accomplishing his

Re: [PATCHES] ECPG patch to use prepare for improved performance

2007-05-09 Thread Michael Meskes
On Mon, May 07, 2007 at 02:46:29PM -0700, William Lawrance wrote: This patch for ECPG utilizes the PQprepare and PQexecPrepared functions to cause SQL statements from ECPG to be cached. It does this without requiring any changes in the user's source program. ... I still do not understand

Re: [PATCHES] ECPG patch to use prepare for improved performance

2007-05-09 Thread William Lawrance
: [PATCHES] ECPG patch to use prepare for improved performance On Mon, May 07, 2007 at 02:46:29PM -0700, William Lawrance wrote: This patch for ECPG utilizes the PQprepare and PQexecPrepared functions to cause SQL statements from ECPG to be cached. It does this without requiring any changes

Re: [PATCHES] ECPG patch to use prepare for improved performance

2007-05-09 Thread Alvaro Herrera
William Lawrance wrote: This approach was used for several reasons-- 1. No changes were required in the application source program. For an application involving thousands of SQL statements in hundreds of programs, this is important. This customer application has been tuned

[PATCHES] ECPG patch to use prepare for improved performance

2007-05-07 Thread William Lawrance
This patch for ECPG utilizes the PQprepare and PQexecPrepared functions to cause SQL statements from ECPG to be cached. It does this without requiring any changes in the user's source program. It was developed during the preparation for a benchmark for a large customer. This benchmark