Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Patches > Re: EXPLAIN pro...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 3577 of 4088
Post > Topic >>

Re: EXPLAIN progress info

by heikki@[EMAIL PROTECTED] ("Heikki Linnakangas") Jul 3, 2008 at 04:11 PM

I like this idea in general. I'm envisioning a cool explain display in 
pgAdmin that's updated live, as the query is executed, showing how many 
tuples a seq scan in the bottom, and an aggregate above it, has 
processed. Drool.

Currently the interface is that you open a new connection, and signal 
the backend using the same mechanism as a query cancel. That's fine for 
the interactive psql use case, but seems really heavy-weight for the 
pgAdmin UI I'm envisioning. You'd have to poll the server, opening a new 
connection each time. Any ideas on that? How about a GUC to send the 
information automatically every n seconds, for example?

Other than that, this one seems to be the most serious issue:

Tom Lane wrote:
> Gregory Stark <stark@[EMAIL PROTECTED]
> writes:
>> There are downsides: 
> 
> Insurmountable ones at that.  This one already makes it a non-starter:
> 
>> a) the overhead of counting rows and loops is there for every query
execution,
>> even if you don't do explain analyze.

I wouldn't be surprised if the overhead of the counters turns out to be 
a non-issue, but we'd have to see some testing of that. InstrEndLoop is 
the function we're worried about, right?

-- 
   Heikki Lin****angas
   EnterpriseDB   http://www.enterprisedb.com

-- 
Sent via pgsql-patches mailing list (pgsql-patches@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches
 




 4 Posts in Topic:
Re: EXPLAIN progress info
stark@[EMAIL PROTECTED]   2008-04-09 00:59:49 
Re: EXPLAIN progress info
tgl@[EMAIL PROTECTED] (T  2008-04-08 21:15:34 
Re: EXPLAIN progress info
heikki@[EMAIL PROTECTED]   2008-04-09 11:25:06 
Re: EXPLAIN progress info
heikki@[EMAIL PROTECTED]   2008-07-03 16:11:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 14:36:08 CDT 2008.