Search Postgresql Archives

Re: Unlinked files in PGDATA/base following unclean shutdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jack Orenstein wrote:
> Tom Lane wrote:

>> All segments before the last one should be exactly 1GB, but the last
>> one can be anything up to that.  Consult the comments in md.c for
>> more details.  (I think 7.4 may treat some corner cases differently
>> from 8.3 anyway.)
>
> Just to be clear, you mean 2**30 (1,073,741,824) bytes, not 10**9?

It's RELSEG_SIZE * BLCKSZ, where

#define RELSEG_SIZE 131072
#define BLCKSZ 8192

(both from pg_config.h)

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux