Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fZfMb-0007Es-7d for pgsql-performance@arkaria.postgresql.org; Sun, 01 Jul 2018 16:38:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fZfMZ-0006l1-TR for pgsql-performance@arkaria.postgresql.org; Sun, 01 Jul 2018 16:38:11 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1fZYhk-0003Cc-DH for pgsql-performance@lists.postgresql.org; Sun, 01 Jul 2018 09:31:36 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fZYhb-0005ys-S5 for pgsql-performance@postgresql.org; Sun, 01 Jul 2018 09:31:35 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id EE2C5DC84D83 for ; Sun, 1 Jul 2018 02:31:24 -0700 (MST) Date: Sun, 1 Jul 2018 02:31:24 -0700 (MST) From: AJG To: pgsql-performance@postgresql.org Message-ID: <1530437484973-0.post@n3.nabble.com> Subject: Trigger overhead/performance and alternatives? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, Apologies if this is not in the correct forum for the non-urgent question that follows. I was reading the pgconf 2018 ppt slides by Jonathan Katz (from slide 110 onwards) http://www.pgcon.org/2018/schedule/attachments/480_realtime-application.pdf Where is mentioned trigger overhead, and provided an alternative solution (logical replication slot monitoring). My 2 part question is. 1) Does anybody have any benchmarks re: trigger overhead/performance or have any experience to give a sort of indication, at all? 2) Is anybody aware of any other clever alternatives, pg extensions or github code etc as an alternative to using triggers? Thanks in advance, -- Sent from: http://www.postgresql-archive.org/PostgreSQL-performance-f2050081.html