From: | "tsunakawa(dot)takay(at)fujitsu(dot)com" <tsunakawa(dot)takay(at)fujitsu(dot)com> |
---|---|
To: | 'Amit Kapila' <amit(dot)kapila16(at)gmail(dot)com> |
Cc: | Masahiko Sawada <masahiko(dot)sawada(at)2ndquadrant(dot)com>, "osumi(dot)takamichi(at)fujitsu(dot)com" <osumi(dot)takamichi(at)fujitsu(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | RE: Implement UNLOGGED clause for COPY FROM |
Date: | 2020-08-27 01:34:26 |
Message-ID: | TYAPR01MB299005FC543C43348A4993FDFE550@TYAPR01MB2990.jpnprd01.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
> So you want your users to shutdown and restart the server before Copy
> because that would be required if you want to change the wal_level.
Yes. They seem to be fine with it, as far as I heard from a person who is involved in the system design.
> However, even if we do that, users who are running the server
> previously with wal_level as 'replica' won't be happy after doing this
> change. Because if they change the wal_level to 'none' for certain
> operations like bulk load and then again change back the mode to
> 'replica' they need to back up the database again to setup 'replica'
> as they can't continue replication from the previous point (consider
> update on a page for which previously WAL was not written).
Yes, it requires the database backup. The database backup should be a daily task anyway, so I expect it wouldn't impose extra maintenance burdon on the user. Plus, not all users use the streaming replication for HA. I think it's helpful for the maturing Postgres to provide some kind of solution for some context so that user can scratch their itches.
Regards
Takayuki Tsunakawa
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2020-08-27 02:04:51 | Re: Handing off SLRU fsyncs to the checkpointer |
Previous Message | Andy Fan | 2020-08-27 00:46:23 | Re: How is bushy plans generated in join_search_one_lev |