In order to get a better understanding of the cost of data queries some tests have been carried out.
Different databases, different ways of specifying the query and various indexing methods have been tried.
Sample Data are stored in a relational database.
A perl script is run to retrieve events located in a region defined by ra_max, dec_max,ra_min, dec_min
. The time spent by the query as well as the number of events found is kept.
The query is launched 100 times, statistics are output.
Postgresql, since a long time, has implemented geospatial features.