Re: How to improve the performance of my SQL query?

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: How to improve the performance of my SQL query?
Дата
Msg-id d259568d9c49183bd40e9b2d7272e8f301b129ef.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: How to improve the performance of my SQL query?  (gzh <gzhcoder@126.com>)
Список pgsql-general
On Tue, 2023-07-25 at 11:11 +0800, gzh wrote:
> > I asked for EXPLAIN (ANALYZE, BUFFERS, SETTINGS) ...
> > Or do you have a version that is too old for SETTINGS?
> Sorry. Please refer to the following execution plan.
>
> [...]
> Settings: effective_cache_size = '1886088kB', jit = 'off', search_path = '"$user", mdb'
> [...]

No unusual settings.  So that theory is dead.

> > One other idea: check if the index is INVALID (this will
> > be visible if you run "\d tablenane" in "psql").
> > Invalid indexes won't be used.

Did you check that?

After that, I am out of ideas.

Yours,
Laurenz Albe



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

Предыдущее
От: gzh
Дата:
Сообщение: Re: How to improve the performance of my SQL query?
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Setting Auto Commit off in C API