Re: File Fragmentation - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: File Fragmentation
Date
Msg-id kichcp$qcn$1@ger.gmane.org
Whole thread Raw
In response to File Fragmentation  ("jg" <jg@rilk.com>)
List pgsql-general
jg, 20.03.2013 12:13:
> I suspect the heavy fragmented files to the cause of the IO wait
> grows (PostgreSQL on WIndows).
>
>How to cope with that?

I would first investigate that it's *really* the fragmentation.
As a database does a lot of random IO, fragmentation isn't such a big issue.

You could use e.g. contig[1] from SysInternals to de-fragment the data files and then check if that really improves
performance.

Thomas

[1] http://technet.microsoft.com/de-de/sysinternals/bb897428






pgsql-general by date:

Previous
From: "jg"
Date:
Subject: Re: File Fragmentation
Next
From: Achilleas Mantzios
Date:
Subject: Re: "Leaking" disk space on FreeBSD servers