Re: [HACKERS] "CANNOT EXTEND" -

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: [HACKERS] "CANNOT EXTEND" -
Дата
Msg-id 36F0A1B0.A3993E61@trust.ee
обсуждение исходный текст
Ответ на Re: [HACKERS] "CANNOT EXTEND" -  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: OID vs SERIAL? (Was: Re: [HACKERS] Sequences....)
Следующее
От: Vadim Mikheev
Дата:
Сообщение: Re: [HACKERS] Re: vacuum slowness