Re: how much ram do i give postgres?

Поиск
Список
Период
Сортировка
Искать
От
Gary Doades
Тема
Re: how much ram do i give postgres?
Дата
Msg-id
4176B2BD.12806.675A446D@localhost
Ответ на
Список
Дерево обсуждения
how much ram do i give postgres? Josh Close <narshe@gmail.com>
Re: how much ram do i give postgres? Tom Lane <tgl@sss.pgh.pa.us>
Re: how much ram do i give postgres? Josh Close <narshe@gmail.com>
Re: how much ram do i give postgres? "Gary Doades" <gpd@gpdnet.co.uk>
Re: how much ram do i give postgres? Josh Close <narshe@gmail.com>
Re: how much ram do i give postgres? "Scott Marlowe" <smarlowe@qwest.net>
Re: how much ram do i give postgres? Josh Close <narshe@gmail.com>
Re: how much ram do i give postgres? "Gary Doades" <gpd@gpdnet.co.uk>
Re: how much ram do i give postgres? Josh Close <narshe@gmail.com>
Re: how much ram do i give postgres? "Gary Doades" <gpd@gpdnet.co.uk>
Re: how much ram do i give postgres? Josh Close <narshe@gmail.com>
Re: how much ram do i give postgres? "Gary Doades" <gpd@gpdnet.co.uk>
Re: how much ram do i give postgres? Josh Close <narshe@gmail.com>
Re: how much ram do i give postgres? "Gary Doades" <gpd@gpdnet.co.uk>
Re: how much ram do i give postgres? Josh Close <narshe@gmail.com>
Re: how much ram do i give postgres? Bruno Wolff III <bruno@wolff.to>
Re: how much ram do i give postgres? Josh Close <narshe@gmail.com>
Re: how much ram do i give postgres? Weiping <laser@qmail.zhengmai.net.cn>
On 20 Oct 2004 at 11:37, Josh Close wrote:

> On Wed, 20 Oct 2004 09:52:25 -0600, Scott Marlowe  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
FAQ