From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp> |
Cc: | Justin Pryzby <pryzby(at)telsasoft(dot)com>, Sanyo Moura <sanyo(dot)moura(at)tatic(dot)net>, jeff(dot)janes(at)gmail(dot)com, David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, pgsql-performance(at)lists(dot)postgresql(dot)org, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Query with high planning time at version 11.1 compared versions 10.5 and 11.0 |
Date: | 2018-12-06 07:55:40 |
Message-ID: | 20181206075540.zekax6i7rgstzbqi@alvherre.pgsql |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-performance |
On 2018-Dec-06, Amit Langote wrote:
Hi
> [ Parallel SeqScan on precio_126 to precio_998 ]
>
> > -> Parallel Seq Scan on precio_999 p_874 (cost=0.00..27.50 rows=1 width=16)
> > Filter: ((fecha >= '1990-05-06 00:00:00'::timestamp without time zone) AND (fecha <= '1999-05-07 00:00:00'::timestamp without time zone) AND (pluid = 2))
>
> As you can see from the "Filter: " property above, the baserestrictinfo of
> this Append's parent relation is:
>
> BETWEEN '1990-05-06' AND '1999-05-07'
>
> which selects partitions for all days from '1990-05-06' (precio_125) up to
> '1992-09-26' (precio_999).
Looking at my .psql_history, you're right -- I typoed 1990 as 1999 in
one of the clauses. Thanks, mystery solved :-)
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2018-12-06 07:57:26 | Re: Query with high planning time at version 11.1 compared versions 10.5 and 11.0 |
Previous Message | Noah Misch | 2018-12-06 07:20:52 | Re: Facility for detecting insecure object naming |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2018-12-06 07:57:26 | Re: Query with high planning time at version 11.1 compared versions 10.5 and 11.0 |
Previous Message | Amit Langote | 2018-12-06 05:00:22 | Re: Query with high planning time at version 11.1 compared versions 10.5 and 11.0 |