Database - create indexes to speed up indexing views
View - dont use in and take advantage of the above indexes