Re: BUG #12834: Avoiding Disk Control Writes for better Laptop / SSD compatibility. pgstats - Mailing list pgsql-bugs

From Kevin Grittner
Subject Re: BUG #12834: Avoiding Disk Control Writes for better Laptop / SSD compatibility. pgstats
Date
Msg-id 479976363.4147919.1425666838340.JavaMail.yahoo@mail.yahoo.com
Whole thread Raw
In response to Re: BUG #12834: Avoiding Disk Control Writes for better Laptop / SSD compatibility. pgstats  (Bryce Nesbitt <bryce2@obviously.com>)
Responses Re: BUG #12834: Avoiding Disk Control Writes for better Laptop / SSD compatibility. pgstats  (Bryce Nesbitt <bryce2@obviously.com>)
List pgsql-bugs
Bryce Nesbitt <bryce2@obviously.com> wrote:

> Autovac was the droid I was looking for. On orders of the Empire,
> that droid has been eliminated on twenty five laptops.

What, exactly, did you do to "eliminate" that?  If you do not have
a sufficiently aggressive vacuum regimen you will have far worse
problems somewhere down the road.  You can probably tune autovacuum
to minimize the problems you described.  You could also supplement
autovacuum with scheduled VACUUM commands (or possibly even replace
autovacuum with such commands if you are *very* careful).  Just
turning off autovacuum is roughly the equivalent of trying to keep
vehicles on the road for more time by skipping all oil changes and
other maintenance.  It will appear to work really well for some
amount of time.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #12050: Orphaned base files
Next
From: Bryce Nesbitt
Date:
Subject: Re: BUG #12834: Avoiding Disk Control Writes for better Laptop / SSD compatibility. pgstats