Re: PostgreSQL win32 fragmentation issue

From: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PostgreSQL win32 fragmentation issue
Date: 2006-12-02 16:17:27
Message-ID: 4571A717.3030207@zeut.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Martijn van Oosterhout wrote:
> On Fri, Dec 01, 2006 at 10:58:44PM -0800, Joshua D. Drake wrote:
>
>> I know this isn't *our* fault :) but I am curious if there is anything
>> we can do about the way postgresql writes files to help limit fragmentation.
>>
>> Essentially, this makes win32 impossible in a 24x7 environment (jokes
>> aside about Win32 in general) because we *have* to defrag on Windows and
>> Windows won't defrag open files (thus anything PostgreSQL is using).
>>
>
> BTW, do you know what 11% fragmentation means? Does that mean each file
> is on average split in 9 pieces, because for a 1GB file, 9 pieces isn't
> all that bad.

Or more specifically do you have any idea what it means in terms of
performance? And why do you say that you *have to* defrag under
windows, isn't this only a performance issue and not necessarily a huge
one at that? Also, as a solution, I would think that CLUSTER might help.

Matt

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2006-12-02 16:34:04 Re: PostgreSQL win32 fragmentation issue
Previous Message Dennis Bjorklund 2006-12-02 16:02:55 Re: [HACKERS] Case Preservation disregarding case