Data structure and database