Re: Bottlenecks with large number of relation segment files

From: Florian Weimer <fweimer(at)redhat(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Bottlenecks with large number of relation segment files
Date: 2013-08-05 11:38:41
Message-ID: 51FF8EC1.9050209@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On 08/05/2013 10:42 AM, John R Pierce wrote:
> On 8/5/2013 1:01 AM, KONDO Mitsumasa wrote:
>> When we open file, ext3 or ext4 file system seems to sequential search
>> inode for opening file in file directory.
>
> no, ext3/4 uses H-tree structures to search directories over 1 block
> long quite efficiently.

And the Linux dentry cache is rather aggressive, so most of the time,
only the in-memory hash table will be consulted. (The dentry cache only
gets flushed on severe memory pressure.)

--
Florian Weimer / Red Hat Product Security Team

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2013-08-05 12:23:36 Re: [GENERAL] Bottlenecks with large number of relation segment files
Previous Message hamann.w 2013-08-05 11:09:44 Re: incremental dumps

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2013-08-05 12:18:33 Re: Re: ALTER SYSTEM SET command to change postgresql.conf parameters (RE: Proposal for Allow postgresql.conf values to be changed via SQL [review])
Previous Message Andres Freund 2013-08-05 10:28:41 Re: Bottlenecks with large number of relation segment files