From: Mladen Gogala <mladen.gogala@vmsinfo.com>
To: Mario Splivalo <mario.splivalo@megafon.hr>
Cc: jd@commandprompt.com <jd@commandprompt.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: SELECT INTO large FKyed table is slow
Date: Wed, 01 Dec 2010 12:15:19 -0500
Message-ID: <4CF682A7.4030109@vmsinfo.com> (raw)
In-Reply-To: <4CF67F2A.4070703@megafon.hr>
References: <4CF24103.8030209@megafon.hr>
<1291168052.20631.1963.camel@jd-desktop>
<4CF5FF0A.9040605@megafon.hr>
<4CF678FC.9050003@vmsinfo.com>
<4CF67F2A.4070703@megafon.hr>
Mario Splivalo wrote:
> I'll try what Pierre suggested, on whole new filesystem. This one did
> get quite filled with thousands of files that I deleted while the
> database was working.
>
> Mario
>
Yes, that is a good idea. That's the reason why we need a
defragmentation tool on Linux. Unfortunately, the only file system that
currently has a decent defragmentation tool is XFS and that is a paid
option, at least with Red Hat. Greg Smith has recently posted a
wonderful review of PostgreSQL on various file systems:
http://blog.2ndquadrant.com/en/2010/04/the-return-of-xfs-on-linux.html
There is a operating system which comes with a very decent extent based
file system and a defragmentation tool, included in the OS. The file
system is called "NTFS" and company is in the land of Redmond, WA where
the shadows lie. One OS to rule them all...
--
Mladen Gogala
Sr. Oracle DBA
1500 Broadway
New York, NY 10036
(212) 329-5251
http://www.vmsinfo.com
The Leader in Integrated Media Intelligence Solutions
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: mladen.gogala@vmsinfo.com, mario.splivalo@megafon.hr, jd@commandprompt.com
Subject: Re: SELECT INTO large FKyed table is slow
In-Reply-To: <4CF682A7.4030109@vmsinfo.com>
* 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