pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #14597: Delay in query execution
2+ messages / 2 participants
[nested] [flat]

* BUG #14597: Delay in query execution
@ 2017-03-22 13:05 aravinth.s@vortexindia.co.in
  2017-03-22 15:23 ` Re: BUG #14597: Delay in query execution Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: aravinth.s@vortexindia.co.in @ 2017-03-22 13:05 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      14597
Logged by:          Aravinth Sundaram
Email address:      aravinth.s@vortexindia.co.in
PostgreSQL version: Unsupported/Unknown
Operating system:   Windows Server 2008
Description:        

A simple delete query performed on a table with 3000 rows took almost 2 hrs
and 40 mins. The table was vacuumed before executing the query. SQL Server
was running in the same machine. What could be the reason for the delay?


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #14597: Delay in query execution
  2017-03-22 13:05 BUG #14597: Delay in query execution aravinth.s@vortexindia.co.in
@ 2017-03-22 15:23 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2017-03-22 15:23 UTC (permalink / raw)
  To: aravinth.s@vortexindia.co.in; +Cc: pgsql-bugs

aravinth.s@vortexindia.co.in writes:
> The following bug has been logged on the website:
> Bug reference:      14597
> Logged by:          Aravinth Sundaram
> Email address:      aravinth.s@vortexindia.co.in
> PostgreSQL version: Unsupported/Unknown
> Operating system:   Windows Server 2008
> Description:        

> A simple delete query performed on a table with 3000 rows took almost 2 hrs
> and 40 mins. The table was vacuumed before executing the query. SQL Server
> was running in the same machine. What could be the reason for the delay?

This is (a) probably not a bug, and (b) entirely undiagnosable from
the amount of information you've given.

For help with asking answerable questions, see

https://wiki.postgresql.org/wiki/Slow_Query_Questions

(But, FWIW, a common reason for slow deletes is a foreign key
referencing this table, where the referencing column is unindexed.
Or maybe the delete was just blocked on somebody's exclusive lock?)

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2017-03-22 15:23 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-03-22 13:05 BUG #14597: Delay in query execution aravinth.s@vortexindia.co.in
2017-03-22 15:23 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox