pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Manuel Trujillo <manueltrujillo@dorna.es>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pg-admin <pgsql-admin@postgresql.org>
Subject: Re: stopping "wal"
Date: 12 Feb 2002 16:57:51 +0100
Message-ID: <1013529471.998.7.camel@klingon> (raw)
In-Reply-To: <21480.1013526979@sss.pgh.pa.us>
References: <1013508902.12791.9.camel@klingon>
	<21480.1013526979@sss.pgh.pa.us>

On Tue, 2002-02-12 at 16:16, Tom Lane wrote:

> And this would be worse.
> 
> If you don't care about your data, you can "initdb" to get rid of the
> messed-up database.  If you do care, you shouldn't be doing any of the
> above.

The problem here, is a lot of programmers "start-stopping" the database
continuosly... :( And I can't make anything, because they need total
control over the database.
Here it is a bit of log after start the database in her actually state:

FATAL 1:  The database system is starting up
DEBUG:  proc_exit(0)
DEBUG:  shmem_exit(0)
DEBUG:  exit(0)
DEBUG:  BackendStartup: forked pid=18416 socket=8
DEBUG:  reaping dead processes
DEBUG:  child process (pid 18416) exited with exit 
code 0
DEBUG:  INSERT @ 0/48F85360: prev 0/48F85320; xprev
 0/0; xid 0: XLOG - checkpoint: redo 0/48F85360; undo 0/0; sui 19; xid
2482396; 
oid 3736683; shutdown
DEBUG:  XLogFlush: request 0/48F853A0; write 0/48F8
5360; flush 0/48F85360

DEBUG:  database system is ready
DEBUG:  proc_exit(0)
DEBUG:  shmem_exit(0)
DEBUG:  exit(0)
DEBUG:  reaping dead processes
DEBUG:  BackendStartup: forked pid=18422 socket=8
DEBUG:  connection: host=192.168.141.208 user=xxx               
database=example

And make this, to 20 backend processes!!.

Tom say me to run "initdb", but... If possible to clean this wal's???

Thank you very much from here to Tom and the rest of pg-admin people.

Regards, Manuel.

-- 
Manuel Trujillo         manueltrujillo@dorna.es
Technical Engineer      http://www.motograndprix.com
Dorna Sports S.L.       +34 93 4702864




view thread (3+ messages)

Message-ID: <1013529471.998.7.camel@klingon>
Permalink:  ../1013529471.998.7.camel@klingon/
Also on:    postgresql.org/message-id/1013529471.998.7.camel@klingon

 · 

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: manueltrujillo@dorna.es, tgl@sss.pgh.pa.us
  Subject: Re: stopping "wal"
  In-Reply-To: <1013529471.998.7.camel@klingon>
  References: <1013508902.12791.9.camel@klingon> <21480.1013526979@sss.pgh.pa.us> <1013529471.998.7.camel@klingon>

* 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