Re: DB size difference after restore

From: Sonam Sharma <sonams1209(at)gmail(dot)com>
To: scherrey(at)proteus-tech(dot)com
Cc: pgsql-general(at)postgresql(dot)org, pradeepsreedevi(at)saimail(dot)com
Subject: Re: DB size difference after restore
Date: 2018-10-03 12:59:30
Message-ID: CAM-M3T=duipCWGA6W=Dk0Rw1NBQUW1KRp+FGf11_GP=AtbLU=g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Oct 3, 2018 at 6:21 PM Sonam Sharma <sonams1209(at)gmail(dot)com> wrote:

> Hello Ben,
>
> When we do \l+ , it is different than source, when we load backup from
> target server.
>
Backup is taken using pg_dump and its loaded as psql db name <backup>

>
> Regards,
>
> Sonam
>
>
>
>
>
>
> On Wed, Oct 3, 2018 at 6:17 PM Benjamin Scherrey <
> scherrey(at)proteus-tech(dot)com> wrote:
>
>> If you're talking about space on drive then you can expect the new one to
>> be smaller generally as it has been straight efficient writes rather than a
>> bunch of updates and deletes which create "holes" in the physical file
>> space.
>>
>> It helps if you are more detailed as to what you've observed if you want
>> a more specific answer.
>>
>> - - Ben Scherrey
>>
>> On Wed, Oct 3, 2018, 7:43 PM Sonam Sharma <sonams1209(at)gmail(dot)com> wrote:
>>
>>> I have restored the database from backup dump but the size of source and
>>> target databases are different. What can be the reason for this ?
>>>
>>> Regards,
>>> Sonam
>>>
>>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Travers 2018-10-03 13:03:48 Re: DB size difference after restore
Previous Message Fabio Pardi 2018-10-03 12:58:34 Re: DB size difference after restore