DB Performance removing All Possible JOINS and Database Inheritance level