Fixed Oracle performance issues by using temp tables. Main Achilles analysis now runs smoothly on SQL Server, Oracle, and PostgreSQL.