PostgreSQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesPostgreSQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 1st, 2009, 07:11 AM
Pif Pif is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2009
Posts: 4 Pif User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 51 m 4 sec
Reputation Power: 0
Big delete causes database to die

Hi,

I have a 8.3 cluster running under VM. It seems fine for most activities (a bit slow but error free) but if the developer issues a delete statement it consistently kills the database.

If the database is running in archive mode then it kills the archiver, else it kills the client session. Sample info is below.

The delete is a nasty one, and will potentially delete almost half of the data in the database(!) but it crashes consistently after about 1 minute. Small deletes work fine.

I can understand it taking ages and giving me various warnings as it is an unfriendly statement but it shouldn't die.

Any ideas? Is this a bug perhaps? I've tried restating the cluster with various memory parameters set, from default to fairly greedy settings and the behaviour is consistent.

All suggestions gratefully received.


Log entry below:

2009-06-25 03:33:34 BST LOCATION: exec_execute_message, postgres.c:
> 1947
> 2009-06-25 03:34:26 BST LOG: 00000: server process (PID 8379) was
> terminated by signal 9: Killed
> 2009-06-25 03:34:26 BST LOCATION: LogChildExit, postmaster.c:2529
> 2009-06-25 03:34:26 BST LOG: 00000: terminating any other active
> server processes
> 2009-06-25 03:34:26 BST LOCATION: HandleChildCrash, postmaster.c:2374
> 2009-06-25 03:34:26 BST WARNING: 57P02: terminating connection
> because of crash of another server process
> 2009-06-25 03:34:26 BST DETAIL: The postmaster has commanded this
> server process to roll back the current transaction and exit,
> because another
> server process exited abnormally and possibly corrupted shared memory.
> 2009-06-25 03:34:26 BST HINT: In a moment you should be able to
> reconnect to the database and repeat your command.
> 2009-06-25 03:34:26 BST LOCATION: quickdie, postgres.c:2454
> 2009-06-25 03:34:26 BST FATAL: 57P03: the database system is in
> recovery mode
> 2009-06-25 03:34:26 BST LOCATION: ProcessStartupPacket,
> postmaster.c:1648

Cheers

Pif

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesPostgreSQL Help > Big delete causes database to die


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
Stay green...Green IT