Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hU49T-0004m2-MT for pgsql-general@arkaria.postgresql.org; Fri, 24 May 2019 06:58:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hU49Q-0004Zi-Lb for pgsql-general@arkaria.postgresql.org; Fri, 24 May 2019 06:58:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hU49P-0004U1-PD for pgsql-general@lists.postgresql.org; Fri, 24 May 2019 06:58:00 +0000 Received: from mail-oln040092006024.outbound.protection.outlook.com ([40.92.6.24] helo=NAM03-BY2-obe.outbound.protection.outlook.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hU49M-00014H-BK for pgsql-general@lists.postgresql.org; Fri, 24 May 2019 06:57:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xrXRWyCl/hc4fdYCb45u8KjfYT3DII3NBWsGsozcizM=; b=lZ7Q6Z09EfK7NEMzwAARbxNMQrZdf2VIQ/1hUnTRAoVazAtMOf1oWNsDpv33YvhiB9CkSbVz6gACZXAIGJRnJYBKjotqSaD9SkJt6dm3T9bTkmX+3Wbb5KBXCIZXrEfsYp60ZaKQxEFbIIDSu+69Uxl08KABq6pwVTyoWOq0cmeS2oBl/tXHKT1RN5Bl3WjpZ6evsVQizDpnk5VWpSpqgykKgab2Xhf7USlW7zhYXnykGvflYz07tll2tuUF/BRufdD8NWfHDYQ/uSMp8sC1N5I6Tqb/bWI8mWom4ihuj6avIyDBqYTPfOcROcRKHw54SKY8OCDMa41ohct7uR3UMA== Received: from BY2NAM03FT052.eop-NAM03.prod.protection.outlook.com (10.152.84.58) by BY2NAM03HT015.eop-NAM03.prod.protection.outlook.com (10.152.85.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1922.16; Fri, 24 May 2019 06:57:53 +0000 Received: from BYAPR08MB5014.namprd08.prod.outlook.com (10.152.84.58) by BY2NAM03FT052.mail.protection.outlook.com (10.152.85.223) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1922.16 via Frontend Transport; Fri, 24 May 2019 06:57:53 +0000 Received: from BYAPR08MB5014.namprd08.prod.outlook.com ([fe80::d9fb:bca2:3018:3513]) by BYAPR08MB5014.namprd08.prod.outlook.com ([fe80::d9fb:bca2:3018:3513%5]) with mapi id 15.20.1922.016; Fri, 24 May 2019 06:57:53 +0000 From: Julie Nishimura To: "pgsql-general@lists.postgresql.org" , pgsql-general Subject: POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used: 79569 of 80000 (99%) Thread-Topic: POSTGRES_FSM_RELATIONS CRITICAL: DB control fsm relations used: 79569 of 80000 (99%) Thread-Index: AQHVEf2dXT03t8+ryECPF/RFKqvt+g== Date: Fri, 24 May 2019 06:57:52 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:7930E1F3E1A21768C94AE085CBD3D4E447316EA1BBE843ED1F25C8C157CEE5D1;UpperCasedChecksum:35799915FD1FD9021833131725C94E0736DF9542BDD1ADC41215F645B71AA871;SizeAsReceived:6698;Count:40 x-tmn: [s+Nc8LgmA0v257gOPp+0bzVL+/fpNOoF] x-ms-publictraffictype: Email x-incomingheadercount: 40 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(5050001)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031322404)(2017031323274)(2017031324274)(1601125500)(1603101475)(1701031045);SRVR:BY2NAM03HT015; x-ms-traffictypediagnostic: BY2NAM03HT015: x-microsoft-antispam-message-info: rLA3hQzaH89vJoTjthTCKoT3tk8BMXFh+iHxuypCBQe8xaZaGbzIg+T5Yb9SsuN7q6cawk8ryVignMrA9EGuD/l8Sk/quxitNI4iORxQdaUsbt76f1Dx5fhdJo2BVJ99z7bjSa1oxC+Za/V6pz8l58UCPY6MjUw8SNmzT2kfJW91YTvkMZsx9KkI1ysAGKY3 Content-Type: multipart/alternative; boundary="_000_BYAPR08MB5014E38BF2FE704F56546BCFAC020BYAPR08MB5014namp_" MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: dd8eed57-ce33-472a-7171-08d6e015247b X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 May 2019 06:57:52.9159 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2NAM03HT015 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_BYAPR08MB5014E38BF2FE704F56546BCFAC020BYAPR08MB5014namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, We have an issue with fsm_relations utilization reaching 99%, I was able to= vacuum a handful of tables, but it wasn't enough to make a noticeable diff= erence. I think at this point we will need to increase the number of fsm_re= lations 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 1= 00k.But I might be wrong, need your advice. PostgreSQL 8.2.15 (Greenplum Database 4.3.8.1 build 1) Thanks! --_000_BYAPR08MB5014E38BF2FE704F56546BCFAC020BYAPR08MB5014namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
We have an issue with fsm_relations utilization reaching 99%, I was able to= vacuum a handful of tables, but it wasn't enough to make a noticeable diff= erence. I think at this point we will need to increase the number of fsm_re= lations 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 1= 00k.But I might be wrong, need your advice.

PostgreSQL 8.2.15 (Greenplum Database 4.3.8.1 build 1)

Thanks!
--_000_BYAPR08MB5014E38BF2FE704F56546BCFAC020BYAPR08MB5014namp_--