Re: Why do I have reading from the swap partition? - Mailing list pgsql-general

From Ioana Danes
Subject Re: Why do I have reading from the swap partition?
Date
Msg-id 1311608255.93227.YahooMailClassic@web120108.mail.ne1.yahoo.com
Whole thread Raw
In response to Re: Why do I have reading from the swap partition?  (Scott Marlowe <scott.marlowe@gmail.com>)
List pgsql-general
Hi Scott,

Thank you for your answer, this is exactly what happens in this situation.


--- On Fri, 7/22/11, Scott Marlowe <scott.marlowe@gmail.com> wrote:

> From: Scott Marlowe <scott.marlowe@gmail.com>
> Subject: Re: [GENERAL] Why do I have reading from the swap partition?
> To: "Ioana Danes" <ioanasoftware@yahoo.ca>
> Cc: "PostgreSQL General" <pgsql-general@postgresql.org>
> Received: Friday, July 22, 2011, 3:24 PM
> On Fri, Jul 22, 2011 at 12:19 PM,
> Ioana Danes <ioanasoftware@yahoo.ca>
> wrote:
>
> > I do a select * from a 8 GB table (a different one
> then the one used in the query). At a point it starts using
> swap space on disk. Once it starts swapping I still let it
> run for couple of minutes and the I stop it (CTRL+C).
>
> Are you running psql on the same machine?  My guess is
> that psql is
> what's swapping.  Try running:
>
> select count(*) from (select * from mybigfreakingtable);
>
> and see if you start hitting swap like that.
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

pgsql-general by date:

Previous
From: Chris Travers
Date:
Subject: Re: Implementing "thick"/"fat" databases
Next
From: Chris Travers
Date:
Subject: Re: Disallow access from psql, or allow access only from specific client app