From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: why select count(*) consumes wal logs
Date: Tue, 6 Nov 2018 11:19:54 -0600
Message-ID: <4e7dda1e-b37c-32eb-4605-721473154082@gmail.com> (raw)
In-Reply-To: <CAOzAqu+M0-yBqTHcyoH1xd5MhWRCg6xBB58wAROS4HMXYqqg=Q@mail.gmail.com>
References: <653931906.1147337.1541523848244.ref@mail.yahoo.com>
<653931906.1147337.1541523848244@mail.yahoo.com>
<CAOzAqu+M0-yBqTHcyoH1xd5MhWRCg6xBB58wAROS4HMXYqqg=Q@mail.gmail.com>
On 11/06/2018 11:12 AM, Michael Nolan wrote:
> On Tue, Nov 6, 2018 at 11:08 AM Ravi Krishna <srkrishna1@aol.com
> <mailto: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.
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-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: why select count(*) consumes wal logs
In-Reply-To: <4e7dda1e-b37c-32eb-4605-721473154082@gmail.com>
References: <653931906.1147337.1541523848244.ref@mail.yahoo.com> <653931906.1147337.1541523848244@mail.yahoo.com> <CAOzAqu+M0-yBqTHcyoH1xd5MhWRCg6xBB58wAROS4HMXYqqg=Q@mail.gmail.com> <4e7dda1e-b37c-32eb-4605-721473154082@gmail.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