| От | Tom Lane |
|---|---|
| Тема | Re: Same query, same data different plan |
| Дата | |
| Msg-id | 4073393.1665413623@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Same query, same data different plan (Kostas Papadopoulos <kostas@methodosit.com.cy>) |
| Ответы |
Re: Same query, same data different plan
|
| Список | pgsql-general |
Kostas Papadopoulos <kostas@methodosit.com.cy> writes:
> I cannot see how it can be configuration since the two databases are in the same
> Postgres instance.
There is such a thing as ALTER DATABASE ... SET to install different
settings at the per-database level.
In general, the answer to your question is that the databases are
*not* identical. You just haven't figured out how yet. I'm wondering
if it has something to do with the dump/reload having compacted out
bloat in the tables or indexes, causing cost estimates to change.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера