Re: PostgreSQL insert speed tests

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: PostgreSQL insert speed tests
Дата
Msg-id 87n074ftpy.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: PostgreSQL insert speed tests  (Bill Moran <wmoran@potentialtech.com>)
Список pgsql-general

> > create index agentid_ndx on logs using hash (agentid);
> > create index ownerid_ndx on logs using hash (ownerid);
> > create index hostid_ndx on logs using hash (hostid);

> > What about concurrent inserts (cocurrent spare test program execution) into
> > the same table? It did not work.

Hash indexes have relatively poor concurrency, though I think it should still
work. You probably want to be using btree indexes for everything though,
unless you can actually profile the two and show hash indexes being a big win.

Note that there were bugs in the hash index code at least through most 7.3
versions.

--
greg

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: correlated delete with 'in' and 'left outer join'
Следующее
От: Bill Moran
Дата:
Сообщение: Re: postgreSQL licenseing