Archive for the ‘Pythian Europe’ Category

Log Buffer #208, A Carnival of the Vanities for DBAs

Декабрь 6th, 2010

Welcome to Log Buffer, the weekly round up of news and happenings in the database world.

We’re planning our publishing calendar for 2011. Happy to announce that we’ll have a few guest hosts in the New Year. Don’t forget if you’d like to host or edit a future edition of Log Buffer on your own blog, send a note to the Log Buffer coordinator.

We’ve had several contributions of favorite reads from the team this week. Enjoy this issue, Log Buffer #208.

Gwen Shapira’s picks:

Iggy Fernandez uses GraphViz to visualize his explain plans – he thinks it makes them easier to read, but Gwen’s not sure she agrees. In the comments, Tim Hall and Charles Hooper give a lot of information on how to read explain plans correctly and are worth reading.

Jonathan Lewis, on Oracle Scratchpad, blogs about optimizer issues with collection types and suggests a work-around.

Asif Momen updates that Oracle released a nifty little tool for looking up DBA views and background processes.

Jared Stills ran into interesting date format issues while working on his latest book.

Pythian’s Alex, Christo and Dan were blogging live from UKOUG 2010. It looked like they were having so much fun, I’m not sure why they call it work! Welcome home, Paul and team – you made it, despite the snow.

Vadim Tkachenko blogs about a very scary InnoDB bug that can corrupt your data and crash your database. It can even allow your users to do it to you! Read and take steps to protect yourself.

In DB2 news, Fahd Mirza suggests:

Henrik Loeser expounding as how to build a full text index on PDF documents in DB2.

Raul F. Chong gives the chance to experience the next version of DB2 today!

Willie Favero appreciates the security offered by the DB2 10.

Edwin Sarmiento writes his second post in a series on HADR, further building on his point that a good HADR strategy is more than just the underlying technology.

Guiseppe Maxia, the Data Charmer, starts a lively discussion on MySQL forks, and points out 5 arguments in favor of them.

Hard to believe it’s December already.


PlanetMySQL Voting: Vote UP / Vote DOWN

Log Buffer #160: a Carnival of the Vanities for DBAs

Сентябрь 4th, 2009

Welcome to the 160th edition of Log Buffer, the weekly review of database blogs.

MySQL

Blame it on MyISAM, says Mark Callaghan of High Availability MySQL, on considering sql_mode and type coercion. “I think that MyISAM has its place,” writes Mark. “It does fast table scans, but InnoDB is much faster on just about everything else. I am just not thrilled with the impact it has had on MySQL.”

Not that those other engines are without flaw. Peter Zaitsev reports on an InnoDB performance gotcha with larger queries.

Here on the Pythian Blog, Singer Wang unearthed a MySQL 5.1 and InnoDB hot backup gotcha.

Eric Bergen offers his InnoDB deadlock count patch, which he introduces thus: “[Deadlocks] usually aren’t a problem until they start happening too frequently.  . . .  [SHOW ENGINE INNODB STATUS] can be useful for debugging but it’s almost impossible to get the rate at which deadlocks are occurring. [This patch] adds a counter to show table status that tracks the number of deadlocks.”

Baron Schwartz, had a script snippet to relative-ize numbers embedded in text to share.

From Planet Geek! came a fix for a OSX Snow Leopard MySQL startup problem.

SQL Server

While we’re on the subject of flaws, let’s begin our look at SQL Server blogs with Musings on Database Security and its post on passwords leakage from MS SQL Server. “Turns out that SQL Server saves in memory in clear text user credentials (passwords) of users logging in using SQL Server native authentication.  . . .  We . . . were convinced that SQL Server administrators out there should be aware of the danger and also should have a way to mitigate it so we’ve decided to publicize it and release a free tool to remove the clear text passwords from memory.”

Anyone who reads code of any kind can tell you that unreadable code is a sometimes fatal flaw. With that is mind, Buck Woody of Carpe Datum collected some T-SQL prettifiers.

Jamie Thomson examined extracting insert, update, delete rowcounts from T-SQL MERGE. Jamie writes, “Just lately I’ve been using T-SQL’s MERGE statement . . . and one thing that I needed to do was extract rowcounts for each DML operation . . . conducted by a MERGE. I was surprised to find that while @@ROWCOUNT is supported for MERGE, it only returns the total number of affected rows and there are no built in functions for getting the counts for each DML operation . . . ” Jamie’s workaround code follows.

Pythian’s André Araujo shared his procedure making for easier SQL Server database restores.

Kalen Delaney wondered, What’s a SQL Server Education Worth?. It’s not just a rhetorical question, either. It’s addressed to you. Yes, YOU!

Maybe conferences such as the PASS Summit are worth it? But the cost! Here’s Jeremiah Peschka with his tips on getting to PASS on the cheap.

Oracle

11gR2 was released. Let’s see what Oracle bloggers had to say about it. Here’s Doug Burns’s take on the 11.2 release—two highlights: Parallel Query, and changes to ASH.

The Oracle Security Blog itemizes new security features Oracle 11g Release 2.

On the AMIS Technology Blog, Marco Gralike writes, “I noticed yesterday a new feature that could have the potential to be a small, by me unnoticed, gem called ‘Flash Cache’.

It was quiz night again at the Oracle Scratchpad. In this second one, Jonathan Lewis and his contestants submit their explanations for bundle of statements in the library cache using bind variables.

Kevin Closson related his experience using Linux /proc To identify ORACLE_HOME and instance trace directories. In the post, Kevin writes, “ . . . you’ll see how to find the ORACLE_HOME and trace directories for an instance by looking at /proc//fd and /proc//exe of the LGWR process.”

DB2

Rav Ahuja says, moving to DB2 is easy, sharing a video that he writes, “ . . . highlights some of the new features in DB2 9.7 that make it very easy to enable Oracle applications to DB2.”

Easy and fun, apparently. Willie Favero, for instance, knows how to have fun and learn about DB2 LUW. It involves tuning in to the new “DB2night Show” on September 24th.

Over and out, for now. Please add your favourite DB blogs from this week in the comments, and we’ll meet again next week. Till then!


PlanetMySQL Voting: Vote UP / Vote DOWN