Re: PostgreSQL Write Performance

Поиск
Список
Период
Сортировка
От Christophe Pettus
Тема Re: PostgreSQL Write Performance
Дата
Msg-id 26667536-DB10-46E2-A7AB-38304A2BF59B@thebuild.com
обсуждение исходный текст
Ответ на Re: PostgreSQL Write Performance  (Tim Uckun <timuckun@gmail.com>)
Список pgsql-general
On Jan 5, 2010, at 3:46 PM, Tim Uckun wrote:
> pg_dump has a --disable-triggers option too.

[...]

> It doesn't seem like an outrageous expectation that the COPY command
> or something similar should have that option.

Well, whether an expectation is "outrageous" or not is a matter of
viewpoint.  The principle is that pg_dump and COPY have fundamentally
different use cases.  pg_dump is intended to restore a backup of data
that was already in the database, and presumably was already validated
by the appropriate constraints and triggers.  COPY is used to create
new records in a database, from arbitrary data, which may not be valid
based on the database's vision of data consistency.

--
-- Christophe Pettus
    xof@thebuild.com


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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: pgbench out of memory error
Следующее
От: Andrew Lardinois
Дата:
Сообщение: XML Type validates against xml schema?