Re: could you tell me this..?

From: Szymon Guz <mabewlun(at)gmail(dot)com>
To: 백승엽 <sybaek(at)seriends(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: could you tell me this..?
Date: 2010-08-05 13:40:46
Message-ID: AANLkTimk3aK3gauh6p96J-ZN7qn-Qo1B_W0HzOVOapc+@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2010/8/5 백승엽 <sybaek(at)seriends(dot)com>

> Hi.
>
>
> I am korean database engineer.
>
> my english skill is very poor.
>
> but i desire that you teach this situation.
>
>
> um...
>
> I am testing postgresql performance in these days;
>
> today, I found this situation.
>
>
>
> Session 1. -
>
> begin;
> delete from XXXX;
>
>
> Session 2 -
>
> delete from XXXX;
>
>
> thus, it occured row level locking.
>
>
>
>
> so. i killed Session 1's PID with kill -9 commands
>
>
>

killing it with -9 crashed the whole PostgreSQL server, don't do that.
Instead just login to the database and run the function pg_cancel_backend()
http://www.postgresql.org/docs/8.4/static/functions-admin.html, much more
safe way.

regards
Szymon

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ketema Harris 2010-08-05 13:42:29 Re: could you tell me this..?
Previous Message Marco Colombo 2010-08-05 13:28:56 Re: solaris slow