Processing one billion database rows doesn’t need to kill your web server. Really, it doesn’t. Applying lazy evaluation ideas you can make your scripts handle as much data as there exists, never using more memory than one unit’s size (for example a database row). Using clever iterators, cursors and streams I’ll show you how you can reduce memory usage drastically, thus making your scripts more reliable and sysadmins happy.
Presented by Juozas Kaziukėnas.