pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Naomi Walker <nwalker@eldocomp.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Tsirkin Evgeny <tsurkin@mail.jct.ac.il>
Cc: Naomi Walker <nwalker@eldocomp.com>
Cc: Mark M. Huber <MHuber@VMdirect.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: backup and recovery
Date: Thu, 25 Mar 2004 09:29:26 -0700
Message-ID: <5.1.0.14.2.20040325084622.022a5198@imap.eldocomp.com> (raw)


>
>Of course, practice often differs from theory, but I wonder whether we
>aren't talking about palliating a symptom instead of fixing the real
>problem.

Certainly a good point, since I might be using the tools to do things that 
were unintended.  We have development, test, and production areas for our 
applications using postgres.  I regularly move rows and tables from one 
place to another, and often one platform to another.

For example, i'll dump a table with a group of customers from one machine, 
and add all those rows to the test and development areas, and sometimes 
issues occur.  It is not the case that I always move whole databases of 
instances from place to place.

We've also written several tools that "COPY table from stdin", followed by 
specific "selects" to move rows around.

Instead of suggesting the solution, I should probably state the problem.

1) Before performing any maintenance on a table, we unload it first, just 
in case.  We need quick reload methods.  psql typically works well, but is 
sometimes slow.

2) We could really use a generic tool to unload "selected" rows from a 
table, and move the unload somewhere else to reload.  [NOTE: we had to 
stick in all sorts of perl things to deal with \n-like stuff).]

Perhaps i'm using the wrong tools, but I am trainable.

We are running postgres 7.3.4 on Solaris and Redhat Linux servers.

Naomi



-------------------------------------------------------------------------------------------------------------------------
Naomi Walker                         Chief Information Officer
                                               Eldorado Computing, Inc.
nwalker@eldocomp.com           602-604-3100
-------------------------------------------------------------------------------------------------------------------------
Forget past mistakes. Forget failures. Forget everything except what you're 
going to do now and do it.
- William Durant, founder of General Motors
------------------------------------------------------------------------------------------------------------------------

-- CONFIDENTIALITY NOTICE --

This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you.



view thread (21+ messages)  latest in thread

Message-ID: <5.1.0.14.2.20040325084622.022a5198@imap.eldocomp.com>
Permalink:  ../5.1.0.14.2.20040325084622.022a5198@imap.eldocomp.com/
Also on:    postgresql.org/message-id/5.1.0.14.2.20040325084622.022a5198@imap.eldocomp.com

 · 

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: nwalker@eldocomp.com, tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, tsurkin@mail.jct.ac.il, MHuber@VMdirect.com
  Subject: Re: backup and recovery
  In-Reply-To: <5.1.0.14.2.20040325084622.022a5198@imap.eldocomp.com>
  References: <5.1.0.14.2.20040325084622.022a5198@imap.eldocomp.com>

* 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