<?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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:series="http://organizeseries.com/"
	>

<channel>
	<title>Steve Karam :: The Oracle Alchemist</title>
	<atom:link href="http://www.oraclealchemist.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oraclealchemist.com</link>
	<description>Steve Karam&#039;s Oracle Blog</description>
	<lastBuildDate>Tue, 18 Jun 2013 17:18:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://oraclealchemist.superfeedr.com/"/><atom:link rel="hub" href="http://oraclealchemist.ayup.us/"/>		<item>
		<title>Running in the Background</title>
		<link>http://www.oraclealchemist.com/news/running-in-the-background/</link>
		<comments>http://www.oraclealchemist.com/news/running-in-the-background/#comments</comments>
		<pubDate>Mon, 17 Jun 2013 12:16:10 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[dbms_scheduler]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=1180</guid>
		<description><![CDATA[<img width="150" height="150" src="http://cdn2.oraclealchemist.com/wp-content/uploads/2013/04/Archives-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="Archives" /><p>We all have that list of features we just wish Oracle would adopt in their latest version: alterable redo log files, command history in SQL*Plus, DBA_OOPS package with various rollback options when you screw something up&#8230; One of my biggest wishlist items is detachable sessions. In Oracle 10g we got the Datapump tool for exports [...]</p><p>The post <a href="http://www.oraclealchemist.com/news/running-in-the-background/">Running in the Background</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></description>
				<content:encoded><![CDATA[<img width="150" height="150" src="http://cdn2.oraclealchemist.com/wp-content/uploads/2013/04/Archives-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="Archives" /><p>We all have that list of features we just wish Oracle would adopt in their latest version: alterable redo log files, command history in SQL*Plus, DBA_OOPS package with various rollback options when you screw something up&#8230;</p>
<p>One of my biggest wishlist items is detachable sessions. In Oracle 10g we got the Datapump tool for exports and imports. One of its best features is the ability to detach from a running export or import and re-attach as needed. When you kick off an import (impdp) you can press CTRL+C and drop out to a client. From there, you can type &#8216;exit_client&#8217; and detach completely, allowing you to go home, get a coffee, turn off your computer, or otherwise amuse yourself in whatever way seems best. For example:</p>
<p></p><pre class="crayon-plain-tag">bash-3.00$ expdp system/******** directory=dpexp full=y dumpfile=test.dmp

Export: Release 11.2.0.3.0 - Production on Mon Jun 17 07:27:50 2013

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting &quot;SYSTEM&quot;.&quot;SYS_EXPORT_FULL_02&quot;:  system/******** directory=dpexp full=y dumpfile=test.dmp 
Estimate in progress using BLOCKS method...
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 52.70 GB
^C
Export&amp;gt; exit_client

bash-3.00$</pre><p> </p>
<p>As you can see, pressing CTRL+C allowed me to exit the client back to a bash prompt. Since the task is owned by the job SYS_EXPORT_FULL_02, it stays running in the background. However, I can re-attach to the job and use continue_client to keep watching, or:</p>
<p></p><pre class="crayon-plain-tag">bash-3.00$ expdp system/******** attach
...
Export&gt; kill_job
Are you sure you wish to stop this job ([yes]/no): yes

bash-3.00$</pre><p></p>
<p>And there it is. But the important thing to note is that when I kick off an export or import with expdp and impdp, it always runs as a job. That means that your foreground process is only attaching to the background process running the job; this is what allows you to attach and detach at will.</p>
<p>At the same time, that is technically always the case. When you connect to the database in SQL*Plus and run a command, your SQL*Plus process is not the one performing the work; instead, the commands are run against the DB with your server process&#8211;LOCAL=NO owned by init for remote connections, or LOCAL=YES owned by your SQL*Plus process for non-remote connections. It would be very nice to be able to detach and re-attach to tasks run from any Oracle client.</p>
<p>That being said, it&#8217;s not possible. So here are some ways to run your work in the background that are useful for cases where you have a long running process and aren&#8217;t sure if you can wait around for it to complete.</p>
<h2>NOHUP + Background</h2>
<p>Most everyone knows NOHUP (No Hangup). It is a command run from the UNIX/Linux prompt in which you call your script, usually with a &#8216;&#038;&#8217; sign at the end signifying you want the work to occur in the background, like so:</p>
<p></p><pre class="crayon-plain-tag">steve@220883 backgrounder]$ nohup ./longrun.sh &amp;
[1] 6446
[steve@220883 backgrounder]$ nohup: appending output to `nohup.out'

[steve@220883 backgrounder]$</pre><p></p>
<p>You can still keep an eye on your job with the &#8216;jobs&#8217; command, and even kill the job if need be:</p>
<p></p><pre class="crayon-plain-tag">[steve@220883 backgrounder]$ jobs
[1]+  Running                 nohup ./longrun.sh &amp;
[steve@220883 backgrounder]$ kill %1
[1]+  Terminated              nohup ./longrun.sh
[steve@220883 backgrounder]$</pre><p></p>
<p>Running a command with &#8216;nohup&#8217; is a great way to kick something off in the background, allowing you to disconnect and do other things.</p>
<h2>Disown</h2>
<p>But what if you forgot to run the nohup command? You can still kick your program to the background with CTRL+Z and run it in the background; however, you still own it:</p>
<p></p><pre class="crayon-plain-tag">[steve@220883 backgrounder]$ ./longrun.sh
[1]+  Stopped                 ./longrun.sh
steve@220883 backgrounder]$ bg
[1]+ ./longrun.sh &amp;</pre><p></p>
<p>Notice that pressing CTRL+Z stopped the job, and typing &#8216;bg&#8217; ran it in the background (signified by the &#8216;&#038;&#8217; sign). However, without NOHUP the command is still owned by my session. If I exit right now it will hang and the fate of my background job will be unclear.</p>
<p>To get around this problem, you can use the &#8216;disown&#8217; command:</p>
<p></p><pre class="crayon-plain-tag">[steve@220883 backgrounder]$ disown
[steve@220883 backgrounder]$</pre><p></p>
<p>Nothing special happens in the foreground. But in the background, your job is now owned by init (PID 1). You can feel free to exit and go about your business.</p>
<p><strong>Special Note:</strong> There is a special place in Hell for those who CTRL+Z out of &#8216;vi&#8217;.</p>
<h2>Screen</h2>
<p><em>Shamelessly borrowed from <a href="http://www.oraclealchemist.com/news/5-quick-and-dirty-linux-tips-you-may-not-know-about/" title="5 quick and dirty Linux tips you may not know">5 Quick and Dirty Linux Tips You May Not Know</a></em></p>
<p>This one was a godsend. Have you ever been working on a long running operation and you lost your connection to Oracle, or had to go home, or god knows what else? It is a horrible pain and one that really messes up a lot if it gets you at the wrong time. That should be a thing of the past if you use screen.</p>
<p>Screen is a multiplexed terminal, allowing you to spawn multiple terminals in a single terminal session. Opening a new &#8216;screen&#8217; is simple; simply type the word <code>screen</code> at a Linux command line:</p>
<p></p><pre class="crayon-plain-tag">[skaram@server2 ~]$ echo HELLO!
HELLO!
[skaram@server2 ~]$ screen</pre><p></p>
<p>Notice your terminal clears and you start at a new prompt. Now I will go ahead and make it wait for input.</p>
<p></p><pre class="crayon-plain-tag">[skaram@server2 ~]$ read -p &quot;Press Enter&quot;
Press Enter</pre><p></p>
<p>If I press CTRL+A, then CTRL+D, my screen will detach, putting me back on the &#8216;parent&#8217; terminal session:</p>
<p></p><pre class="crayon-plain-tag">[skaram@server2 ~]$ 
[skaram@server2 ~]$ 
[skaram@server2 ~]$ echo HELLO!
HELLO!
[skaram@server2 ~]$ screen
[detached]
[skaram@server2 ~]$</pre><p></p>
<p>If I want to get back to the child screen, I can type <code>screen -rx</code> to re-attach. Or start a new terminal with a fresh &#8216;screen&#8217; command. You can even detach from multiple terminals and connect to the one of your choosing:</p>
<p></p><pre class="crayon-plain-tag">[skaram@server2 ~]$ screen -list
There are screens on:
	10913.pts-2.server2	(Detached)
	10883.pts-2.server2	(Detached)
	9700.pts-2.server2	(Detached)
3 Sockets in /var/run/screen/S-skaram.

[skaram@server2 ~]$ screen -rx 10883.pts-2.server2</pre><p></p>
<p>But wait, there&#8217;s more! If you and a buddy, coworker, consultant, engineer, parole officer, etc. want to share the same screen, you can login as the same user via SSH and then both type <code>screen -rx</code>.  You will both join the multiplexed session (screen) and be able to type and see what each other is typing. It is awesome for following along, mentoring, etc.</p>
<h2>DBMS_SCHEDULER</h2>
<p>While Oracle Scheduler is an outstanding tool for <a href="http://www.oracle-base.com/articles/11g/scheduler-enhancements-11gr2.php" target="_blank">running tasks in the future or on a schedule</a>, it can also be used to run tasks right away. The best part is that since it is native to Oracle, it can run a PL/SQL block in addition to a shell script. That means if all you need to do is gather some stats or run a big update, you don&#8217;t need to make a shell script wrapper and nohup it. For example:</p>
<p></p><pre class="crayon-plain-tag">begin
  dbms_scheduler.create_job('stats_gather_test_uno',
    job_type=&gt;'plsql_block',
    job_action=&gt;'begin
dbms_stats.gather_schema_stats(ownname =&gt; ''SCOTT'');
end;',
    enabled=&gt;true);
end;
/</pre><p></p>
<p>That command will create a job called STATS_GATHER_TEST_UNO that gathers stats on the SCOTT schema right away in the background. You can use DBA_SCHEDULER_RUNNING_JOBS and other views to get more info on its progress. If you want to run a shell script, then job_type should be set to &#8216;EXECUTABLE&#8217; and job_action will be the script itself.</p>
<p><strong>Note</strong>: There are two single quotes around SCOTT in that example, as we are using single quotes inside of single quotes. If you need to run something like &#8216;execute immediate&#8217; you will have to use even more quotes, for example: </p>
<p></p><pre class="crayon-plain-tag">'begin
execute immediate ''something with ''''quotes'''''';
end;'</pre><p></p>
<p>Ouch. You can get around this problem with <a href="http://awads.net/wp/2006/03/30/the-q-quote-mechanism/" target="_blank">q-quotes</a>, introduced in 10gR1.</p>
<h2>Conclusion</h2>
<p>These options are a far cry from a real backgrounding capability for Oracle sessions. It would be great if we could do something like DBMS_SESS.DETACH(sid=>123, jobname=>&#8217;way_too_long&#8217;) then re-attach as needed. But until that day, there are some viable options as long as you show a little forethought.</p>
<p>You may have noticed that &#8216;cron&#8217; didn&#8217;t make the cut. We all know and love the cron tool for scheduling something that we don&#8217;t want running in our terminals; however, it&#8217;s already a very commonly blogged-about tool and somewhat inadequate for our &#8220;just run it once in the background please, thanks&#8221; requirements.</p>
<p>The post <a href="http://www.oraclealchemist.com/news/running-in-the-background/">Running in the Background</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/news/running-in-the-background/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Genesis (Ace Comic)</title>
		<link>http://www.oraclealchemist.com/news/genesis-ace-comic/</link>
		<comments>http://www.oraclealchemist.com/news/genesis-ace-comic/#comments</comments>
		<pubDate>Fri, 24 May 2013 13:24:29 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[ace]]></category>

		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=1165</guid>
		<description><![CDATA[<img width="150" height="150" src="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/03/ace_dba-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="The Adventures of Ace DBA" /><p>This entry is part 20 of 20 in the series Adventures of Ace, DBA&#160;The magic of creation&#8230; Related It was probably a database problem: Changes (Ace Comic) Avoiding Armageddon: High Performance Tuning Tools</p><p>The post <a href="http://www.oraclealchemist.com/news/genesis-ace-comic/">Genesis (Ace Comic)</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></description>
				<content:encoded><![CDATA[<img width="150" height="150" src="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/03/ace_dba-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="The Adventures of Ace DBA" /><div class="articleinfo">This entry is part 20 of 20 in the series <a href="http://www.oraclealchemist.com/series/adventures-of-ace-dba/" class="series-127" title="Adventures of Ace, DBA">Adventures of Ace, DBA</a>&nbsp;</div><p>The magic of creation&#8230;</p>
<p><a href="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/05/ace_genesis.png" rel="lightbox[1165]"><img src="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/05/ace_genesis.png" alt="Genesis (Ace Comic)" width="583" height="609" class="alignnone size-full wp-image-1166" /></a></p>
<h2>Related</h2>
<p>It was probably a database problem: <a href="http://www.oraclealchemist.com/oracle/changes-ace-comic/" title="Changes (Ace Comic)">Changes (Ace Comic)</a></p>
<p>Avoiding Armageddon: <a href="http://www.oraclealchemist.com/news/high-performance-tuning-tools/" title="High Performance Tuning Tools">High Performance Tuning Tools</a></p>
<p>The post <a href="http://www.oraclealchemist.com/news/genesis-ace-comic/">Genesis (Ace Comic)</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/news/genesis-ace-comic/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<series:name><![CDATA[Adventures of Ace, DBA]]></series:name>
	</item>
		<item>
		<title>High Performance Tuning Tools</title>
		<link>http://www.oraclealchemist.com/news/high-performance-tuning-tools/</link>
		<comments>http://www.oraclealchemist.com/news/high-performance-tuning-tools/#comments</comments>
		<pubDate>Tue, 21 May 2013 11:30:52 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=1153</guid>
		<description><![CDATA[<img width="150" height="150" src="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/04/speedometer-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="Performance Tuning" /><p>Obligatory Melodrama No matter how much time goes by I still remember it. The day my database was crippled beyond reckoning. That moment when I saw my hopes for a bright and shining future with my database spill through my fingers like so many cracker crumbs falling on a clean and well pressed pair of [...]</p><p>The post <a href="http://www.oraclealchemist.com/news/high-performance-tuning-tools/">High Performance Tuning Tools</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></description>
				<content:encoded><![CDATA[<img width="150" height="150" src="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/04/speedometer-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="Performance Tuning" /><h2>Obligatory Melodrama</h2>
<p>No matter how much time goes by I still remember it. The day my database was crippled beyond reckoning. That moment when I saw my hopes for a bright and shining future with my database spill through my fingers like so many cracker crumbs falling on a clean and well pressed pair of slacks.</p>
<p>It was the day I was told that we had to ditch AWR/ASH for a <a href="http://www.oraclealchemist.com/news/a-few-words-on-oracle-licenses/" title="A Few Words on Oracle Licenses" target="_blank">downgrade to Standard Edition</a>.</p>
<h2>There <del>Will</del> Won&#8217;t Be Blood</h2>
<p>You know, it&#8217;s funny. I got started on Oracle 7.3 (I know, I&#8217;m still a whippersnapper to many of you), back when men were real men, women were real women, and sqlplus / as sysdba was connect internal. We didn&#8217;t have no Statspack, we didn&#8217;t NEED no Statspack. We ran UTLBSTAT and we liked it. And when we didn&#8217;t like it, we ran UTLESTAT.</p>
<p>No, really, it sucked. But at the time, it wasn&#8217;t that bad. We seemed to find what we needed (most of the time) in the tools we had, and if we couldn&#8217;t find what we needed to do we&#8217;d drop back ten and punt (meaning we&#8217;d rewrite queries until our fingers bled).</p>
<p><a href="http://cdn2.oraclealchemist.com/wp-content/uploads/2013/05/arrowbox.jpg" rel="lightbox[1153]"><img src="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/05/arrowbox-300x225.jpg" alt="Performance Features" width="300" height="225" class="alignright size-medium wp-image-1162" /></a>Then Oracle 8 came and things still sucked. But then something magical happened. Oracle added an i. In case you don&#8217;t know, that &#8216;i&#8217; stands for <del>cloud</del> internet. In version 8.1.6 we got Statspack. And suddenly understanding our databases got a little cooler. We could get the big picture, a real top level view of what was going on in the instance as a whole. It gave us hourly snaps that we could use to see how our database progressed throughout the day/week/month/year/ORA-01653. The wait interface was lacking, the details sketchy or missing, but it still worked. It made a lot of things easier to understand.</p>
<p>With Oracle 9i it got a little better. But then Oracle worked their magic again and added a g. In case you don&#8217;t know, &#8216;g&#8217; stands for <del>cloud</del> grid. With Oracle 10g we got AWR and ASH. Whether we paid for it or not. And we got hooked. It wasn&#8217;t just a snapshot tool, it&#8217;s built into the architecture. It grows, it evolves, it slices, it dices! On sale today, and mind that you don&#8217;t disable it because <a href="http://jonathanlewis.wordpress.com/2006/11/19/awr-dilemma/" target="_blank">that feature&#8217;s protected by license</a> (I kid, I kid, they fixed that). And ASH, don&#8217;t even get me started. Rolling session-based performance snapshots? Near realtime performance tracking? Be still my beating heart.</p>
<p>So naturally when you&#8217;re losing it, it feels like you&#8217;ll never make it in this cruel, cruel world. It&#8217;s hard to have something so convenient taken away. But there&#8217;s still plenty of options out there for you.</p>
<h2>Take in the Views</h2>
<p>First of all, Oracle&#8217;s own DBA_, V$, and X$ views are becoming more and more detailed and easier to query by the version. Show of hands, how many of you still query v$session_event instead of v$session just to get an event name? There&#8217;s a ton of good information to be gleaned from Oracle&#8217;s stock views and packages. From <a href="http://www.bobbydurrettdba.com/2012/07/11/three-ways-to-get-a-plan-with-dbms_xplan/" target="_blank">DBMS_XPLAN</a> (which gets better every version) to <a href="http://www.oracle-base.com/articles/10g/performance-tuning-enhancements-10g.php#wait_model_improvements" target="_blank">time model statistics</a> and beyond, the metrics are getting better.</p>
<p><a href="http://www.oraclealchemist.com/news/these-arent-the-metrics-youre-looking-for/" title="These Aren’t the Metrics You’re Looking For" target="_blank">Just make sure they&#8217;re the metrics you&#8217;re looking for.</a></p>
<p>Oracle&#8217;s views are just a small piece of the performance tuning puzzle, however. Don&#8217;t forget that there is a world of events, tracing, and OS level analysis you can do. Just because we have these neat high level tools doesn&#8217;t mean you should forget the low level treasure troves. Sometimes the holistic tools don&#8217;t fully expose the <a href="http://www.pythian.com/blog/select-statement-generating-redo-and-other-mysteries-of-exadata/" target="_blank">details</a>.</p>
<h2>Snap It Up</h2>
<p><a href="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/05/film.jpg" rel="lightbox[1153]"><img src="http://cdn2.oraclealchemist.com/wp-content/uploads/2013/05/film-150x150.jpg" alt="Film" width="150" height="150" class="alignleft size-thumbnail wp-image-1161" /></a>Seriously guys, <a href="http://blog.tanelpoder.com/2013/02/18/even-more-snapper-v4-03-now-works-in-sql-developer-too/" target="_blank">Snapper 4</a> is the coolest thing since Snapper 3. Using Snapper, you can get ASH-like session runtime details with manually controlled snapshots of V$ views by running a single script. Tanel Poder can work a SQL prompt like no other, and Snapper is his magnum opus.</p>
<p>You can download Snapper by visiting his page (as he says, download it, don&#8217;t paste it) and run it immediately. With or without ASH, it&#8217;s well worth running for in depth details on your instance runtime as a whole or targeted to a single SID/user/whatever.</p>
<h2>Sashay Into the Room</h2>
<p>Another option for more long-term ASHishness is <a href="http://dboptimizer.com/ash-masters-2/s-ash/" target="_blank">S-ASH by Kyle Hailey and the ASH Masters crew</a>. This pack of scripts actually lets you create a repository database for your statistics and gather runtime data just like the real thing. You&#8217;ll be able to get all your session details along with time model statistics. It works without a Diagnostics Pack license and can even work against Oracle 9i.</p>
<p>And if you&#8217;re really missing those stacked area charts where you can visualize that poor sweet CPU horsepower being crushed mercilessly by the evil bad User I/O and Concurrency, you can even use <a href="http://dboptimizer.com/ash-masters-2/ashmon/" target="_blank">ASHMON</a> (another ASH Masters product) to get your graphs back.</p>
<h2>Ignite Your Performance &#8211; Free!</h2>
<p><img src="http://www.ignitefree.com/images/layout/header/logo.gif" width="211" height="72" class="alignright" /><a href="http://www.confio.com/performance/oracle/ignite/" target="_blank">Confio Ignite</a> is a highly popular monitoring software with response time analysis to help locate <a href="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/05/gollum.png" rel="lightbox[1153]">tricksy</a> bottlenecks. But if your company pursestrings are a little tight (after all, cheapskates won&#8217;t even buy you Diagnostics Pack) Confio is gracious enough to offer <a href="http://www.ignitefree.com/" target="_blank">Ignite Free</a>.</p>
<p>While it doesn&#8217;t have the full drill-down capabilities of the full version, it IS free and therefore a bargain. It also monitors SQL Server, DB2, Sybase, and has a version for databases on VMWare.</p>
<h2>The Web</h2>
<p>There is a plethora of advice out there for nearly any version of Oracle you may be using and a decent portion of the problems you may encounter. And if the problems you face can&#8217;t be found anywhere on that lovable series of tubes we call the Internet, there are forums and discussion groups and social networks full of people who love to help. And that&#8217;s just aces. (ba dum bum bum)</p>
<p>But&#8230;</p>

		<div class='et_quote'>
			<div class='et_right_quote'>
				A learned man came to me once.
He said, &#8220;I know the way, &#8212; come.&#8221;
And I was overjoyed at this.
Together we hastened.
Soon, too soon, were we
where my eyes were useless,
and I knew not the ways of my feet.
I clung to the hand of my friend;
but at last he cried, &#8220;I am lost.&#8221;&nbsp;- Stephen Crane
				
			</div>
			<span class='et_quote_sign'></span>
		</div>
	
<p>Remember that actions have consequences (both <a href="http://www.oraclealchemist.com/oracle/large-query-collider-ace-comic/" target="_blank">good and bad</a>). Be sure you test before you tune, and never ever blindly make changes to a production environment. Why, who knows where the advice has been. It might be dirty.</p>
<p>Good luck, and happy tuning!</p>
<p>The post <a href="http://www.oraclealchemist.com/news/high-performance-tuning-tools/">High Performance Tuning Tools</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/news/high-performance-tuning-tools/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Changes (Ace Comic)</title>
		<link>http://www.oraclealchemist.com/oracle/changes-ace-comic/</link>
		<comments>http://www.oraclealchemist.com/oracle/changes-ace-comic/#comments</comments>
		<pubDate>Fri, 10 May 2013 11:30:14 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ace]]></category>
		<category><![CDATA[comic]]></category>

		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=1140</guid>
		<description><![CDATA[<img width="150" height="150" src="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/03/ace_dba-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="The Adventures of Ace DBA" /><p>This entry is part 19 of 20 in the series Adventures of Ace, DBA&#160;It&#8217;s the only explanation! Related Ace has dealt with problems before&#8230; Default blame accepter?</p><p>The post <a href="http://www.oraclealchemist.com/oracle/changes-ace-comic/">Changes (Ace Comic)</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></description>
				<content:encoded><![CDATA[<img width="150" height="150" src="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/03/ace_dba-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="The Adventures of Ace DBA" /><div class="articleinfo">This entry is part 19 of 20 in the series <a href="http://www.oraclealchemist.com/series/adventures-of-ace-dba/" class="series-127" title="Adventures of Ace, DBA">Adventures of Ace, DBA</a>&nbsp;</div><p>It&#8217;s the only explanation!</p>
<p><a href="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/05/ace_changes.png" rel="lightbox[1140]"><img src="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/05/ace_changes.png" alt="Changes (Ace Comic)" width="583" height="445" class="alignnone size-full wp-image-1141" /></a></p>
<h2>Related</h2>
<p><a href="http://www.oraclealchemist.com/oracle/the-blame-game-ace-comic/" title="The Blame Game (Ace Comic)" target="_blank">Ace has dealt with problems before&#8230;</a></p>
<p><a href="http://www.oraclealchemist.com/news/dba-team-front-and-center/" title="DBA Team, Front and Center" target="_blank">Default blame accepter?</a></p>
<p>The post <a href="http://www.oraclealchemist.com/oracle/changes-ace-comic/">Changes (Ace Comic)</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/oracle/changes-ace-comic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Adventures of Ace, DBA]]></series:name>
	</item>
		<item>
		<title>Gamifying the DBA Experience</title>
		<link>http://www.oraclealchemist.com/news/gamifying-the-dba-experience/</link>
		<comments>http://www.oraclealchemist.com/news/gamifying-the-dba-experience/#comments</comments>
		<pubDate>Wed, 01 May 2013 17:12:33 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[dba]]></category>
		<category><![CDATA[gamification]]></category>

		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=1121</guid>
		<description><![CDATA[<img width="150" height="150" src="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/05/gaming-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="Gamification" /><p>This entry is part 5 of 5 in the series Grow Your Career&#160;All work and no play makes us dull DBAs. Being a DBA can be a really thankless job. From Jr. Shutdown Immediaters to Sr. Rockstar Oracle DBA ACE OCM PMP LOL A+ BBQs, we&#8217;ve all trudged into work at some point in our [...]</p><p>The post <a href="http://www.oraclealchemist.com/news/gamifying-the-dba-experience/">Gamifying the DBA Experience</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></description>
				<content:encoded><![CDATA[<img width="150" height="150" src="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/05/gaming-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="Gamification" /><div class="articleinfo">This entry is part 5 of 5 in the series <a href="http://www.oraclealchemist.com/series/grow-your-career/" class="series-115" title="Grow Your Career">Grow Your Career</a>&nbsp;</div><p>All work and no play makes us dull DBAs.</p>
<p>Being a DBA can be a <em>really</em> thankless job. From Jr. Shutdown Immediaters to Sr. Rockstar Oracle DBA ACE OCM PMP LOL A+ BBQs, we&#8217;ve all trudged into work at some point in our careers only to find that we have three impossible tasks, four humiliating tasks, and no less than seven &#8220;why is the database causing this query to be slow we haven&#8217;t changed it in two years&#8221; tasks. Yet we keep on doing it, day after day, for love of the data. Or something like that.</p>
<p>I wrote an article a while back about <a href="http://www.oraclealchemist.com/news/dba-team-front-and-center/" title="DBA Team, Front and Center" target="_blank">galvanizing the DBA team into action</a> and making them stand out a bit more in the corporate world. In the end, a lot of that boils down to making sure the DBA team looks less like a cranky support group that constantly needs disk space and <a href="http://dbareactions.tumblr.com/post/45601697067/when-we-have-to-enable-a-feature-on-oracle" target="_blank">expensive Oracle licenses</a> and more like a team that wants to work as a <a href="http://www.oraclealchemist.com/news/dba-grow-thyself-moving-and-shaking-in-the-era-of-data-dominance/" title="DBA, Grow Thyself – Moving and Shaking in the Era of Data Dominance" target="_blank">key part of bringing new products to market</a> (and thus earning money). But even then, it can be a tedious, mind numbing task at times.</p>
<p>So how can we spice up the DBA experience and the IT life in general?</p>
<h2>Gamification, of course</h2>
<p><a href="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/05/scoreboard.jpg" rel="lightbox[1121]"><img src="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/05/scoreboard-150x150.jpg" alt="scoreboard" width="150" height="150" class="alignleft size-thumbnail wp-image-1135" /></a>Everybody loves games. More to the point, people like being competitive and reveling in a sense of accomplishment and achievement. The idea behind <a href="http://www.gamification.org/" target="_blank">gamification</a> is that many things in the day-to-day non-gamified world can have principles of game theory attached to them. For the most part, <a href="http://www.linkdex.com/blog/the-psychology-of-gamification/" target="_blank">the current trend of gamification</a> is a corporate strategy that can be used to further engage a customer base (and is predicted to be a $1.6bn market by 2016 as a result). But even from a departmental or team point of view, it can have great benefits to increase morale, productivity, and accomplishment. And with a little luck and project management, it can be used to solve critical issues for your business.</p>
<p>What gamification <strong>is</strong>:</p>
<ul>
<li>Making tasks more like missions. Everything from tuning a query to backing up a database can be a mission. Instead of becoming yet another &#8216;requirement&#8217;, tasks can become goals.</li>
<li>Providing a system of Achievements, Badges, Rewards, etc. Modern games are nothing if they don&#8217;t have some sort of achievement system that allows players to share their accomplishments across their social network or game community. Within a business, that community can be the IT group (like the DBA team), the department as a whole, or even business-wide.</li>
<li>Competition! Pitting people against each other in a fun, non-threatening way is a great way to improve morale and encourage growth of skills outside of the standard &#8220;do this and do it well or you won&#8217;t get a raise&#8221; paradigm.</li>
<li>Leaderboards, which are good for tracking the competition and achievements but are also useful for status and review purposes. What&#8217;s the point of earning achievements if they aren&#8217;t tracked, or competing without scores?</li>
</ul>
<p>What gamification <strong>is not</strong>:</p>
<ul>
<li>Strapping your DBA team into slingshots and giving them an achievement for knocking over the most developers.</li>
<li>An IT version of Thunderdome where two DBAs enter, and one DBA leaves.</li>
</ul>
<h2>Let the Games Begin</h2>
<p>So it sounds great in theory, but what can we possibly do to bring it into our DBA practices? As with all answers regarding database management, it depends. If you&#8217;re a consulting organization, gamifying is simple because you generally are performing work and solving problems for a wide array of clients. You track team members&#8217; status and customer satisfaction anyways because it is part of the business model. For a DBA team inside an IT department at a major corporation, it can become a little more difficult. So let&#8217;s look into some of the ways you can make games part of your actual work.</p>
<h3>Backup and Restore Challenges</h3>
<p>Setting up and monitoring a good backup and disaster recovery solution can be a serious pain in the neck. But everyone would agree it is absolutely vital to your company and your job security. But even worse than setting it up and monitoring it is having to actually put those backups to use in the case of a critical failure. Whether the problem is a single corrupt data block or an entire database ground to dust, having to actually perform a restore when the heat is on and the managers are circling and all your plans for the weekend are being piled up in the &#8220;it&#8217;s the thought that counts&#8221; bin like so much garbage&#8230; well, it sucks. There, I said it.</p>
<p><a href="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/04/panic-button.jpeg" rel="lightbox[1121]"><img src="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/04/panic-button-150x150.jpeg" alt="Help Button" width="150" height="150" class="alignright size-thumbnail wp-image-946" /></a>Maybe that (with a hint of staffing problems and financial woes) is why companies are <a href="http://www.information-management.com/news/ten-reasons-disaster-recovery-plans-fail-10023118-1.html" target="_blank">failing to adequately test their DR plans</a>. That&#8217;s a highly dangerous practice, right there with giving developers DBA access to production and typing drop database commands and saying just kidding while you fumble for the backspace key. What is the point of organizing and configuring a complex backup solution if you only plan on testing it when disaster strikes? I can&#8217;t count the number of times I&#8217;ve worked with clients who said &#8220;oh, we needed that file?&#8221; or &#8220;well, the logs all looked okay&#8221; as their hopes for database recovery dropped like their company&#8217;s stock price after a three day outage.</p>
<p>So test your backup and recovery plan. But you can make it more fun by running simultaneous tests or presenting interesting and sometimes horrifying cases to the team when they are asked to perform restores. <a href="http://www.oraclealchemist.com/news/backups-and-a-clever-student/" title="Backups and a Clever Student" target="_blank">In this article</a> I wrote about the Backup/Restore Workshop day when I worked for Oracle University, and how one student took his preparations to a whole new level, ultimately giving me the old what for, so to speak. Make a competition out of it. Challenge your DBAs to recover from sticky situations and to do it quickly and efficiently. Engage other teams too (such as application server administrators), who ultimately should be part of backup and recovery testing. Doing so invites the teams to improve their speed while also giving the business a good idea of where there may be bottlenecks.</p>
<h3>Questionable Query Quality</h3>
<p>Not only is this topic worth 192 points in a triple word score in Words with Friends, it&#8217;s also a serious issue that almost every DBA/Development group has to face. Writing queries can be a very tedious task to the point where many groups skip that whole tuning thing and go straight for production, guns blazing. This is, of course, a bad idea.</p>
<p><a href="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/03/winner_is_you.jpg" rel="lightbox[1121]"><img src="http://cdn2.oraclealchemist.com/wp-content/uploads/2013/03/winner_is_you-150x150.jpg" alt="Winner Is You" width="150" height="150" class="alignleft size-thumbnail wp-image-829" /></a>At one company I worked for we came up with a really interesting, fun, and productive way of tackling this issue: we pitted the query developers against each other in battle. Developers would requested to put a comment in their SQL code with their name so we could 1) track who wrote it, and 2) hold contests periodically. So when someone did &#8220;SELECT /* Steve Karam */ count(*) from RIDUCLOUSLYHUGETABLE;&#8221; we knew who it was and where to go to get it fixed.</p>
<p>That can make for some seriously awesome competition. Each month, quarter, release, etc. you can host &#8216;award ceremonies&#8217; honoring the best and worst of the time window. Grab explain plans for all the queries and come up with <a href="http://www.oraclealchemist.com/news/these-arent-the-metrics-youre-looking-for/" title="These Aren’t the Metrics You’re Looking For" target="_blank">valuable metrics</a> to track like:</p>
<ul>
<li>Most readable</li>
<li>Best use of indexes</li>
<li>Least blocks touched</li>
<li>Most convoluted query</li>
<li>Least likely to make it to production</li>
<li>Most likely to result in concurrency waits</li>
</ul>
<p>It&#8217;s all in good fun. And it makes query reviews almost bearable. In fact, I&#8217;ve noticed in cases where I used this (whether in real environments or in training sessions) the participants were not embarrassed or angry about writing a bad query. They wanted to figure out how to make it better so they could be in a different acknowledgement tier the next time around.</p>
<h3>Professional Growth Challenge</h3>
<p>While there are a ton of competition ideas within the DBA team (best use of indexes, most SQL profiles used, fastest mouseslinger in the Grid) there is also that of professional development. How about a competition on who can get their OCP certification first? Or one of the many Oracle Expert certifications out there? Heck, even a contest to see who can rack up the most obscure or highest count of certifications from anywhere in the industry would be fun and potentially enlightening. Not only will the team benefit from the certifications and the process to get them, but it makes the team look better as a whole when everyone is clamoring to get professionally acknowledged the fastest.</p>
<p>If you have a really top notch team, then challenge them to get their OCM. While this will require some company backing to keep it fair since the OCM is an <a href="http://www.pythian.com/blog/how-to-prepare-to-oracle-database-11g-certified-master-exam/" target="_blank">expensive and time consuming test to take</a>, it <a href="http://yaocm.wordpress.com/2013/04/11/encouraging-dbas-to-become-ocms/" target="_blank">definitely has its rewards</a>. It is a great way to encourage professional growth within your team using pre-built metrics.</p>
<h3><del>D&#038;D</del> Tabletop Drills</h3>
<p>My current company had a pretty cool idea as the result of a stability and process review initiative. We started doing tabletop drills once per quarter. For these drills we assembled a team of moderators (usually one manager from each IT group) that came up with a couple scenarios of problems that can occur in our production systems. A &#8216;player&#8217; is chosen from each team to act as representative: one DBA, one applications administrator, one system administrator, etc. And we would get everyone in a room, surrounded by observers, and act it out.</p>
<p><a href="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/05/dice.jpg" rel="lightbox[1121]"><img src="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/05/dice-150x150.jpg" alt="dice" width="150" height="150" class="alignright size-thumbnail wp-image-1133" /></a>The idea is to act out the response to the crisis exactly as we would if it were really happening. Sometimes input is needed; for instance, if they discover that this scenario includes application servers being down, they can ask how many are down. Moderators answer questions and keep track of the progress to gauge how the activity goes as a whole, whether SLAs were acknowledged and met, and what can be improved. Following the activity, observers, moderators, and participants have a discussion about the scenarios as a whole and what action items should occur as a result of the findings.</p>
<p>I like it because it&#8217;s like the IT version of Dungeons and Dragons. We&#8217;ve got game masters and a group going through a perilous journey through a broken and charred land that was once a shining beacon of production goodness. Heck, we could even include dice next time. &#8220;How many DBs are down?&#8221; &#8220;Roll 2d6&#8243;. Critical hit, go to DR!</p>
<h2>What&#8217;s In It For Me?</h2>
<p>Even though there are built-in rewards to many challenges &#8212; better queries, faster backups, certifications, what have you &#8212; people still want to have something a little more, particularly in the gamified experience. So what can you offer up your team or colleagues for a job well done?</p>
<p><strong>Achievements</strong>: One of the cornerstones of game theory, achievements are fun and fulfilling. Use stickers, logos, Portal shoutouts, even badges inside the company intranet to show accomplishments. I personally think it would be neat to see &#8220;Achievements&#8221; next to Job Description, Contact Information, and Org Chart in my company portal filled in with things like &#8220;Onward and Upward &#8211; Upgraded three databases in a two week period&#8221; or &#8220;Did I Do That? &#8211; Fixed a fat-finger mistake with flashback or restores&#8221;. In fact, I would go out of my way to do amazing things just to earn more achievements.</p>
<p><strong>Seminars and Conferences</strong>: Maybe the DBA with the most accomplishments gets to go to Oracle Open World this year. Or perhaps the developers with the best (or worst, to be more logical) queries get tickets to the next big Java conference. Whatever the case may be, I&#8217;ve noticed a growing number of companies unwilling to send their teams to conferences. In some cases they believe them to be merely a chance for the DBA (or other professional) to find another job. In others, they see it as a waste of money compared to other training. While ultimately these are horrible reasons to deny technical conferences to your team, perhaps using achievements and fulfillment of goals as a way to send people will improve performance as well.</p>
<p><strong>A break</strong>: You could always give the winner a day to work from home (or off, you taskmaster you). Or for the thrill seeking types, the &#8216;losers&#8217; have to give the winner a week off on call by taking it for them.</p>
<blockquote><p><strong>Will Turner</strong>: What are they wagering?</p>
<p><strong>&#8216;Bootstrap&#8217; Bill Turner</strong>: Oh, the only thing we have. Years of service.</p></blockquote>
<p><strong>Company Certifications</strong>: Why not create a set of certifications within your own organization? As someone who has been in education and publishing for quite a while and as one of the lead writers of the Oracle 10g Certified Master exam, you can trust me when I say that certifications are an outstanding way to bring job satisfaction and a feeling of recognition to an IT team. Come up with certifications within your company that can be awarded for exemplary work or completion of certain achievements. Use those certifications during review time as a concrete measurement of success within the company. Make it possible for anyone to get certified in-house (e.g. developers can get in-house DBA certifications) to keep the career paths open at your organization. There are many ways you can acknowledge people for hard work; a certification they can put on their company profile, their emails, or even their resume can go a long way toward that goal.</p>
<p><a href="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/05/hammertime.jpg" rel="lightbox[1121]"><img src="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/05/hammertime-150x150.jpg" alt="The Hammer" width="150" height="150" class="alignleft size-thumbnail wp-image-1132" /></a><strong>Let them destroy something</strong>: This one sounds funny, and it is&#8230; but next time you migrate from one server to another or decommission an environment, let the winners of various competitions be the ones to type and press enter on that DROP USER command or DROP DATABASE. A company I worked for a long time ago did this. We finally moved off of an old and painful architecture. Once the database was moved over and the old one set to be deleted, we allows developers to drop the tables they hated the most and gave the honor of dropping the main schema to our lead (and most overworked) customer service representative. It was a great way to celebrate the occasion.</p>
<h2>Conclusion</h2>
<p>Some of these ideas may seem far fetched or downright silly. But you have to track employee progress, tasks, and status anyways. Why not do it in a way that gives everyone a sense of competition and accomplishment?</p>
<p>Gamification doesn&#8217;t have to be strictly for companies to rope in consumers. By using it within teams it can also improve morale, grow employees at a professional level, and give everyone something to strive for.</p>
<p>The post <a href="http://www.oraclealchemist.com/news/gamifying-the-dba-experience/">Gamifying the DBA Experience</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/news/gamifying-the-dba-experience/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<series:name><![CDATA[Grow Your Career]]></series:name>
	</item>
		<item>
		<title>Industry Leader (Ace Comic)</title>
		<link>http://www.oraclealchemist.com/news/industry-leader-ace-comic/</link>
		<comments>http://www.oraclealchemist.com/news/industry-leader-ace-comic/#comments</comments>
		<pubDate>Fri, 26 Apr 2013 14:21:09 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[ace]]></category>
		<category><![CDATA[comic]]></category>

		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=1108</guid>
		<description><![CDATA[<img width="150" height="150" src="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/03/ace_dba-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="The Adventures of Ace DBA" /><p>This entry is part 18 of 20 in the series Adventures of Ace, DBA&#160;More Friday fun from the World&#8217;s Leading DBA Comic! Related: Metrics That Matter: These Aren&#8217;t the Metrics You&#8217;re Looking For Improve Your Experience: DBA, Grow Thyself &#8211; Moving and Shaking in the Era of Data Dominance</p><p>The post <a href="http://www.oraclealchemist.com/news/industry-leader-ace-comic/">Industry Leader (Ace Comic)</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></description>
				<content:encoded><![CDATA[<img width="150" height="150" src="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/03/ace_dba-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="The Adventures of Ace DBA" /><div class="articleinfo">This entry is part 18 of 20 in the series <a href="http://www.oraclealchemist.com/series/adventures-of-ace-dba/" class="series-127" title="Adventures of Ace, DBA">Adventures of Ace, DBA</a>&nbsp;</div><p>More Friday fun from the World&#8217;s Leading DBA Comic!</p>
<p><a href="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/04/ace_industry_leader.jpg" rel="lightbox[1108]"><img src="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/04/ace_industry_leader.jpg" alt="Industry Leader (Ace Comic)" width="583" height="523" class="alignnone size-full wp-image-1113" /></a></p>
<h2>Related:</h2>
<p>Metrics That Matter: <a href="http://www.oraclealchemist.com/news/these-arent-the-metrics-youre-looking-for/" title="These Aren't the Metrics You're Looking For" target="_blank">These Aren&#8217;t the Metrics You&#8217;re Looking For</a></p>
<p>Improve Your Experience: <a href="http://www.oraclealchemist.com/news/dba-grow-thyself-moving-and-shaking-in-the-era-of-data-dominance/" title="DBA, Grow Thyself - Moving and Shaking in the Era of Data Dominance" target="_blank">DBA, Grow Thyself &#8211; Moving and Shaking in the Era of Data Dominance</a></p>
<p>The post <a href="http://www.oraclealchemist.com/news/industry-leader-ace-comic/">Industry Leader (Ace Comic)</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/news/industry-leader-ace-comic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Adventures of Ace, DBA]]></series:name>
	</item>
		<item>
		<title>Bringing Oracle Sales to the Table</title>
		<link>http://www.oraclealchemist.com/news/bringing-oracle-sales-to-the-table/</link>
		<comments>http://www.oraclealchemist.com/news/bringing-oracle-sales-to-the-table/#comments</comments>
		<pubDate>Mon, 22 Apr 2013 11:30:09 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[licensing]]></category>
		<category><![CDATA[sales]]></category>

		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=1085</guid>
		<description><![CDATA[<img width="150" height="150" src="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/04/piggybank-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="Piggy Bank" /><p>April is almost over, and you know what that means&#8230; Oracle really, REALLY wants to talk to you about some of their products. It&#8217;s no secret that the end of Oracle&#8217;s fiscal year (May 31st) marks a flurry of activity for Oracle sales, and doubtless many of you have met or will be meeting with [...]</p><p>The post <a href="http://www.oraclealchemist.com/news/bringing-oracle-sales-to-the-table/">Bringing Oracle Sales to the Table</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></description>
				<content:encoded><![CDATA[<img width="150" height="150" src="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/04/piggybank-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="Piggy Bank" /><p>April is almost over, and you know what that means&#8230;</p>
<p>Oracle really, REALLY wants to talk to you about some of their products.</p>
<p><a href="http://cdn2.oraclealchemist.com/wp-content/uploads/2013/04/sale_tag.jpg" rel="lightbox[1085]"><img src="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/04/sale_tag-150x150.jpg" alt="Oracle Sale" width="150" height="150" class="alignright size-thumbnail wp-image-1091" /></a>It&#8217;s no secret that the end of Oracle&#8217;s fiscal year (May 31st) marks a flurry of activity for Oracle sales, and doubtless many of you have met or will be meeting with them soon. These meetings can be highly beneficial for your company particularly if you are on the hunt for new hardware, database licenses, or other software. And if you&#8217;re not on the hunt for anything new, well&#8230; they can be pretty persuasive. You might be the proud owner of <a href="https://blogs.oracle.com/sistare/entry/massive_solaris_scalability_for_the">a T5-8</a> on June 1st.</p>
<p>Before that time comes, there&#8217;s a few things you can do to prepare. Ready yourself!</p>
<h2>Understanding Licenses</h2>
<p>Oracle keeps pretty good records. Before meeting you they will make sure to know exactly what you own, how much you pay for support, and what your company&#8217;s public plans might be. They absolutely understand their own licensing model and know a good deal about how it plays into your environment.</p>
<p>So why would you go into a discussion with them about purchases without knowing what it is you&#8217;re actually buying?</p>
<p>First, make sure you <a href="http://www.oraclealchemist.com/news/a-few-words-on-oracle-licenses/" title="A Few Words on Oracle Licenses" target="_blank">understand the different license types and how they apply to your servers</a>. Know whether you <em>need</em> Standard Edition or Enterprise Edition. Perhaps you are concerned about missing out on Diagnostics Pack and AWR/ASH. Yet perhaps STATSPACK and <a href="http://dboptimizer.com/ash-masters-2/s-ash/" target="_blank">Simulated Ash (S-ASH)</a> might work for you instead. Do you need DataGuard? Try <a href="http://www.dbvisit.com/" target="_blank">DBvisit</a>. Make sure before you take the Enterprise Edition plunge you really need all the features and add-ons it allows.</p>
<p>Don&#8217;t get me wrong, those features are many and wondrous. Parallelism, online operations, DataGuard, <a href="http://www.oradba.ch/2011/09/tablespace-point-in-time-recovery-and-oracle-11-2-0-2/" target="_blank">Tablespace Point In Time Recovery (TSPITR)</a> and more are features worth having&#8230; if you want to pay for them.</p>
<h2>Get a Grip on Your Licenses</h2>
<p>It is equally important to understand your own licenses. The many companies I&#8217;ve worked with were a mixed bag. Some paid extraordinarily meticulous attention to their licenses, either entrusting them to an employee in charge of corporate license purchases or to the DBA team. Others had absolutely no idea and no control over their licenses. Developers, DBAs, or even <a href="http://blogs.hbr.org/cs/2012/09/shadow_it_is_out_of_the_closet.html" target="_blank">small groups working under non-IT departments</a> would install Oracle on an as-needed basis with no care for the complicated requirements of Oracle. Every few years they&#8217;d scramble out of fear of the <em>audit</em>, that oft whispered pain that may rain down on an unruly business.</p>
<p><a href="http://cdn2.oraclealchemist.com/wp-content/uploads/2013/04/lying_businessman.jpg" rel="lightbox[1085]"><img src="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/04/lying_businessman-150x150.jpg" alt="Lying Businessman" width="150" height="150" class="alignleft size-thumbnail wp-image-1092" /></a>I&#8217;ve never been through an audit so I can&#8217;t speak to their supposed rigorousness. But I do know the best thing you can possibly do &#8212; both to stay in the good graces of Oracle and to know what you need come bargaining time &#8212; is to know where Oracle is being used inside your organization and what features you have installed.</p>
<p>This might include a company-wide internal audit of your installations, asking each group what they have installed and where. A DBA team that is not aware of &#8216;secret&#8217; Oracle installations is in for quite a bit of pain anyways, as when problems strike you will suddenly become aware of it in the form of a team of people requiring help. It is also recommended that you <a href="http://amoratech.wordpress.com/2011/07/22/how-to-find-the-installed-components-of-an-oracle-database/" target="_blank">run scripts</a> on your installations to gather information about installed features from DBA_REGISTRY. Make a spreadsheet, fill it in, and keep it updated. Track the licenses you&#8217;ve bought and where they are allocated. And if you are out of compliance, make note of it. The end of Oracle&#8217;s fiscal year may be a great time to true up.</p>
<h2>Pay Attention to Metrics that Matter</h2>
<p>I wrote an article recently about the misunderstanding behind some Oracle metrics called <a href="http://www.oraclealchemist.com/news/these-arent-the-metrics-youre-looking-for/" title="These Aren’t the Metrics You’re Looking For" target="_blank">These Aren&#8217;t the Metrics You&#8217;re Looking For</a>. In it I described five frequently misused metrics as they pertain to Oracle tuning.</p>
<p>But there&#8217;s another very very misunderstood metric as most people don&#8217;t even know it exists or why it&#8217;s important. And that is the only metric that matters when it comes to hardware purchases for database servers: per-core performance.</p>
<p><a href="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/04/business_graph.jpg" rel="lightbox[1085]"><img src="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/04/business_graph-150x150.jpg" alt="Business Graph" width="150" height="150" class="alignright size-thumbnail wp-image-1093" /></a>Why is this important? Because as Kevin Closson points out in his <a href="http://kevinclosson.wordpress.com/2013/04/09/my-first-words-on-oracles-sparc-t5-processor-the-worlds-fastest-microprocessor/" target="_blank">excellent article about the SPARC T5 Processor</a>, performance per core can be correlated to performance per license. If you&#8217;re about to shell out your hard earned cash on a fistful of licenses then you need to know exactly what each license buys you. If Oracle&#8217;s licenses were based on the amount of disk you used, you would absolutely be sure to make the best use of that disk.</p>
<p>I&#8217;m not saying that the other things Oracle will bring up &#8212; caches, disks, secret sauce, oh my &#8212; are not important. Depending on your bottleneck the juice may be worth the squeeze. But before you buy a server with oodles of CPUs that you must license perhaps you should make sure your application is tuned to make the best use of CPU. Then perhaps you should make sure that server meets your CPU needs.</p>
<h2>Do You Even Need Anything New?</h2>
<p>Why are you sitting at the table in the first place? Is it because you really need to make some purchases or because you got a call? Or perhaps because someone up above made the request.</p>
<p>There&#8217;s been a long standing debate about throwing hardware at a problem. More and more companies these days are throwing hardware at issues&#8230; either to avoid expensive and time-consuming tuning and re-architecting or because standard computing can&#8217;t do the things they want to do. I&#8217;m not going to embark on that particular journey in this post, but I will say that you owe it to yourself and your finances to at least ensure your problems can&#8217;t be resolved with some parameter changes, query rewrites, or indexes.</p>
<p>Absolutely most importantly, make sure the hardware you are buying fixes the problem you are having. I&#8217;ve seen many companies buy new hardware only to find it didn&#8217;t make a single difference in their performance. And there is nothing that will anger a business and frustrate an IT department more. Pay attention to <a href="http://blog.tanelpoder.com/2010/01/15/beyond-oracle-wait-interface-part-2/" target="_blank">waits and usage</a>, and make sure the bottlenecks you&#8217;re encountering are the ones you&#8217;re fixing. If your system is disk I/O bound, a new microprocessor probably won&#8217;t give you much, if any, relief.</p>
<h2>Watch Out for the Eager Want</h2>
<p>A principle of sales from my <a href="http://www.oraclealchemist.com/news/the-best-it-career-book-ive-ever-owned/" title="The best IT career book I’ve ever owned" target="_blank">favorite business book</a>, How to Win Friends and Influence People, is to &#8220;arouse in the other person an eager want.&#8221; Remember that Oracle&#8217;s &#8220;eager want&#8221; is already there. They want to sell you products all year round, and definitely right before the end of their fiscal year. When Oracle Sales comes knocking at your door, their job is to arouse that want in you.</p>
<p><a href="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/04/pocket_change.jpg" rel="lightbox[1085]"><img src="http://cdn2.oraclealchemist.com/wp-content/uploads/2013/04/pocket_change-150x150.jpg" alt="Pennies on the Dollar" width="150" height="150" class="alignleft size-thumbnail wp-image-1094" /></a>You will hear about all sorts of amazing products, from SPARC chips to OVM to Advanced Compression to Real Application Clusters. You don&#8217;t have to wear a hat and shades to hide your emotions like a poker competition, but you may at least want to make sure you know what these features do and whether or not you need them. It is good to have a healthy relationship with Oracle. They are a maker of outstanding products, and they absolutely have knowledge of those products that will be beneficial to you. But just like with any sales meeting, make sure you keep your wants in check and mind the pocketbook.</p>
<h2>Conclusion</h2>
<p>Twas the month before end of fiscal year and all through the net, sales are stirring and getting us in debt. This is absolutely the time to get some outstanding deals from Oracle Corporation (and other companies). Get your ducks in a row and reap the benefits responsibly!</p>
<p>The post <a href="http://www.oraclealchemist.com/news/bringing-oracle-sales-to-the-table/">Bringing Oracle Sales to the Table</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/news/bringing-oracle-sales-to-the-table/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Branch Off a Twitter Conversation</title>
		<link>http://www.oraclealchemist.com/news/branch-off-a-twitter-conversation/</link>
		<comments>http://www.oraclealchemist.com/news/branch-off-a-twitter-conversation/#comments</comments>
		<pubDate>Mon, 22 Apr 2013 00:20:33 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[branch]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=1079</guid>
		<description><![CDATA[<img width="150" height="150" src="http://cdn2.oraclealchemist.com/wp-content/uploads/2013/04/branches-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="Tree Branch" /><p>A couple weeks ago I posted a whimsical (and very slightly sardonic) article on the Internet of Things with a view on what an average day could be like if everything (even your shower soap tray) was network connected and capable of programmed rules or even decision making analytics. It spurted a generous number of [...]</p><p>The post <a href="http://www.oraclealchemist.com/news/branch-off-a-twitter-conversation/">Branch Off a Twitter Conversation</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></description>
				<content:encoded><![CDATA[<img width="150" height="150" src="http://cdn2.oraclealchemist.com/wp-content/uploads/2013/04/branches-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="Tree Branch" /><p>A couple weeks ago I posted a whimsical (and very slightly sardonic) <a href="http://www.oraclealchemist.com/news/sensors-everywhere-in-the-internet-of-things/" title="Sensors Everywhere in the Internet of Things">article on the Internet of Things</a> with a view on what an average day could be like if everything (even your shower soap tray) was network connected and capable of programmed rules or even decision making analytics.</p>
<p>It spurted a generous number of small Twitter conversations and a spot on a couple Internet of Things aggregators. But just a couple days ago I saw an interesting tweet:</p>
<blockquote class="twitter-tweet" width="500"><p>Talking about “Does the internet of things create a future without surprise” on @<a href="https://twitter.com/branch">branch</a>. Who has something to add? <a href="http://t.co/oJQLTgphTe" title="http://branch.com/b/does-the-internet-of-things-create-a-future-without-surprise">branch.com/b/does-the-int…</a></p>
<p>&mdash; Matthew Knight (@webponce) <a href="https://twitter.com/webponce/status/324815833769582592">April 18, 2013</a></p></blockquote>
<p><script async src="//platform.twitter.com/widgets.js?2cc2ab" charset="utf-8"></script></p>
<h2>Introducing Branch</h2>
<p>I had heard of <a href="http://branch.com/" target="_blank">Branch</a> before, and I had understood it as a place where you can have conversations about a topic with more than 140 characters. One of the things I noticed was that I was unable to initially reply to the branch conversation; instead, I had to ask the original conversation author to invite me. It was described to me by @branch thus:</p>
<blockquote class="twitter-tweet" width="500"><p>@<a href="https://twitter.com/oraclealchemist">oraclealchemist</a> The former. Gives you the ability to host little &#8220;dinner table&#8221; conversations, if you want to think about it that way.</p>
<p>&mdash; Branch (@branch) <a href="https://twitter.com/branch/status/324919973652877312">April 18, 2013</a></p></blockquote>
<p><script async src="//platform.twitter.com/widgets.js?2cc2ab" charset="utf-8"></script></p>
<p>It turns out the reasoning for this is pretty cool. Have you ever been involved in a conversation on Twitter and wanted to take it offline? That&#8217;s where Branch comes in. It&#8217;s still in the public eye, but now you get 750 characters per response. The people who were on the Twitter conversation with you are still part of the Branch conversation, and other people can ask to be involved. A dinner chat indeed! You can also share any point in the conversation back to Twitter, even a single sentence of someone&#8217;s contribution. And the conversation as a whole can be embedded into any site. Here, for example, is the one regarding my Internet of Things article:</p>
<script type="text/javascript" src="http://embed-script.branch.com/assets/embed/embed.m.js?body=0" data-branch-embedid="MP2OYm5cxto" ></script> 
<noscript><a href="http://branch.com/b/does-the-internet-of-things-create-a-future-without-surprise">Does the internet of things create a future without surprise</a></noscript>
 
<p>It is a fairly cool platform, and I could see it being incredibly useful in the IT world thanks to our long product names, syntax, and tendency to talk too much (okay, maybe I&#8217;m projecting).</p>
<p>The post <a href="http://www.oraclealchemist.com/news/branch-off-a-twitter-conversation/">Branch Off a Twitter Conversation</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/news/branch-off-a-twitter-conversation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Performance Tuning Your WordPress Blog</title>
		<link>http://www.oraclealchemist.com/news/performance-tuning-your-wordpress-blog/</link>
		<comments>http://www.oraclealchemist.com/news/performance-tuning-your-wordpress-blog/#comments</comments>
		<pubDate>Wed, 17 Apr 2013 02:43:46 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=1049</guid>
		<description><![CDATA[<img width="150" height="150" src="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/04/speedometer-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="Performance Tuning" /><p>This entry is part 1 of 1 in the series Optimizing WordPress&#160;In my adventures in Twitterland I&#8217;ve noticed a lot of people who are using WordPress blogs (this one included). Some use wordpress.com which gives them a free blog with minimal theme and plugin choices; however, they get a lot of cool optimizations built in. [...]</p><p>The post <a href="http://www.oraclealchemist.com/news/performance-tuning-your-wordpress-blog/">Performance Tuning Your WordPress Blog</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></description>
				<content:encoded><![CDATA[<img width="150" height="150" src="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/04/speedometer-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="Performance Tuning" /><div class="articleinfo">This entry is part 1 of 1 in the series <a href="http://www.oraclealchemist.com/series/optimizing-wordpress/" class="series-164" title="Optimizing WordPress">Optimizing WordPress</a>&nbsp;</div><p>In my adventures in Twitterland I&#8217;ve noticed a lot of people who are using WordPress blogs (this one included). Some use wordpress.com which gives them a free blog with minimal theme and plugin choices; however, they get a lot of cool optimizations built in.</p>
<p>If you&#8217;re like me and running your own self-hosted blog then you have all the options in the world available to you but far less right out of the box.</p>
<p>This post will go over the performance changes I&#8217;ve made in an attempt to get my blog up to speed. It is part one of a series called Optimizing WordPress which will cover performance, syndication, editing, and more.</p>
<p>For now, let&#8217;s drop a gear and <del>disappear</del> speed up our blogs!</p>
<h2>WordPress &#8211; Location, Location, Location</h2>
<p>The first major point of consideration is this: Are you master of your own fate, beholden to no one, or a slave to the will of others? And by that of course I mean: do you have root?</p>
<p><a href="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/04/root_worth_it.jpg" rel="lightbox[1049]"><img src="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/04/root_worth_it-300x250.jpg" alt="Root - Because you&#039;re worth it" width="300" height="250" class="alignright size-medium wp-image-1051" /></a>I wholeheartedly recommend having root privileges if you are going to run your own blog (particularly if you know what you are doing). Shared hosting of the bygone age generally did not allow this, but today you can get yourself setup via a number of dedicated or cloud virtual private server (VPS) environments and have your own fully configurable server in no time flat. I personally host mine with <a href="https://www.15minuteservers.com/Welcome.asp" target="_blank">15 Minute Servers</a> as I want a robust environment I can use for many of my own sites, shared hosting for friends, etc. </p>
<p>Some providers are actually dedicated strictly to WordPress such as the ever popular <a href="http://wpengine.com/" target="_blank">WP Engine</a>. These options will cost a bit more than running it yourself, but they also come complete with the enhancements you will probably want.</p>
<p>Whatever you choose to do, get root privileges. Not only will it make you feel lordly, but it will be necessary for the next step of this article.</p>
<h2>Let&#8217;s Get Cached</h2>
<p>There&#8217;s a piece of software out there that does such a good job at providing caching services to PHP that PHP will include it in the core sometime soon. Until then, I&#8217;d recommend you download <a href="http://php.net/manual/en/book.apc.php" target="_blank">Alternative PHP Cache (APC)</a>.</p>
<p><a href="http://cdn2.oraclealchemist.com/wp-content/uploads/2013/04/apc_screenshots1.png" rel="lightbox[1049]"><img src="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/04/apc_screenshots1-300x228.png" alt="APC Screenshots" width="300" height="228" class="alignleft size-medium wp-image-1060" /></a>With APC installed PHP code can now take direct advantage of the RAM resources on your system and use it for caching chunks of data. MySQL results, objects, and even entire HTML pages can be cached inside of it with the right code.</p>
<p>Alone this cache won&#8217;t do much for you, but with the right plugins for WordPress you&#8217;ll be able to take full advantage of it. Before that point though we must get the APC software installed. You can find a good guide for that <a href="http://www.if-not-true-then-false.com/2012/php-apc-configuration-and-usage-tips-and-tricks/" target="_blank">here</a>.</p>
<p>And as if the software benefits weren&#8217;t enough, you also get a great monitoring page with all sorts of metrics to keep track of which I know my Oracle buddies will absolutely love.</p>
<h2>Cold Pressed Performance</h2>
<p>Once you have APC installed, you can go ahead and install a plugin in WordPress called W3 Total Cache. This is an extremely well known plugin that is able to cache various parts of the WordPress environment, including:</p>
<ul>
<li>Pages &#8211; When a user reads a page it will be cached so the next hit will be near instant.</li>
<li>Minify &#8211; There are two parts to this component. It will take your JavaScript/CSS files and eliminate whitespace and change variable names to be smaller. It will also cache these &#8216;minified&#8217; files for better performance.</li>
<li>Database &#8211; Caches MySQL query results. Highly important for WordPress, where depending on your theme you may be running over 100 queries for a single page.</li>
<li>Objects &#8211; Caches WordPress cache objects into your chosen cache (in our case, APC).</li>
<li>Browser &#8211; Allows browser-based caching on the client side.</li>
</ul>
<p>Turning these on is as simple as installing W3 Total Cache, navigating to the Performance > General Settings page, and selecting these caches with the Cache Methods set to &#8220;Opcode: Alternative PHP Cache (APC)&#8221;. There are other settings that may interest you which you can find under each cache type&#8217;s individual page under the Performance section of your admin page. One incredibly interesting option is the CDN, which stands for Content Delivery Network.</p>
<h2>It&#8217;s not Delivery, It&#8217;s CDN</h2>
<p>Content Delivery Networks are the coolest thing since ever. Simply by setting up a CDN with a &#8220;pull zone&#8221; and fiddling with some DNS settings you can put the power of many servers at your disposal.</p>
<p>CDNs are designed to take your static content such as images, CSS files, and JS files and distribute them over a wide network. This distribution is designed to be automatic both for you and your end user. Viewers on your website see nothing but sudden blazing fast speeds as the images and code for your pages are delivered to their browser from a variety of sources.</p>
<p>There are many CDNs to choose from. CloudFlare is an extremely popular one due to its performance and security features while also being somewhat easy to set up. I went with MaxCDN due to reviews I had read and the customizability it seemed to offer and I am very happy with it. Setup can be a little harrowing; basically you need to create an account, fork over some cache, and add CNAME records on your DNS pointing a subdomain to your new MaxCDN account. On the MaxCDN side, you will configure a Pull Zone which is configured to pull content from your blog on request and serve it up. There are options to clear cache files and all sorts of cool reports and other features.</p>
<p>There are a ton of settings to use and they are well documented. Instead of going through the entire thing I will point you to <a href="http://www.wpbeginner.com/plugins/how-to-install-and-setup-w3-total-cache-for-beginners/" target="_blank">How To Install and Setup W3 Total Cache For Beginners</a>. Just remember that we are using APC for caching, not Disk. The most important part of the article at this point is the MaxCDN and W3 setup for it.</p>
<p>Once you have Page, MySQL, Object, and Browser caching enabled along with a CDN to serve up your images, JavaScript, and CSS from all over the world you will be, for the most part, as fast as a software company jumping on the Cloud bandwagon.</p>
<p>One item of note: There&#8217;s a setting under Performance > Page Cache to enable/disable the cache for either logged in users or certain user roles. It is highly recommended that you turn off page caching for Administrators. That way you can see the results of your hard won changes. The only drawback is that your users will have faster performance than you, and may notice problems that you don&#8217;t. It&#8217;s always a good idea to have another browser ready that&#8217;s not logged in to your admin account to keep track of pages and how they look.</p>
<h2>What&#8217;s Slowing You Down?</h2>
<p>Even with all these optimizations you still may have some pain points. A lot of times these are caused by plugins that are simply too overbearing on user performance. Many plugins have components that &#8216;phone home&#8217; to the plugin owner&#8217;s site for whatever reason which can drastically reduce your performance.</p>
<p><a href="http://cdn2.oraclealchemist.com/wp-content/uploads/2013/04/p3.png" rel="lightbox[1049]"><img src="http://cdn1.oraclealchemist.com/wp-content/uploads/2013/04/p3-300x190.png" alt="p3" width="300" height="190" class="alignright size-medium wp-image-1065" /></a>The plugin P3 (Plugin Performance Profiler) is able to review your site and give you great details on which plugins are causing the most pain. You can find the plugin <a href="http://wordpress.org/extend/plugins/p3-profiler/" target="_blank">here</a>.</p>
<p>Once you&#8217;ve installed the plugin, direct it to the pages you&#8217;d like to test and let it go to work. It takes a while but gives you table and graph data to let you know what you need to disable, replace, or tweak.</p>
<p>Honestly the best policy overall is to review your plugins periodically. Many times you&#8217;ll find that there are a ton of plugins you just don&#8217;t need, or maybe stopped needing recently.</p>
<h2>Testing, Testing 1ms 2ms 3ms</h2>
<p>While you&#8217;re doing all these performance improvements it&#8217;s a good idea to keep an eye on your page speeds to track your progress. Pingdom Tools has a great <a href="http://tools.pingdom.com/fpt/" target="_blank">speed test</a> that can test your site from multiple locations and let you know how long it took. You also get a breakdown of where the performance hogs were so you know what to tune next (for instance, a large javascript file or big image). Just because you cache and distribute content doesn&#8217;t mean you will be fast for all users; remember, they still have to download the page which takes time. The more jQuery and reactive design stuff you have on your page, the bigger it is going to be.</p>
<p>Another good one is <a href="http://www.webpagetest.org/" target="_blank">WebPageTest</a> which I actually like quite a bit better than Pingdom. It gives you greater options for how you want the test conducted and can save the results so you can compare later. However, both are capable and can give you great clues as to which files are causing you grief. </p>
<h2>What Else?</h2>
<p>That&#8217;s the end of this performance boosting article, but there is more to come. Next in my Optimizing WordPress series is syndication, where I will go over different syndication and sharing plugins and technologies available to you to help get your blog to more places.</p>
<p>The post <a href="http://www.oraclealchemist.com/news/performance-tuning-your-wordpress-blog/">Performance Tuning Your WordPress Blog</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/news/performance-tuning-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<series:name><![CDATA[Optimizing WordPress]]></series:name>
	</item>
		<item>
		<title>Replication (Ace Comic)</title>
		<link>http://www.oraclealchemist.com/news/replication-ace-comic/</link>
		<comments>http://www.oraclealchemist.com/news/replication-ace-comic/#comments</comments>
		<pubDate>Fri, 12 Apr 2013 19:06:44 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[ace]]></category>
		<category><![CDATA[dbvisit]]></category>
		<category><![CDATA[goldengate]]></category>
		<category><![CDATA[replication]]></category>
		<category><![CDATA[streams]]></category>

		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=999</guid>
		<description><![CDATA[<img width="150" height="150" src="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/03/ace_dba-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="The Adventures of Ace DBA" /><p>This entry is part 17 of 20 in the series Adventures of Ace, DBA&#160; Related: Loosely based on my (tongue-in-cheek) Replication Platform Comparison. Learn more about Oracle Golden Gate in the Enterprise! Don&#8217;t settle for the same technology every time. Deploy Outside the Box.</p><p>The post <a href="http://www.oraclealchemist.com/news/replication-ace-comic/">Replication (Ace Comic)</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></description>
				<content:encoded><![CDATA[<img width="150" height="150" src="http://cdn3.oraclealchemist.com/wp-content/uploads/2013/03/ace_dba-150x150.jpg" class="attachment-thumbnail wp-post-image" alt="The Adventures of Ace DBA" /><div class="articleinfo">This entry is part 17 of 20 in the series <a href="http://www.oraclealchemist.com/series/adventures-of-ace-dba/" class="series-127" title="Adventures of Ace, DBA">Adventures of Ace, DBA</a>&nbsp;</div><p><a href="http://cdn2.oraclealchemist.com/wp-content/uploads/2013/04/ace_dba_replication.jpg" rel="lightbox[999]"><img src="http://cdn2.oraclealchemist.com/wp-content/uploads/2013/04/ace_dba_replication.jpg" alt="Replication (Ace Comic)" width="583" height="376" class="alignnone size-full wp-image-1000" /></a></p>
<h2>Related:</h2>
<p>Loosely based on my (tongue-in-cheek) <a href="http://www.oraclealchemist.com/news/replication-platform-comparison/" title="Replication Platform Comparison" target="_blank">Replication Platform Comparison</a>.</p>
<p>Learn more about <a href="http://www.oraclealchemist.com/news/oracle-goldengate-in-the-enterprise/" title="Oracle GoldenGate in the Enterprise" target="_blank">Oracle Golden Gate in the Enterprise</a>!</p>
<p>Don&#8217;t settle for the same technology every time. <a href="http://www.oraclealchemist.com/news/deploying-outside-the-box/" title="Deploying Outside the Box" target="_blank">Deploy Outside the Box</a>.</p>
<p>The post <a href="http://www.oraclealchemist.com/news/replication-ace-comic/">Replication (Ace Comic)</a> appeared first on <a href="http://www.oraclealchemist.com">Steve Karam :: The Oracle Alchemist</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/news/replication-ace-comic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Adventures of Ace, DBA]]></series:name>
	</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Database Caching 21/47 queries in 0.026 seconds using apc
Object Caching 2773/2840 objects using apc
Content Delivery Network via cdn1.oraclealchemist.com

 Served from: www.oraclealchemist.com @ 2013-06-20 03:19:38 by W3 Total Cache -->