pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Julie Nishimura <juliezain@hotmail.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used: 79569 of 80000 (99%)
Date: Fri, 24 May 2019 07:19:53 -0700
Message-ID: <804b26fe-269e-82d7-01ef-86da933a6566@aklaver.com> (raw)
In-Reply-To: <BYAPR08MB5014E38BF2FE704F56546BCFAC020@BYAPR08MB5014.namprd08.prod.outlook.com>
References: <BYAPR08MB5014E38BF2FE704F56546BCFAC020@BYAPR08MB5014.namprd08.prod.outlook.com>

On 5/23/19 11:57 PM, Julie Nishimura wrote:
> Hello,
> We have an issue with fsm_relations utilization reaching 99%, I was able 

How are you arriving at the above percentage?

How many tables/indexes do you have in the database(s)?

> to vacuum a handful of tables, but it wasn't enough to make a noticeable 
> difference. I think at this point we will need to increase the number of 
> fsm_relations from 80,000 to 100,000 which will require a restart. 
> Because there aren't any more dead rows to delete. I confirmed this by 
> connecting to each db and running the following query:
> SELECT relname, n_live_tup, n_dead_tup from pg_stat_user_tables order by 
> n_dead_tup desc
> daily_mail_shared_state_cddt_3588-
> relname | n_live_tup | n_dead_tup
> ----------------+------------+------------
> article_errors | 0 | 0
> article_names | 3375193 | 0
> indexdefs | 0 | 0
> tabledefs | 0 | 0
> 
> Above output, shows n_dead_tup is zeroed out, this makes me believe that 
> we need to increase the number of fsm relations to a number between 90k 
> and 100k.But I might be wrong, need your advice.
> 
> PostgreSQL 8.2.15 (Greenplum Database 4.3.8.1 build 1)
> 
> Thanks!


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (16+ messages)  latest in thread

Message-ID: <804b26fe-269e-82d7-01ef-86da933a6566@aklaver.com>
Permalink:  ../804b26fe-269e-82d7-01ef-86da933a6566@aklaver.com/
Also on:    postgresql.org/message-id/804b26fe-269e-82d7-01ef-86da933a6566@aklaver.com

 · 

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: adrian.klaver@aklaver.com, juliezain@hotmail.com
  Subject: Re: POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used: 79569 of 80000 (99%)
  In-Reply-To: <804b26fe-269e-82d7-01ef-86da933a6566@aklaver.com>
  References: <BYAPR08MB5014E38BF2FE704F56546BCFAC020@BYAPR08MB5014.namprd08.prod.outlook.com> <804b26fe-269e-82d7-01ef-86da933a6566@aklaver.com>

* 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