Database Tuning (MOSC)

MOSC Banner

Delete from table with not exists and not in.

edited Nov 22, 2019 1:43PM in Database Tuning (MOSC) 2 commentsAnswered

Hi I have something similar to below, each of the table have 300k records, all  are going on index path except the EMP table which has date filter is going on FTS.  This is taking billions of buffer gets and getting out with ORA-01555. Both underlying tables EMP1 and EMP2 are heavily transactional @400 insert deletes per second.. Can some one let me know what makes this query take so many buffer gets and end up with snapshot too old.

Note: no empty blocks in EMP, both below in sub queries are going with index path. Also tried re writing with NOT IN ( this is select is going faster ). Check the tags for version and other

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