pg_dump pg_restore hanging in CentOS for large data

From: Sridevi B <sridevi17(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: pg_dump pg_restore hanging in CentOS for large data
Date: 2017-03-14 16:48:03
Message-ID: CAFzZQibaKkYbj9nk4OtQ06biABQ-ngsXf7cygSrtx=V7Peshnw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi ,

I am facing an issue with backup/Restore for data size more than *2GB*.
Its working fine for *1GB*.

Below are the details for issue:

Description:

The command pg_dump is hanging at saving large objects and process gets
terminated after some time.

The command pg_restore is hanging at executing BLOB and getting terminated
after some time.

Expecting: pg_dump/pg_restore should work for minimum large data size <20GB.

PostgreSQL version number you are running: postgres92-9.2.9-1.x86_64

How you installed PostgreSQL:

Linux RHEL(Backup) installed using rpm.

CentOS7.2(Restore) installed using yum.

Operating system and version:

Backup - Red Hat Enterprise Linux Server release 5.4 (Tikanga)

Restore -centos-release-7-2.1511.el7.centos.2.10.x86_64

What program you're using to connect to PostgreSQL: pg_dump/pg_restore
using shell script

Is there anything relevant or unusual in the PostgreSQL server logs?:

Pg_dump verbose log: stuck after: pg_dump: saving large objects

Pg_restore verbose log: Stuck after:
pg_restore: restoring large objects

Some times: pg_restore: pg_restore:
processing item 4376515 BLOB 4993394

pg_restore: executing BLOB 4993394

For questions about any kind of error:

What you were doing when the error happened / how to cause the error:
Tried options pg_dump using split and restore. Still same issue
exists.

The EXACT TEXT of the error message you're getting, if there is one:
(Copy and paste the message to the email, do not send a screenshot)

- No specific error, pg_dump/pg_restore getting terminated for
data >2GB

Regards,

Sridevi

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Melvin Davidson 2017-03-14 17:04:13 Re: Maximum of connections in PG
Previous Message Антон Тарабрин 2017-03-14 16:47:43 Re: Table not cleaning up drom dead tuples