pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Brian Cox <brian.cox@ca.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: query performance
Date: Thu, 24 Apr 2008 20:34:53 -0400
Message-ID: <11185.1209083693@sss.pgh.pa.us> (raw)
In-Reply-To: <48112464.5010604@ca.com>
References: <48112464.5010604@ca.com>

Brian Cox <brian.cox@ca.com> writes:
> Any hints as to where the FSM info is in this file?

At the very end ... you're looking for these messages:

    ereport(elevel,
            (errmsg("free space map contains %d pages in %d relations",
                    storedPages, numRels),
    errdetail("A total of %.0f page slots are in use (including overhead).\n"
              "%.0f page slots are required to track all free space.\n"
          "Current limits are:  %d page slots, %d relations, using %.0f kB.",
              Min(needed, MaxFSMPages),
              needed,
              MaxFSMPages, MaxFSMRelations,
              (double) FreeSpaceShmemSize() / 1024.0)));

    if (numRels == MaxFSMRelations)
        ereport(elevel,
                (errmsg("max_fsm_relations(%d) equals the number of relations checked",
                        MaxFSMRelations),
                 errhint("You have at least %d relations.  "
                         "Consider increasing the configuration parameter \"max_fsm_relations\".",
                         numRels)));
    else if (needed > MaxFSMPages)
        ereport(elevel,
                (errmsg("number of page slots needed (%.0f) exceeds max_fsm_pages (%d)",
                        needed, MaxFSMPages),
                 errhint("Consider increasing the configuration parameter \"max_fsm_pages\" "
                         "to a value over %.0f.", needed)));

			regards, tom lane



view thread (47+ messages)  latest in thread

Message-ID: <11185.1209083693@sss.pgh.pa.us>
Permalink:  ../11185.1209083693@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11185.1209083693@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, brian.cox@ca.com
  Subject: Re: query performance
  In-Reply-To: <11185.1209083693@sss.pgh.pa.us>
  References: <48112464.5010604@ca.com> <11185.1209083693@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox