pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Ruprecht <chrup999@yahoo.com>
To: PostGreSQL Admin Group <pgsql-admin@postgresql.org>
Subject: Restore Question
Date: Fri, 8 Feb 2002 15:36:14 -0600
Message-ID: <p05101201b889f543b5ac@[192.168.0.6]> (raw)

Hi all,

I'm upgrading from 7.1.3 to 7.2. Right now, I'm busy doing backups, 
so I have a little time to think.
I'm thinking of changing some of the int8 fields into int4 fields, 
since this would save about 4 bytes/record and with 25 Million 
records, this is 100 MB just in the data per field, but the int8 
values are also used in a few indexes, so I might save maybe a GB or 
so.
The problem is, that the file which contains the pg_dump data is 2.8 
GB in size and I don't want to tackle that with an editor. (Schema 
info lives in the front of the file, then follows the data, then 
follow the indexes).

In the old days, before editors where written is such a way that they 
suck all the data into their buffer all at once, we had stuff which 
only loaded so-and-so many KB at a time. Is there still something 
like that out there which is safe to use with a Postgres dump file?

Best regards,
Chris
-- 
Chris Ruprecht
Network grunt and bit pusher extraordinaíre

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




view thread (5+ messages)  latest in thread

Message-ID: <p05101201b889f543b5ac@[192.168.0.6]>
Permalink:  ../p05101201b889f543b5ac@%5B192.168.0.6%5D/
Also on:    postgresql.org/message-id/p05101201b889f543b5ac@[192.168.0.6]

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: chrup999@yahoo.com
  Subject: Re: Restore Question
  In-Reply-To: <p05101201b889f543b5ac@[192.168.0.6]>
  References: <p05101201b889f543b5ac@[192.168.0.6]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox