clean up views and functions which moved to summary db

fixes #5261 removing the view replaced by summary db