| From: | Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> |
|---|---|
| To: | aslicokay(at)gmail(dot)com |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: PITR for an only object in postgres |
| Date: | 2021-03-22 08:12:16 |
| Message-ID: | 20210322.171216.607130471717814429.horikyota.ntt@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
At Thu, 18 Mar 2021 17:12:49 -0400, aslı cokay <aslicokay(at)gmail(dot)com> wrote in
> Hi all,
>
> Is there any way to get for example a table version of 5 minutes ago, or we
> should PITR to 5 minutes ago, dump the table and restore with this dump ?
If you want to revert the recent changes on the table, I think there's
no way other than time-travelling using PITR. Of couse you can't do
that only for a part of database.
If you often want to access 5-minutes ago image of the database, you
could configure a delayed standby using recovery_min_apply_delay.
I'm not sure PostgreSQL has the same feature for logical replication,
but perhaps we don't have that.
regards.
--
Kyotaro Horiguchi
NTT Open Source Software Center
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Saurabh Agrawal | 2021-03-22 10:11:13 | Re: Need help on query optimization |
| Previous Message | Luca Ferrari | 2021-03-22 07:56:46 | Re: questions about wraparound |