Re: Finding Current Page Size

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Curt Sampson <cjs(at)cynic(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Finding Current Page Size
Date: 2003-06-16 17:26:49
Message-ID: 200306161726.h5GHQn907254@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Curt Sampson wrote:
>
> How do I, in SQL, find out the page size used in the current database
> cluster?

Sure, but I am not sure how to determine this from SQL:

$ pg_controldata
pg_control version number: 72
Catalog version number: 200306051
Database cluster state: in production
pg_control last modified: 06/16/03 10:39:47
Current log file ID: 0
Next log file segment: 3
Latest checkpoint location: 0/27114C8
Prior checkpoint location: 0/941EB4
Latest checkpoint's REDO location: 0/27114C8
Latest checkpoint's UNDO location: 0/0
Latest checkpoint's StartUpID: 13
Latest checkpoint's NextXID: 6174
Latest checkpoint's NextOID: 156346
Time of latest checkpoint: 06/16/03 10:39:45
Database block size: 8192

^^^^
Blocks per segment of large relation: 131072
Maximum length of identifiers: 64
Maximum number of function arguments: 32
Date/time type storage: Floating point
Maximum length of locale name: 128
LC_COLLATE: C
LC_CTYPE: C

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2003-06-16 17:33:40 Re: include shell commands in query
Previous Message Bruno Wolff III 2003-06-16 17:26:46 Re: include shell commands in query