SQL Performance (MOSC)

MOSC Banner

virtual column performance vs. trigger

edited Feb 17, 2015 9:55AM in SQL Performance (MOSC) 3 commentsAnswered

I wanted to use a virtual column in 11.2.0.2 db to replace some logic that is less efficient.  Currently we have a few range partitioned tables, the partition key column is populated by a before insert trigger that does a mod on the value of another column being inserted.  So I thought this would be the perfect place to use a virtual column and decided to run some performance tests to see how much faster it would be then the trigger.  Unfortunately when my tests came back they both took the same amount of time.  Anyone else run into a

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