pgsql: Prevent continuing disk-space bloat when profiling (with

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Prevent continuing disk-space bloat when profiling (with
Date: 2007-11-04 17:55:15
Message-ID: 20071104175515.6B670754229@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Prevent continuing disk-space bloat when profiling (with PROFILE_PID_DIR
enabled) and autovacuum is on. Since there will be a steady stream of autovac
worker processes exiting and dropping gmon.out files, allowing them to make
separate subdirectories results in serious bloat; and it seems unlikely that
anyone will care about those profiles anyway. Limit the damage by forcing all
autovac workers to dump in one subdirectory, PGDATA/gprof/avworker/.

Per report from Jrg Beyer and subsequent discussion.

Modified Files:
--------------
pgsql/src/backend/storage/ipc:
ipc.c (r1.97 -> r1.98)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/ipc.c?r1=1.97&r2=1.98)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2007-11-04 18:10:42 pgsql: Document that configure --with-libxslt controls just
Previous Message Tom Lane 2007-11-04 01:16:19 pgsql: Teach CREATE CONSTRAINT TRIGGER to convert old-style foreign key