Re: 300 seconds in less than 1 second with pg_autovacuum

"Dave Page" <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <E7F85A1B5FF8D44C8A1AF6885BC9A0E45285A9@ratbert.vale-housing.co.uk>
 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf 
> Of Harald Massa
> Sent: 21 January 2005 12:55
> To: [email protected]
> Subject: [pgsql-hackers-win32] 300 seconds in less than 1 
> second with pg_autovacuum
> 
> What is going wrong? I did not fiddle with the 
> "Sleep-Period", just left it
> on default.
> 

Hmm:

Windows:

VOID Sleep(DWORD dwMilliseconds);

Unix:

unsigned int sleep(unsigned int seconds);

D'oh!

Patch coming up....

/D

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.