Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Meaning of cost in a plan?
Hi,
I have following situation.
The plan of my query (Q1) says 'Cost=1237'. Then I have changed the query
(Q2) and the new plan says 'Cost=780'. But the response time of Q2 is larger.
Query | Cost (estimated) | Response Time Q1 | 1237 | 123 sec. Q2 | 780 | 301 sec.
What is the relevance of the cost in the query plan? What means this cost number in the query plan (which unit)? My statistics are up to date.
Thanx, Jan