How long will the query take

From: John Gage <jsmgage(at)numericable(dot)fr>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: How long will the query take
Date: 2010-03-29 15:29:56
Message-ID: DA11818D-25A2-4AAB-912D-465740A38A2F@numericable.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I ran a query out of pgAdmin, and (as I expected) it took a long
time. In fact, I did not let it finish. I stopped it after a little
over an hour.

I'm using 8.4.2 on a Mac with a 2.4GHz processor and 2GB of RAM.

My question is: is there a way to tell how close the query is to being
finished. It would be a great pity if the query would have finished
in the 10 seconds after I quit it, but I had no way of telling.

As a postscript, I would add that the query was undoubtedly too
ambitious. I have a reduced set version which I will run shortly.
But I am still curious to know if there is a way to tell how much time
is left.

Thanks,

John

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrus 2010-03-29 15:47:23 Re: ***SPAM*** Re: Splitting text column to multiple rows
Previous Message Tom Lane 2010-03-29 15:29:20 Re: Splitting text column to multiple rows