pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pradeep pandey <pandeyp@hotmail.com>
To: Alex Balashov <abalashov@evaristesys.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Help Needed for  pgbench with retry option
Date: Fri, 8 Nov 2019 19:59:42 +0000
Message-ID: <BMXPR01MB3847542EE8E21D98AF5A6522B87B0@BMXPR01MB3847.INDPRD01.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <20191107193335.GA4344@tlaquepaque.localdomain>
References: <20191107193335.GA4344@tlaquepaque.localdomain>

Hi Guy's
I need small help on PostgreSQL testing of HA
I am trying to run pgbench but once the primary goes down and secondary comes primary , I want to know know how I can configute pgbench to retry and autoconnect the pgbench workload which I have been running to new Primary .
the idea is to test the Retry feature of pgbench if it exists .

Is pgbeach has Retry fetaure ? if yes then what is parameter for retry needs commands .


can you please help and provide the direction and link
Thanks
Pradeep

________________________________
From: Alex Balashov <abalashov@evaristesys.com>
Sent: Thursday, November 7, 2019 7:33 PM
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Index degradation

Over a period of some years, particularly in tables whose contents
periodically get swapped out entirely (i.e. lots of dead rows), indexes
slowly degrade, pushing query latency up.

Is there a way to detect this condition short of just monitoring
statement latency, so as to know when to REINDEX / build new indexes?

--
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

Message-ID: <BMXPR01MB3847542EE8E21D98AF5A6522B87B0@BMXPR01MB3847.INDPRD01.PROD.OUTLOOK.COM>
Permalink:  ../BMXPR01MB3847542EE8E21D98AF5A6522B87B0@BMXPR01MB3847.INDPRD01.PROD.OUTLOOK.COM/
Also on:    postgresql.org/message-id/BMXPR01MB3847542EE8E21D98AF5A6522B87B0@BMXPR01MB3847.INDPRD01.PROD.OUTLOOK.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-admin@postgresql.org
  Cc: pandeyp@hotmail.com, abalashov@evaristesys.com
  Subject: Re: Help Needed for  pgbench with retry option
  In-Reply-To: <BMXPR01MB3847542EE8E21D98AF5A6522B87B0@BMXPR01MB3847.INDPRD01.PROD.OUTLOOK.COM>
  References: <20191107193335.GA4344@tlaquepaque.localdomain> <BMXPR01MB3847542EE8E21D98AF5A6522B87B0@BMXPR01MB3847.INDPRD01.PROD.OUTLOOK.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