public inbox for [email protected]  
help / color / mirror / Atom feed
From: Wasim Devale <[email protected]>
To: Ron Johnson <[email protected]>
Cc: pgsql-admin <[email protected]>
Subject: Re: Migration from CentOS7 to RedHat 9
Date: Sun, 11 Aug 2024 10:51:34 +0530
Message-ID: <CAB5fag6_u8B-1D5aRtNdJ=HUe7zfi9Hk+xQXM3gBB5f--PbCqw@mail.gmail.com> (raw)
In-Reply-To: <CANzqJaBoUmoYyN=Okvb9sL0jBSMhn4imAUQ2DEM1z22e3HHLqg@mail.gmail.com>
References: <CAB5fag6e2Safycg22jSPK152WTnW11mWHXqTEox3Fp6Opk80Pw@mail.gmail.com>
	<CANzqJaDeA9f6P8xs0rZwYB6tbSy9hFibcBGwQqaSpenE3pCSBg@mail.gmail.com>
	<CAB5fag6JdZgRcR1oK9YEEjVeZj58F13Q6-6RER9qWAb8nK1sVQ@mail.gmail.com>
	<CANzqJaBoUmoYyN=Okvb9sL0jBSMhn4imAUQ2DEM1z22e3HHLqg@mail.gmail.com>

Thanks it took 3 hours to complete the restoration. The existing CentOS7
resources were limited as you rightly said about CPU and all. Thanks

On Sun, 11 Aug, 2024, 12:06 am Ron Johnson, <[email protected]> wrote:

> "RHEL9" has almost nothing to do with how fast it will restore.  It's all
> about how fast your disk are, number of CPUs, postgresql.conf settings.
>
> And, of course, blobs are slow.
>
> On Sat, Aug 10, 2024 at 9:26 AM Wasim Devale <[email protected]> wrote:
>
>> Yes, I used the same command I changed the values for this email. And
>> that particular table with BLOBS took a longer time.
>>
>> I am running a pg_restore now using -j 10 in the command. Please confirm,
>> what you anticipate, will it take same time for restoration on Red Hat 9?
>>
>> Thanks,
>> Wasim
>>
>> On Sat, 10 Aug, 2024, 6:35 pm Ron Johnson, <[email protected]>
>> wrote:
>>
>>> On Sat, Aug 10, 2024 at 7:14 AM Wasim Devale <[email protected]> wrote:
>>>
>>>> Hi All
>>>>
>>>> I took dump via pg_dump doing ssh from Red hat it took almost 10 hours
>>>> for 400GB data including 99GB of BLOBS large objects.
>>>>
>>>> ssh postgres@ipaddre "pg_dump -U postgres -d DB1 F c -b -v" >
>>>> /path/pg.dump
>>>>
>>>
>>> I see a typo.  Is this a copy/paste of what you ran?
>>>
>>> Is this normal?
>>>>
>>>
>>> Maybe.  Blobs are slow.  I'd have done a multi-threaded pg_dump, though
>>> blobs might be the bottleneck.
>>>
>>> --
>>> Death to America, and butter sauce.
>>> Iraq lobster!
>>>
>>
>
> --
> Death to America, and butter sauce.
> Iraq lobster!
>


view thread (6+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Migration from CentOS7 to RedHat 9
  In-Reply-To: <CAB5fag6_u8B-1D5aRtNdJ=HUe7zfi9Hk+xQXM3gBB5f--PbCqw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox