Re: view reading information_schema is slow in PostgreSQL 12

From: regrog <andrea(dot)vencato(at)gmail(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: view reading information_schema is slow in PostgreSQL 12
Date: 2020-06-16 09:23:14
Message-ID: 1592299394670-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

I tested both postgres 12.3 and 13 beta 1 and the results are the same.

I could read the pg_ tables instead of the views in the information_schema
but that's the SQL standard schema so I'd prefer to stick to that.

I reported this issue because the performance gap is huge and that could be
useful to bring in some improvements.

The DDL is still evolving so a materialized table/view is not an option at
the moment.

I'll try to remove the <> 'CHECK' clause, I'm quite sure we needed that for
some reason but I didn't follow that change.

Thanks

--
Sent from: https://www.postgresql-archive.org/PostgreSQL-performance-f2050081.html

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Nagaraj Raj 2020-06-16 20:35:31 simple query running for ever
Previous Message Michael Lewis 2020-06-15 18:21:40 Re: view reading information_schema is slow in PostgreSQL 12