Offloading work to the SQL database
Essential elements of high performance applications
By Christian Charukiewicz and Ben Levy
Offloading work from the application server to the database through the effective use of advanced SQL features can greatly improve application performance.