Wit and wisdom The company I keep calendar all about me www.jeffreysmorris.com
Somewhere Over Omaha
Growing older but not up
Add to Memories
Tell a Friend
Back when we were first starting this web application up, I wrote a stored procedure that on the first of every month would move the active cars over from the previous account month to the new one. Doing so required a lot of inserts into the database, and so I heeded the wisdom of my more experienced co-workers and issued a "commit" command every 200 cars.

Two years later, the Data Base Administrators (DBAs) were reviewing my stored procedure and saw the commit rule. "Oh no," they tut-tutted. "That's far too long a time to wait until you commit. Let's change that so you'll commit after every TWO cars. Much better."

And now we come to today. I need to tweak the procedure so that when trouble occurs, it will send out a condition code that will trigger an alarm. I hand it to the DBAs for their wisdom. They offer advice, and then add:

"Why are you committing every two cars? Wait until the process is complete before you do a commit!"

Tags: ,

profile
Brother Rail Gun of Quiet Reflection
Name: Brother Rail Gun of Quiet Reflection
calendar
Back December 2009
12345
6789101112
13141516171819
20212223242526
2728293031
The places I go
page summary
tags