X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E252F3A40B6 for ; Wed, 19 Jan 2005 13:40:39 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 85567-03 for ; Wed, 19 Jan 2005 13:40:25 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 960813A3F1D for ; Wed, 19 Jan 2005 13:40:24 +0000 (GMT) Received: (qmail 12503 invoked from network); 19 Jan 2005 13:39:46 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 19 Jan 2005 13:39:46 -0000 Message-ID: <41EE6389.8020303@fastcrypt.com> Date: Wed, 19 Jan 2005 08:41:29 -0500 From: Dave Cramer Reply-To: pg@fastcrypt.com Organization: Postgres International User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Richard Huxton Cc: amrit@health2.moph.go.th, PGsql-performance Subject: Re: Increasing RAM for more than 4 Gb. using postgresql References: <1105501768.41e49e484d779@webmail.moph.go.th> <200501160944.47511.josh@agliodbs.com> <011901c4fd5e$4b465470$63070080@freedom> <1106059106.41ed1f6296062@webmail.moph.go.th> <41EE4091.9040902@archonet.com> In-Reply-To: <41EE4091.9040902@archonet.com> Content-Type: text/plain; charset=TIS-620; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.016 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/232 X-Sequence-Number: 9922 You can *not* go from any major release to another major release using any kind of file backup. Please use pg_dump. Additionally there are known issues dumping and restoring from 7.3 -> 7.4 if you use the default copy command. Use the pg_dump --inserts option. I would still tar the directory just in case you *have* to fall back to 7.3 for some reason (Better safe than sorry ) Dave Richard Huxton wrote: > amrit@health2.moph.go.th wrote: > >> I would like to upgrade both OS kernel and PGsql version , so in my >> opinion the >> best way to handle it is to *backup* the data in .tar > > > Just remember if you're going from 7.3.2 => 7.4.x or 8.0 then you'll > need to use pg_dump not just tar up the directories. If you do use > tar, remember to backup *all* the directories. > > -- > Richard Huxton > Archonet Ltd > > ---------------------------(end of broadcast)--------------------------- > TIP 9: the planner will ignore your desire to choose an index scan if > your > joining column's datatypes do not match > > -- Dave Cramer http://www.postgresintl.com 519 939 0336 ICQ#14675561