Re: upgrade from FC9 / PG8.3 to C7 / PG 9.6 - utf8

Поиск
Список
Период
Сортировка
От Gary Stainburn
Тема Re: upgrade from FC9 / PG8.3 to C7 / PG 9.6 - utf8
Дата
Msg-id 201901181642.45463.gary.stainburn@ringways.co.uk
обсуждение исходный текст
Ответ на Re: upgrade from FC9 / PG8.3 to C7 / PG 9.6 - utf8  (Ron <ronljohnsonjr@gmail.com>)
Ответы Re: upgrade from FC9 / PG8.3 to C7 / PG 9.6 - utf8  (Gary Stainburn <gary.stainburn@ringways.co.uk>)
Список pgsql-admin
On Friday 18 January 2019 16:23:25 Ron wrote:
> On 1/18/19 9:30 AM, Gary Stainburn wrote:
> [snip]
>
> > I have done the import using the pg_dumpall done on the 8.3 system. From
> > the comments earlier, would I be better off doing a pg_dumpall of the 8.3
> > system using the binarys from the 10.6 system?
>
> How much data do you have, and how large of a window do you have to migrate
> the data?
>
> For example, we moved from 8.4 to 9.6 (that was frozen while 10 was still
> in beta) and it would have taken almost five days to dump the data using
> the single-threaded 8.4 pg_dump, and just as long to do a single-threaded
> restore.
>
> OTOH, the elapsed time using the 9.6 pg_dump with 8 threads was 14 hours,
> and the restore only 8.33 hours.
My data is nowhere near that scale. Mine took less than 40 minutes to run 
pg_dumpall even using thr 8.3 pg_dumpall.

I have just had a look at the output from the 10.6 import and I am seeing a 
large number of errors like:

psql:2019-01-18_1556.sql:8918192: ERROR:  could not access 
file "$libdir/pgcrypto": No such file or directory
psql:2019-01-18_1556.sql:8918195: ERROR:  function 
public.pgp_sym_encrypt(text, text, text) does not exist


Anyone know why I'm getting this and what I need to do to fix it? I wasn't 
getting this (AFAIK) when importing to 9.6


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

Предыдущее
От: Ron
Дата:
Сообщение: Re: upgrade from FC9 / PG8.3 to C7 / PG 9.6 - utf8
Следующее
От: Horst Düster
Дата:
Сообщение: Huge table pg_shdepend