chrisricard.com
Archive aisle lined with shelves of case boxes and card-catalog drawers

Indexing and Querying Moving Objects Databases

July 17, 2026 · 991 KB

Dan Lin's 2006 National University of Singapore PhD thesis on databases of moving objects, proposing the Bx-tree index, a method for density queries and a framework to protect users' location privacy.

Overview

Vehicles and mobile phones constantly report where they are, and services from traffic control to location-based advertising depend on storing and searching those positions quickly. Traditional spatial databases were not built for this, because they assume objects stay put unless explicitly updated. This 2006 PhD thesis by Dan Lin, from the School of Computing at the National University of Singapore, tackles three linked problems in such "moving objects databases": indexing, querying and privacy.

The Challenge

The thesis explains that the dominant index for static spatial data, the R-tree and its descendants, performs poorly when faced with a constant stream of position updates. Researchers had reduced updates by expressing positions as functions of time, and had developed specialised structures such as the Time-Parameterized R-tree (TPR-tree). The author argues that these still did not fully reflect the dynamic nature of moving data, especially for frequent updates. A literature review covers spatial indexes, moving object indexes, range, nearest neighbour and density queries, concurrency and earlier approaches to location privacy.

A New Index

The central contribution is the Bx-tree, an index for the current and near-future positions of moving objects. It uses a new "linearisation" technique, based on space-filling curves, so that moving points can be stored in a classic B+-tree, the standard index structure found in most database systems. The Bx-tree supports predictive range queries and predictive k-nearest neighbour queries. According to the author's experiments, it is efficient and robust for both updates and queries and significantly outperforms the TPR*-tree, particularly for updates. The thesis attributes this to the Bx-tree inheriting the strengths of the B+-tree and avoiding searches down multiple paths. It acknowledges one limitation: the structure is somewhat sensitive to its parameter settings.

Density Queries

The thesis also studies density queries, which find regions where the number of objects exceeds a threshold, such as possible traffic jams. The author offers a new definition that avoids losing answers and proposes a two-phase "filter and refine" framework that can work with most existing indexes. A density histogram, compressed using the discrete cosine transform, allows quick pruning of candidates and needs little storage. Experiments reported in the thesis show efficient query performance.

Location Privacy

Recognising that users may not want to reveal their locations to service providers, the thesis proposes placing agents between users and servers. These agents store no user data but transform user identities and locations before passing them on, so the server only ever handles transformed data. The framework aims to stop both the service provider and unauthorised users from learning anyone's exact location. The author notes a trade-off: stronger privacy can mean higher communication costs.

A Working System

Beyond theory, the thesis presents the architecture of SpADE, a system that implements the Bx-tree on top of the MySQL relational database without extensive changes to MySQL's core.

Why It Matters

The thesis concludes with future directions, including better range query performance in the Bx-tree, support for continuous queries and differently shaped dense regions, refined privacy measures that assume more knowledge on the part of an adversary, and building density queries and privacy protection into the working system. It offers a thorough account of how database research responded to the rise of location-aware devices in the mid-2000s.

Page 1 of Indexing and Querying Moving Objects Databases
Page 1 · click to open the full PDF
Open full PDF (991 KB) ↗

More from Technology Computing Systems

See all 71 in Technology Computing Systems →