pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Quinn <greg@officium.co.za>
To: pgsql-performance@postgresql.org
Subject: Re: Slow performance on Windows .NET and OleDb
Date: Wed, 29 Mar 2006 13:00:20 +0200
Message-ID: <000f01c6531f$fcbc0570$0200a8c0@pta.homex.co.za> (raw)
References: <000d01c65261$19a3fa40$0200a8c0@pta.homex.co.za>
	<20060328173213.GO75181@pervasive.com>
	<442977D7.5060508@commandprompt.com>
	<006c01c652f9$1ca9c420$0200a8c0@pta.homex.co.za>
	<op.s653ebg3cigqcu@apollo13>

> how many rows does it return ? a few, or a lot ?

3000 Rows - 7 seconds - very slow

Which client library may have a problem? I am using OleDb, though haven't 
tried the .NET connector yet.

Network configuration?? I am running it off my home PC with no network. It 
is P4 2.4 with 1 Gig Ram. Windows XP

----- Original Message ----- 
From: "PFC" <lists@peufeu.com>
To: "Greg Quinn" <greg@officium.co.za>
Sent: Wednesday, March 29, 2006 11:02 AM
Subject: Re: [PERFORM] Slow performance on Windows .NET and OleDb


>
>> select * from users
>> which returns 4 varchar fields, there is no where clause
>
> how many rows does it return ? a few, or a lot ?
>
>> Yes, I am running the default postgres config. Basically I have been a 
>> MySQL user and thought I would like to check out PostGreSql.
>
> Good idea...
>
> From the tests I made, on simple queries like yours, with no joins, speed 
> pf pg 8.x is about the same as mysql 5.x ; that is to say very fast. If 
> you have a performance problem on something so basic, and moreover on 
> windows, it smells like a problem in the client library, or in the TCP 
> transport between client and server.
> I remember messages saying postgres on windows was slow some time ago 
> here, and it turned out to be a problem in the network configuration of 
> the machine.
> 





view thread (19+ messages)  latest in thread

Message-ID: <000f01c6531f$fcbc0570$0200a8c0@pta.homex.co.za>
Permalink:  ../000f01c6531f$fcbc0570$0200a8c0@pta.homex.co.za/
Also on:    postgresql.org/message-id/000f01c6531f$fcbc0570$0200a8c0@pta.homex.co.za

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: greg@officium.co.za
  Subject: Re: Slow performance on Windows .NET and OleDb
  In-Reply-To: <000f01c6531f$fcbc0570$0200a8c0@pta.homex.co.za>

* 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