Re: [PERFORM] Queries getting canceled inside a proc that seems to slow down randomly

2015-11-13 Thread Jim Nasby
On 11/11/15 11:57 AM, Skarsol wrote: Are we doing anything weird with this procedure? Is there anything more I can do to get more info as to why/how the cancellation is happening or why the function would slow down seemingly randomly? ERROR: canceling statement due to user request CONTEXT: PL/

Re: [PERFORM] Hanging query on a fresh restart

2015-11-13 Thread Jim Nasby
On 11/10/15 3:42 PM, Jason Jho wrote: On one particular day, this query hung for many hours and even while we killed pids for running queries and any locks granted, the query would never return. Also no hints of blocking processes. After some digging through some I/O metrics, we didn't see any

Re: [PERFORM] Simple delete query is taking too long (never ends)

2015-11-13 Thread Scott Marlowe
On Fri, Nov 13, 2015 at 7:15 AM, Merlin Moncure wrote: > On Thu, Nov 12, 2015 at 4:26 PM, Tom Lane wrote: >> Merlin Moncure writes: >>> On Thu, Nov 12, 2015 at 9:48 AM, Craig James wrote: What about a warning on creation? db=> create table foo(i integer primary key); db=> cr

Re: [PERFORM] Simple delete query is taking too long (never ends)

2015-11-13 Thread Merlin Moncure
On Thu, Nov 12, 2015 at 4:26 PM, Tom Lane wrote: > Merlin Moncure writes: >> On Thu, Nov 12, 2015 at 9:48 AM, Craig James wrote: >>> What about a warning on creation? >>> >>> db=> create table foo(i integer primary key); >>> db=> create table bar(j integer primary key, i integer); >>> db=> alter