Re: Cursor + upsert (astronomical data)

Поиск
Список
Период
Сортировка
От Vitalii Tymchyshyn
Тема Re: Cursor + upsert (astronomical data)
Дата
Msg-id CABWW-d3AwgAazR_xuLoTE0WUFL6w2NX9vwUz4mEFv1msRz8F1w@mail.gmail.com
обсуждение исходный текст
Ответ на Cursor + upsert (astronomical data)  (Jiří Nádvorník <nadvornik.ji@gmail.com>)
Ответы Re: Cursor + upsert (astronomical data)  (Jiří Nádvorník <nadvornik.ji@gmail.com>)
Список pgsql-performance

I am not sure I understand the problem fully, e.g. what to do if there are observations A,B and C with A to B and B to C less then treshold and A to C over treshold, but anyway.

Could you first apply a kind of grid to your observations? What I mean is to round your coords to, say, 1/2 arcsec on each axe and group the results. I think you will have most observations grouped this way and then use your regular algorithm to combine the results.

Best regards, Vitalii Tymchyshyn

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

Предыдущее
От: Ryan Johnson
Дата:
Сообщение: Re: High rate of transaction failure with the Serializable Isolation Level
Следующее
От: Jiří Nádvorník
Дата:
Сообщение: Re: Cursor + upsert (astronomical data)