Search Postgresql Archives

RE: why select count(*) consumes wal logs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I concord.

Why VACUUM when there is no update or deletes.

 

Regards,

Virendra

 

From: Ron [mailto:ronljohnsonjr@xxxxxxxxx]
Sent: Tuesday, November 06, 2018 12:20 PM
To: pgsql-general@xxxxxxxxxxxxxxxxxxxx
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@xxxxxxx> 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.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux