complete structure for in memory database