Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 5ABB19F945C for ; Mon, 5 Nov 2007 12:24:46 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 06649-01 for ; Mon, 5 Nov 2007 12:24:43 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by postgresql.org (Postfix) with ESMTP id D26499F9457 for ; Mon, 5 Nov 2007 12:24:42 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id f5so1131280nfh for ; Mon, 05 Nov 2007 08:24:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=l0FlU/AYUCHa/Mjf5tnwxhSaC/O/MyE5+XdXEXGuZco=; b=m0z3ef8hmRYs4fwm7elkuI4MRja8nQOw4dzleuN7i1vsskLodpumQrfZyxqrgjgE4Apl+JdQO1eplx16Bj7fuFJJeyq1nvlUiUuJSrPh+VIewcWj7naGeJ2z+EBJnqtnMx35JiH6+UBgejhLNfMlK8w4gXTvXoTtEB4rtENGx54= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=GVr4siLYIEYbq9K6kAN9L5jRaDldYPissxFC5GQX/SWPUIDAX6gc+yQvHQLTDxt8cvTJIR2QoDEmxUzy2dcnU0/QXe0/u31/owkBjDx0oVRPajOOSBF7HbgS1Q2lGna0jAWFK++YFsYq6NEY6IiT0kqJGZfUf4MrnqU0ZBaeie8= Received: by 10.78.129.16 with SMTP id b16mr3905354hud.1194279881356; Mon, 05 Nov 2007 08:24:41 -0800 (PST) Received: by 10.78.149.4 with HTTP; Mon, 5 Nov 2007 08:24:41 -0800 (PST) Message-ID: Date: Mon, 5 Nov 2007 08:24:41 -0800 From: "Peter Cai" To: pgsql-odbc@postgresql.org Subject: Is odbc much slower than npgsql? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_28279_7245738.1194279881290" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.002 tagged_above=0 required=5 tests=BAYES_50=0.001, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200711/2 X-Sequence-Number: 9217 ------=_Part_28279_7245738.1194279881290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi all, Recently I found my C/S program becomes slow. So I analysed the tcp traffic between my program and the Postgresql database. I found there are occasionally tcp re-transmission and that's why my porgram slow down. But when I changed to npsql, the tcp traffic was cut off to only 1/4 and there are much fewer re-transmission. I am not sure it's the problem of odbc or it's because that I am using odbc correctly. ------=_Part_28279_7245738.1194279881290 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi all,

Recently I found my C/S program becomes slow.  So I analysed the tcp
traffic between my program and the Postgresql database.  I found there
are occasionally tcp re-transmission and that's why my porgram slow
down.

But when I changed to npsql,  the tcp traffic was cut off to only 1/4
and there are much fewer re-transmission.  I am not sure it's the
problem of odbc or it's because that I am using odbc correctly. ------=_Part_28279_7245738.1194279881290--