Re: Query with high planning time at version 11.1 compared versions 10.5 and 11.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Jeff,

My table (PRICE) is partitioned and contains 730 partitions. Each partition contains 1 day of data. 
I performed the same test now with restriction (WHERE) in only 1 day (1 partition), but doing SELECT in the virtual table PRICE. 
I got the same delay in planning. 
However, when I changed my query to use the partition directly, the plan ran instantaneously. 
I believe the problem should be in some internal code related to scanning the partitions for the planning.
Does it make sense?

Thanks,

Sanyo Capobiango

Em ter, 27 de nov de 2018 às 17:35, Jeff Janes <jeff.janes@xxxxxxxxx> escreveu:


On Tue, Nov 27, 2018 at 9:17 AM Sanyo Moura <sanyo.moura@xxxxxxxxx> wrote:
Hi,

I'm running performance tests for my application at version 11.1 and encountered
queries with high planning time compared to the same planning, running at versions 10.5 and 11.0.

Can you reproduce the regression if the tables are empty?  If so, can you share the create script that creates the tables?

Cheers,

Jeff

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux