From owner-freebsd-questions Thu May 9 1: 9:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailbox-4.st1.spray.net (mailbox-4.st1.spray.net [212.78.202.104]) by hub.freebsd.org (Postfix) with ESMTP id 7401F37B404 for ; Thu, 9 May 2002 01:09:12 -0700 (PDT) Received: from p7 (spb-213-33-245-158.sovintel.ru [213.33.245.158] (may be forged)) by mailbox-4.st1.spray.net (8.8.8/8.8.8) with SMTP id KAA07981 for ; Thu, 9 May 2002 10:09:05 +0200 (DST) Posted-Date: Thu, 9 May 2002 10:09:05 +0200 (DST) Message-ID: <01ff01c1f730$cc2d5b60$0100a8c0@p7> From: "AMI" To: "FreeBSD-questions" References: <20020508014224.17280.qmail@operamail.com> Subject: Re: mount_mfs -F option Date: Thu, 9 May 2002 11:23:10 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello! It's very risky way! For any times of cron's script may has your computer may be restarting... Does you on built-in caching of bsd's file system and true onward! Regards, Andrew > Greetings, > > I'm in the process of setting up a new server for testing purposes mainly, and thought, with 2GB of DDR RAM in it, that mounting the PostgreSQL database into memory would speed things up a little. Now I'm well aware that once the machine restarts or shuts off all data in memory is lost; my question is: will using mount_mfs with the -F option allow changes to the database to be written back to that file [the asynch option?]. > Sans using a cron job or some shell script hack, can I mount a database to memory and have updates written to file while when accessed, its read from memory? > > thanks > - aarong > -- > > Powered by Outblaze To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message