Re: [HACKERS] "CANNOT EXTEND" -

From: Hannu Krosing <hannu(at)trust(dot)ee>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: perdue(at)raccoon(dot)com, pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] "CANNOT EXTEND" -
Date: 1999-03-18 06:48:16
Message-ID: 36F0A1B0.A3993E61@trust.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
>
> [Charset iso-8859-1 unsupported, filtering to ASCII...]
> > The flat files are sitting at 1.9 GB right now (the primary email table).
> >
> > So I'm approaching the point where I can't backup using the COPY command.
> >
> > I'm probably using the wrong OS for this. But the performance of postgres is
> > still dazzling me (some people complain about the performance, but when I
> > see it pick 10,000 rows out of 1.4 million, sort them, and return them in a
> > second, I'm blown away).
>
> Please see if you can create files over 2 gig. I believe is it only OS
> bugs in dealing with exactly 2gig files that is the problem.

also note that pg_dump can write to a pipe, so you can use it thus :

> pg_dump megabase | split -b 500000k - megabase.dump.

> createdb new_megabase

> cat megabase.dump.* | psql new_megabase

to achieve space-saving, you can also pipe the thing through g(un)zip

---------------------
Hannu

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Clark Evans 1999-03-18 07:32:27 Re: [HACKERS] Re: vacuum slowness
Previous Message Vadim Mikheev 1999-03-18 06:46:20 Re: [HACKERS] Re: vacuum slowness