Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 10C85479589 for ; Mon, 15 Apr 2002 13:40:24 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g3FHeMF24599; Mon, 15 Apr 2002 13:40:22 -0400 (EDT) To: "Christian Gerdes" Cc: pgsql-admin@postgresql.org Subject: Re: Databases in memory (-->flashdrive problem) In-reply-to: <45CE8A6EF04DF14082405BEE982CE70E031859@2000-eka-exc-03.EKATEC.COM> References: <45CE8A6EF04DF14082405BEE982CE70E031859@2000-eka-exc-03.EKATEC.COM> Comments: In-reply-to "Christian Gerdes" message dated "Thu, 11 Apr 2002 15:07:11 -0000" Date: Mon, 15 Apr 2002 13:40:22 -0400 Message-ID: <24596.1018892422@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200204/132 X-Sequence-Number: 4020 "Christian Gerdes" writes: > Is there an opportunity to configure postgre to keep databases in Memory? > I need to store a lot of data (many little entries) on IDE- flashdrive. > But flashdrives have a little problem with write-cycles. > Each flash-cell can be rewritten approxiatly 300.000 times. This means for me: > there is no chance to store my db directly on flashdrive. > If i could let my databases stay in RAM (maybe RAM-Drive, if so) i may do a backup to flashdrive in a defined frequency!? Sure: keep the database on a RAM-drive (this will mean an initdb and data load on each bootup, hope you can stand that) and use pg_dump to a text file on flashdrive as your backup mechanism. Use a cron task to run pg_dump at whatever frequency suits you. regards, tom lane