Database Tuning (MOSC)

MOSC Banner

Tuning to Insert and Update Massive.

edited Aug 31, 2021 4:15AM in Database Tuning (MOSC) 26 comments

Hi there.

I need to insert and update 1 million data in an optimal time. I use a cursor for the WHERE clause of the INSERT and UPDATE. I use / * APPEND * / for the INSERT, and for the UPDATE I use / * + PARALLEL (table_name) * /.

However the process takes 10 hours to finish.

Note: I am running on Oracle 12.1.0.2.0

I remain attentive to your comments and suggestions.

Thanks and greetings.

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