Re: stored proc and inserting hundreds of thousands of rows

Поиск
Список
Период
Сортировка
От Joel Reymont
Тема Re: stored proc and inserting hundreds of thousands of rows
Дата
Msg-id 7582830307139292886@iso-8859-1msgid
обсуждение исходный текст
Ответ на Re: stored proc and inserting hundreds of thousands of rows  ("Pierre C" <lists@peufeu.com>)
Список pgsql-performance
I'm calculating distance between probability vectors, e.g. topics that
a document belongs to and the topics of an ad.

The distance function is already a C function. Topics are float8[150].

Distance is calculated against all documents in the database so it's
arable scan.

Sent from my comfortable recliner

On 30/04/2011, at 19:04, Pierre C <lists@peufeu.com> wrote:

>
> If you want to search by geographical coordinates, you could use a gist index which can optimize that sort of things
(likeretrieving all rows which fit in a box). 

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

Предыдущее
От: Samuel Gendler
Дата:
Сообщение: Re: stored proc and inserting hundreds of thousands of rows
Следующее
От: Phoenix Kiula
Дата:
Сообщение: The right SHMMAX and FILE_MAX