Plugin for Indexing Multidimensional Data in PostgreSQL Using R-tree
Introduction
In commercial database platforms, the standard search over multiple attributes is provided by B+-tree (or it’s variants) with compound keys. On the other hand, such systems provide also multidimensional indexing, however, just for spatial purposes (such as GIS or CAD applications) and use special data types and querying syntax. Our solution allows to apply R-tree index (hence multi-dimensional indexing structure) in the same way as B+-tree with compound keys is applied. The solution is delivered as a plugin for PostgreSQL database.
Features
- No need for redefinition of tables or adding a column with special data type.
- Faster than using B-tree based indexing.
- Implemented using open-source DB.
- Experimentally verified speed-up considering standard solutions (such as B+-tree)
Documents
- Master thesis with detailed description of the implementation and experimental results (in Czech)
- Native Multidimensional Indexing in Relational Databases - a paper presented at COMAD 2008, Mumbai, India.
- PPT presentation - COMAD 2008, Mumbai, India
Download
Contact
Website: http://siret.ms.mff.cuni.cz/hoksza/projects/pgrtree/
Email: david.hoksza (at) mff.cuni.cz