Re: how much ram do i give postgres?

Поиск
Список
Период
Сортировка
От Gary Doades
Тема Re: how much ram do i give postgres?
Дата
Msg-id 4176B2BD.12806.675A446D@localhost
обсуждение исходный текст
Ответ на Re: how much ram do i give postgres?  (Josh Close <narshe@gmail.com>)
Ответы Re: how much ram do i give postgres?
Список pgsql-general
On 20 Oct 2004 at 11:37, Josh Close wrote:

> On Wed, 20 Oct 2004 09:52:25 -0600, Scott Marlowe <smarlowe@qwest.net> wrote:
> > 1: Is the bulk insert being done inside of a single transaction, or as
> > individual inserts?
>
> The bulk insert is being done by COPY FROM STDIN. It copies in 100,000
> rows at a time, then disconnects, reconnects, and copies 100k more,
> and repeats 'till done. There are no indexes on the tables that the
> copy is being done into either, so it won't be slowed down by that at
> all.
>
> >

What about triggers? Also constraints (check contraints, integrity
constraints) All these will slow the inserts/updates down.

If you have integrity constraints make sure you have indexes on the
referenced columns in the referenced tables and make sure the data
types are the same.

How long does 100,000 rows take to insert exactly?

How many updates are you performing each hour?

Regards,
Gary.



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

Предыдущее
От: Hagen Hoepfner
Дата:
Сообщение: Re: Views + UNION ALL = Slow ?
Следующее
От: "Hicham G. Elmongui"
Дата:
Сообщение: create table/type