<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>Pythian Group Blog &#187; Log Buffer</title>
	<atom:link href="http://www.pythian.com/news/category/log-buffer/feed" rel="self" type="application/rss+xml" />
	<link>http://www.pythian.com/news</link>
	<description>News and views from Pythian DBAs</description>
	<pubDate>Fri, 03 Jul 2009 19:20:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Log Buffer #152: a Carnival of the Vanities for DBAs</title>
		<link>http://www.pythian.com/news/3268/log-buffer-152-a-carnival-of-the-vanities-for-dbas</link>
		<comments>http://www.pythian.com/news/3268/log-buffer-152-a-carnival-of-the-vanities-for-dbas#comments</comments>
		<pubDate>Fri, 03 Jul 2009 16:46:52 +0000</pubDate>
		<dc:creator>David Edwards</dc:creator>
		
		<category><![CDATA[Log Buffer]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[Non-Tech Articles]]></category>

		<category><![CDATA[Oracle]]></category>

		<category><![CDATA[PostgreSQL]]></category>

		<category><![CDATA[SQL Server]]></category>

		<category><![CDATA[NoSQL]]></category>

		<guid isPermaLink="false">http://www.pythian.com/news/?p=3268</guid>
		<description><![CDATA[Welcome to the 152nd edition of Log Buffer, the weekly review of database blogs.
PostgreSQL
Courtesy the United States PostgreSQL Association, the big news: PostgreSQL 8.4 Released!.
Josh Berkus writes, &#8220;Now that PostgreSQL 8.4 is out, I thought I&#8217;d write a little about my favorite 8.4 feature. As Mr. Performance Whack-a-Mole, what makes me happy about 8.4 is [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to the 152<sup>nd</sup> edition of <a href="http://www.pythian.com/news/about-log-buffer"><em>Log Buffer</em></a>, the weekly review of database blogs.</p>
<h3>PostgreSQL</h3>
<p>Courtesy the <a href="https://www.postgresql.us"><strong>United States PostgreSQL Association</strong></a>, the big news: <a href="https://www.postgresql.us/node/91">PostgreSQL 8.4 Released!</a>.</p>
<p><a href="http://it.toolbox.com/blogs/database-soup"><strong>Josh Berkus</strong></a> writes, &#8220;Now that PostgreSQL 8.4 is out, I thought I&#8217;d write a little about my favorite 8.4 feature. As Mr. Performance Whack-a-Mole, what makes me happy about 8.4 is the ability to whack moles faster &#8230; which is why I&#8217;m very fond of <a href="http://it.toolbox.com/blogs/database-soup/pg_stat_statements-in-84-32648">pg_stat_statements</a>.&#8221;</p>
<p>On ad&#8217;s corner, <a href="http://andreas.scherbaum.la/blog"><strong>Andreas Scherbaum</strong></a> says, &#8220;Up to PostgreSQL 8.3 it was only possible to grant (and revoke) permissions on the entire table. If column level permissions were needed, a workaround like a view solved (more or less) the problem&nbsp;.&nbsp;.&nbsp;.&nbsp; This&nbsp;.&nbsp;.&nbsp;.&nbsp;is uneloquent, error prone and does not scale well. &nbsp;.&nbsp;.&nbsp;.&nbsp; PostgreSQL 8.4 solves the problem with a shiny new feature: <a href="http://andreas.scherbaum.la/blog/archives/577-PostgreSQL-8.4-Column-Permissions.html">column level permissions</a>.&#8221;</p>
<p><a href="http://people.planetpostgresql.org/dfetter"><strong>David Fetter</strong></a> looks into <a href="http://people.planetpostgresql.org/dfetter/index.php?/archives/22-WITH-so-much-drama-in-the-CTE.html">WITH (so much drama in the CTE)</a>: &#8221; By now, you&#8217;ve probably seen that PostgreSQL 8.4 can produce Mandelbrot sets&nbsp;.&nbsp;.&nbsp;.&nbsp;but what are Common Table Expressions really about? <span id="more-3268"></span>  [They]  are just views you create at run time. Oh, and they can refer to themselves. That latter capability is powerful and flexible (read confusing), so I&#8217;ll go over that one later. Run-time views are pretty handy, though.&#8221;</p>
<p><a href="http://people.planetpostgresql.org/andrew">Andrew&#8217;s PostgreSQL blog</a> introduces <a href="http://people.planetpostgresql.org/andrew/index.php?/archives/27-Parallel-pg_restore-for-PostgreSQL-8.4.html">parallel pg_restore for PostgreSQL 8.4</a>: &#8220;I try to complete at least one significant feature item per PostgreSQL release. This time the feature is making pg_restore run in parallel. This is quite important for many users, particularly some large enterprise users.&#8221;</p>
<h3>SQL Server</h3>
<p><a href="http://sqlblog.com/blogs/eric_johnson"><strong>Eric Johnson</strong></a> introduces <a href="http://sqlblog.com/blogs/eric_johnson/archive/2009/07/01/ssis-2008-and-the-new-lookup.aspx">SSIS 2008 and the new lookup</a>: &#8220;SSIS is a pretty useful tool for designing ETL processes. One of the transformations I was disappointed with in 2005 was the lookup. I found it a little better than the lookup functionality in DTS, but not too much better. Well, Microsoft must have read my mind because SQL Server 2008 has a new shiny Lookup transformation that is, in my opinion, much improved.&#8221;</p>
<p><a href="http://www.sqlskills.com/BLOGS/KIMBERLY"><strong>Kimberly L. Tripp</strong></a> was thinking about <a href="http://www.sqlskills.com/BLOGS/KIMBERLY/post/Looking-for-security-vulnerabilities-in-database-code.aspx">looking for security vulnerabilities in database code</a>. &#8220;I&#8217;ve always been concerned with security and I&#8217;ve always stressed the importance of auditing the REAL user context not just the current user&nbsp;.&nbsp;.&nbsp;.&nbsp; So, I generally try to avoid using dynamic string execution and if necessary create well tested/protected parameters&nbsp;.&nbsp;.&nbsp;.&nbsp; Having said that, what if I&#8217;m looking at a database for the first time&nbsp;.&nbsp;.&nbsp;.&nbsp; I&#8217;ve come up with a quick query&#8230; And, while it&#8217;s not going to &#8220;solve&#8221; your problem&nbsp;.&nbsp;.&nbsp;.&nbsp;or even truly verify if you&#8217;re vulnerable, it gives you a &#8216;quick list&#8217; of where you should look first! &#8221;</p>
<p><a href="http://sqlblog.com/blogs/adam_machanic"><strong>Adam Machanic</strong></a> exposed <a href="http://sqlblog.com/blogs/adam_machanic/archive/2009/06/25/the-hidden-costs-of-insert-exec.aspx">the hidden costs of INSERT EXEC</a>, beginning, &#8220;INSERT and EXEC: relational brothers in arms, helping you get your data and then put it somewhere. But like all brothers, their relationship has its ups and downs and sometimes you need to look just below the surface to see the real issues. In this post I will cover hidden penalties that a decision&#8211;seemingly purely aesthetic&#8211;can bring to the fore.&#8221;</p>
<p><a href="http://sqlblogcasts.com/blogs/martinbell"><strong>Martin Bell</strong></a> offered the reminder, <a href="http://sqlblogcasts.com/blogs/martinbell/archive/2009/06/29/After-disabling-tde-you-still-requires-certificates-to-restore-the-database.aspx">after disabling TDE you still requires the certificate to restore the database</a>.</p>
<p><a href="http://blogs.lessthandot.com/index.php/DataMgmt">Data Management</a> has a first-rate HOWTO on <a href="http://blogs.lessthandot.com/index.php/DataMgmt/DataDesign/dynamic-column-names-and-fields-in-ssrs-">dynamic column names and fields in SSRS</a>. &#8220;I had no choice but to do work with creating dynamic column headings and dynamically determine what field in my dataset should go where in a report today. Sense [sic] this is the second time I’ve gone through this exercise and knowing the lack of information out there on really how to do it, I thought it deserves a blog entry. &nbsp;.&nbsp;.&nbsp;.&nbsp; So here is the basis of the requirements. You have a query that uses PIVOT but thrown into the mix is the need for dynamic columns in the PIVOT.&#8221;</p>
<h3>MySQL</h3>
<p>Here on the Pythian Blog, <a href="http://www.pythian.com/news/author/sheeri/"><strong>Sheeri Cabral</strong></a> expressed some <a href="http://www.pythian.com/news/3241/concerns-and-what-does-not-work-in-xtradb-backup">concerns and what does not work in XtraDB backup</a>. </p>
<p>On <a href="http://www.xaprb.com/blog">xaprb</a>, <strong>Baron Schwartz</strong> has <a href="http://www.xaprb.com/blog/2009/06/30/a-review-of-mysql-administrators-bible/">a review of MySQL Administrator’s Bible</a>. &#8220;I think that MySQL Administrator’s Bible is a very good complement to High Performance MySQL, 2nd Edition.  The former is useful to people who have varying levels of knowledge, while the latter assumes a lot of experience and doesn’t cover introductory material much.  &nbsp;.&nbsp;.&nbsp;.&nbsp; So if you’re new to databases, or if you’re new to MySQL, you might do well to start with Sheeri’s book&nbsp;.&nbsp;.&nbsp;.&nbsp;&#8221;</p>
<p>Over on the <a href="http://www.mysqlperformanceblog.com/">MySQL Performance Blog</a>, Baron looked into <a href="http://www.mysqlperformanceblog.com/2009/07/01/gathering-queries-from-a-server-with-maatkit-and-tcpdump/">gathering queries from a server with Maatkit and tcpdump</a>: &#8220;For the last couple of months, we&#8217;ve been quietly developing a MySQL protocol parser for Maatkit. It isn&#8217;t an implementation of the protocol: it&#8217;s an observer of the protocol. This lets us gather queries from servers that don&#8217;t have a slow query log enabled, at very high time resolution.&#8221;</p>
<p><a href="http://ronaldbradford.com/blog"><strong>Ronald Bradford</strong></a> looked at <a href="http://ronaldbradford.com/blog/verifying-mysql-replication-in-action-2009-06-28/">verifying MySQL replication in action</a>, with &#8220;&nbsp;.&nbsp;.&nbsp;.&nbsp;a very simple test to show MySQL replication in action and to also better understand the basics of MySQL Replication. With a configured MySQL environment we can run the following test on your MySQL master, and monitor the MySQL slave.&#8221;</p>
<p><a href="http://dev.mysql.com/workbench">The MySQL Workbench Team Blog</a> says, <a href="http://dev.mysql.com/workbench/?p=247">Time To Upgrade - MySQL Workbench 5.1 Is Here on Win, Mac &#038; Linux</a>.  Perty pictures follow.</p>
<h3>Oracle</h3>
<p><a href="http://tonguc.wordpress.com"><strong>H. Tonguç Yilmaz</strong></a> asserted, <a href="http://tonguc.wordpress.com/2009/07/01/how-to-generate-session-level-ash-reports/">Instrumented Code is Better: An Example on How to Generate Session Level ASH Reports</a>. &#8221; After 10g if you have its license ASH based performance monitoring is an alternative to the traditional SQL Tracing in my opinion. You may either use EM to generate ASH reports or directly query ASH dictionary. The handy additional hint here is that you can set filters to ASH data in order to focus on a specific session, the filter options at ASH report screen at EM can be used for this purpose or below is an example to monitor the waits from v$active_session_history view.&#8221;</p>
<p><a href="http://oracledoug.com/serendipity"><strong>Doug Burns</strong></a> responded with his item on <a href="http://oracledoug.com/serendipity/index.php?/archives/1505-Session-Level-ASH-Reports.html">session-level ASH reports</a>: &#8220;I think [Tonguç's] post is really showing two different things, one more successfully than the other.&#8221;</p>
<p><a href="http://oracle-randolf.blogspot.com"><strong>Randolf Geist</strong></a> reports a <a href="http://oracle-randolf.blogspot.com/2009/06/dynamic-sampling-and-set-currentschema.html">Dynamic sampling and set current_schema anomaly</a>: &#8220;If I&#8217;m now supposed to analyse a rather complex SQL with dozens of table and/or view references I like to use the ALTER SESSION SET CURRENT_SCHEMA command&nbsp;.&nbsp;.&nbsp;.&nbsp; This basically works just fine, but I recently have come across an interesting anomaly in 10.2.0.4: If the optimizer uses dynamic sampling as part of the parsing then it doesn&#8217;t do so anymore if the CURRENT_SCHEMA has been altered to a non-default schema.&#8221;</p>
<p>On <a href="http://www.oramoss.com/blog">the Oramoss Blog</a>, <strong>Jeff Moss</strong> looks at the case of <a href="http://www.oramoss.com/blog/2009/06/no-pruning-for-minmax-of-partition-key.html">no pruning for MIN/MAX of partition key column</a>: &#8220;Recently, I wanted to work out the maximum value of a column on a partitioned table. The column I wanted the maximum value for, happened to be the (single and only) partition key column. The table in question was range partitioned on this single key column, into monthly partitions for 2009, with data in all the partitions behind the current date, i.e. January through mid June were populated. There were no indexes on the table.&#8221; Jeff and his readers examine the evidence and discuss some workarounds to the problem.</p>
<p>Oracle, MySQL, PostgreSQL, SQL Server.  How&#8217;bout&nbsp;.&nbsp;.&nbsp;.&nbsp;</p>
<h3>NoSQL</h3>
<p>(No SQL?!?  Edwards, you&#8217;re mad!)  Well, it&#8217;s not me.  Here&#8217;s <a href="http://www.dbms2.com/2009/07/01/nosql-sql-alternative/"><strong>Curt Monash</strong> on NoSQL</a>: &#8220;Eric Lai emailed today to ask what I thought about the NoSQL folks, and especially whether I thought their ideas were useful for enterprises in general, as opposed to just Web 2.0 companies. That was the first I heard of NoSQL, which seems to be a community discussing SQL alternatives popular among the cloud/big-web-company set, such as BigTable, Hadoop, Cassandra and so on.&#8221;</p>
<p><a href="http://postgresql.blogg.se">PostgreSQL stuff</a> also had some thoughts on those who say <a href="http://postgresql.blogg.se/2009/july/no-to-sql.html">No to SQL</a>.  &#8220;Every time I see something or hear something like this I sigh a little bit. Not only when it&#8217;s related to SQL but in the world of computer professionals in general. &#8216;The right tool for the job&#8217; seems to be a hard concept to understand sometimes. I wonder why?&#8221;</p>
<p>Back to Oracle for a moment.  <a href="http://blog.tanelpoder.com"><strong>Tanel Poder</strong></a> has a <a href="http://blog.tanelpoder.com/2009/06/27/secret-preview-oracle-12g-cbo-leaked-from-oracle-labs">secret preview of Oracle 12g CBO leaked from Oracle labs</a>. Would <em>you</em> like fries with your cost-based optimizer?</p>
<p>That&#8217;s all for now.  See you in a week&#8217;s time!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/news/3268/log-buffer-152-a-carnival-of-the-vanities-for-dbas/feed</wfw:commentRss>
		</item>
		<item>
		<title>Log Buffer #151: a Carnival of the Vanities for DBAs</title>
		<link>http://www.pythian.com/news/3205/log-buffer-151-a-carnival-of-the-vanities-for-dbas</link>
		<comments>http://www.pythian.com/news/3205/log-buffer-151-a-carnival-of-the-vanities-for-dbas#comments</comments>
		<pubDate>Fri, 26 Jun 2009 16:45:27 +0000</pubDate>
		<dc:creator>David Edwards</dc:creator>
		
		<category><![CDATA[Log Buffer]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[Non-Tech Articles]]></category>

		<category><![CDATA[Oracle]]></category>

		<category><![CDATA[PostgreSQL]]></category>

		<category><![CDATA[SQL Server]]></category>

		<category><![CDATA[DB2]]></category>

		<category><![CDATA[Firebird]]></category>

		<category><![CDATA[Informix]]></category>

		<guid isPermaLink="false">http://www.pythian.com/news/?p=3205</guid>
		<description><![CDATA[Welcome to the 151st edition of Log Buffer, the weekly review of database blogs.  We&#8217;re going to take a fast tour through the best blogs from the week gone by, beginning this time, with Oracle.
Jonathan Lewis writes, &#8220;It occurred to me recently that I might be making casual use of terms that weren’t necessarily [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to the 151<sup>st</sup> edition of <a href="http://www.pythian.com/news/about-log-buffer"><em>Log Buffer</em></a>, the weekly review of database blogs.  We&#8217;re going to take a fast tour through the best blogs from the week gone by, beginning this time, with <strong>Oracle</strong>.</p>
<p><a href="http://jonathanlewis.wordpress.com"><strong>Jonathan Lewis</strong></a> writes, &#8220;It occurred to me recently that I might be making casual use of terms that weren’t necessarily very well known to the less experienced user. So I’ve decided to build a <a href="http://jonathanlewis.wordpress.com/2009/06/23/glossary/">glossary of terms</a> – and I’ll try to add to it from time to time whenever I have a few minutes.&#8221;</p>
<p>Jonathan might want to add &#8220;Method R&#8221; to the glossary. <a href="http://carymillsap.blogspot.com"><strong>Cary Millsap</strong></a> was making it understood, as he shows in <a href="http://carymillsap.blogspot.com/2009/06/profiling-with-my-boy.html">Profiling with my Boy</a>: &#8220;Today I&#8217;m going to raise the stakes, because yesterday I think I explained Method R so that an eleven year-old could understand it.&#8221;</p>
<p><a href="http://viveklsharma.blogspot.com"><strong>Vivek Sharma</strong></a> offers a thorough look at the <a href="http://viveklsharma.blogspot.com/2009/06/cost-based-optimizer-inefficient-input.html">Cost-Based Optimizer: Inefficient Input yields Inefficient Output</a>. Vivek begins, &#8220;Cost Based Optimizer has always been a mystery for most of the Database Administrators and Developers. &nbsp;.&nbsp;.&nbsp;.&nbsp; Cost Based Optimizer has improved a lot in previous few versions. Therefore, it can be said that CBO is still undergoing some enhancements. With these enhancements, Oracle Users have accepted the fact that the Application Performance might degrade after version upgrade&nbsp;.&nbsp;.&nbsp;.&nbsp;&#8221;</p>
<p><a href="http://oracle-randolf.blogspot.com"><strong>Randolf Geist</strong></a> had some info to share on the matter of <a href="http://oracle-randolf.blogspot.com/2008/08/locked-table-statistics-and-subsequent.html">locked table statistics and subsequent create index</a>. &#8220;&nbsp;.&nbsp;.&nbsp;.&nbsp;in 10g and later index statistics are generated along with an index creation &nbsp;.&nbsp;.&nbsp;.&nbsp; so a newly created index usually has computed statistics. 10g also introduced the option to lock table statistics.  Now if you lock statistics in 10g in later &nbsp;.&nbsp;.&nbsp;.&nbsp; and create an index on a locked table the statistics for the index will not be generated along with the CREATE INDEX command.&#8221;</p>
<p><a href="http://rwijk.blogspot.com"><strong>Rob van Wijk</strong></a> gave us part three of his series on <a href="http://rwijk.blogspot.com/2009/06/fast-refreshable-materialized-view.html">fast refreshable materialized view errors: aggregate MV&#8217;s</a>. &#8220;In the third part I&#8217;m going to examine all restrictions for aggregate materialized views, as described in the documentation.  &nbsp;.&nbsp;.&nbsp;.&nbsp; So this will be quite a lengthy and even tedious post, as you can imagine by the list above &#8230; but for a good cause.&#8221;</p>
<p><span id="more-3205"></span></p>
<p>In <strong>MySQL</strong> blogs, the <a href="http://www.mysqlperformanceblog.com">MySQL Performance Blog</a> <a href="http://www.mysqlperformanceblog.com/2009/06/18/announcing-perconatv">announced Percona.tv</a>.  Ryan Loew writes, &#8220;We’ll be uploading technical screencasts, conference video, and anything else cool we can think up.&#8221;</p>
<p><a href="http://openquery.com/blog/">The Open Query blog</a> published <a href="http://openquery.com/blog/good-practice-bad-practice-table-aliases">Good Practice/Bad Practice: Table Aliases</a>. &#8220;When writing queries, try making a habit out of using short table aliases, no matter how small the query is.&#8221; An example using the World DB follows, as does a worthwhile discussion.</p>
<p><a href="http://rpbouman.blogspot.com"><strong>Roland Bouman</strong></a> examined <a href="http://rpbouman.blogspot.com/2009/06/mysql-stored-functions-impact-of.html">MySQL stored functions: the impact of DECLARE HANDLER on performance</a>, responding to <a href="http://blogs.mysql.com/peterg/2009/06/17/get-the-error-return-value-in-a-variable/"><em>Get the error return value in a variable</em></a> by Peter Gulutzan.</p>
<p><a href="http://ronaldbradford.com/blog"><strong>Ronald Bradford</strong></a> looked into <a href="http://ronaldbradford.com/blog/using-statpack-with-show-status-2009-06-18">using statpack with SHOW STATUS</a>. He writes: &#8220;Mark Leith, on of the MySQL Support Team managers wrote some time ago a very nice utility I use often called Statpack.  &nbsp;.&nbsp;.&nbsp;.&nbsp;  Over time I’ve grown to love it’s simplicity, but notice a number of shortcomings.   &nbsp;.&nbsp;.&nbsp;.&nbsp; This post is more about detailing those little annoyances that I’d like to improve, or see improved.&#8221;</p>
<p><a href="http://mtocker.livejournal.com"><strong>Morgan Tocker</strong></a> writes, &#8220;I think 5.1 gets some bad press for not being a compelling upgrade. It&#8217;s not the big features that make the difference, but the subtle ones. I wanted to highlight some of the these that may make your life easier when it&#8217;s time to upgrade&nbsp;.&nbsp;.&nbsp;.&nbsp;&#8221; The post is <a href="http://mtocker.livejournal.com/50441.html"><em>Hidden gems in 5.1</em></a>.</p>
<p>Let&#8217;s turn to SQL Server now, starting with a post from <strong>Aaron Alton</strong>, <a href="http://thehobt.blogspot.com">The HOBT</a>. He writes, &#8220;If you’ve been working with SQL Server for any length of time, you’ve probably seen a number of different variations of the UPDATE command.  &nbsp;.&nbsp;.&nbsp;.&nbsp; Anyway, today’s blog post is more like a public service announcement. It seems that all too many developers are still dangerously unaware of the ability to create very ambiguous UPDATE statements in TSQL.&#8221; Click through for <a href="http://thehobt.blogspot.com/2009/06/tricky-updates-weird-wacky-and.html">Tricky Updates: Weird, Wacky, and Wonderful UPDATE Syntax Variations in SQL Server</a>.</p>
<p><a href="http://sqlblog.com/blogs/louis_davidson"><strong>Louis Davidson</strong></a> looked into the question of <a href="http://sqlblog.com/blogs/louis_davidson/archive/2009/06/20/read-write-ratio-versus-read-write-ratio.aspx">read/write ratio versus read/write ratio</a>.  That&#8217;s what it says, really.  </p>
<p><a href="http://sqlblog.com/blogs/alexander_kuznetsov"><strong>Alexander Kuznetsov</strong></a> posted one of those skill-testing quizzes&#8212;<a href="http://sqlblog.com/blogs/alexander_kuznetsov/archive/2009/06/21/calculating-third-wednesday-of-the-month-with-inline-udfs.aspx">calculating third Wednesday of the month with inline UDFs</a>. Alexander begins, &#8220;Problems such as calculating third Wednesday of the month or the last day of the month are very common. Recently Peter Larsson posted a scalar UDF that solves problems such as &#8216;third Wednesday of the month&#8217;, and Uri Dimant added a comment with a solution by Steve Kass. Unfortunately, all these solutions use scalar UDFs and as such are very slow, so I decided to post some very fast inline UDFs that I find very useful.&#8221;</p>
<p><a href="http://sqlblog.com/blogs/linchi_shea/archive"><strong>Linchi Shea</strong></a> also was working the paradoxes: <a href="http://sqlblog.com/blogs/linchi_shea/archive/2009/06/22/performance-impact-logical-scan-fragmentation-100-may-not-be-as-bad-as-85.aspx"><em>Performance impact: Logical scan fragmentation &#8212; 100% may not be as bad as 85%</em></a>. &#8220;In [a] previous post I asked whether 100% logical scan fragmentation is always worse than 85% local scan fragmentation for table/index scans. &nbsp;.&nbsp;.&nbsp;.&nbsp; The answer is no. 100% logical scan fragmentation is not always worse than 85% logical scan fragmentation in terms of table or clustered index scans. And the following is an example.&#8221;</p>
<p>Reading is cool.  I learned this from <a href="http://en.wikipedia.org/wiki/The_fonz">the Fonz</a>.  But look at this, <a href="http://facility9.com"><strong>Jeremiah Peschka</strong></a> says there are circumstances <a href="http://facility9.com/2009/06/18/when-less-reading-is-a-good-thing">when less reading is a good thing</a>. I&#8217;m confused! What else does he say?  &#8220;Less reading is a good thing when you’re reading from a physical disk.&#8221;  Ahhh. &#8220;During some recent performance tuning, I stumbled across a little gem of a stored procedure that was producing between 4,000 and 11,000 physical reads every time it was called. &nbsp;.&nbsp;.&nbsp;.&nbsp; It returns a list of state abbreviations. I’m not proud to say that I wrote it, but I have to come clean: I wrote it. So, how did I fix this travesty of my youthful ignorance?&#8221;  I bet he hits his server machine in just the right way.</p>
<p>In <strong>PostgreSQL</strong> blogs, <a href="http://justatheory.com"><strong>David Wheeler</strong></a> and his readers discussed the <a href="http://justatheory.com/computers/databases/postgresql/set_testing_update.html">pgTAP Set-Testing Update</a>.</p>
<p><a href="http://www.postgresonline.com/journal">The Postgres OnLine</a> Journal exposed a <a href="http://www.postgresonline.com/journal/index.php?/archives/121-Restore-of-functional-indexes-gotcha.html">restore of functional indexes gotcha</a>.</p>
<p>In the <strong>DB2</strong> world, <a href="http://www.db2portal.com"><strong>Craig Mullins</strong></a> advised: <a href="http://www.db2portal.com/2009/06/know-your-isolation-levels.html">know your ISOLATION levels</a>.  Craig writes, &#8220;Did you know that DB2 provides a way to change the way that a program or SQL statement acquires locks? That way is known as the isolation level and it can be set to specify the locking behavior for a transaction or statement.&#8221;</p>
<p><a href="http://it.toolbox.com/blogs/db2zos"><strong>Willie Favero</strong></a> published the second of a couple articles collecting <a href="http://it.toolbox.com/blogs/db2zos/continuing-on-with-last-fridays-post-32395">resources for both DB2 z/OS and DB2 LUW</a>.</p>
<p>That&#8217;s all for now.  Please add your favourite blogs from this week to the comments.  And of course, don&#8217;t forget that you can publish an edition of <em>Log Buffer</em> on your own blog.  Just <a href="mailto://logbuffercoordinator@pythian.com?Subject=Log%20Buffer">send me an email</a> to get started.</p>
<p>Till next time!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/news/3205/log-buffer-151-a-carnival-of-the-vanities-for-dbas/feed</wfw:commentRss>
		</item>
		<item>
		<title>Log Buffer #150</title>
		<link>http://www.pythian.com/news/2852/log-buffer-150</link>
		<comments>http://www.pythian.com/news/2852/log-buffer-150#comments</comments>
		<pubDate>Fri, 12 Jun 2009 16:11:49 +0000</pubDate>
		<dc:creator>Sheeri Cabral</dc:creator>
		
		<category><![CDATA[Log Buffer]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[Oracle]]></category>

		<category><![CDATA[PostgreSQL]]></category>

		<category><![CDATA[SQL Server]]></category>

		<category><![CDATA[ASM]]></category>

		<category><![CDATA[backup]]></category>

		<category><![CDATA[conference]]></category>

		<category><![CDATA[conferences]]></category>

		<category><![CDATA[DB2]]></category>

		<category><![CDATA[drizzle]]></category>

		<category><![CDATA[metadata]]></category>

		<category><![CDATA[migrating]]></category>

		<category><![CDATA[opensqlcamp]]></category>

		<category><![CDATA[optimization]]></category>

		<category><![CDATA[optimize]]></category>

		<category><![CDATA[optimizer]]></category>

		<category><![CDATA[oscon]]></category>

		<category><![CDATA[performance]]></category>

		<category><![CDATA[postgres]]></category>

		<category><![CDATA[release]]></category>

		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.pythian.com/news/?p=2852</guid>
		<description><![CDATA[This is the 150th edition of Log Buffer, the weekly review of database blogs.  Someone accidentally left Dave Edwards&#8216; cage unlocked, and he escaped, thus leaving me with the pleasurable duty of compiling the 150th weekly Log Buffer.
Many people other than Dave are finding release this week.  Giuseppe Maxia explains some details of [...]]]></description>
			<content:encoded><![CDATA[<p>This is the 150th edition of Log Buffer, the weekly review of database blogs.  Someone accidentally left <A HREF=http://www.pythian.com/news/author/edwards/>Dave Edwards</A>&#8216; cage unlocked, and he escaped, thus leaving me with the pleasurable duty of compiling the 150th weekly Log Buffer.</p>
<p>Many people other than Dave are finding release this week.  <span id="more-2852"></span><A HREF="http://blogs.sun.com/datacharmer/">Giuseppe Maxia</A> explains some details of <A HREF=http://blogs.sun.com/datacharmer/entry/mysql_has_a_new_release>MySQL&#8217;s New Release Model</A>.  <A HREF=http://www.clusterdb.com/mysql-cluster/>Andrew Morgan</A> announces a <A HREF=http://www.clusterdb.com/mysql-cluster/new-mysql-cluster-maintenance-release-706/>New MySQL Cluster Maintenance Release</A>.  Aleksandr Kuzminsky of the <A HREF=http://www.mysqlperformanceblog.com/>MySQL Performance Blog</A> releases <A HREF=http://www.mysqlperformanceblog.com/2009/06/11/5077-5082-build16-percona-binaries/>build16 of the Percona MySQL binaries (versions 5.0.77 and 5.0.82)</A>, which adds some 5.4 features and fixes some bugs.  </p>
<p><A HREF=http://mysqlpreacher.com/wordpress/>Darran Cassar, the MySQL Preacher,</A> has created a package for <A HREF=http://mysqlpreacher.com/wordpress/2009/06/security-roles-and-password-expiry-on-mysql-using-securich/</A>Security Roles and Password Expiry on MySQL</A>.  And for a future MySQL release, look for <A HREF=http://blogs.sun.com/LinuxJedi/entry/two_new_status_variable_patches>Two New Status Variable Patches</a>, for query invalidation count and a last received datetime for replication heartbeat.  These patches were contributed by MySQL Support Team member <A HREF=http://blogs.sun.com/LinuxJedi/>Andrew Hutchins</a>.  </p>
<p><A HREF=http://davebeulke.com>Dave Beulke</A> points out a new feature in DB2 9.7 &#8212; <A HREF=http://davebeulke.com/?p=401>DB2 Compatible with Oracle</a>.</p>
<p>To prepare for a future SQL Server release where CREATE DEFAULT, sp_bindefault and sp_unbindefault will be deprecated, <A HREF=http://sqlblogcasts.com/blogs/martinbell/>Martin Bell</a> advocates <A HREF=http://sqlblogcasts.com/blogs/martinbell/archive/2009/06/11/Changing-bound-defaults-to-default-constraints.aspx>Changing Bound Defaults to Default Constraints</A>.  If you are going to upgrade SQL Server, definitely look at the notes from <A HREF=http://sqlserver-qa.net/>SQL Master of SQL Server QA</A>&#8217;s presentation on <A HREF=http://sqlserver-qa.net/blogs/tools/archive/2009/06/09/sql-server-upgrade-issues-how-to-evaluate-potential-issues.aspx>SQL Server Upgrade Issues and How To Evaluate Potential Issues</A>.</p>
<p><A HREF=http://www.flamingspork.com/>Stewart Smith</A> lets is know that <A HREF=http://www.flamingspork.com/blog/2009/06/09/drizzle-tarballs-for-next-milestone-aloha/>Drizzle Tarballs for the Next Milestone - Aloha</A> are being released weekly.  Meanwhile, <A HREF="http://jpipes.com">Jay Pipes</a> and the rest of the Drizzle team find, fix and explain the cause of a performance regression in <A HREF=http://jpipes.com/index.php?/archives/296-Drizzle-Performance-Regression-Solved-TCMalloc-vs.-No-TCMalloc.html>Drizzle Performance Regression Solved - TCMalloc vs. No TCMalloc</A>.</p>
<p><A HREF=http://www.lenzg.net/>Lenz Grimmer</A> has started organizing OpenSQLCamp 2009, Aug 22-23 in Germany; he posts details and links in <A HREF=http://www.lenzg.net/archives/258-Speaking-at-FrOSCon-and-organizing-the-OpenSQLCamp-2009,-European-Edition.html>Speaking at FrOSCon and Organizing the OpenSQLCamp 2009, European Edition</A>.  If you want to speak, Lenz also lets you know that <A HREF="http://www.lenzg.net/archives/260-The-Call-for-Papers-for-the-OpenSQLCamp-2009-is-now-open!.html>the Call for Papers for the OpenSQLCAmp 2009 is Now Open!</A>  In other conference news, <A HREF="http://ronaldbradford.com/blog/">Ronald Bradford</A> gives out a discount code and reminds us that we can still attend <A HREF=http://ronaldbradford.com/blog/oscon-2009-at-a-discounted-rate-2009-06-05/>OSCon 2009 at a Discounted Rate</A> (until June 23rd).  OSCon 2009 will be held July 20-24 in San Jose, California.  And in Iowa, <A HREF=http://sqlfool.com/>Michelle Ufford</A> sends out the <A HREF=http://sqlfool.com/2009/06/east-iowa-sql-saturday-call-for-speakers/>East Iowa SQL Saturday Call for Speakers</A> to be held on Saturday, October 10, 2009.</p>
<p>Getting back to basics, <A HREF=http://richardfoote.wordpress.com>Richard Foote</A> explains Oracle&#8217;s cost-based optimizer in <A HREF=http://richardfoote.wordpress.com/2009/06/09/the-cbo-and-indexes-an-introduction-absolute-beginners/>CBO and Indexes, an Introduction for Absolute Beginners</A>.  Speaking of optimizations, <A HREF=http://blog.valcora.com/index.php?/authors/1-Valcora>Valcora</a> has <A HREF=http://blog.valcora.com/index.php?/archives/17-Another-Way-To-Do-Performance-Tuning.html>Another Way To Do Performance Tuning</A> &#8212; make sure you actually need the queries that are running against your system!  </p>
<p><A HREF=http://blog.tanelpoder.com/2009/06/09/using-perfsheet-and-tpt-scripts-for-solving-real-life-performance-problems/>Tanel Poder</A> points to a blog post on <A HREF=http://blog.tanelpoder.com/2009/06/09/using-perfsheet-and-tpt-scripts-for-solving-real-life-performance-problems/>Using Perfsheet and TPT Scripts for Solving Real Life Performance Problems</A> in an Oracle RAC environment.  And <A HREF=http://jonathanlewis.wordpress.com/>Jonathan Lewis</A> provides a script you can run if you are concerned about the potantial of Oracle <A HREF=http://jonathanlewis.wordpress.com/2009/06/07/pga-leaks/>PGA leaks</a>.  Over at <A HREF=http://oraclue.com>Oraclue, Miladin Modrakovic</A> shows how to discover memory &#8220;leaks and other problems with allocations of memory&#8221; in <A HREF=http://oraclue.com/2009/06/10/memory-annotations-and-oradebug/>Memory Annotations and Oradebug</a>.</p>
<p>If you are migrating a database from Oracle to MySQL, you may be interested in <A HREF=http://mysql-dba-journey.blogspot.com/>George Trujillo</a>&#8217;s process of <A HREF=http://mysql-dba-journey.blogspot.com/2009/06/converting-oracle-schema-to-mysql.html>Converting an Oracle Schema to MySQL</A>.</p>
<p><A HREF=http://www.sqlskills.com/BLOGS/KIMBERLY/>Kimberly L. Tripp</A> reveals a lot of information about how SQL Server optimizes queries and common myths when she reveals <A HREF=http://www.sqlskills.com/BLOGS/KIMBERLY/post/The-Tipping-Point-Query-Answers.aspx>The Tipping Point Query Answers</a>.  <A HREF=http://people.planetpostgresql.org/dfetter/>David Fetter</a> shares <A HREF=http://people.planetpostgresql.org/dfetter/index.php?/archives/21-Materialized-Views-Performance-Tips.html#extended>Materialized Views Performance Tips</a> in Postgres, and <A HREF=http://www.postgresonline.com/journal/>Leo Hsu and Regina Obe</a> talk about <A HREF=http://www.postgresonline.com/journal/index.php?/archives/120-Planner-Statistics.html#extended</a>Planner Statistics</A> in the Postgres optimizer.</p>
<p>In the land of DB2, <A HREF=http://blog.4loeser.net/>Henrik Loeser</a> shares a <A HREF=http://blog.4loeser.net/2009/06/purexml-performance-tip-sequence-of.html>PureXML Performance Tip: A Sequence of Good Indexes</A>.</p>
<p><A HREF=http://coskan.wordpress.com/>Coskan</A> explains<br />
<A HREF=http://coskan.wordpress.com/2009/06/11/how-to-use-sysman-schema-without-em/>How to Use Sysman Schema Without Oracle Enterprise Manager</A>.  <A HREF="http://jhdba.wordpress.com">John Hallas</A> notes that using Oracle&#8217;s EM to migrate a database to ASM is easy, but seems slow, in <A HREF="http://jhdba.wordpress.com/2009/06/10/asm-metadata-and-migrating-a-database-to-asm/">ASM Metadata and Migrating a Database to ASM</A>.  He then goes on to share a coworker&#8217;s <A HREF=http://jhdba.wordpress.com/2009/06/11/script-to-backup-asm-metadata/>Script to Backup ASM Metadata</a>.  <A HREF=http://jarneil.wordpress.com>J. Arneil</a> shows how to go about <A HREF=http://jarneil.wordpress.com/2009/06/08/fixing-up-asm-disk-header-corruption/>Fixing up ASM Disk Header Corruption</A>, should you find yourself in a rough spot.</p>
<p><A HREF=http://thehobt.blogspot.com/>Aaron Alton</a> has a great article telling us that in <A HREF=http://thehobt.blogspot.com/2009/06/defensive-programming-assumptions-must.html>Defensive Programming, Assumptions Must be Guaranteed or Tested</a>, and another one on handling tags efficiently in <A HREF=http://thehobt.blogspot.com/2009/06/full-text-search-vs-denormalized-tables.html>Full Text Search vs. Denormalized Tables</A>  <A HREF=http://rusanu.com/>Remus Rusanu</A> provides a Transact-SQL stored procedure template for <A HREF=http://rusanu.com/2009/06/11/exception-handling-and-nested-transactions/>Exception Handling and Nested Transactions</A>.</p>
<p>I&#8217;ll end with a link to another survey on <A HREF=http://www.sqlskills.com/BLOGS/PAUL/post/Weekly-Survey-whats-the-hardest-part-of-becomng-an-involuntary-DBA.aspx>What&#8217;s the hardest part of becoming an involuntary DBA?</A>  It&#8217;s one simple question, so go fill it out!  You have the time, especially since <A HREF=http://www.neonesoft.com/blog/blogs/cmullins/>Craig Mullins</a> points out that on average, we got a 4.6% salary increase in 2008 in <A HREF=http://www.neonesoft.com/blog/blogs/cmullins/archive/2009/06/11/Salaries-for-Data-Professionals-Inching-Upward.aspx>Salaries for Data Professionals Inching Upward</A>.  To learn more and become even better in your field, get a 15-day <A HREF=https://www.ibm.com/developerworks/mydeveloperworks/blogs/SusanVisser/entry/free_trial_to_safari_books_online>free trial to Safari Books Online</a> from O&#8217;Reilly, with a 15% discount if you continue past the free trial, courtesy of <A HREF=https://www.ibm.com/developerworks/mydeveloperworks/blogs/SusanVisser/>Susan Visser</A>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/news/2852/log-buffer-150/feed</wfw:commentRss>
		</item>
		<item>
		<title>Log Buffer #149: a Carnival of the Vanities for DBAs</title>
		<link>http://www.pythian.com/news/2761/log-buffer-149-a-carnival-of-the-vanities-for-dbas</link>
		<comments>http://www.pythian.com/news/2761/log-buffer-149-a-carnival-of-the-vanities-for-dbas#comments</comments>
		<pubDate>Fri, 05 Jun 2009 16:49:15 +0000</pubDate>
		<dc:creator>David Edwards</dc:creator>
		
		<category><![CDATA[Log Buffer]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[Non-Tech Articles]]></category>

		<category><![CDATA[Not on Homepage]]></category>

		<category><![CDATA[Oracle]]></category>

		<category><![CDATA[PostgreSQL]]></category>

		<category><![CDATA[Pythian]]></category>

		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.pythian.com/news/?p=2761</guid>
		<description><![CDATA[This is the 149th edition of Log Buffer, the weekly review of database blogs.
MySQL
Let&#8217;s begin with the big-picture stuff.  Jeremy Zawodny laid out his view of the state of MySQL in Linux Magazine&#8217;s blog, noting the rough transition between versions 5.0 and 5.1, the status of storage engines, and outside contributions.
Like Baron Schwartz&#8217;s Maatkit, [...]]]></description>
			<content:encoded><![CDATA[<p>This is the 149<sup>th</sup> edition of <a href="http://www.pythian.com/news/about-log-buffer"><em>Log Buffer</em></a>, the weekly review of database blogs.</p>
<h3>MySQL</h3>
<p>Let&#8217;s begin with the big-picture stuff.  <strong>Jeremy Zawodny</strong> laid out his view of <a href="http://www.linux-mag.com/id/7342">the state of MySQL</a> in <a href="http://www.linux-mag.com">Linux Magazine&#8217;s</a> blog, noting the rough transition between versions 5.0 and 5.1, the status of storage engines, and outside contributions.</p>
<p>Like <a href="http://www.xaprb.com/blog/"><strong>Baron Schwartz&#8217;s</strong></a> Maatkit, for example.   Baron announced this week that he is  <a href="http://www.xaprb.com/blog/2009/06/04/writing-a-book-about-maatkit/">writing a book about Maatkit</a>, and also <a href="http://www.xaprb.com/blog/2009/05/29/seeking-input-for-a-new-tool-to-verify-mysql-upgrades/">seeking input for a new tool to verify MySQL upgrades</a>.</p>
<p><strong>Percona</strong> is surely one of the foremost outside contributors in the MYSQL world.  This week on their <a href="http://www.mysqlperformanceblog.com">MySQL Performance Blog</a>, <strong>Peter Zaitsev</strong> and his readers discuss some ad hoc ways to copy a database, in his item on <a href="http://www.mysqlperformanceblog.com/2009/05/31/using-netcat-to-copy-mysql-database/">using netcat to copy MySQL Database</a>.</p>
<p><strong>Darren Cassar</strong>, <a href="http://mysqlpreacher.com/wordpress">MySQL Preacher</a>, delved into the particulars of <a href="http://mysqlpreacher.com/wordpress/2009/05/replicating-from-mysql-to/">replicating from MySQL to *</a>. <span id="more-2761"></span>  &#8220;Unsurprisingly there are quite a few different tools to do it from any platform towards MySQL but very few which do it the other way round&nbsp;.&nbsp;.&nbsp;.&nbsp; I decided to have a look at doing the job myself. Although it might look an overkill to do so, it took me a few hours to find a solution and implement it and a couple more to test it and here is a simple description.&#8221;</p>
<p>As for engines, <a href="http://mysqlha.blogspot.com"><strong>Mark Callaghan</strong></a> contributed a fine blog on <a href="http://mysqlha.blogspot.com/2009/06/performance-impact-of-prefetching-in.html">the performance impact of prefetching in InnoDB</a>.  Mark writes, &#8220;There isn&#8217;t much data to indicate when this feature should be enabled.  I have published data for a few IO-bound benchmarks. On these tests, the prefetching done by InnoDB reduces performance.&#8221;</p>
<p>A extensive discussion of security&#8212;vis-a-vis MySQL&#8212;took place this week.  <a href="http://ronaldbradford.com/blog"><strong>Ronald Bradford</strong></a> got it started with his item on <a href="http://ronaldbradford.com/blog/basic-os-mysql-security-2009-05-28">basic OS/MySQL security</a>.  Followed by <a href="http://ronaldbradford.com/blog/more-basic-mysql-security-2009-05-29">more basic MySQL security</a>: &#8220;Never store the MySQL ‘root’ user password in a ~root/.my.cnf file.&#8221;  That does seem pretty basic, doesn&#8217;t it.  And yet it needs restating.</p>
<p><a href="http://www.lenzg.net"><strong>Lenz Grimmer</strong></a> responded with his thoughts on <a href="http://www.lenzg.net/archives/256-Basic-MySQL-Security-Providing-passwords-on-the-command-line.html">providing passwords on the command line</a>.  And with <a href="http://www.lenzg.net/archives/257-More-on-MySQL-password-security.html">more on MySQL password security</a>.</p>
<p>Ronald also got a lot of entries to his (now closed) contest <a href="http://ronaldbradford.com/blog/for-mysql-dba-fame-and-glory-prize-included-2009-05-29">for MySQL DBA fame and glory</a>. The matter: what five settings would you add to redeem a very minimal my.cnf.  (Here&#8217;s <a href="http://ronaldbradford.com/blog/mysql-book-winner-for-5-configuration-options-2009-06-04/">Ronald&#8217;s post with the winner.</a>)</p>
<h3>SQL Server</h3>
<p>Sticking, for a moment, with the contest theme, <a href="http://sqlblog.com/blogs/adam_machanic"><strong>Adam Machanic</strong></a> announced and explained <a href="http://sqlblog.com/blogs/adam_machanic/archive/2009/05/31/grouped-string-concatenation-the-winner-is.aspx">the winning entries to his grouped string concatenation challenge</a> from February.</p>
<p>On <a href="http://blogs.conchango.com/jamesrowlandjones">Claypole&#8217;s World</a>, <strong>James Roland Jones</strong> presents <a href="http://blogs.conchango.com/jamesrowlandjones/archive/2009/05/28/the-curious-case-of-the-dubious-deadlock-and-the-not-so-logical-lock.aspx">The Curious Case of the Dubious Deadlock and the Not So Logical Lock</a>.  The scene is set thus: &#8220;My latest engagement has involved working with one of the largest Teradata installations in the world&nbsp;.&nbsp;.&nbsp;.&nbsp;  To give you an idea of the scale; this system has over 40 Billion rows in just one of the fact tables…  40. Billion.  That&#8217;s a lot of rows.   During this engagement we encountered a rather bizarre issue that doesn&#8217;t seem to be well understood so I thought I&#8217;d blog about it. Get ready for a mind job&#8230;&#8221;</p>
<p>The <a href="http://rusanu.com">rusano.com blog</a> gave their response with <a href="http://rusanu.com/2009/05/29/lockres-collision-probability-magic-marker-16777215/">%%lockres%% collision probability magic marker: 16,777,215</a>.</p>
<p>On the <a href="http://blogs.lessthandot.com">Less Than Dot blog</a>, <strong>SQLDenis</strong> asserts: <a href="http://blogs.lessthandot.com/index.php/DataMgmt/DataDesign/your-testbed-has-to-have-the-same-volume">your testbed has to have the same volume of data as on production in order to simulate normal usage</a>, and shows exactly why.</p>
<p><a href="http://www.sqlskills.com/BLOGS/PAUL"><strong>Paul S. Randal</strong></a> was clearing up <a href="http://www.sqlskills.com/BLOGS/PAUL/post/Misconceptions-around-the-log-and-log-backups-how-to-convince-yourself.aspx">misconceptions around the log and log backups</a>, which he begins so: &#8220;There&#8217;s still a widely held misconception that when properly in the FULL or BULK_LOGGED recovery models that full or differential backups can truncate the log. No. It *NEVER* happens. This is one of the reasons why I&#8217;m doing a whole spotlight session on this at PASS this year - the transaction log and its behavior is IMHO one of the most misunderstood parts of SQL Server.&#8221;</p>
<p><strong>Lubor Kollar</strong> of the <a href="http://blogs.msdn.com/sqlcat">SQL Server Development Customer Advisory Team</a> compared several methods of <a href="http://blogs.msdn.com/sqlcat/archive/2009/05/21/fast-ordered-delete.aspx">fast ordered delete</a>, one of  MySpace’s Senior Database Developer <strong>Kevin Stephenson&#8217;s</strong> &#8220;pain points&#8221;.</p>
<h3>PostgreSQL</h3>
<p>Let&#8217;s create  a little friction and jump straight to Postgres-vs.MySQL.  <a href="http://www.xzilla.net/blog"><strong>Robert Treat</strong></a> shares <a href="http://www.xzilla.net/blog/2009/Jun/The-First-Rule-of-Postgres-Club.html">the first rule of Postgres Club</a>.  No, I&#8217;m not going to give it away&#8212;you&#8217;ll just have to read Robert&#8217;s post.  Suffice it to say, though, that is has to do with Postgres advocacy and knowing when not to do it.</p>
<p>Robert also shares <a href="http://www.xzilla.net/blog/2009/Jun/Guide-to-Postgres-8.4-video-now-available.html">video of his PGCon &#8216;09 presentation, Guide to Postgres 8.4</a>.</p>
<p><a href="http://blog.hagander.net"><strong>Magnus Hagander</strong></a> describes his way of <a href="http://blog.hagander.net/archives/147-Getting-a-range-of-entries-centered-around-a-point.html">getting a range of entries centered around a point</a>. </p>
<h3>Oracle</h3>
<p><a href="http://dbasrus.blogspot.com"><strong>Nuno Souto</strong></a> says that <a href="http://dbasrus.blogspot.com/2009/06/size-sometimes-does-matter.html">size sometimes does matter</a>.  I&#8217;m way above getting attention from that sort of double-entendre,  but what he&#8217;s talking about, in fact, is optimal memory limits for Oracle under AIX, at which he takes a long, hard look.</p>
<p><a href="http://dioncho.wordpress.com"><strong>Dion Cho</strong></a> writes, &#8220;<a href="http://dioncho.wordpress.com/2009/06/01/similar-cursor-sharing-and-adative-cursor-sharing">Similar cursor sharing and multiple child cursors</a> are very common problems&nbsp;.&nbsp;.&nbsp;.&nbsp; What makes people confused about simiar cursor sharing is this. What the hell does &#8216;SIMILAR&#8217; mean exactly?&#8221;</p>
<p><a href="http://blog.tanelpoder.com"><strong>Tanel Poder</strong></a>, for his part, was diving into the shared pool and coming up with answers,  his post, <a href="http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql">ORA-04031 errors and monitoring shared pool subpool memory utilization with sgastatx.sql</a></p>
<p>Here on the Pythian blog, <a href="http://www.pythian.com/news/author/alex/"><strong>Alex Gorbachev</strong></a> showed <a href="http://www.pythian.com/news/2733/how-to-dynamically-call-plsql-procedure-in-oracle">how to dynamically call a PL/SQL procedure</a>.</p>
<p>On <a href="http://technology.amis.nl/blog">the AMIS Blog</a>,  <strong>Gerwin Hendriksen</strong> discussed <a href="http://technology.amis.nl/blog/5552/enhancing-fast-queries-using-tapio-indexes">enhancing fast queries using &#8220;tapio-indexes&#8221;</a>, a.k.a &#8220;fat indexes&#8221;.</p>
<p>And you know what?  I&#8217;ve got more blogs, but no more time.  Let&#8217;s hear your favourite blogs in the comments! See you for LB#150!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/news/2761/log-buffer-149-a-carnival-of-the-vanities-for-dbas/feed</wfw:commentRss>
		</item>
		<item>
		<title>Log Buffer #148: a Carnival of the Vanities for DBAs</title>
		<link>http://www.pythian.com/news/2638/log-buffer-148-a-carnival-of-the-vanities-for-dbas</link>
		<comments>http://www.pythian.com/news/2638/log-buffer-148-a-carnival-of-the-vanities-for-dbas#comments</comments>
		<pubDate>Fri, 29 May 2009 16:46:24 +0000</pubDate>
		<dc:creator>David Edwards</dc:creator>
		
		<category><![CDATA[Log Buffer]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[Non-Tech Articles]]></category>

		<category><![CDATA[Oracle]]></category>

		<category><![CDATA[PostgreSQL]]></category>

		<category><![CDATA[SQL Server]]></category>

		<category><![CDATA[DB2]]></category>

		<guid isPermaLink="false">http://www.pythian.com/news/?p=2638</guid>
		<description><![CDATA[This is the 148th edition of Log Buffer, the weekly review of database blogs.  Welcome.
PostgreSQL
Since PGCon &#8216;09 has concluded not long ago (and not far away), let&#8217;s start with Postgres stuff, much of which has to do with the convention.
Here are Robert Treat&#8217;s reflections on PGCon 2009, on his zillablog: &#8220;&#160;.&#160;.&#160;.&#160;PGCon always presents the [...]]]></description>
			<content:encoded><![CDATA[<p>This is the 148<sup>th</sup> edition of <a href="http://www.pythian.com/news/about-log-buffer"><em>Log Buffer</em></a>, the weekly review of database blogs.  Welcome.</p>
<h3>PostgreSQL</h3>
<p>Since <strong>PGCon &#8216;09</strong> has concluded not long ago (and not far away), let&#8217;s start with Postgres stuff, much of which has to do with the convention.</p>
<p>Here are <strong>Robert Treat&#8217;s</strong> <a href="http://www.xzilla.net/blog/2009/May/Reflections-on-PGCon-2009.html">reflections on PGCon 2009</a>, on his <a href="http://www.xzilla.net/blog">zillablog</a>: &#8220;&nbsp;.&nbsp;.&nbsp;.&nbsp;PGCon always presents the strongest line up of Postgres information available, and this year was certainly no exception.&#8221;</p>
<p><a href="http://it.toolbox.com/blogs/database-soup"><strong>Josh Berkus</strong></a> was there, of course, and he sends two detailed reports: <a href="http://it.toolbox.com/blogs/database-soup/pgcon-2009-part-1-31837">pgCon 2009 part 1</a>, and <a href="http://it.toolbox.com/blogs/database-soup/pgcon-2009-part-2-31838">part 2</a>.</p>
<p><a href="http://blog.tapoueh.org">tail -f /dev/dim</a> has <a href="http://blog.tapoueh.org/blog.dim.html#%20PgCon%202009">a review of PGCon 09</a>: &#8220;&nbsp;.&nbsp;.&nbsp;.&nbsp;I found the experience to be a great one&nbsp;.&nbsp;.&nbsp;.&nbsp;&#8221;</p>
<p><span id="more-2638"></span></p>
<p><a href="http://blog.hagander.net"><strong>Magnus Hagander</strong></a> has shared his <a href="http://blog.hagander.net/archives/146-pgcon-photos.html">pgcon photos</a>.</p>
<p><a href="http://blogs.sun.com/jkshah"><strong>Jignesh Shah</strong></a> reports on the upshot of some interaction at his PGCon presentation, &#8220;&nbsp;.&nbsp;.&nbsp;.&nbsp;it is highly recommended specially on multi-core systems to <a href="http://blogs.sun.com/jkshah/entry/postgres_on_opensolaris_using_quad">use FX scheduler class for Postgres on OpenSolaris.</a>&#8221;</p>
<p>Back to Josh and his readers now for a worthwhile discussion of  <a href="http://it.toolbox.com/blogs/database-soup/postgresql-development-priorities-31886">PostgreSQL development priorities</a>.  Josh&#8217;s #1: &#8220;Simple built-in replication.&#8221;</p>
<h3>SQL Server</h3>
<p><a href="http://blog.sqlauthority.com"><strong>Pinal Dave</strong></a> has assembled a <a href="http://blog.sqlauthority.com/2009/05/20/sql-server-download-pdf-sql-server-cheat-sheet">SQL Server Cheat Sheet</a> and  kindly shares it with all of us.</p>
<p><a href="http://sqlblog.com/blogs/linchi_shea"><strong>Linchi Shea</strong></a> has an update to his T-SQL exercise, to produce <a href="http://sqlblog.com/blogs/linchi_shea/archive/2009/05/26/t-sql-exercise-simplest-data-loading-script-to-produce-worst-query-performance-may-25th-update.aspx">the simplest data-loading script to produce worst query performance</a>. &#8220;The original intent,&#8221; writes Linchi, &#8220;was to highlight some pitfalls in data loading that may lead to bad query performance. But then I thought why take all the fun away by having too many constraints, and why not just let it loose and see how bad it can get if one is to do it intentionally.&#8221;</p>
<p><strong>Aaron Alton</strong>, <a href="http://thehobt.blogspot.com">the HOBT</a>, was likewise thinking on ways the SQL DBA goes awry.  His conclusion: <a href="http://thehobt.blogspot.com/2009/05/easy-on-updates-there-sparky.html">easy on the updates there, sparky</a>.  &#8220;To the unsuspecting database developer, it may seem that some operations in SQL Server are more or less &#8216;free&#8217;. Let’s clear the air on that one – nothing is free, ever. Or if it is, it usually has a 30 day limit. It’s easy to forget this, because when you’re working with something like SQL Server, it’s hard to imagine that a sub-second response time can hide anything of significant concern.&#8221;</p>
<p>Sometimes you don&#8217;t need to make things bad intentionally.  For example, <a href="http://sqlblogcasts.com/blogs/simons/archive/2009/05/26/When-a-decimal-isn-t-a-decimal---beware.aspx">when a decimal isn&#8217;t a decimal</a>.  <a href="http://sqlblogcasts.com/blogs/simons"><strong>Simon Sabin</strong></a> writes, &#8220;To say the type system in SQL is lax is an not quite correct, its actually lax, inconsistent and very annoying.&#8221;</p>
<p><a href="http://blogs.lessthandot.com/index.php/DataMgmt">The Data Management blog</a> says, <a href="http://blogs.lessthandot.com/index.php/DataMgmt/DBAdmin/title-8">&#8220;compression tools are a must for any DBA&#8221;</a>, asserting that, &#8220;At a high level, compression software in itself can give you a vast amount of options that you simply may not be able to grasp without.&#8221;</p>
<p>PowerShell could be another useful tool.  So believes <a href="http://scarydba.wordpress.com">the Scary DBA</a>, who offers a link to an article that shows <a href="http://scarydba.wordpress.com/2009/05/27/how-can-powershell-help-you-as-a-dba/">how PowerShell can help you as a DBA</a>.</p>
<h3>Oracle</h3>
<p><a href="http://optimizermagic.blogspot.com/2009/05/why-do-i-have-hundreds-of-child-cursors.html">Why do I have hundreds of child cursors when cursor_sharing set to similar in 10g?</a> A question answered on <a href="http://optimizermagic.blogspot.com">Inside the Oracle Optimizer</a>.</p>
<p><a href="http://blog.tanelpoder.com">Tanel Poder</a> has on offer some <a href="http://blog.tanelpoder.com/2009/05/26/scripts-for-showing-execution-plans-via-plain-sql-and-also-in-oracle-9i/">scripts for showing execution plans via plain SQL and also in Oracle 9i</a>.</p>
<p><a href="http://oracle-randolf.blogspot.com/2009/05/understanding-different-modes-of-system_24.html">CPU Costing and the effects of multiple blocksizes - part 4</a> arrives at <strong>Randolf Geist&#8217;s</strong> <a href="http://oracle-randolf.blogspot.com">Oracle related stuff</a>.</p>
<p>On the <a href="http://jonathanlewis.wordpress.com">Oracle Scratchpad</a>, <strong>Jonathan Lewis</strong> describes <a href="http://jonathanlewis.wordpress.com/2009/05/26/cpu-used/">&#8220;CPU used,&#8221;</a> which demonstrates how, &#8220;&#8216;CPU Time&#8217; in the &#8216;Top N Timed Events&#8217; &nbsp;.&nbsp;.&nbsp;.&nbsp; [looks] very different from the &#8216;BUSY_TIME&#8217; that appears in the &#8216;OS Statistics&#8217; part of the [Statspack] report.&#8221;</p>
<h3>MySQL</h3>
<p>On <a href="http://mysqlha.blogspot.com">High Availability MySQL</a>, <strong>Mark Callaghan</strong> has <a href="http://mysqlha.blogspot.com/2009/05/good-reason-to-use-inodbfilepertable.html">a good reason to use inodb_file_per_table &#8212; per-table IO statistics</a>.</p>
<p>As does <a href="http://code.openark.org/blog"><strong>Shlomi Noach</strong></a>, with his <a href="http://code.openark.org/blog/mysql/reasons-to-use-innodb_file_per_table">reasons to use innodb_file_per_table</a>.</p>
<p><a href="http://dammit.lt"><strong>Domas Mituzas</strong></a> is having none of it.  <a href="http://dammit.lt/2009/05/21/innodb-tablespace">Stop messing with the tablespace</a>, he writes. But his readers might still think otherwise.</p>
<p><a href="http://dimitrik.free.fr/blog"><strong>Dimitri K.</strong></a> looks into <a href="http://dimitrik.free.fr/blog/archives/05-01-2009_05-31-2009.html#52">InnoDB Dirty Pages &#038; Log Size Impact</a>. He begins, &#8220;&nbsp;.&nbsp;.&nbsp;.&nbsp;seeking for the most optimal MySQL config parameters I&#8217;ve discovered a strange thing: my dirty pages percentage setting 15 was completely ignored by InnoDB during my tests; [and] once the test workload was finished it still took 30 minutes yet to flush dirty pages!&#8221;</p>
<p>On the <a href="http://www.mysqlperformanceblog.com">MySQL Performance Blog</a>, <strong>Peter Zaitsev</strong> demonstrates <a href="http://www.mysqlperformanceblog.com/2009/05/21/mass-killing-of-mysql-connections">the mass killing of MySQL Connections</a>. &#8220;There is &nbsp;.&nbsp;.&nbsp;.&nbsp; a way to do it just using MySQL with a few commands,&#8221; he writes.</p>
<p>That&#8217;s all for now.  I&#8217;d love to hear from you, so please share your favourite DB blogs from the week gone by in the comments.  </p>
<p>Till next time!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/news/2638/log-buffer-148-a-carnival-of-the-vanities-for-dbas/feed</wfw:commentRss>
		</item>
		<item>
		<title>Log Buffer #147: a Carnival of the Vanities for DBAs</title>
		<link>http://www.pythian.com/news/2547/log-buffer-147-a-carnival-of-the-vanities-for-dbas</link>
		<comments>http://www.pythian.com/news/2547/log-buffer-147-a-carnival-of-the-vanities-for-dbas#comments</comments>
		<pubDate>Fri, 22 May 2009 16:43:42 +0000</pubDate>
		<dc:creator>David Edwards</dc:creator>
		
		<category><![CDATA[Log Buffer]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[Non-Tech Articles]]></category>

		<category><![CDATA[Oracle]]></category>

		<category><![CDATA[PostgreSQL]]></category>

		<category><![CDATA[SQL Server]]></category>

		<category><![CDATA[DB2]]></category>

		<category><![CDATA[Informix]]></category>

		<guid isPermaLink="false">http://www.pythian.com/news/?p=2547</guid>
		<description><![CDATA[Welcome to the 147th edition of Log Buffer, the weekly review of database blogs.
Let&#8217;s start this week, with blogs from the SQL Server world, where a number of excellent technical posts appear.  Alexander Kuznetsov surprises his readers with this assertion: without ORDER BY, there is no default sort order. &#8220;Sounds trivial? Right, but different [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to the 147<sup>th</sup> edition of <a href="http://www.pythian.com/news/about-log-buffer"><em>Log Buffer</em></a>, the weekly review of database blogs.</p>
<p>Let&#8217;s start this week, with blogs from the <strong>SQL Server</strong> world, where a number of excellent technical posts appear.  <a href="http://sqlblog.com/blogs/alexander_kuznetsov"><strong>Alexander Kuznetsov</strong></a> surprises his readers with this assertion: <a href="http://sqlblog.com/blogs/alexander_kuznetsov/archive/2009/05/20/without-order-by-there-is-no-default-sort-order.aspx">without ORDER BY, there is no default sort order</a>. &#8220;Sounds trivial? Right, but different flavors of this myth still persist. &nbsp;.&nbsp;.&nbsp;.&nbsp; Because apparently many visitors agreed with this myth, I decided to post a repro script which demonstrates that this is simply not true.&#8221;</p>
<p>In their post on <a href="http://rusanu.com/2009/05/16/readwrite-deadlock/">Read/Write deadlock</a>, the <a href="http://rusanu.com/">rusano.com</a> blog likewise was answering a question, how does a simple SELECT deadlock with an UPDATE? &#8220;Surprisingly, they can deadlock even on well tuned systems that does not do spurious table scans. The answer is very simple: when the read and the write use two distinct access paths to reach the same key and they use them in reverse order.&#8221; Examples and fixes follow.</p>
<p><a href="http://sqlblog.com/blogs/linchi_shea"><strong>Linchi Shea</strong></a> looks for an answer to this mystery&#8212;<a href="http://sqlblog.com/blogs/linchi_shea/archive/2009/05/21/why-does-my-tempdb-log-keep-growing.aspx">why the  tempdb log keeps growing</a>. Linchi says, &#8220;Whether it’s a user database or tempdb, when its transaction log is filled up or forced to autogrow, large long-running transactions should not be the only potential culprit for you to track down.&#8221;</p>
<p>The <a href="http://blogs.msdn.com/sqlprogrammability">SQL Programmability &#038; API Development Team Blog</a> was also concerned by the matter of unexpected growth, in their case seeking to provide an answer to the question, <a href="http://blogs.msdn.com/sqlprogrammability/archive/2009/05/18/why-did-the-size-of-my-indexes-expand-when-i-rebuilt-my-indexes.aspx">Why did the size of my indexes expand when I rebuilt my indexes?</a></p>
<p>On a related matter, <strong>Paul S. Randal</strong> gave <a href="http://www.sqlskills.com/BLOGS/PAUL/post/An-example-of-a-nasty-cluster-key.aspx">an example of a nasty cluster key</a> on <a href="http://www.sqlskills.com/BLOGS/PAUL">In recovery&#8230;</a>  Paul&#8217;s readers offers examples from their own experience of disastrous primary keys and clustered indexes.</p>
<p><strong>Michelle Ufford</strong>, the <a href="http://sqlfool.com">SQL Fool</a>, covers <a href="http://sqlfool.com/2009/05/overhead-i-non-unique-clustered-indexes">overhead in non-unique clustered indexes</a>, giving a walk-through of scenarios in which the DBA will encounter this.</p>
<p>In the <strong>Oracle</strong> &#8217;sphere, <span id="more-2547"></span><a href="http://hemantoracledba.blogspot.com"><strong>Hemant K Chitale</strong></a> examines <a href="http://hemantoracledba.blogspot.com/2009/05/index-block-splits-90-10.html">90-10 Index Block Splits</a> and their possible causes.</p>
<p><strong>Jonathan Lewis</strong> has the perfect thing to follow your <em>Log Buffer</em> read&#8212;<a href="http://jonathanlewis.wordpress.com/2009/05/20/lunchtime-quiz/">a lunchtime quiz</a>  on the <a href="http://jonathanlewis.wordpress.com">Oracle Scratchpad</a>.  There are lots of answers already posted, so no peaking below the fold.</p>
<p>Pythian&#8217;s  <a href="http://www.pythian.com/news/author/araujo/"><strong>André Araujo</strong></a> responds to a different test with his very elegant <a href="http://www.pythian.com/news/2385/nocoug-sql-challenge-entry">NoCoug SQL Challenge Entry</a>.</p>
<p><a href="http://girlgeek-oracle.blogspot.com">Girlgeek</a> <strong>Claudia Zeiler</strong> made problems for herself:  &#8220;Playing around with my toy database I asked myself, <a href="http://girlgeek-oracle.blogspot.com/2009/05/making-problems-for-myself.html">&#8216;What happens if DUAL has more than 1 row?&#8217;</a> I found out.&#8221; <strong>Marco Gralike</strong> offers some relevant links in his comment.  Read and learn.</p>
<p><a href="http://kerryosborne.oracle-guy.com/2009/05/ill-gladly-pay-you-tuesday-for-a-hamburger-today/">&#8220;I’ll Gladly Pay You Tuesday for a Hamburger Today,&#8221;</a> quotes <a href="http://kerryosborne.oracle-guy.com"><strong>Kerry Osborne</strong></a>, who was in a Wimpy frame of mind at the time. The analogy to J. Wellington Wimpy&#8217;s burger-mooching , Kerry writes, applies to, &#8220;&nbsp;.&nbsp;.&nbsp;.&nbsp;paying the price for our bad/missing statistics.&#8221;</p>
<p>Here&#8217;s <a href="http://laurentschneider.com/wordpress"><strong>Laurent Schneider</strong></a> with a tip on <a href="http://laurentschneider.com/wordpress/2009/05/how-to-reuse-connection-in-shell.html">how to reuse a connection in the shell</a>. </p>
<p><strong>MySQL</strong> bloggers are still very taken up with the future of their beloved DBMS in the wake of its acquisition by Oracle Corporation.  </p>
<p><strong>Curt Monash</strong> of <a href="http://www.dbms2.com">DBMS2</a> observed, <a href="http://www.dbms2.com/2009/05/15/mysql-fork-open-database-alliance-gpl/">&#8220;MySQL forking heats up, but not yet to the benefit of non-GPLed storage engine vendors&#8221;</a>.</p>
<p><strong>Paul McCullagh</strong> of <a href="http://pbxt.blogspot.com">PrimeBase XT</a> writes, <a href="http://pbxt.blogspot.com/2009/05/at-last-we-have-mysql-foundation-its.html">At last we have a MySQL Foundation, its called The Open Database Alliance</a>.  &#8220;What is really most important,&#8221; Paul writes, &#8220;is that we in the community now have an entity that is going to tie our side of things together&nbsp;.&nbsp;.&nbsp;.&nbsp; For the community it is critical that things do not split up any further and that instead our efforts are bundled. I believe the Alliance can do this for us.&#8221;</p>
<p>Or is it already too late?  <strong>Neil McAllister</strong> of <a href="http://infoworld.com/d/developer-world">Developer World</a> wonders if <a href="http://infoworld.com/d/developer-world/mysql-forked-beyond-repair-262">MySQL  is forked beyond repair</a>.</p>
<p>Not everyone had their eyes on the DBMS chess game.  <strong>Vadim</strong> of the  <a href="http://www.mysqlperformanceblog.com">MySQL Performance Blog</a> examined <a href="http://www.mysqlperformanceblog.com/2009/05/17/what-time-18446744073709550000-means/">what time 18446744073709550.000 means</a>. The answer, Vadim and his readers show, comes from a very low-level indeed.</p>
<p><a href="http://johanandersson.blogspot.com">Johan Andersson&#8217;s Cluster and HA Blog</a> offers a thorough HOWTO on <a href="http://johanandersson.blogspot.com/2009/05/ha-mysql-write-scaling-using-cluster-to.html">write scaling using Cluster to non-cluster replication</a>. &#8220;There are various setups and solutions,&#8221; Johan begins, &#8220;to solve the problem of having redundant mysql masters and scaling writes on them. MySQL Cluster can be an alternative. Here is why and how.&#8221;</p>
<p>&#8220;When working with InnoDB,&#8221; writes <a href="http://code.openark.org/blog"><strong>Schlomi Noach</strong></a>, &#8220;you have two ways for managing the tablespace storage. &nbsp;.&nbsp;.&nbsp;.&nbsp; I will discuss the advantages and disadvantages of the two options, and will strive to convince that innodb_file_per_table is preferable.&#8221;  The item is, <a href="http://code.openark.org/blog/mysql/reasons-to-use-innodb_file_per_table">Reasons to use innodb_file_per_table</a>.</p>
<p><strong>PostgreSQL</strong>.  Just across the Rideau Canal from where I sit, PGCon 2009 is happening.  <a href="http://blog.hagander.net"><strong>Magnus Hagander</strong></a> gives his <a href="http://blog.hagander.net/archives/144-pgcon,-1st-talk-day.html">review of PGCon&#8217;s first day</a>.  </p>
<p><a href="http://people.planetpostgresql.org/andrew"><strong>Andrew Dunstan</strong></a> attended <strong> Robert Treat&#8217;s</strong> talk  on new features in 8.4, and concluded that <a href="http://people.planetpostgresql.org/andrew/index.php?/archives/18-Small-features-can-still-win-big.html">small features can still win big</a>.</p>
<p><strong>IBM</strong>&#8217;s EMEA Information on Demand 2009 Conference takes place in June in Berlin.  <a href="http://it.toolbox.com/blogs/infosphere"><strong>Vincent Burney</strong></a> notes that the <a href="http://it.toolbox.com/blogs/infosphere/the-ibm-iod-conferences-and-sessions-now-have-twitter-tags-and-speaker-blogs-31770">IBM IOD conferences and sessions now have Twitter tags and speaker blogs</a>,  and he provides useful links to these and other IOD resources.</p>
<p><strong>Leons Petrazickis</strong> of the <a href="http://db2expressc.blogspot.com">DB2 Express-C Team Blog</a> wonders, <a href="http://db2expressc.blogspot.com/2009/05/what-are-you-working-on-with-db2.html">&#8220;What are you working on with DB2?&#8221;</a> &#8220;I just created an informal round-robin forum thread to see what everyone is working on with DB2 Express-C. It&#8217;s an exercise in community participation, if you will.&#8221;</p>
<p>That&#8217;s all for this edition.  Let us hear about your favourite DB blogs from the week gone by&#8212;please leave a comment.</p>
<p>Till next time!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/news/2547/log-buffer-147-a-carnival-of-the-vanities-for-dbas/feed</wfw:commentRss>
		</item>
		<item>
		<title>Log Buffer #146: a Carnival of the Vanities for DBAs</title>
		<link>http://www.pythian.com/news/2479/log-buffer-146-a-carnival-of-the-vanities-for-dbas</link>
		<comments>http://www.pythian.com/news/2479/log-buffer-146-a-carnival-of-the-vanities-for-dbas#comments</comments>
		<pubDate>Fri, 15 May 2009 16:59:57 +0000</pubDate>
		<dc:creator>David Edwards</dc:creator>
		
		<category><![CDATA[Log Buffer]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[Non-Tech Articles]]></category>

		<category><![CDATA[Oracle]]></category>

		<category><![CDATA[PostgreSQL]]></category>

		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.pythian.com/news/?p=2479</guid>
		<description><![CDATA[Hello and welcome to the 146th edition of Log Buffer, the weekly review of database blogs.  I have to make this a quick one, but I hope (as always) that the links give you the highlights of this week&#8217;s blogs.
Oracle
Let&#8217;s start with Jonathan Lewis&#8217;s report from IOUG Day 4: &#8221; Not so much a [...]]]></description>
			<content:encoded><![CDATA[<p>Hello and welcome to the 146<sup>th</sup> edition of <a href="http://www.pythian.com/news/about-log-buffer"><em>Log Buffer</em></a>, the weekly review of database blogs.  I have to make this a quick one, but I hope (as always) that the links give you the highlights of this week&#8217;s blogs.</p>
<h3>Oracle</h3>
<p>Let&#8217;s start with <a href="http://jonathanlewis.wordpress.com"><strong>Jonathan Lewis&#8217;s</strong></a> report from <a href="http://jonathanlewis.wordpress.com/2009/05/08/ioug-day-4/">IOUG Day 4</a>: &#8221; Not so much a little gem today as a little surprise and a few consequential thoughts. In a presentation on optimising star transformations the presenter pointed out that bitmap indexes are only available in Oracle Enterprise Edition.&#8221;</p>
<p>Here&#8217;s <a href="http://oracledoug.com/serendipity"><strong>Doug Burns</strong></a> with the first of a series on <a href="http://oracledoug.com/serendipity/index.php?/archives/1496-Adaptive-Thresholds-in-10g-Part-1-Metric-Baselines.html">Adaptive Thresholds in 10g (Metric Baselines)</a>.  Doug writes, &#8220;[I really didn't want to get into another multi-part blog post, but this has grown longer than I hoped, so I'll split it up ...]&#8221;</p>
<p>Doug, you could have started with the second part, as <a href="http://kevinclosson.wordpress.com"><strong>Kevin Closson</strong></a> did: <a href="http://kevinclosson.wordpress.com/2009/05/14/you-buy-a-numa-system-oracle-says-disable-numa-what-gives-part-ii/">You Buy a NUMA System, Oracle Says Disable NUMA! What Gives? Part II</a>  Haven&#8217;t read Part I? Don&#8217;t worry.  &#8220;Yes, in this mini-series of posts Part II will precede Part I. I’ll explain…eventually,&#8221; writes Kevin.</p>
<p><a href="http://richardfoote.wordpress.com"><strong>Richard Foote</strong></a> still has left Doug and Kevin in the dust, having got to <a href="http://richardfoote.wordpress.com/2009/05/13/indexes-and-small-tables-part-v-its-no-game/">Part V of his Indexes And Small Tables</a> series. <span id="more-2479"></span></p>
<p><a href="http://kerryosborne.oracle-guy.com"><strong>Kerry Osborne</strong></a> was playing with numbers too, in his own way&#8212;pointing out some <a href="http://kerryosborne.oracle-guy.com/2009/05/extremes/">extremes in buffer cache sizes</a>, and asking for his readers&#8217; experiences.</p>
<p><a href="http://jhdba.wordpress.com"><strong>John Hallas</strong></a> ponders <a href="http://jhdba.wordpress.com/2009/05/12/autostart-using-the-w-flag-in-oratab/">autostart using the ‘W’ flag in oratab</a>: &#8220;In 10.2.0.2 an option arrived to manage the automatic startup and shutdown of the databases. &nbsp;.&nbsp;.&nbsp;.&nbsp; However on playing around with these settings&nbsp;.&nbsp;.&nbsp;.&nbsp;I could not see any way that the functionality was working.&#8221;  Your feedback is requested.</p>
<h3>MySQL</h3>
<p><a href="http://mysql-dba-journey.blogspot.com"><strong>George J. Trujillo Jr.</strong></a> wonders about <a href="http://mysql-dba-journey.blogspot.com/2009/05/new-things-to-look-at-with-mysql-oracle.html">Oracle SQL Developer with MySQL</a>: &#8220;I am always asked, what GUI to you recommend with MySQL? Two of the most popular are SQLYog and Navicat for MySQL customers. &nbsp;.&nbsp;.&nbsp;.&nbsp; I think it is time to see how well SQL Developer works with MySQL.&#8221; <strong>Roland Bouman</strong> appears with a link to his own review of SQL Developer in this light.</p>
<p>On the <a href="http://www.bytebot.net/blog"><strong>Colin Charles Agenda</strong></a> appears an <a href="http://www.bytebot.net/blog/archives/2009/05/07/interview-with-rohit-nadhani-founder-of-webyog">interview with <strong>Rohit Nadhani</strong>, founder of Webyog</a>.  And there&#8217;s <strong>Sheeri Cabral</strong> with a link to her review of Webyog.</p>
<p>Speaking of Sheeri&nbsp;.&nbsp;.&nbsp;.&nbsp; What kind of colleague would I be if I failed to mention that her just-published book <a href="http://www.pythian.com/news/2423/the-mysql-bible-is-here">the MySQL Bible is here</a>.  Congratulations, Sheeri!</p>
<p>On <a href="http://code.openark.org/blog">code.openark.org</a>,  <strong>Shlomi Noach</strong> writes, &#8220;It seems like <a href="http://code.openark.org/blog/mysql/mysql-not-being-able-to-utilize-a-compound-index">MySQL is unable to utilize a compound index</a> when evaluating a plan for a query with a range condition. I’m looking for an explanation. I’ll appreciate any insight on this.&#8221; His readers respond and discuss the matter.</p>
<p><a href="http://www.bigdbahead.com/"><strong>Matt Yonkovit</strong></a>, one of MySQL blogging&#8217;s two Big DBA Heads, begins a series of <a href="http://www.bigdbahead.com/?p=518">Sun/Intel X-25e 4 Disk Raid 10 tests</a>.  Matt begins thus: &#8220;Those who follow my blog know I love IO and I love to benchmark anything that can help overcome IO issues.  One of the most exciting things out their at this point are the Intel x-25e drives.  These bad boys are not only fast but relatively inexpensive.  How fast are they?  Let’s just do a quick bit of review here and peak at the single drive #’s from sysbench.&#8221;</p>
<p><a href="http://monty-says.blogspot.com/"><strong>Monty says</strong></a> that <a href="http://monty-says.blogspot.com/2009/05/open-database-alliance-founded.html">the Open Database Alliance is founded</a>. &#8220;Monty Program Ab and Percona today launched the Open Database Alliance. &nbsp;.&nbsp;.&nbsp;.&nbsp; This may be one of the most important steps in the history of MySQL and MariaDB. &nbsp;.&nbsp;.&nbsp;.&nbsp;  Here follows my initial vision of the Open Database Alliance.&#8221;</p>
<p><strong>Josh Berkus</strong> of <a href="http://it.toolbox.com/blogs"><strong>Database Soup</strong></a> took notice of <a href="http://it.toolbox.com/blogs/database-soup/monty-declares-open-database-alliance-31633">Monty&#8217;s declaration, and approves</a>.</p>
<p><strong>Giuseppe Maxia</strong>, <a href="http://blogs.sun.com/datacharmer">the Data Charmer</a>, announces a <a href="http://blogs.sun.com/datacharmer/entry/mysql_event_in_montreal_one">MySQL Event in Montreal</a>, this Monday, the 18<sup>th</sup> of May.</p>
<h3>PostgreSQL</h3>
<p>From even closer to home comes a <a href="http://www.chesnok.com/daily/2009/05/12/pgcon-2009-lighning-talks-call-for-participation/">call for PgCon 2009 lightning talks</a>, courtesy <a href="http://www.chesnok.com/daily"><strong>Selena Deckelmann</strong></a>. (<a href="http://www.pgcon.org/2009/">PGCon</a> itself begins here in Ottawa, Canada on May 19.)</p>
<p>Let&#8217;s go back to Josh Berkus for a moment. He has published a guide to <a href="http://it.toolbox.com/blogs/database-soup/using-84-parallel-restore-with-your-83-or-82-database-31575">using 8.4 Parallel Restore with your 8.3 or 8.2 database</a>. </p>
<h3>SQL Server</h3>
<p><a href="http://sqlblogcasts.com/blogs/martinbell">Martin Bell, UK SQL Server MVP</a> started blogging this week, with (you guessed it) the first of a series on <a href="http://sqlblogcasts.com/blogs/martinbell/archive/2009/05/10/Table_2D00_valued-parameters-in-SQL-Server-2008-_2800_Part-1_2900_.aspx">table-valued parameters in SQL Server 2008</a>.</p>
<p><a href="http://sqlblog.com/blogs/denis_gobo"><strong>Denis Gobo</strong></a> has <a href="http://sqlblog.com/blogs/denis_gobo/archive/2009/05/07/13862.aspx">a couple of reasons he won&#8217;t be moving my databases to the cloud anytime soon</a>.  Six reasons for SQL Server Data Services, to be precise. </p>
<p><a href="http://sqlblog.com/blogs/paul_nielsen/archive/2009/05/09/why-use-stored-procedures.aspx">Why use stored procedures,</a> asks <a href="http://sqlblog.com/blogs/paul_nielsen"><strong>Paul Nielsen</strong></a>.  In his view as a data architect, extensibility is the key: &#8220;The data architect’s answer to why use stored procedures is that T-SQL is only language that you KNOW will last as long as the data.&#8221;</p>
<p>On the <a href="http://blog.sqlauthority.com">Journey to SQL Authority</a> with <strong>Pinal Dave</strong>, we stop to <a href="http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/">find the last date time updated for any table</a>.</p>
<p><a href="http://scarydba.wordpress.com">The Scary DBA</a> offers some <a href="http://scarydba.wordpress.com/2009/05/12/powershell-basics/">PowerShell basics</a>.  Others are not so keen&#8212;Bill G.&#8217;s <a href="http://weblogs.sqlteam.com/billg">thoughts on SQL Server</a>  include, <a href="http://weblogs.sqlteam.com/billg/archive/2009/05/12/Why-am-I-being-forced-to-learn-PowerShell.aspx">Why am I being forced to learn PowerShell?</a></p>
<p>There are more blogs, but no more time, so that&#8217;s all for now. Please mention your favourite blogs from this week in the comments, and <a href="mailto:logbuffercoordinator@pythian.com?Subject=Log%20Buffer">get in touch with me to host an edition of <em>Log Buffer</em></a> on your own weblog.</p>
<p>Till next time!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/news/2479/log-buffer-146-a-carnival-of-the-vanities-for-dbas/feed</wfw:commentRss>
		</item>
		<item>
		<title>Log Buffer #145: a Carnival of the Vanities for DBAs</title>
		<link>http://www.pythian.com/news/2393/log-buffer-145-a-carnival-of-the-vanities-for-dbas</link>
		<comments>http://www.pythian.com/news/2393/log-buffer-145-a-carnival-of-the-vanities-for-dbas#comments</comments>
		<pubDate>Fri, 08 May 2009 16:44:29 +0000</pubDate>
		<dc:creator>David Edwards</dc:creator>
		
		<category><![CDATA[Log Buffer]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[Non-Tech Articles]]></category>

		<category><![CDATA[Oracle]]></category>

		<category><![CDATA[PostgreSQL]]></category>

		<category><![CDATA[SQL Server]]></category>

		<category><![CDATA[DB2]]></category>

		<category><![CDATA[Firebird]]></category>

		<category><![CDATA[Informix]]></category>

		<guid isPermaLink="false">http://www.pythian.com/news/?p=2393</guid>
		<description><![CDATA[Welcome to the 145th edition of Log Buffer, the weekly review of database blogs.
MySQL
Since MySQL was surely the belle of the bloggers&#8217; ball this week&#8212;why, everyone was talking&#8212;let&#8217;s begin with it.
Baron Schwartz started something with his post examining why MySQL might not benefit from having a mother ship. Dean Ellis  of niflheim responded, arguing [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to the 145<sup>th</sup> edition of <a href="http://www.pythian.com/news/about-log-buffer"><em>Log Buffer</em></a>, the weekly review of database blogs.</p>
<h3>MySQL</h3>
<p>Since MySQL was surely the belle of the bloggers&#8217; ball this week&#8212;why, everyone was talking&#8212;let&#8217;s begin with it.</p>
<p><a href="http://www.xaprb.com/blog"><strong>Baron Schwartz</strong></a> started something with his post examining <a href="http://www.xaprb.com/blog/2009/05/05/why-mysql-might-not-benefit-from-having-a-mother-ship/">why MySQL might not benefit from having a mother ship</a>. <strong>Dean Ellis</strong>  of <a href="http://deanellis.com">niflheim</a> responded, arguing that <a href="http://deanellis.com/2009/05/05/mysql-mothership/">everyone needs the MySQL mothership</a>.  And that got <strong>Sheeri&#8217;s Cabral&#8217;s</strong> attention&#8212;she took the middle path in her post,  <a href="http://www.pythian.com/news/2376/what-if">What If</a>, and her readers had plenty to say.</p>
<p><a href="http://swanhart.livejournal.com"><strong>Justin Swanhart</strong></a> gave news and opinion in one headline: <a href="http://swanhart.livejournal.com/126077.html">MySQL documentation team announces docs will NOT be GPLed. Boo MySQL. Boooo</a>, adding, &#8220;I&#8217;m now totally convinced that MySQL does not understand, and will never understand the MySQL community.&#8221;   In his piece on <a href="http://openquery.com/blog/mysql-docs-freedom">MySQL docs freedom</a>, <strong>Arjen Lentz</strong> wrote, &#8220;I believe this is a serious concern for the product as a whole, and hope this concern will be addressed by Sun Microsystems very soon - with action.&#8221;  <span id="more-2393"></span></p>
<p><a href="http://yoshinorimatsunobu.blogspot.com"><strong>Yoshinori Matsunobu&#8217;s</strong></a> item illuminating <a href="http://yoshinorimatsunobu.blogspot.com/2009/04/linux-io-scheduler-queue-size-and.html">Linux I/O scheduler queue size and MyISAM performance</a> attracted some comment, as did the <a href="http://www.mysqlperformanceblog.com">MySQL Performance</a> Blog&#8217;s <a href="http://www.mysqlperformanceblog.com/2009/04/28/detailed-review-of-tokutek-storage-engine/">detailed review of Tokutek storage engine</a>. </p>
<p><strong>Giuseppe Maxia</strong>, the <a href="http://datacharmer.blogspot.com">Data Charmer</a>, was road testing too, <a href="http://datacharmer.blogspot.com/2009/04/test-driving-spider-storage-engine.html">test-driving the Spider storage engine</a>.</p>
<p><a href="http://jeremy.zawodny.com/blog"><strong>Jeremy Zawodny</strong></a> wants to hear your thoughts on the question, <a href="http://jeremy.zawodny.com/blog/archives/011127.html">is MySQL 5.1 a compelling upgrade?</a></p>
<p><a href="http://fernandoipar.com"><strong>Fernando Ipar</strong></a> looked into <a href="http://fernandoipar.com/2009/04/29/soundex-triggers-and-stored-procedures/">SOUNDEX(), triggers, and stored procedures</a>, beginning, &#8220;&nbsp;.&nbsp;.&nbsp;.&nbsp;If you’re storing multiple-word strings, things get a little more complicated, since they can’t be compared by their soundex. &nbsp;.&nbsp;.&nbsp;.&nbsp; If at a later time, you want to search for a subpart of this phrase, there’s no way for you to do this. Well, at least not directly&nbsp;.&nbsp;.&nbsp;.&nbsp;&#8221;</p>
<p>On the <a href="http://www.xzilla.net/blog">zillablog</a>, <strong>Robert Treat</strong> was <a href="http://www.xzilla.net/blog/2009/Apr/Taking-a-stab-at-50-things-to-know-before-migrating-MySQL-to-Oracle.html">taking a stab at 50 things to know before migrating MySQL to Oracle</a>, and making it all the way to 29.</p>
<h3>Oracle</h3>
<p>Some conference stuff.  <a href="http://jarneil.wordpress.com"><strong>Jason Arneil</strong></a> posts the <a href="http://jarneil.wordpress.com/2009/04/30/ukoug-2009-annual-conference-call-for-papers/">UKOUG 2009 Annual Conference Call for Papers</a>.  <a href="http://frits.homelinux.com/wordpress/?p=45">The 3rd Planboard DBA Symposium</a> was announced by <a href="http://frits.homelinux.com/wordpress"><strong>Frits Hoogland</strong></a>.</p>
<p><a href="http://jonathanlewis.wordpress.com/2009/05/06/philosophy-1/"><strong>Jonathan Lewis</strong> delivers his philosophy</a> (the first part of it, at least).  Christian  Antognini says, &#8220;AMEN&#8221;.</p>
<p><a href="http://jkstill.blogspot.com"><strong>Jared Still</strong></a> has updated and published his script for <a href="http://jkstill.blogspot.com/2009/04/querying-vlock.html">querying v$lock</a>.</p>
<p><a href="http://jhdba.wordpress.com"><strong>John Hallas</strong></a> offers an account of his experiences with  <a href="http://jhdba.wordpress.com/2009/05/06/237/">DBMS_DATAPUMP using the API</a>.</p>
<p><a href="http://trubix.blogspot.com"><strong>George Trujillo</strong></a> writes,  &#8220;It is always important to make sure you are maintaining your skill set and marketability as an Oracle professional. In a down economy it is even more so for a DBA. So my question to you is, <a href="http://trubix.blogspot.com/2009/05/do-you-dba-that-scales-vertically-or.html">do you try to scale vertically or horizontally?</a>&#8221; </p>
<h3>SQL Server</h3>
<p>At the <a href="http://scarydba.wordpress.com">Home of the Scary DBA</a> appeared something along similar lines, <a href="http://scarydba.wordpress.com/2009/04/30/database-screening-questions/">Database Screening Questions</a>, picking up a thread from Brent Ozar and the SQL Batman on newbie DBA interviewing.</p>
<p><a href="http://blogs.msdn.com/bartd"><strong>Bart Duncan</strong></a> showed how <a href="http://blogs.msdn.com/bartd/archive/2009/05/03/sometimes-the-simplest-solution-isn-t-the-best-solution-the-all-in-one-search-query.aspx">sometimes the simplest solution isn&#8217;t the best solution</a>, specifically vis-a-vis the all-in-one search query.</p>
<p><a href="http://sqlblog.com/blogs/steve_kass/archive/2009/04/30/delete-from-where.aspx">DELETE FROM Where?</a> asks <a href="http://sqlblog.com/blogs/steve_kass"><strong>Steve Kass</strong></a>. &#8220;For years, SQL Server has supported a (second) FROM clause in UPDATE and DELETE statements. Its behavior isn&#8217;t always deterministic, a fact Microsoft points out in the documentation. &nbsp;.&nbsp;.&nbsp;.&nbsp; Today, someone was surprised by the basic semantics of DELETE .. FROM. This probably happens a lot&nbsp;.&nbsp;.&nbsp;.&nbsp;&#8221;</p>
<p>MS&#8217;s <a href="http://blogs.msdn.com/psssql"><strong>Bob Ward</strong></a>, for his part, asks, <a href="http://blogs.msdn.com/psssql/archive/2009/04/30/why-should-i-use-extended-events-in-sql-server-2008.aspx">Why Should I Use Extended Events in SQL Server 2008?</a> &#8220;You may or may not have heard of a new diagnostic technology in SQL Server 2008 called Extended Events (XEvent). I thought I would post an example of why this technology can do things nothing else we have can when you deploy SQL Server 2008.&#8221;</p>
<p><a href="http://www.sqlskills.com/BLOGS/PAUL"><strong>Paul S. Randal</strong></a> brings news of a <a href="http://www.sqlskills.com/BLOGS/PAUL/post/Performance-bug-NOLOCK-scans-involving-off-row-LOB-data.aspx">performance bug: NOLOCK scans involving off-row LOB data</a>. &#8220;Bottom line is that if you&#8217;re doing NOLOCK scans of tables involving LOB data, the performance might suck.&#8221;</p>
<p><strong>Tim Ford</strong>, <a href="http://www.ford-it.com/sqlagentman">SQLAgentMan</a>, wondered what it would be like <a href="http://www.ford-it.com/sqlagentman/?p=224">if SQL Server was a musician</a>.  &#8220;SQL Server Elvis Edition - does not scale out well.  Dumps are not graceful.&#8221;</p>
<p>Oh, speaking of which, here&#8217;s <a href="http://sqlblog.com/blogs/kevin_kline"><strong>Kevin Kline</strong></a> reporting that <a href="http://sqlblog.com/blogs/kevin_kline/archive/2009/05/06/microsoft-marketing-throws-sql-server-under-the-bus.aspx">Microsoft marketing throws SQL Server under the bus</a> after some trouble with a Windows 7 Beta release.</p>
<h3>IBM DBMSs</h3>
<p>On the  <a href="http://www.db2portal.com">DB2PORTAL Blog</a>, <strong>Craig Mullins</strong> offers his <a href="http://www.db2portal.com/2009/05/approaches-to-access-path-management-or.html">approaches to access path management&#8230; or The Five R&#8217;s</a>.</p>
<p><a href="http://www.ibm.com/developerworks/blogs/page/katedawson"><strong>Kate Dawson</strong></a> wants to know, <a href="http://www.ibm.com/developerworks/blogs/page/katedawson?entry=are_you_going_to_idug">are you going to IDUG?</a>, offering links and details.</p>
<p><a href="http://www.informix-zone.com">The Informix Zone</a> has a dispatch from the <a href="http://www.informix-zone.com/node/733">IIUG Conference 2009</a>, complete with lots of links and pictures.</p>
<p><a href="http://www.ibm.com/developerworks/blogs/page/jacquesroy"><strong>Jacques Roy</strong></a> provides his answers to a question you might find yourself asking&#8212;<a href="http://www.ibm.com/developerworks/blogs/page/jacquesroy?entry=why_informix">Why Informix?</a></p>
<h3>PostgreSQL</h3>
<p><a href="http://people.planetpostgresql.org/andrew"><strong>Andrew Dunstan</strong></a> announces the birth of <a href="http://people.planetpostgresql.org/andrew/index.php?/archives/16-PostgreSQL-Experts-Inc..html">PostgreSQL Experts Inc.</a>, a company &#8220;&nbsp;.&nbsp;.&nbsp;.&nbsp;aimed at providing full service to PostgreSQL users, from setup to tuning to administration to application development. We have some people who are pretty well known in the PostgreSQL community, including Josh Berkus, our CEO, and David Wheeler and David Fetter, as well as your humble blogger&nbsp;.&nbsp;.&nbsp;.&nbsp;&#8221;.  Congratulations, guys, have a cigar!</p>
<p>Andrew also examines <a href="http://people.planetpostgresql.org/andrew/index.php?/archives/17-Materialised-Views-for-large-joins.html">materialised views for large joins</a>.  He writes, &#8220;Postgres doesn&#8217;t have builtin support for materialised views (yet). But they are pretty easy to set up.&#8221;</p>
<h3>Firebird</h3>
<p>It&#8217;s <a href="http://www.firebirdnews.org/?p=2782">time to nominate Firebird for CCA 2009</a>, SourceForge&#8217;s Community Choice Awards, says <a href="http://www.firebirdnews.org">Firebird News</a>. Firebird is nominated for  Best Project, Best Tool or Utility for Developers, and Best Project for the Enterprise.</p>
<p>On <a href="http://free-database.blogspot.com">Free Database: The Relational Databases Blog</a> appears an <a href="http://free-database.blogspot.com/2009/05/embedded-firebird-database.html">embedded Firebird database overview</a>.  It begins, &#8220;I was looking for a small and powerful database in order to fulfill the requirements of my last project. Because the database will be running locally I took the decision to use an embedded database. After a few searches over the Internet and some embedded database comparison reviews, I found Firebird which is actually a powerful but unknown (yet) relational database system.&#8221;  </p>
<p>On <a href="http://compaspascal.blogspot.com"><strong>Compas Pascal</strong></a>, <strong>Lars Dybdahl</strong> makes some observations on <a href="http://compaspascal.blogspot.com/2009/05/real-life-latency-of-firebird-server.html">the real-life latency of a Firebird server</a>.</p>
<p>Before we say goodbye, let&#8217;s go back to MySQL.  Amidst all of the chatter and controversy, <a href="http://pento.net"><strong>Gary Pendergast</strong></a> wishes to remind us that <a href="http://pento.net/2009/05/03/mysql-is-people/">MySQL is People!</a>  And to illustrate that point, he throws himself from an airplane.  The connection isn&#8217;t too clear to me, but I do hope MySQL has a parachute that works just as well.</p>
<p>As always, I invite you to  mention your favourite  DB blogs from this week in the comments.  Until next time!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/news/2393/log-buffer-145-a-carnival-of-the-vanities-for-dbas/feed</wfw:commentRss>
		</item>
		<item>
		<title>Log Buffer #144: a Carnival of the Vanities for DBAs</title>
		<link>http://www.pythian.com/news/2292/log-buffer-144-a-carnival-of-the-vanities-for-dbas</link>
		<comments>http://www.pythian.com/news/2292/log-buffer-144-a-carnival-of-the-vanities-for-dbas#comments</comments>
		<pubDate>Fri, 01 May 2009 16:19:01 +0000</pubDate>
		<dc:creator>Paul Logan</dc:creator>
		
		<category><![CDATA[Log Buffer]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[Non-Tech Articles]]></category>

		<category><![CDATA[Oracle]]></category>

		<category><![CDATA[PostgreSQL]]></category>

		<category><![CDATA[SQL Server]]></category>

		<category><![CDATA[DB2]]></category>

		<guid isPermaLink="false">http://www.pythian.com/news/?p=2292</guid>
		<description><![CDATA[This edition of Log Buffer is my first article on the Pythian Blog. It seems appropriate that, as I start a new chapter of my life in Canada and am looking to the future, a lot of the blogs this week are doing the same.  
After the shock of the Oracle takeover the MySQL [...]]]></description>
			<content:encoded><![CDATA[<p>This edition of <a href="http://www.pythian.com/news/about-log-buffer"><em>Log Buffer</em></a> is my first article on the Pythian Blog. It seems appropriate that, as I start a new chapter of my life in Canada and am looking to the future, a lot of the blogs this week are doing the same.  </p>
<p>After the shock of the Oracle takeover the MySQL community is full of hope.  Mark Callaghan has written about the <a href="http://mysqlha.blogspot.com/2009/04/new-storage-engines-for-mysql-rocket.html">new storage engines </a>for MySQL and also suggestions for <a href="http://mysqlha.blogspot.com/2009/04/what-is-next.html">what the MySQL community could be doing</a> while they wait to hear what Oracle has planned.</p>
<p>Kaj Arno has <a href="http://blogs.mysql.com/kaj/2009/04/26/the-future-of-mysql/">looked to the future</a> and he thinks he has found some answers.</p>
<p>With the media constantly bombarding us about economic meltdown and pandemics, its nice to read someone who sees something positive.   Selena Deckelman sees <a href="http://www.chesnok.com/daily/2009/04/25/the-future-of-free-and-open-source-support-models/">hope in the world</a> after a conversation with the Paul Vall&eacute;e.</p>
<p>But its not just the MySQL world that is looking forward&#8212;DB2 users are too, with the imminent release of <a href="http://www.dbms2.com/2009/04/24/some-db2-highlights/">versions 9.5 thru to 9.7.</a></p>
<p>The always readable Jonathan Lewis celebrates his <a href="http://jonathanlewis.wordpress.com/2009/04/27/summary-stats/">millionth visitor</a> by comparing himself to Susan Boyle.  For this milestone, Jonathan deserves a kiss, too, don&#8217;t you agree? <span id="more-2292"></span></p>
<p>Talking about always readable, Steve Feurerstein has an <a href="http://feuerthoughts.blogspot.com/2009/04/interview-with-yours-truly.html">interview with one of the best PL/SQL developers</a> he knows.   Certainly one of the best I have ever read.</p>
<p>Not to be outshone by Larry, Bill and his pals at Microsoft have made a few announcements this week.  Aaron Bertrand is one of many to report that <a href="http://sqlblog.com/blogs/aaron_bertrand/archive/2009/04/24/big-news-lock-pages-in-memory-for-standard-edition.aspx">locked pages are now available</a> as a standard edition feature on SQL Server.</p>
<p>Michelle Ufford give us some tips on how to find and deal with <a href="http://sqlfool.com/2009/04/a-look-at-missing-indexes/">missing indexes</a>.<br />
Obviously, Michelle and Ward Pond have too much time on their hands, but I am not sure even Shakespeare would say <a href="http://blogs.technet.com/wardpond/archive/2009/04/28/so-this-is-how-twitter-gets-people-into-trouble.aspx">&#8220;play on&#8221; to this</a>.</p>
<p>Steve Kass has some good advice on using <a href="http://sqlblog.com/blogs/steve_kass/archive/2009/04/29/It_2700_s-2008-and-rowcount-ain_2700_t-what-it-used-to-be.-Don_2700_t-use-it-in-triggers_2100_.aspx">@@rowcount in MERGE</a> triggers.  &#8220;The value of @@rowcount inside a trigger could be unexpected, if the triggering statement was MERGE &#8230; but fortunately there&#8217;s a simple workaround.&#8221;</p>
<p>Everyone has their top 5 best practices. If your 5 differ completely from everyone else, then either you&#8217;re a genius or they stink.  More likely to be the latter rather than the former.  <a href="http://www.ford-it.com/sqlagentman/?p=206">Tim Ford gives us his Top 5</a> this week.  How many are on yours?</p>
<p>Robert Hodges takes a different view of the Oracle-MySQL marriage and asks, where are the 50 things you need to know about <a href="http://scale-out-blog.blogspot.com/2009/04/overcoming-mysql-to-oracle-culture.html">migrating from MySQL to Oracle</a>.</p>
<p>Antonio Cangiano has a useful blog this week for all you macs out there on how to <a href="http://antoniocangiano.com/2009/01/20/installing-db2-on-mac-os-x/">install DB2 onto the mac OS X Leopard<a>.</p>
<p>It is spring time, and at this time of the year our minds turn to cleaning. Troy Coleman, therefore, has a timely article on when to <a href="http://ibmsystemsmag.blogs.com/db2utor/2009/04/cleaning-out-obsolete-packages.html">clean out your obsolete packages</a>.</p>
<p>Craig Mullins advises on some <a href="http://www.db2portal.com/2009/04/basic-db2-buffering-and-memory.html">basic buffering and memory guidelines for DB2</a>: &#8220;The better memory is allocated &#8230; the better DB2 will perform.&#8221;</p>
<p>I hope you&#8217;ve enjoyed this edition of <em>Log Buffer</em>, and I invite you to  share your favourite blogs from the week in the comments.  I&#8217;ll see you again soon! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/news/2292/log-buffer-144-a-carnival-of-the-vanities-for-dbas/feed</wfw:commentRss>
		</item>
		<item>
		<title>Log Buffer #143: a Carnival of the Vanities for DBAs</title>
		<link>http://www.pythian.com/news/2182/log-buffer-143-a-carnival-of-the-vanities-for-dbas</link>
		<comments>http://www.pythian.com/news/2182/log-buffer-143-a-carnival-of-the-vanities-for-dbas#comments</comments>
		<pubDate>Fri, 24 Apr 2009 16:43:58 +0000</pubDate>
		<dc:creator>David Edwards</dc:creator>
		
		<category><![CDATA[Log Buffer]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[Non-Tech Articles]]></category>

		<category><![CDATA[Oracle]]></category>

		<category><![CDATA[PostgreSQL]]></category>

		<category><![CDATA[SQL Server]]></category>

		<category><![CDATA[DB2]]></category>

		<guid isPermaLink="false">http://www.pythian.com/news/?p=2182</guid>
		<description><![CDATA[This is the 143rd edition of Log Buffer, the weekly review of database blogs.
So&#160;.&#160;.&#160;.&#160; Anything happen while I was away?
Okay, so I heard the big news.  And just in case you haven&#8217;t, here it is from Sheeri Cabral: Oracle Buys Sun.    This is a sea-change in the hi-tech world, and the [...]]]></description>
			<content:encoded><![CDATA[<p>This is the 143<sup>rd</sup> edition of <a href="http://www.pythian.com/blogs/about-log-buffer"><em>Log Buffer</em></a>, the weekly review of database blogs.</p>
<p>So&nbsp;.&nbsp;.&nbsp;.&nbsp; Anything happen while I was away?</p>
<p>Okay, so I heard the big news.  And just in case you haven&#8217;t, here it is from <a href="http://www.pythian.com/news/author/sheeri/"><strong>Sheeri Cabral</strong></a>: <a href="http://www.pythian.com/news/2080/oracle-buys-sun">Oracle Buys Sun</a>.    This is a sea-change in the hi-tech world, and the DB part of it will also get rocked, Sun being the home of MySQL.  There&#8217;s lots of comment in Sheeri&#8217;s post, and indeed, all over the database blogging world.  I will try here to cover the best of it.</p>
<h3>Oracle + Sun + MySQL</h3>
<p>First, <a href="http://monty-says.blogspot.com"><strong>Monty</strong> Says</a>: <a href="http://monty-says.blogspot.com/2009/04/to-be-free-or-not-to-be-free.html">to be (free) or not to be (free)</a>, that is the question.  He projects three possible ways Oracle could treat MySQL, and extends a hand to what he expects will be yet more disenchanted MySQL employees.</p>
<p>On <a href="http://news.cnet.com/openroad/">The Open Road</a>, <strong>Matt Asay</strong> asks, <a href="http://news.cnet.com/8301-13505_3-10225704-16.html">Oracle can help Sun, but will it lose MySQL?</a>: &#8220;Given the fracturing we&#8217;ve already seen with MySQL&nbsp;.&nbsp;.&nbsp;.&nbsp;I suspect that we may be in for several more forks of the MySQL code base. &nbsp;.&nbsp;.&nbsp;.&nbsp; So here&#8217;s a thought: could Red Hat fork MySQL, hire some key developers, and effectively assume the mantle of MySQL leadership?&#8221;</p>
<p>Pythian&#8217;s <a href="http://www.pythian.com/news/author/pvallee/"><strong>Paul Vall&eacute;e</strong></a> obligingly gathered <a href="http://www.pythian.com/news/2153/quick-links-to-curt-monashs-analyses-of-the-sunoracle-deal-with-a-mysql-focus">links to Curt Monash’s analyses of the Sun/Oracle deal</a>.  Those are very worth reading.</p>
<p>In his post <a href="http://mysqldump.azundris.com/archives/82-MySQL,-Sun-and-Oracle.html">MySQL, Sun and Oracle</a>, <a href="http://mysqldump.azundris.com"><strong>Kristian Köhntopp</strong></a> bases his predictions on this premise: &#8220;MySQL has been instrumental in building a completely new database market. 12 years ago most people were&nbsp;.&nbsp;.&nbsp;.&nbsp;storing data in flat files. SQL knowledge was expert knowledge, and if you knew SQL you were either out of academia or have been on the career and certification-programme of some vendor.&#8221;</p>
<p><a href="http://marksitblog.blogspot.com"><strong>Mark Schoonover</strong></a> offers his thoughts on <a href="http://marksitblog.blogspot.com/2009/04/thoughts-on-oracles-purchase-of-sun.html">Oracle&#8217;s Purchase of Sun</a>: &#8220;Who could be impacted by Oracle&#8217;s purchase? That huge computer company in Redmond. For years, their database team has had access to the operating system source code. &nbsp;.&nbsp;.&nbsp;.&nbsp; Oracle not only gains the source code to Solaris, but also their hardware too. No company in my 22 years in IT has had access to everything - hardware, operating system and the database. It&#8217;s going to be a wild ride.&#8221;</p>
<p>On the Oracle side, <a href="http://blogs.sun.com/glennf"><strong>Glenn Fawcett</strong></a> takes a pragmatic point of view: <a href="http://blogs.sun.com/glennf/entry/oracle_buys_sun_dtrace_probes">&#8220;Could you imagine&#8230; &#8216;Dtrace probes for Oracle?&#8217; How cool would that be?&#8221;</a></p>
<p>In his post, <a href="http://radiofreetooting.blogspot.com/2009/04/so-oracle-buys-sun.html">So Oracle buys Sun</a>, <a href="http://radiofreetooting.blogspot.com"><strong>Andrew Clarke</strong></a> says, &#8220;The notion of Oracle as a hardware vendor is an intriguing one. Oracle will be able to offer appliances such as Exadata without the trouble (and loss of potential revenue) incurred by partnering with a hardware vendor. The flip side is that hardware vendors may be less happy to accommodate Oracle on their boxes.&#8221;</p>
<p>From PostgreSQL, <a href="http://petereisentraut.blogspot.com"><strong>Peter Eisentraut</strong></a> writes, &#8220;Now with MySQL actually owned by Oracle, <a href="http://petereisentraut.blogspot.com/2009/04/oracle-sun-mysql.html">this makes PostgreSQL the primary alternative</a>. &nbsp;.&nbsp;.&nbsp;.&nbsp; I don&#8217;t expect that MySQL will be &#8220;killed&#8221; either. &nbsp;.&nbsp;.&nbsp;.&nbsp; Much of the MySQL momentum already lies outside of Sun anyway, in the hands of Percona, Open Query, the Monty Program, Drizzle, and others, so killing MySQL is already impossible for a single company. Which is probably a good situation for the extended open-source database community.&#8221;</p>
<p>Now, I&#8217;m not sure <em>exactly</em> what <a href="http://carotid.blogspot.com"><strong>Christopher Powers</strong></a> means by this image from his post <a href="http://carotid.blogspot.com/2009_04_01_archive.html#8499683187188909543">Whither MySQL?</a>, but it certainly captures the portent of the moment. <a href="http://carotid.blogspot.com/2009_04_01_archive.html#8499683187188909543"><img src="http://2.bp.blogspot.com/_w_FMGmQrFLg/Sey45NPzXlI/AAAAAAAABhw/B4AdQ6cN_6s/s400/LastRegression-1600.jpg" width="175" height="100" alt="image: Whither MySQL" /></a></p>
<p><span id="more-2182"></span></p>
<h3>MySQL</h3>
<p>Okay, enough of that.  It was also, coincidentally, the week of MySQL Conference.  <a href="http://code.openark.org/blog"><strong>Shlomi Noach</strong></a> took home the <a href="http://code.openark.org/blog/mysql/mysql-conference-2009-community-awards">Community Member of the Year Award</a>.  Congratulations, Shlomi.</p>
<p><a href="http://www.bytebot.net/blog"><strong>Colin Charles</strong></a> observes that <a href="http://www.bytebot.net/blog/archives/2009/04/19/its-a-storage-engine-world-after-all">it&#8217;s a storage engine world, after all</a>, recounting the storage engine-related news from the conference.</p>
<p><a href="http://jcole.us/blog"><strong>Jeremy Cole</strong></a> related why he was <a href="http://jcole.us/blog/archives/2009/04/20/skipping-the-mysql-conference-and-expo-2009/">skipping the MySQL Conference and Expo</a>.</p>
<p>In the wake of the announcement of MySQL 5.4 at the conference, <a href="http://ronaldbradford.com/blog"><strong>Ronald Bradford</strong></a> noted <a href="http://ronaldbradford.com/blog/a-change-in-the-mysql-binary-distributions-2009-04-22/">a change in the MySQL Binary distributions</a>.  <a href="http://hideandsql.com">Hide-and-SQL</a> tried to answer the question, <a href="http://hideandsql.com/?p=44">Why 5.4?</a></p>
<h3>SQL Server</h3>
<p>On <a href="http://www.sqlskills.com/BLOGS/PAUL">In Recovery&#8230;</a>, <strong>Paul S. Randal</strong> looked <a href="http://www.sqlskills.com/BLOGS/PAUL/post/Inside-the-Storage-Engine-More-on-the-circular-nature-of-the-log.aspx">inside the storage engine: more on the circular nature of the log</a>.</p>
<p><a href="http://sqlblog.com/blogs/alexander_kuznetsov"><strong>Alexander Kuznetsov</strong></a> gave part one of <a href="http://sqlblog.com/blogs/alexander_kuznetsov/archive/2009/04/20/avoiding-infinite-loops-part-one.aspx">avoiding infinite loops</a> by Alexander Kuznetsov gave part one of <a href="http://sqlblog.com/blogs/alexander_kuznetsov/archive/2009/04/20/avoiding-infinite-loops-part-one.aspx">avoiding infinite loops</a> by&nbsp;.&nbsp;.&nbsp;.&nbsp; Mm, guess I&#8217;d better go read that.</p>
<p>Here&#8217;s an important question: <a href="http://sqlblog.com/blogs/kevin_kline/archive/2009/04/21/is-it-time-for-a-professional-code-of-ethics-for-dbas.aspx">Is it Time for a Professional Code of Ethics for DBAs?</a>, discussed by <a href="http://sqlblog.com/blogs/kevin_kline"><strong>Kevin Kline</strong></a> and his readers.</p>
<p><a href="http://weblogs.sqlteam.com/chrism">syscomments</a> had one too:  <a href="http://weblogs.sqlteam.com/chrism/archive/2009/04/17/Whats-the-deal-with-SQL-Server-2008-implementation.aspx">What&#8217;s the deal with SQL Server 2008 implementation?</a>.  &#8220;I was talking with a Microsoft representative at PASS and he asked me about our SQL Server 2008 implementation plan. &nbsp;.&nbsp;.&nbsp;.&nbsp; &#8216;I don&#8217;t have one.&#8217;&#8221;</p>
<p><strong>Michelle Ufford</strong>, <a href="http://sqlfool.com">SQL Fool</a>, explains her favourite  2008 feature&#8212;<a href="http://sqlfool.com/2009/04/filtered-indexes-what-you-need-to-know/">Filtered Indexes: What You Need To Know</a>.</p>
<p>On <a href="http://blog.sqlauthority.com">Journey to SQL Authority</a>, <strong>Pinal Dave</strong> offers an excellent <a href="http://blog.sqlauthority.com/2009/04/13/sql-server-introduction-to-joins-basic-of-joins/">introduction to JOINs</a>.</p>
<h3>PostgreSQL</h3>
<p><a href="http://blogs.sun.com/jkshah"><strong>Jignesh Shah</strong></a> published a HOWTO on <a href="http://blogs.sun.com/jkshah/entry/postgres_8_4beta1_on_opensolaris">trying Postgres 8.4 Beta1 using OpenSolaris Appliance for VirtualBox</a>.</p>
<p><a href="http://momjian.us/main/blogs"><strong>Bruce Momjian</strong></a> has <a href="http://momjian.us/main/blogs/pgblog.html#April_23_2009">setup a poll for people to vote on the anticipated release date of Postgres 8.4 final</a>.</p>
<h3>IBM DBMSs</h3>
<p>On <a href="http://it.toolbox.com/blogs/db2luw">An Expert&#8217;s Guide to DB2 Technology</a>, <strong>Chris Eaton</strong> writes, <a href="http://it.toolbox.com/blogs/db2luw/db2-97-announced-by-ibm-i-think-it-has-something-for-everyone-31292">DB2 9.7 is Announced by IBM - I think it has something for everyone</a>.</p>
<p>On his <a href="http://informix-technology.blogspot.com">Informix technoology blog</a>, <strong>Fernando Nunes</strong> has published a very thorough overview of <a href="http://informix-technology.blogspot.com/2009/04/informix-authentication-and-connections.html">Informix authentication and connections</a>.</p>
<h3>Oracle</h3>
<p><a href="http://prodlife.wordpress.com"><strong>Chen Shapira</strong></a> is back with a gazetteer for those of us who may  have <a href="http://prodlife.wordpress.com/2009/04/20/got-lost-following-nocoug-sql-challenge/">got lost following the NoCoug SQL Challenge</a>.</p>
<p><a href="http://vanbortel.blogspot.com/"><strong>Frank van Bortel</strong></a> has three excellent posts on special characters: <a href="http://vanbortel.blogspot.com/2009/04/special-characters-part-i.html">&#8220;Special&#8221; Characters - part I</a>; <a href="http://vanbortel.blogspot.com/2009/04/special-characters-part-ii.html">&#8220;Special&#8221; Characters - part II</a>; and <a href="http://vanbortel.blogspot.com/2009/04/special-characters-part-iii.html">&#8220;Special&#8221; Characters - part III</a>.</p>
<p>On <a href="http://prutser.wordpress.com">The Dutch Prutser’s Blog</a>, <strong>Harald van Breederode</strong> demonstrates <a href="http://prutser.wordpress.com/2009/04/19/flushing-a-cursor-out-of-the-library-cache/">flushing a cursor out of the library cache</a>.</p>
<p><a href="http://kerryosborne.oracle-guy.com"><strong>Kerry Osborne</strong></a> wonders about <a href="http://kerryosborne.oracle-guy.com/2009/04/hidden-sql-why-cant-i-find-my-sql-text/">Hidden SQL - why can’t I find my SQL Text?</a>, beginning, &#8220;A very frequently executed statement on a database was generating some waits on &#8216;SQL*Net more data from client&#8217;. ASH shows the statement, as does the V$SESSION view, but the statement never shows up in the V$SQL view nor in the AWR tables.&#8221;</p>
<p><a href="http://dioncho.wordpress.com"><strong>Dion Cho</strong></a> responded to that with his item on <a href="http://dioncho.wordpress.com/2009/04/20/lob-sql_id-and-lco/">LOB, sql_id and LCO</a>.</p>
<p>And that is all.  Oracle, Sun&#8212;no more big news for a while, if you please. </p>
<p>See you in a week&#8217;s time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pythian.com/news/2182/log-buffer-143-a-carnival-of-the-vanities-for-dbas/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
