pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stergios Zissakis <szis@intranet.gr>
Cc: pgsql-odbc@postgresql.org
Cc: Kostas Lykiardopoulos <klyk@intranet.gr>
Cc: Dimitris Pantermalis <dpant@intranet.gr>
Subject: Re: Mutli-threading and performance of ODBC
Date: Tue, 09 Mar 2004 10:56:40 -0500
Message-ID: <25601.1078847800@sss.pgh.pa.us> (raw)
In-Reply-To: <NGBBJHBHDKPNOODGDMMAGEDECGAA.szis@intranet.gr>
References: <NGBBJHBHDKPNOODGDMMAGEDECGAA.szis@intranet.gr>

"Stergios Zissakis" <szis@intranet.gr> writes:
> 1. Studing the postgreSQL log, it is apparent that the the ODBC driver
> switches off the Genetic Query Optimiser (geqo) and tries to switch on
> another optimiser called (ksqo) which fails. What is the ksqo optimiser?

ksqo was a hack that disappeared several releases back.  I do not know
why ODBC still has a reference to it (or why it tried to force it on
in the first place; IMHO a driver has no business making that kind of
decision).

I would recommend removing both of those SETs from the driver code.

> 3. Also, using ODBC, in the log file of PostgreSQL, it is seen that a
> lot of blank statements are generated. Can these blank statements affect
> the performance?

The backend won't spend much time on a blank statement, but if a
separate network round trip is being incurred for each one, that could
get a tad expensive ...

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <25601.1078847800@sss.pgh.pa.us>
Permalink:  ../25601.1078847800@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25601.1078847800@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, szis@intranet.gr, klyk@intranet.gr, dpant@intranet.gr
  Subject: Re: Mutli-threading and performance of ODBC
  In-Reply-To: <25601.1078847800@sss.pgh.pa.us>
  References: <NGBBJHBHDKPNOODGDMMAGEDECGAA.szis@intranet.gr> <25601.1078847800@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox