From: Ron [mailto:ronljohnsonjr@gmail.com] Sent: Tuesday, November 06, 2018 12:20 PM To: pgsql-general@lists.postgresql.org Subject: Re: why select count(*) consumes wal logs
On 11/06/2018 11:12 AM, Michael Nolan wrote:
On Tue, Nov 6, 2018 at 11:08 AM Ravi Krishna <srkrishna1@aol.com> wrote:
PG 10.5
I loaded 133 million rows to a wide table (more than 100 cols) via COPY.
It's always a good idea after doing a large scale data load to do a vacuum analyze on the table (or the entire database.)
I understand the need to ANALYZE (populate the histograms needed by the dynamic optimizer), but why VACUUM (which is recommended after updates and deletes).
Thanks
-- Angular momentum makes the world go 'round.
This message is intended only for the use of the addressee and may contain information that is PRIVILEGED AND CONFIDENTIAL.
If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify the sender immediately. Thank you.