From: | "Harald Armin Massa" <haraldarminmassa(at)gmail(dot)com> |
---|---|
To: | PFC <lists(at)peufeu(dot)com> |
Cc: | "Rainer Bauer" <usenet(at)munnin(dot)com>, pgsql-performance(at)postgresql(dot)org |
Subject: | Re: Data transfer very slow when connected via DSL |
Date: | 2007-06-22 12:45:12 |
Message-ID: | 7be3f35d0706220545uaaa957ey3b1ca083ba895c39@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
PFC,
> 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.
>
> What about a SSH tunnel using data compression ?
Setup on multiple Windows Workstations in multiple Installations is not
possible.
> If you fetch all rows from a query in one go, would it be fast ?
I tried the same copy_to via VPN. It took 10-50x the time it took locally.
>Also, PG can now COPY from a query, so you don't really need the temp
table...
I know, but was stuck to 8.1 on some servers.
Best wishes,
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!
From | Date | Subject | |
---|---|---|---|
Next Message | Sabin Coanda | 2007-06-22 13:24:47 | Re: PostgreSQL Configuration Tool for Dummies - feedback adjustable control |
Previous Message | Dimitri | 2007-06-22 12:24:07 | Re: Data transfer very slow when connected via DSL |