Re: open pgsql files (was Re: [GENERAL] Mime-Version: 1.0)

From: Serge Sozonoff <serge(at)globalbeach(dot)com>
To: pgsql-general(at)postgreSQL(dot)org
Subject: Re: open pgsql files (was Re: [GENERAL] Mime-Version: 1.0)
Date: 2000-02-28 17:22:06
Message-ID: 4.1.20000228091634.00a99d40@mailgate.globalbeach.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

>> But doesn't the backend close the files after it's done with em? Or it
>> doesn't know when it's done with the files?
>>
>> I've really nothing against native americans, is there a way to throttle or
>> fix our good ol elephant instead?
>
>Keeps files open in the expectation it may need them again.

Well, is there not a way to tell Postgres to close the files when he is
finished?

If I have 40 tables and each table is made up of 6-7 files including
index's etc then that
means that per process I could be opening up to 200-240 !!

This means that with 64 db connections I could be hitting 12800-15360 open
files
on my system!!! What is the current Linux limit without kernel re-compile?
What is the Linux
limit with kernel re-compile?

Why can't I just tell postgres to close thos files say 2 minutes after he
is done with them
and they have been idle?

Thanks, Serge

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2000-02-28 17:25:05 Re: [GENERAL] psql 7.0.0 beta
Previous Message sheila bel 2000-02-28 17:02:26 Re: [GENERAL] RFC: Experiences with EARP?