L
L
Light7772014-10-13 06:44:29
Oracle
Light777, 2014-10-13 06:44:29

How to index a table in Oracle?

There is a procedure written on Oracle. When started, this procedure runs for about 7-8 hours. How can you speed up the process?
ps. development environment - pl/sql developer

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Lebedev, 2014-10-13
@Light777

I'll surprise you, but there is no "Do Good" button in Oracle. Here it is necessary to trace. And to look why the optimizer uses the plan which so long works.
Most likely you will need:
Create Index , Dbms_stats .

G
Geny, 2014-10-13
@Geny

you need to set fast = true in the init.ora settings and that's it ...)))

E
eugenik, 2014-10-15
@eugenik

Hmm... How the fuck is the question worded!
Here already offered to index indexes?
And if the procedure does not select, but updates? And on each update in the table on 3 triggers works. And additional indexes will only aggravate the situation.
Who knows what this "procedure" does inside - conclusions can be drawn only on the basis of the title of the question, because staff telepath on vacation...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question