pg_sorttemps eating my drive! - Mailing list pgsql-bugs

From Bret A. Barker
Subject pg_sorttemps eating my drive!
Date
Msg-id 3831D9A4.D5BFA55F@hypefiend.com
Whole thread Raw
List pgsql-bugs
============================================================================

                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================



Your name               : Bret Barker
Your email address      : bret@hypefiend.com


System Configuration
---------------------
  Architecture (example: Intel Pentium)         : Intel Pentium

  Operating System (example: Linux 2.0.26 ELF)  : Linux 2.0.35 ELF

  PostgreSQL version (example: PostgreSQL-6.5.3):   PostgreSQL-6.5.3

  Compiler used (example:  gcc 2.8.0)           : gcc 2.7.2.3


Please enter a FULL description of your problem:
------------------------------------------------

I just upgraded to PostgreSQL 6.5.3 from version 6.3.2 and now after a
bit of use (this is a databased website using PHP), Postgres starts
filling up my drive with pg_sorttemp files.  It appears that one of the
processes gets caught up and just keep churning out more sorttemps, as
the CPU load also hits the roof.

Any ideas what would be causing this?

My largest table is only about 2 MB.


Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------

Unfortunately I'm not sure what query is causing this to happen.




If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------



--

  ------------------------------------------------------------------------
                                                         bret a. barker
                                    cto, gamelet.com : bret@gamelet.com
                     technical director, hypefiend : bret@hypefiend.com
                    architect, stream magazine : architect@streammag.com





pgsql-bugs by date:

Previous
From: "J. Roeleveld"
Date:
Subject: Problem with CREATE RULE ON DELETE (PostgreSQL only executes the first expression)
Next
From: "Bret A. Barker"
Date:
Subject: pg_sorttemp files eating my drive!