By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Expired Oracle Patent Opens Fast Sorting Algorithm to Open Source Databases
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > Expired Oracle Patent Opens Fast Sorting Algorithm to Open Source Databases
News

Expired Oracle Patent Opens Fast Sorting Algorithm to Open Source Databases

News Room
Last updated: 2026/01/24 at 2:54 AM
News Room Published 24 January 2026
Share
Expired Oracle Patent Opens Fast Sorting Algorithm to Open Source Databases
SHARE

A recent article reports that an Oracle patent on a fast sorting method has expired, allowing open source databases to use it freely. Mark Callaghan, the inventor behind the sorting algorithm, shows how this 20-year-old approach can speed up sorting similar data and could make database systems faster and more efficient.

Granted in 2010 to Oracle Corporation, patent US7680791B2 covers a method for sorting data using common prefix bytes and a sort algorithm, which the inventor suggests calling “Orasort”, that addresses the inefficiency caused by repeatedly comparing the same leading parts of similar keys during sorting.

The algorithm combines several techniques: skipping common prefixes when comparing keys, adaptively switching between quicksort and radix sort, caching key substrings to reduce cache misses, and producing results before the sort completes.

Because the data is split into smaller groups during sorting, the keys often share longer prefixes. The algorithm remembers these shared parts, skips them during comparisons, switches to a faster method when helpful, and preloads the next needed bytes to reduce wasted work and speed things up. Callaghan, a database expert formerly at Oracle, Google, and Facebook, explains how his patent came to life and why it matters now:

I invented this while at Oracle and it landed in 10gR2 with claims of ~5X better performance vs the previous sort algorithm used by Oracle. I hope for an open-source implementation one day. The patent has a good description of the algorithm, it is much easier to read than your typical patent. Thankfully the IP lawyer made good use of the functional and design docs that I wrote.

The community has shown immediate interest in implementing it and in improving databases such as MySQL and PostgreSQL. Varun Singh, CTO at Flooid.in and formerly founder at ScaleArc, suggests:

That is so detailed, you could drop it into an AI agent, along with the patent document, and start implementing. Mark is epic.

In a separate thread, Hannu Krosing, database engineer at Google, tried to implement it in Python, C, and C++ using Gemini. According to the article, the in-memory sort algorithm at Oracle delivered about 5x the performance of the previous approach and earned a thank-you email from Larry Ellison. Callaghan remembers:

Once I had this implemented within the Oracle DBMS I was able to compare it with the old sort. The new sort was often about 5 times faster than the old sort. I then compared it with SyncSort. I don’t remember whether they had a DeWitt Clause so I won’t share the results but I will say that the new sort in Oracle looked great in comparison.

Charles Thayer comments:

I’ve never considered the complexity of when a sort algorithm can ship the first result item, to start the response stream and minimize latency. (Quicksort should be relatively good at this). Interesting work.

With over 52000 patents overall, Oracle still holds numerous patents related to database technology, including self-managing database architectures and methods for optimizing database performance, covering various aspects of database management such as automatic tuning and efficient data storage techniques.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article T-Mobile's New Unlimited Phone Plan Is Designed for Families, But Check the Details T-Mobile's New Unlimited Phone Plan Is Designed for Families, But Check the Details
Next Article UK government ‘blindly accepted’ Iver datacentre environmental assurances, it is claimed | Computer Weekly UK government ‘blindly accepted’ Iver datacentre environmental assurances, it is claimed | Computer Weekly
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Today's NYT Strands Hints, Answer and Help for Jan. 24 #692 – CNET
Today's NYT Strands Hints, Answer and Help for Jan. 24 #692 – CNET
News
The influencer World Cup: Fifa and the TikTok deal targeting an avalanche of posts
The influencer World Cup: Fifa and the TikTok deal targeting an avalanche of posts
News
Buying Kindle books is about to change forever
Buying Kindle books is about to change forever
Gadget
Wall Street is under pressure on software stocks. This expert says this is ‘absolutely wrong’
Wall Street is under pressure on software stocks. This expert says this is ‘absolutely wrong’
News

You Might also Like

Today's NYT Strands Hints, Answer and Help for Jan. 24 #692 – CNET
News

Today's NYT Strands Hints, Answer and Help for Jan. 24 #692 – CNET

4 Min Read
The influencer World Cup: Fifa and the TikTok deal targeting an avalanche of posts
News

The influencer World Cup: Fifa and the TikTok deal targeting an avalanche of posts

9 Min Read
Wall Street is under pressure on software stocks. This expert says this is ‘absolutely wrong’
News

Wall Street is under pressure on software stocks. This expert says this is ‘absolutely wrong’

4 Min Read
The Best Smart Rings We’ve Tested for 2026
News

The Best Smart Rings We’ve Tested for 2026

18 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?