Re: problems with large objects dump - Mailing list pgsql-performance

From Tom Lane
Subject Re: problems with large objects dump
Date
Msg-id 1269.1349993793@sss.pgh.pa.us
Whole thread Raw
In response to Re: problems with large objects dump  (Sergio Gabriel Rodriguez <sgrodriguez@gmail.com>)
Responses Re: problems with large objects dump
List pgsql-performance
Sergio Gabriel Rodriguez <sgrodriguez@gmail.com> writes:
>     I tried with Postgresql 9.2 and the process used to take almost a day
> and a half, was significantly reduced to 6 hours, before failing even used
> to take four hours. My question now is, how long should it take the backup
> for a 200GB database with 80% of large objects?

It's pretty hard to say without knowing a lot more info about your system
than you provided.  One thing that would shed some light is if you spent
some time finding out where the time is going --- is the system
constantly I/O busy, or is it CPU-bound, and if so in which process,
pg_dump or the connected backend?

Also, how many large objects is that?  (If you don't know already,
"select count(*) from pg_largeobject_metadata" would tell you.)

            regards, tom lane


pgsql-performance by date:

Previous
From: Sergio Gabriel Rodriguez
Date:
Subject: Re: problems with large objects dump
Next
From: Marcos Ortiz
Date:
Subject: Re: problems with large objects dump