Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 646599F9312 for ; Mon, 11 Dec 2006 11:16:16 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 47336-01 for ; Mon, 11 Dec 2006 11:16:07 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by postgresql.org (Postfix) with ESMTP id 2F4559F9386 for ; Mon, 11 Dec 2006 11:16:06 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so1389284ugf for ; Mon, 11 Dec 2006 07:16:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Jepzs9V7GuHEgywlOvcR5q/3wPQ9MyVCSYt0nyB7aPuTZEHySEpiha+S8UKSmYFeXTeHcuKG9+MRlITeeUl9uXNt+jA++vUtOxC98DbULVQxYefZOc03ZgbCFTLOCgmwolM71+oqcHUz1iqThgxpg/JYMuI0atXACRxKmFUeRX8= Received: by 10.82.118.2 with SMTP id q2mr434634buc.1165850164816; Mon, 11 Dec 2006 07:16:04 -0800 (PST) Received: by 10.82.159.6 with HTTP; Mon, 11 Dec 2006 07:16:04 -0800 (PST) Message-ID: <5e66c6e90612110716h59243be7tfd5a441cfb2c0c47@mail.gmail.com> Date: Mon, 11 Dec 2006 16:16:04 +0100 From: "Axel Waggershauser" To: "Thomas H." Subject: Re: Low throughput of binary inserts from windows to linux Cc: pgsql-performance@postgresql.org In-Reply-To: <02ad01c71d35$7374b8d0$6601a8c0@iwing> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5e66c6e90612080417r23ecaea4p210905f868c26c7f@mail.gmail.com> <5e66c6e90612081724m57293ffdy21d6b45697e69bd4@mail.gmail.com> <3317.1165636358@sss.pgh.pa.us> <5e66c6e90612110658r3c0918f6v4fd3682363db5c15@mail.gmail.com> <02ad01c71d35$7374b8d0$6601a8c0@iwing> X-Google-Sender-Auth: 627f00601893f64a X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/235 X-Sequence-Number: 22291 On 12/11/06, Thomas H. wrote: > > I'm out of ideas here, maybe someone could try to reproduce this > > behavior or could point me to the thread containing relevant > > information (sorry, maybe I'm just too dumb :-/) > > please specify how you're transfering the data from windows -> linux. are > you using odbc? if yes, what driver? are you using FDQN server names or a > plain ip adress? etc etc. You may take a look at my first mail (starting this thread), there you find a my_lo.c attached, containing a the complete code. I use libpq. The connection is established like this: conn = PQsetdbLogin(argv[1], "5432", NULL, NULL, argv[2], argv[3], argv[4]); I called the test program with the plain ip-address of the server machine. Axel