Skip site navigation (1) Skip section navigation (2)

Re: Autovaccum with cost_delay does not complete on one solaris 5.10 machine

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Autovaccum with cost_delay does not complete on one solaris 5.10 machine
Date: 2010-04-15 20:14:01
Message-ID: 16088.1271362441@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-performance
Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> We don't call pollsys anywhere.  Something in Solaris must be doing it
> under the hood.

pg_usleep calls select(), and some googling indicates that select() is
implemented as pollsys() on recent Solaris versions.  So Josh's
assumption that those are delay calls seems plausible.  But it shouldn't
be sleeping after each page with normal cost_delay parameters, should it?

			regards, tom lane

In response to

Responses

pgsql-performance by date

Next:From: Alvaro HerreraDate: 2010-04-15 20:24:05
Subject: Re: Autovaccum with cost_delay does not complete on one solaris 5.10 machine
Previous:From: Dave CrookeDate: 2010-04-15 20:01:55
Subject: Re: HELP: How to tame the 8.3.x JDBC driver with a biq guery result set

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group