11 tables join
I am looking at a SQL that joins 11 tables. Oracle version is 11.1. The tables are going to be small (less than 1000 of rows), all tables will have primary keys and I am going to make sure that they all joined on the PKs. And still, joinig 11 tables does not sound right to me. The app team rejected (at least for the time being) the idea of denormalizing the tables. I am looking at other possible options :
- cache these 11 tables in memory
- break the SQL into several with 3-4 tables joined and run them in sequence joining the output from 1 SQL with the next few tables