Oracle Logbook

September 19, 2007

Views – Performance impact

Filed under: Uncategorized — Helio Dias @ 6:11 pm

  The key problem is called push predicate e.g.

select * from some_view where col1=10; can become

select * from (select * from base_table where col1=10);
No difference in performance.
But sometimes Oracle can´t push predicate as the above example , then it becomes like:
select * from (select * from base_table) where col1=10;
can change dramatically the plan to worse.

Regards
Helio Dias
http://heliodias.com

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: