Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id B48CC156C84B for ; Wed, 16 May 2012 15:57:07 -0300 (ADT) Received: from mh8.mail.rice.edu ([128.42.201.24]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SUjPF-0004CB-S7 for pgsql-admin@postgresql.org; Wed, 16 May 2012 18:57:07 +0000 Received: from mh8.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh8.mail.rice.edu (Postfix) with ESMTP id 455BF291D57; Wed, 16 May 2012 13:56:53 -0500 (CDT) Received: from mh8.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh8.mail.rice.edu (Postfix) with ESMTP id 34560297624; Wed, 16 May 2012 13:56:53 -0500 (CDT) X-Virus-Scanned: by amavis-2.6.4 at mh8.mail.rice.edu, auth channel Received: from mh8.mail.rice.edu ([127.0.0.1]) by mh8.mail.rice.edu (mh8.mail.rice.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id qM272nXhyIhH; Wed, 16 May 2012 13:56:53 -0500 (CDT) X-SMTP-Auth: no X-SMTP-Auth: no Received: from aart.rice.edu (aart.rice.edu [168.7.56.48]) by mh8.mail.rice.edu (Postfix) with ESMTP id DEF4D291D50; Wed, 16 May 2012 13:56:52 -0500 (CDT) Received: by aart.rice.edu (Postfix, from userid 18612) id D7311100277; Wed, 16 May 2012 13:56:52 -0500 (CDT) Date: Wed, 16 May 2012 13:56:52 -0500 From: "ktm@rice.edu" To: David Schnur Cc: pgsql-admin@postgresql.org Subject: Re: What does a .1 suffix on a PG data file signify? Message-ID: <20120516185652.GI17908@aart.rice.edu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201205/69 X-Sequence-Number: 39558 On Wed, May 16, 2012 at 02:52:44PM -0400, David Schnur wrote: > I'm investigating a 'could not stat file' error that points to a file > "base/16384/52212305.1". All the data files I've ever seen have names that > are whole numbers; I've never seen a decimal suffix. It occurs to me that > perhaps this is some kind of temp-file, or a system for avoiding duplicate > file names, both of which might be relevant in the context of this error. > > Can anyone confirm what the presence of the .1 suffix means? > > I'm using Postgres 8.3.15 on Windows. > > Thanks, > > David Hi David, Once you exceed the first 1GB of data for a file, a new file is created with a .1 appended for the 2nd GB, and so on. For small databases, you may never see a .1,.2,... Regards, Ken