From: ktm@rice.edu <ktm@rice.edu>
To: Joshua D. Drake <jd@commandprompt.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Jan Gunnar Dyrset <jan.g.dyrset@cybernetica.no>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: PostgreSQL disk fragmentation causes performance problems on Windows
Date: Wed, 29 Apr 2015 09:35:43 -0500
Message-ID: <20150429143543.GQ3510@aart.rice.edu> (raw)
In-Reply-To: <5540E588.9080507@commandprompt.com>
References: <AMXPR05MB120CFF5F9A4825A531E2018A1ED0@AMXPR05MB120.eurprd05.prod.outlook.com>
<20150429080639.GC14535@awork2.anarazel.de>
<20150429080854.GD14535@awork2.anarazel.de>
<5540E588.9080507@commandprompt.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
On Wed, Apr 29, 2015 at 07:07:04AM -0700, Joshua D. Drake wrote:
>
> On 04/29/2015 01:08 AM, Andres Freund wrote:
>
> >>Which OS and filesystem is this done on? Because many halfway modern
> >>systems, like e.g ext4 and xfs, implement this in the background as
> >>'delayed allocation'.
> >
> >Oh, it's in the subject. Stupid me, sorry for that. I'd consider testing
> >how much better this behaves under a different operating system, as a
> >shorter term relief.
>
> This is a known issue on the Windows platform. It is part of the
> limitations of that environment. Linux/Solaris/FreeBSD do not suffer
> from this issue in nearly the same manner.
>
> jD
>
You might consider a CLUSTER or VACUUM FULL to re-write the table with
less fragmentation.
Regards,
Ken
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: ktm@rice.edu, jd@commandprompt.com, andres@anarazel.de, jan.g.dyrset@cybernetica.no
Subject: Re: PostgreSQL disk fragmentation causes performance problems on Windows
In-Reply-To: <20150429143543.GQ3510@aart.rice.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox