pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
7.3.4 Question
2+ messages / 2 participants
[nested] [flat]

* 7.3.4 Question
@ 2003-12-04 22:23  Naomi Walker <nwalker@eldocomp.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Naomi Walker @ 2003-12-04 22:23 UTC (permalink / raw)
  To: pgsql-admin; +Cc: pgsql-admin


Last night, we upgraded from 7.1.2 to 7.3.4 on our Sun E3500's, running 
Solaris 6.  Everything went well, except that we appear to have dodged a 
bullet, and that mystifies me.

Somehow, nobody noticed that the data filesystem was at 100%, yet this 
heavily used application that uses postgres continued to run without error. 
df -k show about 20k blocks unused.

Had this been in the old instance, i'd assume new rows were added to holes 
in the database, where data was deleted.  Since we pg_dumpall'd from one 
instance to another, i'm sure the tables were all rebuilt without holes and 
are all nice and tidy now.

The pgsql.log showed a bunch of rows like the following:

2003-12-03 20:33:22 LOG:  recycled transaction log file 0000000000000000
2003-12-03 20:33:22 LOG:  recycled transaction log file 0000000000000001
2003-12-03 20:33:22 LOG:  recycled transaction log file 0000000000000002

There were no messages about being out of space.

Does Postgres have some keen trick to trash log files when you are out of 
space, or did something else save our behinds?

Happy but curious,
Naomi





-------------------------------------------------------------------------------------------------------------------------
Naomi Walker                         Chief Information Officer
                                               Eldorado Computing, Inc.
nwalker@eldocomp.com           602-604-3100
-------------------------------------------------------------------------------------------------------------------------
Never eat more than you can lift.  - Miss Piggy
------------------------------------------------------------------------------------------------------------------------

-- 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.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: 7.3.4 Question
@ 2003-12-05 04:59  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Naomi Walker <nwalker@eldocomp.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2003-12-05 04:59 UTC (permalink / raw)
  To: Naomi Walker <nwalker@eldocomp.com>; +Cc: pgsql-admin

Naomi Walker <nwalker@eldocomp.com> writes:
> Does Postgres have some keen trick to trash log files when you are out of 
> space, or did something else save our behinds?

You got lucky ... PG *will* complain loudly when it runs out of disk
space.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-12-05 04:59 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-12-04 22:23 7.3.4 Question Naomi Walker <nwalker@eldocomp.com>
2003-12-05 04:59 ` Tom Lane <tgl@sss.pgh.pa.us>

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