We're supposed to be on vacation so instead of coming up with a new topic for this week, we thought we'd highlight a few of the recent comments on posts and continue some of those discussions.
Our "Jon and Susan Get Educated" post sparked a number of comments. One in particular made us realize that we had erred in our tests. While reading J Taylor's comment on his own SQL vs. Native tests we realized that we had in fact given the Native options an unintentional edge. We had not included the open/close of the file within the timing loop. Those tasks had been left to the RPG cycle logic so the comparison was very slightly slanted against SQL. "J" did not mention how many iterations of the loop he performed, but from his results we wonder if it may have only been only a single iteration. If that is the case, then SQL would never have stood a chance -- the initial overhead would have been too great to overcome.
Jeanne F offered an alternative possibility using the SQL COUNT feature. We did try that option, Jeanne, and the results were not pretty.
Darren commented that, in such circumstances, adding FETCH FIRST ROW ONLY would boost performance in cases where the lookup field was not unique. In our case, the lookup key was unique, but we tried it anyway and in this case it had a slight negative impact. In other tests we ran though, where the key was not unique, it did result in a significant performance boost. Darren also suggested a completely different approach to our "existence testing" example which would be a better solution in many circumstances. In our case, we were trying to retrofit an SQL solution into a situation originally designed for record level I/O so it was tough to rework the logic to fit.
Susan especially appreciates all the advice and support in comments on "Susan's Adventures in Mac-Land." We particularly enjoyed the thought of Rick's contrast between the gestures used with iPad (and Mac) and gestures used with the PC! Rick -- an overdue response to your question re: Parallels. First, I never even considered Bootcamp because I don't want to re-start my system to switch between Mac and Windows applications. I do it too often. Even though RDP is the only Windows application I use on a daily basis, I do switch back and forth a lot. In choosing between Parallels and VMware, Parallels seems to allow the two worlds to coexist a bit more seamlessly, as Aaron alluded.
After our last post on the "New Release Cycle," IBM's Gina Whitney kindly posted details of how the DB2 team is making its announcements.Rather than repeat that information here, we'll simply point you to Gina's comment.
Thanks for the interactions -- keep those virtual cards and letters coming it!






Recent Comments