Re: SELECT INTO large FKyed table is slow

From: Mladen Gogala <mladen(dot)gogala(at)vmsinfo(dot)com>
To: Mario Splivalo <mario(dot)splivalo(at)megafon(dot)hr>
Cc: "jd(at)commandprompt(dot)com" <jd(at)commandprompt(dot)com>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: SELECT INTO large FKyed table is slow
Date: 2010-12-01 17:15:19
Message-ID: 4CF682A7.4030109@vmsinfo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Kenneth Marshall 2010-12-01 17:22:08 Re: SELECT INTO large FKyed table is slow
Previous Message Kevin Grittner 2010-12-01 17:13:04 Re: Clarification, please