[GENERAL] pg_dump pg_restore hanging in CentOS for large data - Mailing list pgsql-general

From Sridevi B
Subject [GENERAL] pg_dump pg_restore hanging in CentOS for large data
Date
Msg-id CAFzZQibaKkYbj9nk4OtQ06biABQ-ngsXf7cygSrtx=V7Peshnw@mail.gmail.com
Whole thread Raw
Responses Re: [GENERAL] pg_dump pg_restore hanging in CentOS for large data
Re: [GENERAL] pg_dump pg_restore hanging in CentOS for large data
List 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

pgsql-general by date:

Previous
From: Антон Тарабрин
Date:
Subject: Re: [GENERAL] Table not cleaning up drom dead tuples
Next
From: Melvin Davidson
Date:
Subject: Re: [GENERAL] Maximum of connections in PG