optimized db structure for planned features