pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedQuery hangs sometimes
4+ messages / 3 participants
[nested] [flat]
* Query hangs sometimes
@ 2016-11-17 10:43 Metatrader EA <metatraderea@gmail.com>
2016-11-17 11:02 ` Re: Query hangs sometimes Guillaume Cottenceau <gc@mnc.ch>
0 siblings, 1 reply; 4+ messages in thread
From: Metatrader EA @ 2016-11-17 10:43 UTC (permalink / raw)
To: pgsql-performance
Hi,
I run this query select count(*) from analyse_forecast where
daterange_analyse <@ daterange( current_date - 150, current_date, '[]') ;
Sometimes will query be quick and sometimes is same query SUPER SLOWWWW
Something I can do ? Something I can check for ?
//Bill
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Query hangs sometimes
2016-11-17 10:43 Query hangs sometimes Metatrader EA <metatraderea@gmail.com>
@ 2016-11-17 11:02 ` Guillaume Cottenceau <gc@mnc.ch>
2016-11-17 11:55 ` Re: Query hangs sometimes Metatrader EA <metatraderea@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Cottenceau @ 2016-11-17 11:02 UTC (permalink / raw)
To: Metatrader EA <metatraderea@gmail.com>; +Cc: pgsql-performance
Locks? (VACUUM FULL, etc) Autovacuum?
> Hi,
>
> I run this query select count(*) from analyse_forecast where daterange_analyse
> <@ daterange( current_date - 150, current_date, '[]') ;
>
> Sometimes will query be quick and sometimes is same query SUPER SLOWWWW
>
> Something I can do ? Something I can check for ?
>
> //Bill
>
--
Guillaume Cottenceau
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Query hangs sometimes
2016-11-17 10:43 Query hangs sometimes Metatrader EA <metatraderea@gmail.com>
2016-11-17 11:02 ` Re: Query hangs sometimes Guillaume Cottenceau <gc@mnc.ch>
@ 2016-11-17 11:55 ` Metatrader EA <metatraderea@gmail.com>
2016-11-17 21:49 ` Re: Query hangs sometimes Michael Paquier <michael.paquier@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Metatrader EA @ 2016-11-17 11:55 UTC (permalink / raw)
To: Guillaume Cottenceau <gc@mnc.ch>; +Cc: pgsql-performance
Hi,
How can I check this?
//Bill
On Thu, Nov 17, 2016 at 12:02 PM, Guillaume Cottenceau <gc@mnc.ch> wrote:
> Locks? (VACUUM FULL, etc) Autovacuum?
>
> > Hi,
> >
> > I run this query select count(*) from analyse_forecast where
> daterange_analyse
> > <@ daterange( current_date - 150, current_date, '[]') ;
> >
> > Sometimes will query be quick and sometimes is same query SUPER SLOWWWW
> >
> > Something I can do ? Something I can check for ?
> >
> > //Bill
> >
>
> --
> Guillaume Cottenceau
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Query hangs sometimes
2016-11-17 10:43 Query hangs sometimes Metatrader EA <metatraderea@gmail.com>
2016-11-17 11:02 ` Re: Query hangs sometimes Guillaume Cottenceau <gc@mnc.ch>
2016-11-17 11:55 ` Re: Query hangs sometimes Metatrader EA <metatraderea@gmail.com>
@ 2016-11-17 21:49 ` Michael Paquier <michael.paquier@gmail.com>
0 siblings, 0 replies; 4+ messages in thread
From: Michael Paquier @ 2016-11-17 21:49 UTC (permalink / raw)
To: Metatrader EA <metatraderea@gmail.com>; +Cc: Guillaume Cottenceau <gc@mnc.ch>; pgsql-performance
On Thu, Nov 17, 2016 at 3:55 AM, Metatrader EA <metatraderea@gmail.com> wrote:
> How can I check this?
Several options are listed in the docs:
https://www.postgresql.org/docs/9.6/static/monitoring.html
--
Michael
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2016-11-17 21:49 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-11-17 10:43 Query hangs sometimes Metatrader EA <metatraderea@gmail.com>
2016-11-17 11:02 ` Guillaume Cottenceau <gc@mnc.ch>
2016-11-17 11:55 ` Metatrader EA <metatraderea@gmail.com>
2016-11-17 21:49 ` Michael Paquier <michael.paquier@gmail.com>
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