Database Tuning (MOSC)

MOSC Banner

index to table access full

edited Nov 1, 2010 11:21PM in Database Tuning (MOSC) 7 commentsAnswered
 I am trying to figure out why a simple query like the one I am posting changes so drastically for cost.

select status_code from genesis.order_item_component where status_code from genesis.order_item_component where status_code <> '0500' '0500'

index full scan    cost: 2743

Add one column to this query

select status_code, last_action_date from genesis.order_item_component where  status_code <> '0500' table access full    cost:107250 Can someone explain why it changes? Thanks Al

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