Skip site navigation (1) Skip section navigation (2)

Re: backup and recovery

From: Naomi Walker <nwalker(at)eldocomp(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>,Tsirkin Evgeny <tsurkin(at)mail(dot)jct(dot)ac(dot)il>,Naomi Walker <nwalker(at)eldocomp(dot)com>,"Mark M(dot) Huber" <MHuber(at)VMdirect(dot)com>,"pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: backup and recovery
Date: 2004-03-25 16:29:26
Message-ID: 5.1.0.14.2.20040325084622.022a5198@imap.eldocomp.com (view raw or flat)
Thread:
Lists: pgsql-admin
>
>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(at)eldocomp(dot)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.

pgsql-admin by date

Next:From: HemapriyaDate: 2004-03-25 18:05:42
Subject: Torn pages Detection in SQL SERVER
Previous:From: Eric YumDate: 2004-03-25 06:29:33
Subject: License for PostgreSQL for commercial purpose

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group