Search

OakieTags

Who's online

There are currently 0 users and 30 guests online.

Recent comments

Affiliations

February 2011

Searching on Google just got a lot safer...

If you use Chrome anyway. If you haven't tried Chrome - give it a whirl, I was a diehard Firefox user until I tried out Chrome.

There is an extension that can block sites on Google Search. It is called the "Personal Blocklist". Within seconds of installing it - the annoying sites that use whatever technique they can to get to the top of a Google Search were blocked (by me, you just click on "block " in the search result and they disappear!)
You can opt to show the blocked results at anytime - so if you wanted to see them - they are easily there, but hidden.
Very cool - very very cool. There was at least one or two sites I blocked immediately - including the annoying ones that pretend to show answers but then want you to log in to read them (sometimes with a paywall).

UnConference - Jonathan Lewis

Media: 
See video

 How to become an Oracle expert.

Furies of Calderon…

I was getting a bit of Dresden Files withdrawal, so I decided to give Jim Butcher‘s other series (Codex Alera) a go, starting with Furies of Calderon.

It’s very different to the Dresden Files style. For a start, it’s not in first-person, so you don’t feel like you are in the head of any specific character, but you get a more rounded view of the other characters. Second, there is no magic, although I guess you could call the furies a type of magic. Third, the books are big. Speaking as a born-again-reader, I’m still a bit daunted by large books.

Despite the obvious differences, I really enjoyed it. I will no doubt start on the second book in the series some time today.

Cheers

Tim…

Calculating Overlapping Hours for Labor Transactions

February 15, 2011 There is an interesting problem in the ERP platform that I support.  When production floor workers begin working on a particular job, the employee “clocks into” the job in the computer system.  When production floor workers stop working on a particular job, the employee “clock out of” the job in the computer [...]

It’s Conference Season!

My favorite mode of life is being busy doing something that I enjoy and that I know, beyond a doubt, is the Right Thing to be doing. Any hour I get to spend in that zone is a precious gift.

I’ve been in that zone nearly continuously for the past three weeks. I’ve been doing two of my favorite things: lots of consulting work (helping, earning, and learning), and lots of software development work (which helps me help, earn, and learn even faster).

I’m looking forward to the next four weeks, too, because another Right Thing that I love to do is talk with people about software performance, and three of my favorite events where I can do that are coming right up:

Product Support vs Operational Support

Sometimes I get questions as to whether Pythian is one of the competitors battling with Oracle for MySQL support. The answer lies in the distinction of product support and operational support.

At Pythian, we are laser focused on supporting applications and data infrastructure using Oracle, MySQL and Microsoft SQL Server products. A vast majority of our Oracle customers (there are few customers who have very old 7.x and 8.x products running without vendor support) have Oracle maintenance subscriptions that include product updates and product support. Product support entitles the customer to open support requests when the product doesn’t perform according to the specifications (bug reports) as well as fill in enhancement requests. It also covers deployment blue-prints and deployment guidelines in the official vendor documentation and support database.

What you can’t expect from product support are answers to questions like these:

  • How do I architect my infrastructure?
  • How much CPU do I need to run this database
  • How do I setup my backups?
  • How do I tune that SQL statement?
  • What I need to monitor in my environment to keep it healthy and avoid service outages?

Of course you cannot expect product support to login to your systems and help monitor them, recover a corrupted database or resolve performance issues etc.

Oracle customers usually have clear understanding of the differences between product support and operations support and consulting that Pythian provides. Even then, every now and again we hear rare statements like “I’m not renewing our Oracle product support because we now have you, Pythian, supporting our databases.” Hearing that, we’re catching our breath for few seconds and then patiently explain that this is inadvisable and the product support is totally different from what Pythian does.

Because of its open-source nature, MySQL database customers have somewhat less incentive to sign up for product support relying on public community releases and the ability to patch the product themselves but even then there is a clear distinction between product support and operational support.

All that was a long prelude to answering the question — “Is Pythian Competing with Oracle and other vendors for MySQL product support”? The answer is NO — Pythian provides plan, deploy, manage services — we analyze, design, implement and maintain the infrastructure. We are working with the vendor providing product support (or as part of the community at large when it comes to the open-source community MySQL releases).

CMOS battery replaced…

My main desktop machine has been playing up a bit recently. When powered down it was sometimes forgetting the date and time settings. I figured it was the CMOS battery, but I couldn’t be bothered to open the case and change it. Anyway, after redoing the CMOS settings far to many times I finally opened it up to see what kind of battery it took. To my delight it was a “CR2032″, which rang a bell as I had bought one recently to put into some kitchen scales. A quick trip down stairs and I “found” a new battery, popped it in and Robert’s your Father’s Brother. :)

I would just like to point out that I still believe this event was a sign that I should waste money on some new hardware… :)

Cheers

Tim…

Running Grid Control Agent commands standalone

I had an error message today from one of my grid agents which was cut short in the GUI just when it became interesting. So I thought of a way of running the command on the comand line to get the full output.

This has been a little easier than I thought. I based my approach on an earlier blog article on my knowledgebase to get the perl environment variables set. I then needed to figure out where some of the libraries (perl scripts ending in *.pm) the agent script are referring were located.

A simple “locate -i *pm | grep $ORACLE_HOME” did it. This enabled me to write a preliminary script to run an EM agent task, shown below. It expects that you have ran “oraenv” previously to set the environment to the AGENT_HOME. When referring to ORACLE_HOME in the following, the AGENT_HOME is meant. It takes the full parameter to the script to be executed as the parameter and checked for ORACLE_HOME and $1 to exist.

#!/bin/bash

if [ "${ORACLE_HOME}" == "" ]; then
echo "Need to specify the ORACLE_HOME first!"
exit 1
fi

if [ "$1" == "" ]; then
echo "Need to specify the full path to the script to run"
exit 1;
fi

LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

PERLBIN=$ORACLE_HOME/perl/bin/perl
PERLV=`${PERLBIN} -e 'printf "%vd", $^V'`

PERLINC="-I ${ORACLE_HOME}/perl/lib/${PERLV}"
PERLINC="${PERLINC} -I ${ORACLE_HOME}/perl/lib/site_perl/${PERLV}"
PERLINC="${PERLINC} -I ${ORACLE_HOME}/lib"
PERLINC="${PERLINC} -I $ORACLE_HOME/sysman/admin/scripts/"

RUNTHIS="${PERLBIN} ${PERLINC} $1"

exec ${RUNTHIS}

This allowed me to run the script crs_status.pl – $ORACLE_HOME/sysman/admin/scripts/ without problem.

But what is even worse...