Re: slow joining very large table to smaller ones

Поиск
Список
Период
Сортировка
Искать
От
Dawid Kuroczko
Тема
Re: slow joining very large table to smaller ones
Дата
Msg-id
758d5e7f050718005164cbe9a4@mail.gmail.com
Ответ на
Список
Дерево обсуждения
slow joining very large table to smaller ones Dan Harris <fbsd@drivefaster.net>
Re: slow joining very large table to smaller ones John A Meinel <john@arbash-meinel.com>
Re: slow joining very large table to smaller ones Dan Harris <fbsd@drivefaster.net>
Re: slow joining very large table to smaller ones Michael Stone <mstone+postgres@mathom.us>
Re: slow joining very large table to smaller ones Bruno Wolff III <bruno@wolff.to>
Re: slow joining very large table to smaller ones Dawid Kuroczko <qnex42@gmail.com>
Re: slow joining very large table to smaller ones PFC <lists@boutiquenumerique.com>
Re: slow joining very large table to smaller ones John A Meinel <john@arbash-meinel.com>
Re: slow joining very large table to smaller ones John A Meinel <john@arbash-meinel.com>
Re: slow joining very large table to smaller ones Tom Lane <tgl@sss.pgh.pa.us>
Re: slow joining very large table to smaller ones John A Meinel <john@arbash-meinel.com>
Re: slow joining very large table to smaller ones Dan Harris <fbsd@drivefaster.net>
Re: slow joining very large table to smaller ones Tom Lane <tgl@sss.pgh.pa.us>
On 7/15/05, Bruno Wolff III  wrote:
> On Thu, Jul 14, 2005 at 16:29:58 -0600,
>   Dan Harris  wrote:
> >
> > Ok, I tried this one.  My ssh keeps getting cut off by a router
> > somewhere between me and the server due to inactivity timeouts, so
> > all I know is that both the select and explain analyze are taking
> > over an hour to run.  Here's the explain select for that one, since
> > that's the best I can get.
> 
> Are you using NAT at home? That's probably where the issue is. If you
> have control of that box you can probably increase the timeout to a
> couple of hours.

Some versions of ssh have such a configuration option (in .ssh/config):

Host *
        ServerAliveInterval 600

...it means that ssh will send a "ping" packet to a sshd every 10 minutes
of inactivity.  This way NAT will see activity and won't kill the session.
I'm using OpenSSH_4.1p1 for this...

Oh, and it doesn't have anything to do with TCP keep alive, which is
rather for finding dead connections than keeping connections alive. ;)

   Regards,
       Dawid
В списке pgsql-performance по дате отправления
От: Robert Creager
Дата:
От: Tom Lane
Дата:
FAQ