Data Structures for Databases