slow queries over information schema.tables

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема slow queries over information schema.tables
Дата
Msg-id CAFj8pRBUCX4LZ2rA2BbEkdD6NN59mgx+BLo1gO08Wod4RLtcTg@mail.gmail.com
обсуждение исходный текст
Ответы Re: slow queries over information schema.tables  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi

one customer reported slow queries over information_schema.tables. There is newer used a index over relname probably due casting to information_schema.sql_identifier.

Slow query

select * from information_schema.tables where table_name = 'pg_class';

Usually, there is hard to fix it on application level due corporate environment.

Regards

Pavel

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [Todo item] Add entry creation timestamp column topg_stat_replication
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: doc - improve description of default privileges