Oracle

Experience Lags Adoption: Why Oracle and SQL DBAs want to learn MySQL

There’s an interesting dynamic going on right now in the DBA world. MySQL’s growth and installed base, as a function of its size three or five years ago, is perhaps five if not ten times larger than it was. In 2002 when Pythian’s MySQL services launched, we took on the platform at the explicit request of an existing customer that was primarily an Oracle shop, but that was adopting MySQL for some bolt-on systems. Today, MySQL is our fastest-growing practice in terms of new customer acquisition. The point I want you to take away from that is simply this: there are about five to ten times more high-value environments running MySQL in the world today than there were three years ago.

Oracle 11g’s SQL Performance Analyzer

So what is SQL Performance Analyzer (SQLPA)? The DBMS_SQLPA package enables you to register and compare the statistics of several SQL query executions stored in an SQL Tuning Set (STS). With SQL Performance Analyzer, you can compare the executions of queries before and after you make some changes to your database. As you might guess, I’m going to illustrate this new feature in Oracle 11g with a simple example.

Open Letter to Oracle: The Response so Far

About six weeks ago, I wrote, with my colleagues here at Pythian, an open letter to Larry Ellison, imploring him and Oracle to free API-level access to Automated Workload Repository (AWR) and Active Session History (ASH). This letter has received amazing support from the community, with 158 “signatories” at last count, and many other positive comments.

We received an informal but cordial response from Oracle two or three days after we couriered the letter to them, which said we could expect a formal reply soon.

Oracle 11g : I miss the price !

I rushed into my favorite book, Oracle Database Licensing Information – 11g Release 1. Guess what? We now have 4 new opportunities to do business with Oracle. I still miss the price list. As if you could look at a new Release without the price ;)

The good and the bad about bind variables, re-revisited in 11g !

It would not have been fair to show how Oracle 11g optimizer can now re-parse a query based on the execution statistics associated with a bind value compared to the previous executions of the same query with different bind values. It would not have been fair, to show you that without showing what happens when the second execution is faster that the first one, even with a sub optimal plan. This is what I’ll do now !

Basically, what is done in the example below it the opposite of what I’ve done in my previous post.

When 11g SQL is faster than 10g without any plan change…

To avoid being too far behind you guys that are already upgrading to 11g, I’ve decided to invest on 11g during the Beta Program. This has been a lot of fun and I wish I can share some of my findings with you. For example, did you know that 11g can go faster without any change at all ? The queries here will illustrate the change made to the Nested Loop Algorithm in 11g :

Oracle File Extent Map, the Old-Fashioned Way

Yes, I know, this subject of detailed extent map of the datafiles is a rather old one, and a few different solutions have been provided by several professionals, including the famous Tom Kyte. But none of the answers I found did exactly what I wanted, and therefore, I chose to write my own solution. OEM does provide this, but for a price — the Tablespace Map is part of the Oracle Tuning Pack — and I like the free stuff and the extra flexibility I have using queries.

Page 59 of 79« First...102030...5758596061...70...Last »