Re: [GENERAL] Autovacuum Improvements

From: Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Subject: Re: [GENERAL] Autovacuum Improvements
Date: 2007-01-22 20:17:39
Message-ID: 45B51BE3.9050809@cheapcomplexdevices.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Gregory Stark wrote:
>
> Actually no. A while back I did experiments to see how fast reading a file
> sequentially was compared to reading the same file sequentially but skipping
> x% of the blocks randomly. The results were surprising (to me) and depressing.
> The breakeven point was about 7%. [...]
>
> The theory online was that as long as you're reading one page from each disk
> track you're going to pay the same seek overhead as reading the entire track.

Could one take advantage of this observation in designing the DSM?

Instead of a separate bit representing every page, having each bit
represent 20 or so pages might be a more useful unit. It sounds
like the time spent reading would be similar; while the bitmap
would be significantly smaller.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Fetter 2007-01-22 20:17:40 Re: [ANNOUNCE] == PostgreSQL Weekly News - January 21 2007 ==
Previous Message Jeff Davis 2007-01-22 20:08:09 Re: postgresql scalability, active-active cluster

Browse pgsql-hackers by date

  From Date Subject
Next Message Joris Dobbelsteen 2007-01-22 21:15:55 Re: [HACKERS] Autovacuum Improvements
Previous Message Bruce Momjian 2007-01-22 19:54:01 Re: [HACKERS] Win32 WEXITSTATUS too