pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vlad Arkhipov <arhipov@dc.baikal.ru>
To: pgsql-performance@postgresql.org
Subject: Re: Slow BLOBs restoring
Date: Wed, 08 Dec 2010 16:50:05 +0800
Message-ID: <4CFF46BD.8070004@dc.baikal.ru> (raw)
In-Reply-To: <4CFDF22B.7060209@dc.baikal.ru>
References: <4CFDF22B.7060209@dc.baikal.ru>

I discovered this issue a bit more. -j option is slowing down BLOBs 
restoring. It's about 1000x times slower if you specify this option. 
Does anybody plan to fix it?
> I have encountered a problem while restoring the database. There is a 
> table that contains XML data (BLOB), ~ 3 000 000 records, ~ 5.5Gb of 
> data. pg_restore has been running for a week without any considerable 
> progress. There are plenty of lines like these in the log:
>
> pg_restore: processing item 3125397 BLOB 10001967
> pg_restore: executing BLOB 10001967
>
> CPU usage is 100% always. The total database size is about 100 Gb and 
> it restores in an hour or so without BLOBs.
>




view thread (11+ messages)  latest in thread

Message-ID: <4CFF46BD.8070004@dc.baikal.ru>
Permalink:  ../4CFF46BD.8070004@dc.baikal.ru/
Also on:    postgresql.org/message-id/4CFF46BD.8070004@dc.baikal.ru

 · 

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: pgsql-performance@postgresql.org
  Cc: arhipov@dc.baikal.ru
  Subject: Re: Slow BLOBs restoring
  In-Reply-To: <4CFF46BD.8070004@dc.baikal.ru>

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

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