Lots of code follows patterns. Some of the patterns are good ones, some them are bad - and these we call "anti-patterns." In this video, Steven identifies a common and, for many, surprising anti-pattern - and then shows how to turn it into a design pattern worthy of use. The anti-pattern is the execution on non-query DML (inserts, updates, deletes) inside a loop. The refactored positive design is based on bulk processing in PL/SQL. Along the way, Steven shows how this involves moving from row-by-row to phased processing.
==================================================
Copyright © 2015 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
Watch video Performance Anti-Patterns: Non-query DML inside loops online, duration hours minute second in high quality that is uploaded to the channel Practically Perfect PL/SQL with Steven Feuerstein 16 March 2015. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 19,683 times and liked it 318 visitors.