Re: PostgreSQL does CAST implicitely between int and a domain derived from int

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: PostgreSQL does CAST implicitely between int and a domain derived from int
Дата
Msg-id 4A957E91020000250002A372@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: PostgreSQL does CAST implicitely between int and a domain derived from int  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: PostgreSQL does CAST implicitely between int and a domain derived from int
Список pgsql-performance
I wrote:

> I will take another look at it now that you have the results of
> EXPLAIN ANALYZE posted

Could you run this?:

set work_mem = '50MB';
set effective_cache_size = '3GB';
EXPLAIN ANALYZE <your query>
begin transaction;
drop index node_comment_statistics_node_comment_timestamp_idx;
EXPLAIN ANALYZE <your query>
rollback transaction;

The BEGIN TRANSACTION and ROLLBACK TRANSACTION will prevent the index
from actually being dropped; it just won't be visible to your query
during that second run.  I'm kinda curious what plan it chooses
without it.

Some configuration options can be dynamically overridden for a
particular connection.  This is not a complete list of what you might
want to use in your postgresql.conf file, but it might turn up an
interesting plan for diagnostic purposes.

-Kevin


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: PostgreSQL does CAST implicitely between int and a domain derived from int
Следующее
От: Jean-Michel Pouré
Дата:
Сообщение: Re: PostgreSQL does CAST implicitely between int and a domain derived from int