Re: Data transfer very slow when connected via DSL

From: "Harald Armin Massa" <haraldarminmassa(at)gmail(dot)com>
To: "Rainer Bauer" <usenet(at)munnin(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Data transfer very slow when connected via DSL
Date: 2007-06-22 10:24:16
Message-ID: 7be3f35d0706220324n1b8a41e1q7d235970044da689@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Rainer,

>I did not find a solution so far; and for bulk data transfers I now
> >programmed a workaround.
>
> But that is surely based on some component installed on the server, isn't
> it?
>

Correct. I use a pyro-remote server. On request this remote server copies
the relevant rows into a temporary table, uses a copy_to Call to push them
into a StringIO-Objekt (that's Pythons version of "In Memory File"),
serializes that StringIO-Objekt, does a bz2-compression and transfers the
whole block via VPN.

I read on in this thread, and I scheduled to check on psycopg2 and what it
is doing with cursors.

Harald

--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607
fx 01212-5-13695179
-
EuroPython 2007 will take place in Vilnius, Lithuania from Monday 9th July
to Wednesday 11th July. See you there!

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message PFC 2007-06-22 10:45:13 Re: Data transfer very slow when connected via DSL
Previous Message Dave Page 2007-06-22 10:16:46 Re: Data transfer very slow when connected via DSL