arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1806.08866astro-ph.IM
收藏

大型天文数据库空间索引方法效率研究

A Study of the Efficiency of Spatial Indexing Methods Applied to Large Astronomical Databases

G. B. Berriman, J. C. Good, B. Shiao, T. Donaldson

摘要:

我们报告的研究结果,以比较两种常见的数据库索引方法,HTM和HEALPix,Solaris和Windows数据库服务器上安装PostgreSQL的性能,并与MS SQL Server安装的Windows服务器。该索引被应用于2 MASS全天星表和哈勃源星表,它们近似于天文学中常见的星表的多样性。在每台服务器上,该研究通过在每个索引级别提交100万个查询来比较索引性能,其中随机天空位置和随机圆锥搜索半径是在1弧秒和1度之间的对数尺度上计算的,并测量完成查询和写入输出的时间。这些模拟查询旨在模拟现实的使用模式,以统一的方式在索引方法和索引深度的许多组合上运行。所有模拟中的查询时间都是强I/O约束的,并且与为大量源返回的记录数呈线性关系。然而,有相当大的差异之间的模拟,这表明,硬件I/O吞吐量是一个更重要的因素,在管理性能的DBMS比索引方案的选择。索引本身的选择相对来说并不重要:对于可比较的索引级别,性能在时间分散的范围内是一致的。在小索引级别(大小区;例如级别4;小区大小3.7度),由于小区中发现的源的数量的广泛变化,定时中存在大的分散。在更大的索引级别上,性能提高,分散度降低,但是在级别8(14 arcmin)和更高级别上的改进在一定程度上被查询大小范围引起的时间分散所掩盖。在非常高的水平(20; 0.0004 arsec),细胞的粒度变得如此之高,大量的无关的空细胞开始降低性能。

英文摘要:

We report the results of a study to compare the performance of two common database indexing methods, HTM and HEALPix, on Solaris and Windows database servers installed with PostgreSQL, and a Windows Server installed with MS SQL Server. The indexing was applied to the 2MASS All-Sky Catalog and to the Hubble Source Catalog, which approximate the diversity of catalogs common in astronomy. On each server, the study compared indexing performance by submitting 1 million queries at each index level with random sky positions and random cone search radius, which was computed on a logarithmic scale between 1 arcsec and 1 degree, and measuring the time to complete the query and write the output. These simulated queries, intended to model realistic use patterns, were run in a uniform way on many combinations of indexing method and indexing depth. The query times in all simulations are strongly I/O-bound and are linear with number of records returned for large numbers of sources. There are, however, considerable differences between simulations, which reveal that hardware I/O throughput is a more important factor in managing the performance of a DBMS than the choice of indexing scheme. The choice of index itself is relatively unimportant: for comparable index levels, the performance is consistent within the scatter of the timings. At small index levels (large cells; e.g. level 4; cell size 3.7 deg), there is large scatter in the timings because of wide variations in the number of sources found in the cells. At larger index levels, performance improves and scatter decreases, but the improvement at level 8 (14 arcmin) and higher is masked to some extent in the timing scatter caused by the range of query sizes. At very high levels (20; 0.0004 arsec), the granularity of the cells becomes so high that a large number of extraneous empty cells begin to degrade performance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑