From: Oleg Bartunov <oleg@sai.msu.su>
To: Mark Stosberg <mark@summersault.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Re: what worked: performance improvements for geo-spatial searching on FreeBSD
Date: Tue, 8 Apr 2008 21:38:56 +0400 (MSD)
Message-ID: <Pine.LNX.4.64.0804082136240.21547@sn.sai.msu.ru> (raw)
In-Reply-To: <ftfst3$19r$1@ger.gmane.org>
References: <ftdph3$nid$1@ger.gmane.org>
<Pine.LNX.4.64.0804072246230.21547@sn.sai.msu.ru>
<ftfst3$19r$1@ger.gmane.org>
On Tue, 8 Apr 2008, Mark Stosberg wrote:
> Oleg Bartunov wrote:
>> Mark,
>>
>> do you know about our sky segmentation code Q3C,
>> see details http://www.sai.msu.su/~megera/wiki/SkyPixelization
>> We use it for billions objects in database and quite happy.
>
> Oleg,
>
> Thanks for the response. That sounds interesting, but it's not clear to me
> how I would put together a geo-spatial search calculating distances around
> the curvature of the earth using this technique. Is there is a SQL sample for
> this that you could point to?
it's not about calculating distances, but about searching objects around
given point.
>
> Also, I didn't recognize the names of the techniques you were benchmarking
> against "RADEC" and "Rtree", are either of these related to the
> "earthdistance" or "cube()" based searches I would have used already?
Rtree is a standard spatial tree, RADEC - is naive approach of
having two indexes, one on ra (right ascension) and another - on dec (declination).
Both are an astronomical coordinates.
>
> Mark
>
>
>
Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: oleg@sai.msu.su, mark@summersault.com
Subject: Re: what worked: performance improvements for geo-spatial searching on FreeBSD
In-Reply-To: <Pine.LNX.4.64.0804082136240.21547@sn.sai.msu.ru>
References: <ftdph3$nid$1@ger.gmane.org> <Pine.LNX.4.64.0804072246230.21547@sn.sai.msu.ru> <ftfst3$19r$1@ger.gmane.org> <Pine.LNX.4.64.0804082136240.21547@sn.sai.msu.ru>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox