Re: surprisingly slow creation of gist index used in excludeconstraint
В списке pgsql-general по дате отправления:
| От | Kenneth Marshall |
|---|---|
| Тема | Re: surprisingly slow creation of gist index used in excludeconstraint |
| Дата | |
| Msg-id | 20200515131311.GR20002@aart.rice.edu обсуждение |
| Ответ на | Re: surprisingly slow creation of gist index used in excludeconstraint (Chris Withers <chris@withers.org>) |
| Список | pgsql-general |
> > > >Hi Chris, > > > >This sounds like a candidate for pg_logical replicating from the > >old to new system. > > Can you point me to a good guide as to how to easily set this up for > one database and would work between pg 9.4 and pg 11.5? > > cheers, > > Chris Hi Chris, Here is on for 9.4 to 10.3: https://hunleyd.github.io/posts/Upgrading-PostgreSQL-from-9.4-to-10.3-with-pglogical/ and another article: https://www.depesz.com/2016/11/08/major-version-upgrading-with-minimal-downtime/ It is a pretty straightforward procedure and really cuts the time needed for an upgrade. Although, as Tom mentioned maybe just bumping your maintenance_work_mem up to 1g or so may make the index create time reasonable. Regards, Ken
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера