Re: Upgrade 9.2 to 9.6 without modifying the location of the tablespaces

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Upgrade 9.2 to 9.6 without modifying the location of the tablespaces
Дата
Msg-id 20200929030325.GB26860@momjian.us
обсуждение исходный текст
Ответ на Re: Upgrade 9.2 to 9.6 without modifying the location of the tablespaces  (Erik Serrano <eserranos@gmail.com>)
Ответы Re: Upgrade 9.2 to 9.6 without modifying the location of the tablespaces  (Erik Serrano <eserranos@gmail.com>)
Список pgsql-admin
On Tue, Sep 29, 2020 at 12:02:02AM -0300, Erik Serrano wrote:
> Thank you very much Bruce, I update the binary and the data in this way:
> 
> 
> bash# /usr/pgsql-9.6/bin/pg_upgrade --old-datadir /var/lib/pgsql/data/ 
> --new-datadir /var/lib/pgsql/9.6/data/ --old-bindir /usr/bin/ --new-bindir /usr
> /pgsql-9.6/bin/
> 
> 
> And in that I would like to know if it is essential to move the data?. Remember
> that I do not have space on the disks to make a tablespaces move
> thank u  Bruce

Use link mode so you don't need double the disk space.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

  The usefulness of a cup is in its emptiness, Bruce Lee




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

Предыдущее
От: Erik Serrano
Дата:
Сообщение: Re: Upgrade 9.2 to 9.6 without modifying the location of the tablespaces
Следующее
От: Hong Yao
Дата:
Сообщение: Re: many "cp: cannot stat xxx No such file or directory" logs in warm standby