This document discusses a sensor database system. It describes how modern sensors can store, process, and transfer data. It presents a three-layer reference model for sensor databases that combines stored data with sensor data. It also discusses how TinyDB can store data on devices for future use and how sensor databases must address issues like uncertainty of data, communication failures, security, and energy optimization.