Re: query performance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: query performance
Дата
Msg-id 11185.1209083693@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: query performance  (Brian Cox <brian.cox@ca.com>)
Список pgsql-general
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

В списке pgsql-general по дате отправления:

Предыдущее
От: Brian Cox
Дата:
Сообщение: Re: query performance
Следующее
От: Brian Cox
Дата:
Сообщение: Re: query performance