Performance test and improvements
Cache join table inheritance