{"id":1267,"date":"2007-05-18T12:00:00","date_gmt":"2007-05-18T12:00:00","guid":{"rendered":"http:\/\/orcldoug.com\/blog\/?p=1267"},"modified":"2007-05-18T12:00:00","modified_gmt":"2007-05-18T12:00:00","slug":"log-buffer-45","status":"publish","type":"post","link":"http:\/\/orcldoug.com\/blog\/2007\/05\/18\/log-buffer-45\/","title":{"rendered":"Log Buffer #45"},"content":{"rendered":"<p>It&#8217;s my turn again and, looking back at <a href=\"http:\/\/18.133.199.212\/?p=1042\">Log Buffer #4<\/a>, I was amazed to realise that we&#8217;re up to number 45 already and that my previous attempt was <i>last August<\/i>. Good work from Dave Edwards, who bears the organisational burden every week. Sooner him than me!<\/p>\n<p>I&#8217;ll kick off this week with a discussion of the MySQL <a href=\"http:\/\/www.mysqlperformanceblog.com\/2007\/05\/14\/mysql-storage-engines-pbxt\/\">PBXT Storage Engine<\/a> over on the <a href=\"http:\/\/www.mysqlperformanceblog.com\/\">MySQL Performance Blog<\/a>. I find the availability of different storage engines one of the more fascinating aspects of MySQL, though I have to admit that when I start reading the functional details I tend to break out in a cold sweat. <\/p>\n<p><i>&#8220;PBXT does not offer Durable transactions (meaning you can lose<br \/>\ncommitted transactions if power goes down) furthermore in case of crash<br \/>\ndatabase may become corrupted, just as with MyISAM, and you might need<br \/>\nto repair tables.&#8221;<\/i><\/p>\n<p>Still, as I keep being told; &#8216;it&#8217;s just a website, who cares if you lose a couple of transactions?&#8217;<\/p>\n<p>Then again, software is rarely completely reliable. How&#8217;s <i>this<\/i> for <a href=\"http:\/\/pkhosblog.blogspot.com\/2007\/05\/i-didnt-know-that-or-obscure-bug-in.html\">a bizarre bug<\/a> in some versions of Oracle? Thanks to <a href=\"http:\/\/pkhosblog.blogspot.com\/\">Peter K<\/a> for that one.<\/p>\n<p>Another old hand (he says, at the risk of upsetting both Peter and Noons) illustrates the all-round skills and imagination a DBA needs in a typical scenario of <a href=\"http:\/\/dbasrus.blogspot.com\/2007\/05\/oracle-v7-bad-blocks-disk-capacity-and.html\">working with multiple versions and different problems.<\/a> I always enjoy <a href=\"http:\/\/dbasrus.blogspot.com\/\">Nuno&#8217;s blog<\/a> &#8211; he has a wealth of experience, a distinctive voice and takes a mean photograph, too.<\/p>\n<p>Actually, I have some sympathy with Jay Jannsen&#8217;s point of view that <a href=\"http:\/\/mysqlguy.blogspot.com\/2007\/05\/mysql-is-to-oracle.html\">MySQL is to Oracle as vi is to emacs<\/a> or, to put it another way &#8230; <\/p>\n<p>&#8220;<i>I&#8217;m simply saying that these technologies seem to <span style=\"font-style: italic\">represent<\/span> a particular way of looking at developing software over time.<\/i>&#8221; <\/p>\n<p>However,<br \/>\nthat doesn&#8217;t really explain why, in editors, web development tools and<br \/>\nany personal software, I desire the simplest possible solution (e.g.<br \/>\nI&#8217;m quite happy with vi), but in the enterprise software I use at work,<br \/>\nI want flexibility, which implies at least some complexity. Jay wraps<br \/>\nup by asking of different technology geeks &#8211; &#8216;<i>Can&#8217;t we all just get along?<\/i>&#8216;.<\/p>\n<p>Erm, no &#128521;<\/p>\n<p>As someone who has a slightly sad obsession with database server configuration standards, I noted Jeremy Schneider&#8217;s posting about <a href=\"http:\/\/www.ardentperf.com\/2007\/05\/11\/redo-log-filename-extension\/\">the naming of Oracle&#8217;s redo log files<\/a>, for which most people use a .log extension. I suppose I could imagine that sys admins are likely to view a .log file as a prime candidate for deletion, but isn&#8217;t the underlying problem here to do with documentation, privileges, training and file locations? I can&#8217;t say I&#8217;ve ever thought of it as a big risk, and I don&#8217;t recall anyone deleting them because they looked like output logs, but I suppose it doesn&#8217;t hurt to use .rdo and .arc for the archived versions, just to be sure. In any case, I really like the look of <a href=\"http:\/\/www.ardentperf.com\/category\/technical\">Jeremy&#8217;s blog<\/a>, which was a new discovery for me this week. <\/p>\n<p>Back to MySQL again and the <a href=\"http:\/\/www.xaprb.com\/blog\">xaprb blog<\/a> has a useful post discussing an <a href=\"http:\/\/www.xaprb.com\/blog\/2007\/05\/11\/how-to-eliminate-temporary-tables-in-mysql\/\">approach to avoid problems with MySQL statement-based replication caused by temporary tables<\/a><\/p>\n<p>DB2 next, with <a href=\"http:\/\/blogs.ittoolbox.com\/database\/geek\/archives\/idug-highlights-16214\">a review<\/a> of the <span id=\"intelliTXT\" name=\"intelliTxt\" nd=\"1\">IDUG (International DB2 User Group) North American conference, courtesy of <a href=\"http:\/\/blogs.ittoolbox.com\/database\/geek\">scotdb<\/a>.<\/span><\/p>\n<p>On to a subject that might seem a little dull to some but is central to the most successful database implementations &#8211; data integrity constraints. <a href=\"http:\/\/www.neonesoft.com\/blog\/blogs\/cmullins\">Craig Mullins<\/a> is asking people to <a href=\"http:\/\/www.neonesoft.com\/blog\/blogs\/cmullins\/archive\/2007\/05\/15\/Participate-in-a-Survey-on-Database-Constraints.aspx\">participate in a survey on database constraints<\/a> over on his blog. It looks like the enquiry extends beyond the basic primary, unique and foreign key constraints, too.<\/p>\n<p>Speaking of constraints, I&#8217;m not sure about <a href=\"http:\/\/decipherinfosys.wordpress.com\/2007\/05\/14\/enforcing-uniqueness-across-tables\/\">this one<\/a> from the <a href=\"http:\/\/decipherinfosys.wordpress.com\/\">Decipher Info Systems<\/a> blog!  Enforcing uniqueness across two tables suggests to me that there&#8217;s something wrong with the database design and for further discussion and alternative views, see <a href=\"http:\/\/asktom.oracle.com\/pls\/asktom\/f?p=100:11:0::::P11_QUESTION_ID:254588800346279774\">this thread<\/a> at Tom Kyte&#8217;s <a href=\"http:\/\/asktom.oracle.com\">asktom.oracle.com<\/a>.<\/p>\n<p><a href=\"http:\/\/technology.amis.nl\/blog\/?p=1937\">Minor insanity<\/a>, of the best kind, from Lucas Jellema on the <a href=\"http:\/\/technology.amis.nl\/blog\">Amis blog<\/a>. Remember when computing used to be *fun*? Oh, and once the monster is released from it&#8217;s cage, <a href=\"http:\/\/technology.amis.nl\/blog\/?p=1965\">there&#8217;s no stopping it<\/a>! Look, David Moloney over at <a href=\"http:\/\/weblogs.sqlteam.com\/\">SQLTeam.com<\/a> is even <a href=\"http:\/\/www.sqlteam.com\/item.asp?ItemID=26942\">starting on Chess<\/a>!<\/p>\n<p>Moving on to more practical SQL work over at <a href=\"http:\/\/www.dizwell.com\/prod\/blog\/1\">Howard Rogers&#8217;<\/a> blog, where he discusses the workings and importance of <a href=\"http:\/\/www.dizwell.com\/prod\/node\/727\">the MINUS set operator<\/a>.<\/p>\n<p>Sticking with SQL, here are are a couple of puzzles for you &#8211; <a href=\"http:\/\/www.oraclemusings.com\/?p=57\">the first<\/a> is courtesy of <a href=\"http:\/\/www.oraclemusings.com\/\">Dominic Delmolino<\/a>. Dominic&#8217;s blog is always a source of wisdom, regardless of the particular DBMS you use. <a href=\"http:\/\/thecodist.com\/fiche\/thecodist\/article\/a-sql-challenge-find-available-appointment-times\">The next<\/a> is from <a href=\"http:\/\/thecodist.com\/fiche\/thecodist\/home\">thecodist{}<\/a>, with <a href=\"http:\/\/weblogs.sqlteam.com\/jeffs\/archive\/2007\/05\/15\/60207.aspx\">a response<\/a> on <a href=\"http:\/\/weblogs.sqlteam.com\/jeffs\/\">Jeff&#8217;s SQL Server Blog<\/a>.<a href=\"http:\/\/laurentschneider.com\/\"><\/p>\n<p>Laurent Schneider<\/a> has a brief overview of <a href=\"http:\/\/laurentschneider.com\/wordpress\/2007\/05\/merge-syntax.html\">the Oracle MERGE statement<\/a>. What I particularly like about it is that, unusually, he shows examples that only perform an INSERT or only perform an UPDATE and shows how the syntax can help clarify conditional examples of those actions.<\/p>\n<p>Oh, look! Check this out! Do you remember <a href=\"http:\/\/news.com.com\/Oracle+database+appliance+released\/2100-1001_3-238826.html\">Database Appliances<\/a>? &#128521; Well, it appears that this particular idea keeps <a href=\"http:\/\/blogs.ittoolbox.com\/oracle\/guide\/archives\/will-it-be-called-hatbase-16284\">popping it&#8217;s head up<\/a> periodically and thanks to <a href=\"http:\/\/blogs.ittoolbox.com\/oracle\/guide\">Lewis Cunningham<\/a> for the latest sighting. In fairness, I can understand the attraction for small businesses who are looking for an easily managed solution, although I might have a few better suggestions later.<\/p>\n<p>To finish off, I&#8217;m going to go all Web 2.0 on you &#8211; just to prove I can &#128521;<\/p>\n<p>First, Paul Gallagher has an interesting <a href=\"http:\/\/tardate.blogspot.com\/2007\/05\/otn-semantic-web-first-look.html\">review<\/a> of <a href=\"http:\/\/otnsemanticweb.oracle.com\/blogs.jsp\">Oracle Technology Network&#8217;s Semantic Web<\/a> offering &#8211; an alternative source of weekly blog postings if your interests are limited to Oracle-related blogs.<\/p>\n<hr size=\"2\" width=\"100%\"\/>\n<h3>Archive Log<\/h3>\n<p>And now for something completely different. I&#8217;ve had some recent communication with the <a href=\"http:\/\/www.techdirt.com\/insightcommunity.php\">Techdirt Insight Community<\/a>, which is an attempt to build a more formal (and paid) dialogue between business and bloggers. Take a look at <a href=\"https:\/\/www.insightcommunity.com\/issue.php?iid=1005\">one of the open &#8216;challenge issues&#8217;<\/a> of the moment. As a died-in-the-wool enterprise DBA, Web 2.0 developments don&#8217;t light my flame, but who&#8217;s to say that one of these online database builders isn&#8217;t going to be just what smaller companies are looking for? Hey, you don&#8217;t get much more Web 2.0 than that! Take a look.<\/p>\n<hr size=\"2\" width=\"100%\"\/>Now it&#8217;s time I went back to working on my presentation for <a href=\"http:\/\/www.miracleltd.com\/index.asp?page=167&amp;page2=343\">the Miracle Scotland Database Forum<\/a> (MSDBF). I&#8217;m looking forward to it, although I don&#8217;t think Oracle guys are going to <a href=\"http:\/\/18.133.199.212\/?p=1266\">win any beauty contests<\/a>!<\/p>\n<p>Finally, in the spirit of platform-neutral DBA friendship, I leave you with &#8211; <a href=\"http:\/\/www.realbeer.com\/blog\/?p=497\">Pizza Beer<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s my turn again and, looking back at Log Buffer #4, I was amazed to realise that we&#8217;re up to number 45 already and that my previous attempt was last August. Good work from Dave Edwards, who bears the organisational burden every week. Sooner him than me! I&#8217;ll kick off this week with a discussion&hellip; <a class=\"more-link\" href=\"http:\/\/orcldoug.com\/blog\/2007\/05\/18\/log-buffer-45\/\">Continue reading <span class=\"screen-reader-text\">Log Buffer #45<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1267","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":1042,"url":"http:\/\/orcldoug.com\/blog\/2006\/08\/04\/log-buffer-4\/","url_meta":{"origin":1267,"position":0},"title":"Log Buffer #4","date":"August 4, 2006","format":false,"excerpt":"Welcome to the fourth edition of Log Buffer.Maybe it's the summer holiday season and DBA-land is a little quiet, but navel-gazing seems popular this week. During a conference keynote speech by Ray Lane I attended earlier this year, he highlighted how much the software industry likes to talk about itself\u2026","rel":"","context":"With 7 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1297,"url":"http:\/\/orcldoug.com\/blog\/2007\/07\/16\/todays-links\/","url_meta":{"origin":1267,"position":1},"title":"Today&#8217;s Links","date":"July 16, 2007","format":false,"excerpt":"Here are a few interesting blog postings I've been reading this week.Jonathan Lewis on another Statspack example.Nuno Souto on SQL Server - in three parts. What I particularly like about these postings is that the man has used both and is honest about their relative strengths and weaknesses, rather than\u2026","rel":"","context":"With 3 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1026,"url":"http:\/\/orcldoug.com\/blog\/2006\/07\/16\/log-buffer\/","url_meta":{"origin":1267,"position":2},"title":"Log Buffer","date":"July 16, 2006","format":false,"excerpt":"This looks like an interesting concept - a weekly collection of interesting items for the DBA community. It's not unusual to see blogs like this from individual bloggers. I'm not averse to the odd one myself. What might make this a bit more interesting for me is that there'll be\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1023,"url":"http:\/\/orcldoug.com\/blog\/2006\/07\/15\/i-dont-want-to-see-html-for-a-long-time\/","url_meta":{"origin":1267,"position":3},"title":"I don&#8217;t want to see HTML for a long time","date":"July 15, 2006","format":false,"excerpt":"If I'm honest, I'm sure most of my problems have been self-inflicted and my 'solution' is little more than an unsatisfactory hack but if it means I don't have to look at any HTML for a few weeks, it will do.I eventually tracked down this problem to a difference between\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1156,"url":"http:\/\/orcldoug.com\/blog\/2006\/12\/07\/a-more-complex-statspack-example-part-2\/","url_meta":{"origin":1267,"position":4},"title":"A More Complex Statspack Example &#8211; Part 2","date":"December 7, 2006","format":false,"excerpt":"So far we're barely into the comparison of the Statspack reports from the two different test environments and they look quite different already.Next up, the Instance Efficiency Percentages. I have to confess that I rarely find these very useful because the numbers are always near 100% on most databases I\u2026","rel":"","context":"With 13 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1155,"url":"http:\/\/orcldoug.com\/blog\/2006\/12\/06\/a-more-complex-statspack-example-part-1\/","url_meta":{"origin":1267,"position":5},"title":"A More Complex Statspack Example &#8211; Part 1","date":"December 6, 2006","format":false,"excerpt":"Following on from the last Statspack example, up popped an example at work this week of another common reason I use Statspack - comparing the performance of different environments. It's also a nice illustration of some of Statspack's limitations.Because a Statspack report contains a lot of information and this particular\u2026","rel":"","context":"With 8 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts\/1267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/comments?post=1267"}],"version-history":[{"count":0,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts\/1267\/revisions"}],"wp:attachment":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/media?parent=1267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/categories?post=1267"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/tags?post=1267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}