pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kenneth Marshall <ktm@rice.edu>
To: Mladen Gogala <mladen.gogala@vmsinfo.com>
Cc: 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, 1 Dec 2010 11:22:08 -0600
Message-ID: <20101201172208.GS19162@aart.is.rice.edu> (raw)
In-Reply-To: <4CF682A7.4030109@vmsinfo.com>
References: <4CF24103.8030209@megafon.hr>
	<1291168052.20631.1963.camel@jd-desktop>
	<4CF5FF0A.9040605@megafon.hr>
	<4CF678FC.9050003@vmsinfo.com>
	<4CF67F2A.4070703@megafon.hr>
	<4CF682A7.4030109@vmsinfo.com>

On Wed, Dec 01, 2010 at 12:15:19PM -0500, Mladen Gogala wrote:
> 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
>

Redhat6 comes with ext4 which is an extent based filesystem with
decent performance.

Ken



view thread (32+ messages)  latest in thread

Message-ID: <20101201172208.GS19162@aart.is.rice.edu>
Permalink:  ../20101201172208.GS19162@aart.is.rice.edu/
Also on:    postgresql.org/message-id/20101201172208.GS19162@aart.is.rice.edu

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: ktm@rice.edu, mladen.gogala@vmsinfo.com, mario.splivalo@megafon.hr, jd@commandprompt.com
  Subject: Re: SELECT INTO large FKyed table is slow
  In-Reply-To: <20101201172208.GS19162@aart.is.rice.edu>
  References: <4CF24103.8030209@megafon.hr> <1291168052.20631.1963.camel@jd-desktop> <4CF5FF0A.9040605@megafon.hr> <4CF678FC.9050003@vmsinfo.com> <4CF67F2A.4070703@megafon.hr> <4CF682A7.4030109@vmsinfo.com> <20101201172208.GS19162@aart.is.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