Database Tuning (MOSC)

MOSC Banner

Tune and optimize SQL on very complex view: could be procedural solution to the view definition than

edited Feb 27, 2011 7:07PM in Database Tuning (MOSC) 4 commentsAnswered
Hello collegues,
One of our developer has very complex view on which the cost of SQL query in performance and system load is more and more complex with the raise of rows.

SQL query is almost ideal for master-detail-detail problem.

TableA -> ViewB -> ViewC.

The problem is that ViewB is union of two tables.
And so as ViewC is union of two tables and aggregated with group by operation and sum columns to the same level as ViewB.
But it is also the union of two tables.

I wonder if there is any Oracle pl/sql or procedural technology where istead of declarative SQL query with union solution I could implement procedural solution with using

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center