Unix Technical Forum

Blocked by

This is a discussion on Blocked by within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> Hi! Attached patch implements a column in the server status view that shows if a transaction is blocked, and ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 08:46 AM
Magnus Hagander
 
Posts: n/a
Default Blocked by

Hi!

Attached patch implements a column in the server status view that shows if
a transaction is blocked, and what process it's blocked by.

Since we're very close to RC, I'm sending it past here before doing
anything more. What do ppl think, are we ok with something like this for
this version or should I sit on it until the next one?

/Magnus



---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-18-2008, 08:46 AM
Hiroshi Saito
 
Posts: n/a
Default Re: Blocked by

Hi Magnus.

Cool!
I think it is good information.:-)
http://winpg.jp/~saito/pgAdmin/Block_info.png
I want it.
+1!

Regards,
Hiroshi Saito

----- Original Message -----
From: "Magnus Hagander" <magnus@hagander.net>
To: <pgadmin-hackers@postgresql.org>
Sent: Wednesday, August 29, 2007 7:06 PM
Subject: [pgadmin-hackers] Blocked by


> Hi!
>
> Attached patch implements a column in the server status view that shows if
> a transaction is blocked, and what process it's blocked by.
>
> Since we're very close to RC, I'm sending it past here before doing
> anything more. What do ppl think, are we ok with something like this for
> this version or should I sit on it until the next one?
>
> /Magnus
>
>



--------------------------------------------------------------------------------


>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>


---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-18-2008, 08:46 AM
Dave Page
 
Posts: n/a
Default Re: Blocked by

Magnus Hagander wrote:
> Hi!
>
> Attached patch implements a column in the server status view that shows if
> a transaction is blocked, and what process it's blocked by.
>
> Since we're very close to RC, I'm sending it past here before doing
> anything more. What do ppl think, are we ok with something like this for
> this version or should I sit on it until the next one?


It's useful, but it does involve a string change very close to RC :-( I
need to fight the urge to commit it and stick to the rules I'm afraid -
I say no, not for this release.

As soon as we branch though, let's commit it. I hope we'll rewrite most
of that tool so it may not survive (we've been talking about having a
hierarchical view instead), but we should get it in in case we don't get
that.

/D

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-18-2008, 08:47 AM
Magnus Hagander
 
Posts: n/a
Default Re: Blocked by

On Wed, Aug 29, 2007 at 11:42:33AM +0100, Dave Page wrote:
> Magnus Hagander wrote:
> > Hi!
> >
> > Attached patch implements a column in the server status view that shows if
> > a transaction is blocked, and what process it's blocked by.
> >
> > Since we're very close to RC, I'm sending it past here before doing
> > anything more. What do ppl think, are we ok with something like this for
> > this version or should I sit on it until the next one?

>
> It's useful, but it does involve a string change very close to RC :-( I
> need to fight the urge to commit it and stick to the rules I'm afraid -
> I say no, not for this release.


Bummer, but I can't say it's a bad decision :-)

> As soon as we branch though, let's commit it. I hope we'll rewrite most
> of that tool so it may not survive (we've been talking about having a
> hierarchical view instead), but we should get it in in case we don't get
> that.


What's the plan for branching?

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-18-2008, 08:47 AM
Dave Page
 
Posts: n/a
Default Re: Blocked by

Magnus Hagander wrote:
> On Wed, Aug 29, 2007 at 11:42:33AM +0100, Dave Page wrote:
>> Magnus Hagander wrote:
>>> Hi!
>>>
>>> Attached patch implements a column in the server status view that shows if
>>> a transaction is blocked, and what process it's blocked by.
>>>
>>> Since we're very close to RC, I'm sending it past here before doing
>>> anything more. What do ppl think, are we ok with something like this for
>>> this version or should I sit on it until the next one?

>> It's useful, but it does involve a string change very close to RC :-( I
>> need to fight the urge to commit it and stick to the rules I'm afraid -
>> I say no, not for this release.

>
> Bummer, but I can't say it's a bad decision :-)
>
>> As soon as we branch though, let's commit it. I hope we'll rewrite most
>> of that tool so it may not survive (we've been talking about having a
>> hierarchical view instead), but we should get it in in case we don't get
>> that.

>
> What's the plan for branching?


About 10 minutes after I bundle the release I imagine!

/D


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-18-2008, 08:53 AM
Dave Page
 
Posts: n/a
Default Re: Blocked by

Magnus Hagander wrote:
> Hi!
>
> Attached patch implements a column in the server status view that shows if
> a transaction is blocked, and what process it's blocked by.


Thanks, patch applied.

/D

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:41 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com