Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id A54209FBB34 for ; Tue, 3 Apr 2007 16:08:19 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 70251-01 for ; Tue, 3 Apr 2007 16:08:16 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 43FF19FBB21 for ; Tue, 3 Apr 2007 16:08:16 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l33J8DSO011338; Tue, 3 Apr 2007 15:08:13 -0400 (EDT) To: arnaulist@andromeiberica.com cc: pgsql-performance@postgresql.org Subject: Re: Equivalents in PostgreSQL of MySQL's "ENGINE=MEMORY" "MAX_ROWS=1000" In-reply-to: <4612A421.4060808@andromeiberica.com> References: <4612A421.4060808@andromeiberica.com> Comments: In-reply-to Arnau message dated "Tue, 03 Apr 2007 20:59:45 +0200" Date: Tue, 03 Apr 2007 15:08:13 -0400 Message-ID: <11336.1175627293@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/26 X-Sequence-Number: 23903 Arnau writes: > MySQL manual says: > "The MEMORY storage engine creates tables with contents that are stored > in memory. As indicated by the name, MEMORY tables are stored in memory. > Is there anything similar in PostgreSQL? As long as you have shared_buffers large enough (or temp_buffers if you're dealing with temp tables), everything will stay in memory anyway. Don't sweat it. regards, tom lane