Skip site navigation (1) Skip section navigation (2)

Re: Pgstat.tmp file activity

From: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Pgstat.tmp file activity
Date: 2005-12-23 01:24:17
Message-ID: dofjhs$2pqd$ (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
""Dan Austin"" <DAustin(at)au(dot)westfield(dot)com> wrote
> I take it that the file gets renamed almost immediately because we can
> also see writes to the parent directory -- but never see the file itself
> using ls.
I think so.

> /export/data/pgsql/data/base/64920741/pgsql_tmp/pgsql_tmp966.9
> What are these files used for? In this particular sample, that file was
> being written to a lot. Perhaps we're running out of memory for some
> sorting?

These files could be generated by several situations to store intermediate 
data. For example, hash join and external sort. For sort, if you increase 
sort_mem, then you may avoid/alleviate usage of temp file.


In response to


pgsql-admin by date

Next:From: Mike CDate: 2005-12-23 01:34:28
Subject: Re: WAL and pg_dump
Previous:From: Dan AustinDate: 2005-12-23 00:44:42
Subject: Re: Pgstat.tmp file activity

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group