Обсуждение: pg_sorttemp#####.##
Hello all My system use version 7.1.2 (OK ! I know it's time to upgrade do 8.0.1 version. But, I'am happy to use yet postgresql) I had a problem with a hard drive 100% full. The system is OK now, but I discovered 10 files approximately 1 GB each in a directory /var/lib/pgsql/data/base/###### named pg_sorttemp#####.##. The date of this files is 2004-03-18 (I suppose the exact date dosn't matter) Question : Is it possible to delete this file without precaution ? Thanks a lot for the quality of PostgreSQL and for your answer Michel BELLON LCIE SA
Michel BELLON wrote: > Hello all > > My system use version 7.1.2 (OK ! I know it's time to upgrade do 8.0.1 > version. But, I'am happy to use yet postgresql) > I had a problem with a hard drive 100% full. > The system is OK now, but I discovered 10 files approximately 1 GB each in a > directory /var/lib/pgsql/data/base/###### named pg_sorttemp#####.##. > The date of this files is 2004-03-18 (I suppose the exact date dosn't matter) > > Question : Is it possible to delete this file without precaution ? Yes, you can remove them, but I recommend you shut down the server while doing it. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
Michel BELLON <michel.bellon@free.fr> writes: > My system use version 7.1.2 (OK ! I know it's time to upgrade do 8.0.1 > version. But, I'am happy to use yet postgresql) > I had a problem with a hard drive 100% full. > The system is OK now, but I discovered 10 files approximately 1 GB each in a > directory /var/lib/pgsql/data/base/###### named pg_sorttemp#####.##. > The date of this files is 2004-03-18 (I suppose the exact date dosn't matter) > Question : Is it possible to delete this file without precaution ? Sure; as long as they're too old to belong to a currently-active process, they're junk. You really should get off 7.1.* ASAP though. It has a lot of will-eat-your-data bugs. regards, tom lane