SQL Performance (MOSC)

MOSC Banner

UNION vs UNION ALL, time to fetch first row

edited Sep 19, 2019 5:08AM in SQL Performance (MOSC) 7 commentsAnswered

It is obvious fact the UNION ALL is faster than UNION. If I measure the time to fetch first row, should the both UNION and UNION ALL should have same performance. That is because it does not need wait finish sorting as anyway it can show data in one data set?

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