Re: Bucardo syncrun

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: eacshm(at)gmail(dot)com
Subject: Re: Bucardo syncrun
Date: 2017-10-26 22:43:57
Message-ID: deb8a1434c4fb990daf9fa67ce432443@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Emanuel Araújo asked:

> Can I purge data on Postgrebucardo table syncrun ?
>
> If I will follow this steps:
>
> bucardo stop
> psql bucardo
> truncate bucardo.syncrun ;
> \q
> bucardo start
>
> The steps to purge all past data that table. Is correct? Is this Simple method?

Yes, you could also simply remove older entries without needing to
stop bucardo first, like so:

delete from bucardo.syncrun where ended < now() - interval '1 week';

If there were a very large number of rows deleted, you should also:

vacuum full bucardo.syncrun;

The data in that table is not critical to Bucardo running - it is mostly
used for the output of "bucardo status" and for auditing of past syncs.

P.S. Bucardo has its own mailing list: bucardo-general(at)bucardo(dot)org,
which in general is better than -general. :)

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201710261427
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAlnyKbAACgkQvJuQZxSWSsj3WQCgtYecAxqk09rvJTKITRL/fcBo
oBgAoK5AaZc2Z+/UEE4HvY042iYnyvmv
=SETH
-----END PGP SIGNATURE-----

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Guyren Howe 2017-10-27 00:29:10 Combing row returning functions using "ROWS FROM"?
Previous Message Devrim Gündüz 2017-10-26 22:09:39 Announcing PostgreSQL SLES RPM Repository