Re: Regarding performance regression on specific query

From: Amit Langote <amitlangote09(at)gmail(dot)com>
To: jinho(dot)jung(at)gatech(dot)edu
Cc: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Regarding performance regression on specific query
Date: 2018-11-20 13:28:41
Message-ID: CA+HiwqE-ONm7gAgQSmH+R6NR3-2ZAaLw6L5C8YgRqpXsVP0RQg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 20, 2018 at 10:08 PM Jung, Jinho <jinho(dot)jung(at)gatech(dot)edu> wrote:
> We are wondering how ANALYZE mitigated regression from query "1.sql" and "4.sql".
>
> We followed this procedure but still observe performance regression:
> 1) run ANALYZE on used table_name
> analyze pg_catalog.pg_ts_parser;
> analyze information_schema.column_options;
> analyze pg_catalog.pg_aggregate;
> analyze pg_catalog.pg_inherits;
> analyze pg_catalog.pg_aggregate;
> analyze pg_catalog.pg_rewrite;
> analyze pg_catalog.pg_stat_user_indexes;
> analyze pg_catalog.pg_stat_user_tables;
> analyze pg_catalog.pg_attribute;
> analyze information_schema.column_privileges;
> analyze pg_catalog.pg_user_mapping;
> analyze pg_catalog.pg_type;
> analyze pg_catalog.pg_shseclabel;
> analyze pg_catalog.pg_statio_sys_sequences;
> analyze information_schema.role_routine_grants;
> analyze pg_catalog.pg_type;
> analyze information_schema.user_mapping_options;
> analyze pg_catalog.pg_stat_xact_sys_tables;

You can run ANALYZE without explicitly specifying any table name, so
that you don't miss any.

> We have more cases. Do you think we should report them through the bug report website? (https://www.postgresql.org/account/login/?next=/account/submitbug/)

You can send an email to pgsql-performance mailing list.

https://www.postgresql.org/list/pgsql-performance/

Thanks,
Amit

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message REIX, Tony 2018-11-20 13:36:44 RE: Shared Memory: How to use SYSV rather than MMAP ?
Previous Message s.cherkashin 2018-11-20 13:08:42 Re: Psql patch to show access methods info