<?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/"
	>

<channel>
	<title>Blue Gecko&#187; Jeremiah Wilton&#8217;s Oradeblog</title>
	<atom:link href="http://www.bluegecko.net/category/oradeblog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bluegecko.net</link>
	<description>Blue Gecko, a world-class Managed Service Provider</description>
	<lastBuildDate>Mon, 16 Apr 2012 21:59:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Oracle (finally) announces support for Oracle Database 11gR2 on OEL6</title>
		<link>http://www.bluegecko.net/oracle/oracle-finally-announces-support-for-oracle-database-11gr2-on-oel6/</link>
		<comments>http://www.bluegecko.net/oracle/oracle-finally-announces-support-for-oracle-database-11gr2-on-oel6/#comments</comments>
		<pubDate>Fri, 23 Mar 2012 23:06:37 +0000</pubDate>
		<dc:creator>Jeremiah Wilton</dc:creator>
				<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Remote DBA]]></category>
		<category><![CDATA[Certification]]></category>
		<category><![CDATA[OEL]]></category>
		<category><![CDATA[OEL6]]></category>
		<category><![CDATA[Oracle Enterprise Linux]]></category>
		<category><![CDATA[UEK]]></category>
		<category><![CDATA[Unbreakable Enterprise Kernel]]></category>

		<guid isPermaLink="false">http://www.bluegecko.net/?p=3672</guid>
		<description><![CDATA[Over a year after first releasing Oracle Enterprise Linux 6, Oracle finally announced Thursday that it will support running Oracle Databases on Oracle Enterprise Linux 6 (OEL6). Currently, the certification is only valid with the Unbreakable Enterprise Kernel (UEK). What’s that? You thought Oracle already supported their flagship software product on the current version of [...]


Related posts:<ol><li><a href='http://www.bluegecko.net/oracle/oracle-certification-vs-oracle-support/' rel='bookmark' title='Permanent Link: Oracle Certification vs Oracle Support'>Oracle Certification vs Oracle Support</a></li>
<li><a href='http://www.bluegecko.net/news-events/blue-gecko-announces-free-oracle-database-performance-reviews/' rel='bookmark' title='Permanent Link: Blue Gecko Announces Free Oracle Database Performance Reviews'>Blue Gecko Announces Free Oracle Database Performance Reviews</a></li>
<li><a href='http://www.bluegecko.net/database-hosting-services/oracle-on-aws/' rel='bookmark' title='Permanent Link: Oracle Database Hosting on AWS'>Oracle Database Hosting on AWS</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Over a year after first releasing <a href="http://www.oracle.com/us/technologies/linux/index.html">Oracle Enterprise Linux 6</a>, Oracle finally <a href="http://www.oracle.com/us/corporate/press/1555025">announced</a> Thursday that it will support running Oracle Databases on Oracle Enterprise Linux 6 (OEL6). Currently, the certification is only valid with the <a href="http://www.oracle.com/us/technologies/linux/ubreakable-enterprise-kernel-linux-173350.html">Unbreakable Enterprise Kernel (UEK)</a>.</p>
<p>What’s that?  You thought Oracle already supported their flagship software product on the current version of their flagship operating system and kernel?  Well that is what most of <a href="http://www.bluegecko.net">Blue Gecko</a>’s <a href="http://www.bluegecko.net/remote-dba-services/">Remote DBA</a> customers thought too.  Too often we have had to break the news to a customer who has already dutifully built out their hosts with Oracle’s latest Linux that they will need to reinstall with OEL 5.x in order to be running a supported combination.</p>
<p>Oracle’s <a href="https://support.oracle.com/CSP/ui/flash.html#tab=CertifyHomePageV2(page=CertifyHomePageV2&#038;id=h05tnyjw())">certification site</a> adds a few more details.  Although the UEK v.2 has been available since March 13, this certification only applies to OEL6 with UEK v.1. So don’t go upgrading to the latest and greatest UEK yet. Also, this certification appears to be valid only for x86-64 architectures, not i386. <a href="https://support.oracle.com">My Oracle Support</a>’s Certify tool also only shows the certification as valid only for Oracle databases running patchset 11.2.0.3.</p>
<p>Finally, certain things you would want to have when running Oracle, such as the oracle-validated RPM bundle, are still missing from the Unbreakable Linux Network’s OEL6 Yum repositories.</p>
<p>Our advice is to not go rushing to upgrade yet.  Let’s give it a few months for the early adopters to flush out the usual SNAFUs, and then take another look.</p>


<p>Related posts:<ol><li><a href='http://www.bluegecko.net/oracle/oracle-certification-vs-oracle-support/' rel='bookmark' title='Permanent Link: Oracle Certification vs Oracle Support'>Oracle Certification vs Oracle Support</a></li>
<li><a href='http://www.bluegecko.net/news-events/blue-gecko-announces-free-oracle-database-performance-reviews/' rel='bookmark' title='Permanent Link: Blue Gecko Announces Free Oracle Database Performance Reviews'>Blue Gecko Announces Free Oracle Database Performance Reviews</a></li>
<li><a href='http://www.bluegecko.net/database-hosting-services/oracle-on-aws/' rel='bookmark' title='Permanent Link: Oracle Database Hosting on AWS'>Oracle Database Hosting on AWS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.bluegecko.net/oracle/oracle-finally-announces-support-for-oracle-database-11gr2-on-oel6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Too Many Flashbacks</title>
		<link>http://www.bluegecko.net/oracle/too-many-flashbacks/</link>
		<comments>http://www.bluegecko.net/oracle/too-many-flashbacks/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 21:34:34 +0000</pubDate>
		<dc:creator>Jeremiah Wilton</dc:creator>
				<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.bluegecko.net/?p=3666</guid>
		<description><![CDATA[With apologies to Dr. Seuss. Did I ever tell you the makers of RAC had seven features and named each flashback? Well they did, and it wasn’t a smart thing to do. You see, when the customers wanted a clue as to how to keep data from getting deleted the RAC folks said “flashback” and [...]


Related posts:<ol><li><a href='http://www.bluegecko.net/oracle/in-memory-undo/' rel='bookmark' title='Permanent Link: In-Memory Undo'>In-Memory Undo</a></li>
<li><a href='http://www.bluegecko.net/emergency-support/emergency-database-repair/' rel='bookmark' title='Permanent Link: Emergency Database Repair'>Emergency Database Repair</a></li>
<li><a href='http://www.bluegecko.net/mysql/recovering-a-schema-from-innodb-frm-files/' rel='bookmark' title='Permanent Link: Recovering a Schema From InnoDB .frm Files'>Recovering a Schema From InnoDB .frm Files</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>With apologies to Dr. Seuss.</p>
<p>Did I ever tell you the makers of RAC<br />
had seven features and named each flashback?</p>
<p>Well they did, and it wasn’t a smart thing to do.<br />
You see, when the customers wanted a clue<br />
as to how to keep data from getting deleted<br />
the RAC folks said “flashback” and customers heeded.</p>
<p>They turned on all seven of those flashback features<br />
Each one was a slightly dissimilar creature.<br />
Some used the UNDO, some used flashback files<br />
Some just renamed tables to bin$ styles.</p>
<p>One was a place you keep things for recovering<br />
Another was just for forensic discovering<br />
With so many features called by the same name<br />
when thinks broke no one knew just which one they should blame.</p>
<p>On a Friday three minutes past seventeen hundred,<br />
users ask, “What’s the deal? Our data’s been plundered.”<br />
“It looks like all names in the customer table,<br />
are now ‘John Q Public,’ a certain mislabel.”</p>
<p>It was Nimrod, an intern fresh from his instruction.<br />
What he thought was just test was really production.<br />
“No Problem,” says Morton, the wise DBA,<br />
“Flashback is on. I’ll restore it today.”</p>
<p>First Morton asked Nimrod what time he committed<br />
his update that had any where clause omitted.<br />
“I ran it at just past noon yesterday lunch,<br />
It ran for so long that I went for a munch.”</p>
<p>By now it had been almost thirty one hours<br />
but Morton knew that he could call on his powers,<br />
and on the mere fact that that the undo_retention<br />
was set to two days, a quite lengthy extension.</p>
<p>But woe! When he tried to engage Flashback Query,<br />
he got “snapshot too old” and it ruined his theory<br />
that undo_retention makes Oracle hold<br />
all undo data no matter how old.</p>
<p>It turns out that there was no undo_guarantee<br />
or autoextend which would also be key<br />
to use all Flashback features reliant on Undo<br />
A realization he would slowly come to.</p>
<p>Now Flashback Transaction and Versions Between<br />
were out of the picture, although unforseen.<br />
But he still had four more kinds of Flashback to try<br />
So he thought them each through, to see if they might fly.</p>
<p>Undropping the table would use flashback syntax,<br />
But that wouldn’t help, since the table was intact.<br />
With database flashback all could be reverted<br />
But subsequent changes would then be subverted</p>
<p>Do you know who was governor of California<br />
When Flashback Data Archive came out and I’ll warn ya,<br />
it will not help poor Morton, though it’s called Total Recall.<br />
He’d have had to enable it for tables to see all.</p>
<p>The last of the flashbacks was the old FRA,<br />
the Flashback Recovery Area they say.<br />
And it’s just a directory where things are kept<br />
Like logs and old backups made while Morton slept.</p>
<p>So after all that there was nary a way<br />
to use Flashback of any sort to save the day.<br />
Old-fashioned LogMiner was what Morton used<br />
To restore all the rows that poor Nimrod abused.</p>
<p>With so many flashbacks and so much confusion<br />
I bet that Oracle regrets the profusion<br />
of so many things that they call the same name.<br />
But now its too late and there’s no one to blame.</p>


<p>Related posts:<ol><li><a href='http://www.bluegecko.net/oracle/in-memory-undo/' rel='bookmark' title='Permanent Link: In-Memory Undo'>In-Memory Undo</a></li>
<li><a href='http://www.bluegecko.net/emergency-support/emergency-database-repair/' rel='bookmark' title='Permanent Link: Emergency Database Repair'>Emergency Database Repair</a></li>
<li><a href='http://www.bluegecko.net/mysql/recovering-a-schema-from-innodb-frm-files/' rel='bookmark' title='Permanent Link: Recovering a Schema From InnoDB .frm Files'>Recovering a Schema From InnoDB .frm Files</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.bluegecko.net/oracle/too-many-flashbacks/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The strangest Oracle problem I ever encountered &#8211; can you guess the cause?</title>
		<link>http://www.bluegecko.net/oracle/the-strangest-oracle-problem-i-ever-encountered-can-you-guess-the-cause/</link>
		<comments>http://www.bluegecko.net/oracle/the-strangest-oracle-problem-i-ever-encountered-can-you-guess-the-cause/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 18:48:11 +0000</pubDate>
		<dc:creator>Jeremiah Wilton</dc:creator>
				<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Remote DBA]]></category>
		<category><![CDATA[emergency]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mystery]]></category>
		<category><![CDATA[outage]]></category>
		<category><![CDATA[puzzle]]></category>

		<guid isPermaLink="false">http://www.bluegecko.net/?p=3660</guid>
		<description><![CDATA[Before I joined Blue Gecko, I did independent remote DBA work, and called myself ORA-600 Consulting. Stemming from my hair-raising experiences in the trenches at Amazon in the late &#8217;90s / early 2000s, I decided to specialize in emergency DBA work for companies in the midst of crises (I know, great idea for someone who [...]


Related posts:<ol><li><a href='http://www.bluegecko.net/oracle/oracle-finally-announces-support-for-oracle-database-11gr2-on-oel6/' rel='bookmark' title='Permanent Link: Oracle (finally) announces support for Oracle Database 11gR2 on OEL6'>Oracle (finally) announces support for Oracle Database 11gR2 on OEL6</a></li>
<li><a href='http://www.bluegecko.net/database-hosting-services/oracle-on-aws/' rel='bookmark' title='Permanent Link: Oracle Database Hosting on AWS'>Oracle Database Hosting on AWS</a></li>
<li><a href='http://www.bluegecko.net/oracle-backups-to-s3/' rel='bookmark' title='Permanent Link: Oracle Backups to S3'>Oracle Backups to S3</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Before I joined <a href="http://www.bluegecko.net">Blue Gecko</a>, I did independent <a href="http://www.bluegecko.net/remote-dba-services/">remote DBA</a> work, and called myself <em>ORA-600 Consulting</em>. Stemming from my hair-raising experiences in the trenches at <a href="http://www.amazon.com">Amazon</a> in the late &#8217;90s / early 2000s, I decided to specialize in <a href="http://www.bluegecko.net/emergency-support/">emergency DBA</a> work for companies in the midst of crises (I know, great idea for someone who wanted to get away from the Amazon craziness, right?).</p>
<p>One day in 2009, a company in Florida called my cell phone at 2AM. They described their problem as follows:</p>
<blockquote><p>We have a 32-bit Intel server running <a href="http://www.redhat.com/rhel/">Red Hat Enterprise Linux</a> 4 and <a href="http://www.oracle.com/us/products/database/enterprise-edition/index.html">Oracle Database Enterprise Edition</a> 9.2.0.1.  There are four databases ranging in size from 20G to 100G. The storage is EXT3 filesystems on partitions of an <a href="http://www.apple.com/server/storage/">Apple Xserv</a> RAID5 array.</p>
<p>We had a power outage yesterday, and the database server powered down and booted back up.  Prior to yesterday, it has not rebooted for about one year. We have been running trouble-free for the previous year. Upon reboot, Oracle started automatically, but all of the databases appeared as they did about one year ago. It is like the database hasn&#8217;t been saving the changes we have been making for the past year. None of the inserts, updates or deletes made in the past year are present in the databases.  We are absolutely flummoxed. Please help!
</p></blockquote>
<p>I logged into the server and it was just as they described.  Even the alert log and messages files ended suddenly about one year prior, and picked up again on the day of the most recent reboot.  There was no trace of the intervening 12 months of work.  The customer was ready to resort to their backups, but wanted to understand the problem before they proceeded.  In addition, restoring backups would mean losing the last 24 hours of transactions, since archivelogs had not gone to tape for that long, and they were missing just like everything else from before the most recent reboot.</p>
<p>They weren&#8217;t the only ones who were flummoxed. I just sat there thinking, &#8220;where do I start?&#8221;  After some poking around, though, I solved the problem.  Any guesses what went wrong here?  I&#8217;ll post the solution in about a week.  No fair posting the solution if I&#8217;ve told you this story before!</p>


<p>Related posts:<ol><li><a href='http://www.bluegecko.net/oracle/oracle-finally-announces-support-for-oracle-database-11gr2-on-oel6/' rel='bookmark' title='Permanent Link: Oracle (finally) announces support for Oracle Database 11gR2 on OEL6'>Oracle (finally) announces support for Oracle Database 11gR2 on OEL6</a></li>
<li><a href='http://www.bluegecko.net/database-hosting-services/oracle-on-aws/' rel='bookmark' title='Permanent Link: Oracle Database Hosting on AWS'>Oracle Database Hosting on AWS</a></li>
<li><a href='http://www.bluegecko.net/oracle-backups-to-s3/' rel='bookmark' title='Permanent Link: Oracle Backups to S3'>Oracle Backups to S3</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.bluegecko.net/oracle/the-strangest-oracle-problem-i-ever-encountered-can-you-guess-the-cause/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Finding non-default configuration settings in SQL Server</title>
		<link>http://www.bluegecko.net/sql-server/finding-non-default-configuration-settings-in-sql-server/</link>
		<comments>http://www.bluegecko.net/sql-server/finding-non-default-configuration-settings-in-sql-server/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 18:23:40 +0000</pubDate>
		<dc:creator>Jeremiah Wilton</dc:creator>
				<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[Remote DBA]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.bluegecko.net/?p=3289</guid>
		<description><![CDATA[In our Remote DBA practice, we frequently perform comprehensive system reviews for our customers on their database services. Among the things we always check for are non-default settings for the database software. We want to validate that any non-default setting is set that way for a good reason, and that any setting that is default [...]


Related posts:<ol><li><a href='http://www.bluegecko.net/sql-server/finding-thread-ids-and-names-of-sql-server-background-threads/' rel='bookmark' title='Permanent Link: Finding thread IDs and names of SQL Server background threads'>Finding thread IDs and names of SQL Server background threads</a></li>
<li><a href='http://www.bluegecko.net/remote-dba-services/sql-server/' rel='bookmark' title='Permanent Link: SQL Server'>SQL Server</a></li>
<li><a href='http://www.bluegecko.net/oracle/deriving-optional-configuration-values-using-11g-database-replay/' rel='bookmark' title='Permanent Link: Deriving Optimal Configuration Values Using 11g Database Replay'>Deriving Optimal Configuration Values Using 11g Database Replay</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In our <a href="http://www.bluegecko.net/remote-dba-services/">Remote DBA</a> practice, we frequently perform comprehensive system reviews for our customers on their database services. Among the things we always check for are non-default settings for the database software.  We want to validate that any non-default setting is set that way for a good reason, and that any setting that is default really should be that way.</p>
<p>In Oracle, this is easy.  The &lt;code&gt;gv$parameter&lt;/code&gt; view has a column, &lt;code&gt;ISDEFAULT&lt;/code&gt;, that allows a simple SQL query to show which settings are set to non-default values.</p>
<p>It&#8217;s not so easy in SQL Server.  There is a view, master.sys.configurations, but it doesn&#8217;t have a way to tell if the setting is default or modified or anything.</p>
<p>That&#8217;s why I was pleased to find that <a href="http://sqlserverperformance.idera.com/authors/" target="_blank">Michael Campbell</a> came up with a <a href="http://sqlserverperformance.idera.com/uncategorized/quickly-validating-sql-server-configuration-settings/" target="_blank">good solution that hard codes known default values into a script</a> that works for SQL Server 2008 and up.</p>
<p>The style of insert used in the above script doesn&#8217;t work for SQL Server versions lower than 2008, so I made slight changes to allow it to work on 2005 and lower.  Here it is, with full attribution to Michael Campbell for developing the underlying script and technique. I can&#8217;t guarantee all the default values are valid for earlier versions, but the script runs and shows results for SQL Server 2005.</p>
<pre class="brush: plain; title: ;">
-- Server Configuration (find any non-standard settings)
--        for SQL Server 2008.
DECLARE @config_defaults TABLE (
    name nvarchar(35),
    default_value sql_variant
)

INSERT INTO @config_defaults (name, default_value) VALUES ('access check cache bucket count',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('access check cache quota',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('Ad Hoc Distributed Queries',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('affinity I/O mask',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('affinity mask',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('affinity64 I/O mask',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('affinity64 mask',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('Agent XPs',1)
INSERT INTO @config_defaults (name, default_value) VALUES ('allow updates',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('awe enabled',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('backup compression default',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('blocked process threshold (s)',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('c2 audit mode',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('clr enabled',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('common criteria compliance enabled',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('cost threshold for parallelism',5)
INSERT INTO @config_defaults (name, default_value) VALUES ('cross db ownership chaining',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('cursor threshold',-1)
INSERT INTO @config_defaults (name, default_value) VALUES ('Database Mail XPs',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('default full-text language',1033)
INSERT INTO @config_defaults (name, default_value) VALUES ('default language',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('default trace enabled',1)
INSERT INTO @config_defaults (name, default_value) VALUES ('disallow results from triggers',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('EKM provider enabled',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('filestream access level',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('fill factor (%)',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('ft crawl bandwidth (max)',100)
INSERT INTO @config_defaults (name, default_value) VALUES ('ft crawl bandwidth (min)',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('ft notify bandwidth (max)',100)
INSERT INTO @config_defaults (name, default_value) VALUES ('ft notify bandwidth (min)',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('index create memory (KB)',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('in-doubt xact resolution',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('lightweight pooling',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('locks',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('max degree of parallelism',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('max full-text crawl range',4)
INSERT INTO @config_defaults (name, default_value) VALUES ('max server memory (MB)',2147483647)
INSERT INTO @config_defaults (name, default_value) VALUES ('max text repl size (B)',65536)
INSERT INTO @config_defaults (name, default_value) VALUES ('max worker threads',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('media retention',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('min memory per query (KB)',1024)
-- NOTE: SQL Server may change the min server
--   memory value 'in flight' in some environments
--    so it may commonly show up as being 'non default'
INSERT INTO @config_defaults (name, default_value) VALUES ('min server memory (MB)',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('nested triggers',1)
INSERT INTO @config_defaults (name, default_value) VALUES ('network packet size (B)',4096)
INSERT INTO @config_defaults (name, default_value) VALUES ('Ole Automation Procedures',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('open objects',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('optimize for ad hoc workloads',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('PH timeout (s)',60)
INSERT INTO @config_defaults (name, default_value) VALUES ('precompute rank',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('priority boost',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('query governor cost limit',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('query wait (s)',-1)
INSERT INTO @config_defaults (name, default_value) VALUES ('recovery interval (min)',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('remote access',1)
INSERT INTO @config_defaults (name, default_value) VALUES ('remote admin connections',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('remote login timeout (s)',20)
INSERT INTO @config_defaults (name, default_value) VALUES ('remote proc trans',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('remote query timeout (s)',600)
INSERT INTO @config_defaults (name, default_value) VALUES ('Replication XPs',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('scan for startup procs',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('server trigger recursion',1)
INSERT INTO @config_defaults (name, default_value) VALUES ('set working set size',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('show advanced options',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('SMO and DMO XPs',1)
INSERT INTO @config_defaults (name, default_value) VALUES ('SQL Mail XPs',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('transform noise words',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('two digit year cutoff',2049)
INSERT INTO @config_defaults (name, default_value) VALUES ('user connections',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('user options',0)
INSERT INTO @config_defaults (name, default_value) VALUES ('xp_cmdshell',0)

SELECT c.name, value, value_in_use, d.default_value
from sys.configurations c
INNER JOIN @config_defaults d ON c.name = d.name
where
    c.value != c.value_in_use
    OR c.value_in_use != d.default_value
go
</pre>


<p>Related posts:<ol><li><a href='http://www.bluegecko.net/sql-server/finding-thread-ids-and-names-of-sql-server-background-threads/' rel='bookmark' title='Permanent Link: Finding thread IDs and names of SQL Server background threads'>Finding thread IDs and names of SQL Server background threads</a></li>
<li><a href='http://www.bluegecko.net/remote-dba-services/sql-server/' rel='bookmark' title='Permanent Link: SQL Server'>SQL Server</a></li>
<li><a href='http://www.bluegecko.net/oracle/deriving-optional-configuration-values-using-11g-database-replay/' rel='bookmark' title='Permanent Link: Deriving Optimal Configuration Values Using 11g Database Replay'>Deriving Optimal Configuration Values Using 11g Database Replay</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.bluegecko.net/sql-server/finding-non-default-configuration-settings-in-sql-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Amazon RDS for Oracle: First Impressions</title>
		<link>http://www.bluegecko.net/oracle/amazon-rds-for-oracle-first-impressions-2/</link>
		<comments>http://www.bluegecko.net/oracle/amazon-rds-for-oracle-first-impressions-2/#comments</comments>
		<pubDate>Thu, 26 May 2011 20:59:40 +0000</pubDate>
		<dc:creator>Jeremiah Wilton</dc:creator>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.bluegecko.net/?p=3138</guid>
		<description><![CDATA[On Tuesday, Amazon announced availability of an Oracle version of their Relational Database Service (RDS). RDS is one of Amazon&#8217;s cloud services. You can think of it as &#8221;database as a service.&#8221; Amazon provides a running database, storage, horsepower and a variety management tasks. And all you have to do is store you data in it. RDS [...]


Related posts:<ol><li><a href='http://www.bluegecko.net/oracle/oracle-processor-licensing-on-amazon-ec2/' rel='bookmark' title='Permanent Link: Oracle Processor Licensing on Amazon EC2'>Oracle Processor Licensing on Amazon EC2</a></li>
<li><a href='http://www.bluegecko.net/oracle/oracle-e-business-suite-in-the-amazon-cloud/' rel='bookmark' title='Permanent Link: Oracle E-Business Suite in the Amazon Cloud'>Oracle E-Business Suite in the Amazon Cloud</a></li>
<li><a href='http://www.bluegecko.net/oracle/high-performance-oracle-11g-in-the-amazon-cloud/' rel='bookmark' title='Permanent Link: High Performance Oracle 11g in the Amazon Cloud'>High Performance Oracle 11g in the Amazon Cloud</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>On Tuesday, Amazon announced availability of an Oracle version of their Relational Database Service (RDS). RDS is one of Amazon&#8217;s cloud services. You can think of it as &#8221;database as a service.&#8221; Amazon provides a running database, storage, horsepower and a variety management tasks. And all you have to do is store you data in it. RDS has been available with a MySQL engine for some time, but the Oracle version of this service has been long anticipated.<span id="more-3138"></span></p>
<p>As with Amazon&#8217;s other cloud services, you control and manage RDS services using a web application API.  You can either write your own software to do this, or use Amazon&#8217;s command line API tools or Amazon&#8217;s web-based console.</p>
<p>RDS Oracle instances are available in a variety of Oracle editions, hardware and storage sizes. For the first time, you can license Oracle by the hour through RDS. Unfortunately, this utility licensing model is limited to RDS instances running Standard Edition One. For the other editions, customers must &#8220;bring their own&#8221; Oracle licenses.</p>
<p>When you start an RDS Oracle instance you provide the web API with a variety of specifications, including:</p>
<ul>
<li>The Oracle edition (Standard Edition One, Standard Edition, Enterprise Edition)</li>
<li>The license model (Bring-your-own or License-included for SE1)</li>
<li>The instance class (Small, Large, Extra large, 2x extra large or 4x extra large)</li>
<li>Automatic minor-version upgrades (yes or no)</li>
<li>Storage allocation (10G &#8211; 1024G)</li>
<li>Instance ID, database name and listener port</li>
<li>A username and password for logging in</li>
<li>A parameter group (a set of Oracle initialization parameters defined via the web API)</li>
<li>Security groups (what machines can connect)</li>
<li>Backup retention</li>
<li>backup and maintenance windows</li>
</ul>
<p>I fired up an instance of Enterprise Edition with the name <em>bg01</em> and master user <em>bg</em> just to test drive the product. Once the instance is up and running, Amazon gives you an endpoint address, like <em>bg01.csmmbl5fszl6.us-west-1.rds.amazonaws.com</em>.  If you have added your own IP address to the security group under which you started the RDS instance, the you will be able to connect to your database using SQL*Plus:</p>
<pre class="brush: plain; title: ;">sqlplus bg/foobar123@bg01.csmmbl5fszl6.us-west-1.rds.amazonaws.com:3306/bg01</pre>
<p>The username you provided on startup has DBA privileges, but they are limited.  It can:</p>
<ul>
<li>Create users</li>
<li>Create tablespaces</li>
<li>Create tables, indexes, and all other usual objects</li>
</ul>
<p>A full listing of the privileges available to the master user can be obtained using Pete Finnigan&#8217;s <a href="http://www.petefinnigan.com/find_all_privs.sql" target="_blank">find_all_privs.sql</a> script.</p>
<p>Notably, DDL triggers are in place to prevent this master user, and other users it might create, from doing certain things that might make it possible to do things outside the scope of the database. The users that RDS customers can access cannot:</p>
<ul>
<li>Grant alter system or database</li>
<li>Grant restricted session</li>
<li>Grant create or drop any directory</li>
<li>Grant any privilege</li>
<li>DATAPUMP_EXP_FULL_DATABASE, DATAPUMP_IMP_FULL_DATABASE, IMP_FULL_DATABASE, EXP_FULL_DATABASE</li>
<li>DDL on any object owned by SYS</li>
<li>Alter user, revoke or any DDL on SYS, SYSTEM or RDSADMIN (a special user installed by Amazon)</li>
<li>Drop tablespace RDSADMIN</li>
<li>Create public synonyms for objects belonging to SYS, SYSTEM or RDSADMIN</li>
</ul>
<p>There is currently no support for any implementation of Enterprise Manager (Grid Control or Database Control). Amazon instead brings essential monitoring metrics for the instance into the CloudWatch API, which you can monitor using your own software via the API, or via the RDS web console.</p>
<p>I&#8217;ll post more soon on the new Oracle RDS service, but I will leave you with one piece of advice:  If you don&#8217;t want to permanently break your Oracle RDS instance, don&#8217;t try to use your master user to create a public synonym named <em>v$database</em>.</p>


<p>Related posts:<ol><li><a href='http://www.bluegecko.net/oracle/oracle-processor-licensing-on-amazon-ec2/' rel='bookmark' title='Permanent Link: Oracle Processor Licensing on Amazon EC2'>Oracle Processor Licensing on Amazon EC2</a></li>
<li><a href='http://www.bluegecko.net/oracle/oracle-e-business-suite-in-the-amazon-cloud/' rel='bookmark' title='Permanent Link: Oracle E-Business Suite in the Amazon Cloud'>Oracle E-Business Suite in the Amazon Cloud</a></li>
<li><a href='http://www.bluegecko.net/oracle/high-performance-oracle-11g-in-the-amazon-cloud/' rel='bookmark' title='Permanent Link: High Performance Oracle 11g in the Amazon Cloud'>High Performance Oracle 11g in the Amazon Cloud</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.bluegecko.net/oracle/amazon-rds-for-oracle-first-impressions-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Determining optimal Amazon S3 transfer parallelism</title>
		<link>http://www.bluegecko.net/sql-server/determining-optimal-amazon-s3-transfer-parallelism/</link>
		<comments>http://www.bluegecko.net/sql-server/determining-optimal-amazon-s3-transfer-parallelism/#comments</comments>
		<pubDate>Sat, 23 Apr 2011 20:37:28 +0000</pubDate>
		<dc:creator>Jeremiah Wilton</dc:creator>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[parallel]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[S3]]></category>

		<guid isPermaLink="false">http://www.bluegecko.net/?p=2906</guid>
		<description><![CDATA[Amazon&#8217;s Simple Storage Service (S3) is a robust, inexpensive and highly-available internet data storage service.  At Blue Gecko, we occasionally help our customers design and implement S3-based backup strategies. Compared to conventional off site tape vaulting services, the advantages of vaulting database and other backups to S3 are many.  S3 backups are always on line, [...]


Related posts:<ol><li><a href='http://www.bluegecko.net/database-hosting-services/aws-faq/' rel='bookmark' title='Permanent Link: Amazon Web Services FAQ'>Amazon Web Services FAQ</a></li>
<li><a href='http://www.bluegecko.net/amazon-web-services/s3fox-does-not-create-valid-export-manifest-files/' rel='bookmark' title='Permanent Link: s3fox does not create valid export manifest files'>s3fox does not create valid export manifest files</a></li>
<li><a href='http://www.bluegecko.net/database-hosting-services/database-hosting-on-amazon-web-services/' rel='bookmark' title='Permanent Link: Amazon Web Services Packages'>Amazon Web Services Packages</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://aws.amazon.com/s3/" target="_blank">Amazon&#8217;s Simple Storage Service (S3)</a> is a robust, inexpensive and highly-available internet data storage service.  At <a href="http://www.bluegecko.net/" target="_blank">Blue Gecko</a>, we occasionally help our customers design and implement S3-based backup strategies.</p>
<p>Compared to <a href="http://www.complaintsboard.com/complaints/iron-mountain-storage-c424703.html" target="_blank">conventional off site tape vaulting services</a>, the advantages of vaulting database and other backups to S3 are many.  S3 backups are always on line, so you never have to wait for a  truck to arrive with your tapes. S3 backups are replicated, so if one of Amazon&#8217;s availability zones experiences a failure, your data is still intact and available at one of their other zones. Best of all, Amazon also offers the <a href="https://aws.amazon.com/ec2/">Elastic Compute Cloud</a> (AKA EC2, virtual server hosts by the hour), so your S3 backups double as a super-low-cost disaster recovery strategy. S3 is low-cost, starting at just 3.7¢ / GB / month for storage, and 10¢ / GB for uploads.<span id="more-2906"></span></p>
<p>I back up all my home computers to S3 using third-party software called <a href="https://www.jungledisk.com/" target="_blank">Jungle Disk</a>.  Jungle Disk runs in the background on a Mac or PC and backs up new data to the cloud ever five minutes (or whatever frequency you specify). Many times these backups have come in handy for me, as I am able to browse and retrieve files from my home computers (such as photos and documents) from the office, without my home computers even being on.</p>
<p>Sounds like an ideal backup solution for small to medium-sized business, right?  So what&#8217;s the catch?</p>
<p>The catch is your Internet connection.  Consider the following:</p>
<p>A typical cable Internet connection with an actual upload rate of 2.8 Mb/s could transfer a 100G file to Amazon S3 in just over ten hours.  For many businesses, that&#8217;s the whole backup window. If there is more than 100G to transfer, you&#8217;re out of luck.  If your servers are co-located somewhere with a fast connection to the Internet, you might get better transfer rates, but there are other limiting factors, like number of hops to Amazon S3 and overall latency.</p>
<h3>Compress before uploading</h3>
<p>If the backup files are not already compressed, you can almost always dramatically improve upload times by compressing them before uploading them.</p>
<h3>Parallel uploads save the day</h3>
<p>Upload performance to Amazon S3 can almost always be improved by running uploads in parallel.  Choosing a degree of parallelism depends on the connection between your site and Amazon, the host from which you are uploading, and several other factors.  The best way to determine your optimal degree of parallelism is to test it!</p>
<p>Blue Gecko happens to have a customer who wants to vault their <a href="http://www.bluegecko.net/remote-dba-services/sql-server/" target="_blank">Microsoft SQL Server</a> backups to Amazon S3.  Unlike Oracle, SQL Server has no native facility that allows it to stream backups directly to S3 like tape. Instead, with this customer, we will compress and upload their database backups after they complete each night. To make it easy to find the optimal degree of parallelism, I delved into the murky world of Windows command shell programming. Against all instincts, I wrote this tool in Batch so that it would work easily on any of this customer SQL Server hosts.</p>
<p>This tool is designed to allow you to effectively determine the optimal parallel degree for backing up data from a particular server over the Internet to Amazon S3. It generates its own large files to upload.  All you need is an Amazon S3 account.  The tool comes as a pair of scripts that call a Ruby tool called s3cmd. To use it, follow these steps:</p>
<ol>
<li>Download and install Ruby <a href="http://rubyforge.org/frs/download.php/74296/ruby-1.8.7-p334-i386-mingw32.7z" target="_blank">1.8.7-p334 for Windows</a>.</li>
<li>Download <a href="http://s3.amazonaws.com/ServEdge_pub/s3sync/s3sync.tar.gz" target="_blank">S3Sync</a> into a convenient directory.</li>
<li>Download and install <a href="http://gnuwin32.sourceforge.net/downlinks/gzip.php" target="_blank">gnuwin gzip</a> and <a href="http://gnuwin32.sourceforge.net/downlinks/tar-bin.php" target="_blank">gnuwin tar</a> for Windows</li>
<li>Open a command prompt window, and change to the directory where you downloaded S3Sync
<pre class="brush: plain; title: ;">c:&gt; cd \my_directory</pre>
</li>
<li>Unzip and untar the S3Sync package, then change to the S3Sync directory:
<pre class="brush: plain; title: ;">
c:\my_directory&gt; &quot;\Program Files\GnuWin32\bin\gzip.exe&quot; -d s3sync.tar.gz
c:\my_directory&gt; &quot;\Program Files\GnuWin32\bin\tar.exe&quot; xvf s3sync.tar
c:\my_directory&gt; cd s3sync
</pre>
</li>
<li>Edit a file called test_parallel.bat, and paste the following contents into the file:
<pre class="brush: plain; title: ;">
echo off
set /a filesize = %1 / %2
for /l %%v in (1,1,%2) do (
 fsutil file createnew dummy.%%v %filesize%
 )
for /l %%v in (1,1,%2) do (
 start /b upload %3 %%v
 )
echo on
</pre>
</li>
<li>Create a bucket for testing. Make sure to substitute your AWS security credentials in the appropriate places:
<pre class="brush: plain; title: ;">
c:\my_directory&gt; set AWS_ACCESS_KEY=&lt;em&gt;your AWS access key ID&lt;/em&gt;
c:\my_directory&gt; set AWS_SECRET_ACCESS_KEY=&lt;em&gt;your AWS secret access key&lt;/em&gt;
c:\my_directory&gt; set AWS_CALLING_FORMAT=SUBDOMAIN
c:\my_directory&gt; s3cmd.rb createbucket my_test_bucket_1234
</pre>
</li>
<li>Edit a file called upload.bat, and paste the following contents into the file. Make sure to substitute your AWS security credentials in the appropriate places:
<pre class="brush: plain; title: ;">
echo off
set AWS_ACCESS_KEY_ID=&lt;em&gt;your AWS access key id&lt;/em&gt;
set AWS_SECRET_ACCESS_KEY=&lt;em&gt;your AWS secret access key&lt;/em&gt;
set AWS_CALLING_FORMAT=SUBDOMAIN
echo %time%
s3cmd.rb put %1:dummy.%2 dummy.%2
echo %time%
del dummy.%2
</pre>
</li>
<li>Now you can start testing parallel uploads to AWS. The syntax to call test_parallel.bat is:
<pre class="brush: plain; title: ;">
c:\my_directory&gt; test_parallel file_size degree bucket
</pre>
<p>Here is an upload example for 128M at parallel 10 to a bucket called my_test_bucket_1234:</p>
<pre class="brush: plain; title: ;">
c:\my_directory&gt; test_parallel 125829120 10 my_test_bucket_1234
</pre>
<p>The elapsed time can be determined as follows:</li>
</ol>
<ul>
<li>Look for the first timestamp displayed in the output and note it.</li>
<li>Waitfor the last timestamp to display.  Note it.</li>
<li>The intervening time is the elapsed time for the upload. You can use Ex el or any other tool you like to calculate time deltas.</li>
</ul>
<p>I typically run the upload without parallelism (degree = 1), then increase it in increments of five.  If there is any doubt as to which S3 region will provide the best performance, I create a bucket in each region (US-West and US-East), then perform identical tests against each.</p>


<p>Related posts:<ol><li><a href='http://www.bluegecko.net/database-hosting-services/aws-faq/' rel='bookmark' title='Permanent Link: Amazon Web Services FAQ'>Amazon Web Services FAQ</a></li>
<li><a href='http://www.bluegecko.net/amazon-web-services/s3fox-does-not-create-valid-export-manifest-files/' rel='bookmark' title='Permanent Link: s3fox does not create valid export manifest files'>s3fox does not create valid export manifest files</a></li>
<li><a href='http://www.bluegecko.net/database-hosting-services/database-hosting-on-amazon-web-services/' rel='bookmark' title='Permanent Link: Amazon Web Services Packages'>Amazon Web Services Packages</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.bluegecko.net/sql-server/determining-optimal-amazon-s3-transfer-parallelism/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EC2 outage reactions showcase widespread ignorance regarding the cloud</title>
		<link>http://www.bluegecko.net/amazon-web-services/ec2-outage-reactions-showcase-widespread-ignorance-regarding-the-cloud/</link>
		<comments>http://www.bluegecko.net/amazon-web-services/ec2-outage-reactions-showcase-widespread-ignorance-regarding-the-cloud/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 23:57:14 +0000</pubDate>
		<dc:creator>Jeremiah Wilton</dc:creator>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[downtime]]></category>
		<category><![CDATA[ebs]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[elastic block store]]></category>
		<category><![CDATA[elastic compute cloud]]></category>
		<category><![CDATA[high availability]]></category>
		<category><![CDATA[ignorance]]></category>
		<category><![CDATA[misconceptions]]></category>
		<category><![CDATA[outage]]></category>

		<guid isPermaLink="false">http://www.bluegecko.net/?p=2916</guid>
		<description><![CDATA[Amazon EC2&#8242;s high-profile outage in the US East region has taught us a number of lessons.  For many, the take-away has been a realization that cloud-based systems (like conventionally-hosted systems) can fail.  Of course, we knew that, Amazon knew that, and serious companies who performed serious availability engineering before deploying to the cloud knew that. [...]


Related posts:<ol><li><a href='http://www.bluegecko.net/oracle/high-performance-oracle-11g-in-the-amazon-cloud/' rel='bookmark' title='Permanent Link: High Performance Oracle 11g in the Amazon Cloud'>High Performance Oracle 11g in the Amazon Cloud</a></li>
<li><a href='http://www.bluegecko.net/news-events/may-5th-seattle-oracle-in-the-cloud-seminar/' rel='bookmark' title='Permanent Link: May 5th, Seattle, Oracle in the Cloud Seminar'>May 5th, Seattle, Oracle in the Cloud Seminar</a></li>
<li><a href='http://www.bluegecko.net/oracle/a-cloud-over-san-francisco-for-openworld-2010/' rel='bookmark' title='Permanent Link: A Cloud over San Francisco for OpenWorld 2010'>A Cloud over San Francisco for OpenWorld 2010</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Amazon EC2&#8242;s high-profile outage in the US East region has taught us a number of lessons.  For many, the take-away has been a realization that cloud-based systems (like conventionally-hosted systems) can fail.  Of course, we knew that, Amazon knew that, and serious companies who performed serious availability engineering before deploying to the cloud knew that. In cloud environments, as in conventionally-hosted environments, you must implement high-availability if you want high availability.  You can&#8217;t just expect it to magically be highly-available because it is &#8220;in the cloud.&#8221; Thorough and thoughtful high-availability engineering made it possible for EC2-based <strong>Netflix</strong> to experience <strong>no service interruptions</strong> through this event.<span id="more-2916"></span></p>
<p>Only those companies that <strong>failed to perform rudimentary availability design</strong> on their EC2-based systems have experienced prolonged outages as a result of this week&#8217;s event.  This is only as would be expected &#8211; Amazon.com does not promise to make your application highly available.  What Amazon EC2 provides is a rich set of tools that allows anyone that is serious about building a highly available application to do so on EC2.</p>
<p>This week&#8217;s EC2 failures have provided plenty of fodder for the cloud skeptics, as well it should. Cloud skeptics hold EC2 and other cloud services&#8217; feet to the fire, forcing them to address real concerns with the paradigm. What is far more alarming than the told-you-sos from the cloud skeptics is the <strong>torrent of media ignorance</strong> regarding what cloud computing and EC2 fundamentally provide.</p>
<p>Take <a href="http://online.wsj.com/article/BT-CO-20110422-704626.html" target="_blank">this article in the Wall Street Journal</a> for example.  Quoting the authors:</p>
<blockquote><p>A main issue at the center of this controversy is why Amazon hasn&#8217;t been  able to re-route capacity between data centers that would have avoided  this problem and ensured the websites of its users would still operate  properly.</p></blockquote>
<p>Here the authors seem to be referring to EC2 availability zones.  As most who have worked even a little with EC2 know, when you run an instance or store volumes in one availability zone, <strong>there is no automatic mechanism available to &#8220;re route capacity&#8221; between availability zones.</strong> If you want your application to survive the failure of an availability zone, you must implement a high availability contingency. For instance, you can frequently back up (using the EBS snapshot feature) your storage volumes so that <strong>you</strong> can re-instantiate the system in a surviving availability zone. In this week&#8217;s outage, all but one of Amazon&#8217;s US East availability zones were functioning normally within about four hours. Only those customers with systems in one of Amazon&#8217;s four US-East zones could not reliably access their data in their Elastic Block Store (EBS) volumes. If those customers <strong>had simply performed regular backups</strong> (snapshots) of their volumes, the outage would have been confined to a few hours, not 40+ hours.</p>
<p>It is hard to blame the media though, when even the <strong>customers of EC2 showcase a complete misunderstanding</strong> of what they should expect from the infrastructure on which they have built the systems that support their very businesses.  In the <a href="http://online.wsj.com/article/BT-CO-20110422-704626.html" target="_blank">same article cited above</a>, Simon Buckingham, CEO of Appitalism is extensively quoted misunderstanding the fundamentals of EC2:</p>
<blockquote><p>We&#8217;re past the point of this being a routine outage&#8230; Customers like myself have assumed that if part of  Amazon&#8217;s data center goes down, then traffic will get transferred in an  alternative capacity&#8230; The cloud is marketed as being limitless, but what this outage tells us is it&#8217;s not.</p></blockquote>
<p>That is an interesting assumption indeed, Mr. Buckingham. I would assume that the CEO of a web-based company would spend at least enough time understanding his company&#8217;s own infrastructure to realize that he <strong>should be talking to his own engineers</strong> about why the failed to design a robust multi-zone backup solution on EC2, <strong>rather than imagining capabilities for EC2</strong> that do not and have never been asserted to have existed.</p>
<p>I hope the upshot of this event will be more comprehensive and careful engineering of solutions deployed to the cloud.  I fear however, that given the tenor of the media coverage and customer reactions, the onus will not be placed where it belongs, on the customers&#8217; own engineers, and instead will only result in undeserved bad press for Amazon.</p>
<p>For what its worth, we at <a href="http://www.bluegecko.net/" target="_blank">Blue Gecko</a> frequently help our customers deploy robust highly-available solutions on EC2, that would have easily recovered in the four-to-five hour time frame, or even experienced no outage at all, rather than the 40+ hour nightmare affecting some customers of EC2.</p>


<p>Related posts:<ol><li><a href='http://www.bluegecko.net/oracle/high-performance-oracle-11g-in-the-amazon-cloud/' rel='bookmark' title='Permanent Link: High Performance Oracle 11g in the Amazon Cloud'>High Performance Oracle 11g in the Amazon Cloud</a></li>
<li><a href='http://www.bluegecko.net/news-events/may-5th-seattle-oracle-in-the-cloud-seminar/' rel='bookmark' title='Permanent Link: May 5th, Seattle, Oracle in the Cloud Seminar'>May 5th, Seattle, Oracle in the Cloud Seminar</a></li>
<li><a href='http://www.bluegecko.net/oracle/a-cloud-over-san-francisco-for-openworld-2010/' rel='bookmark' title='Permanent Link: A Cloud over San Francisco for OpenWorld 2010'>A Cloud over San Francisco for OpenWorld 2010</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.bluegecko.net/amazon-web-services/ec2-outage-reactions-showcase-widespread-ignorance-regarding-the-cloud/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Oracle tablespace hot backup mode revisited</title>
		<link>http://www.bluegecko.net/oracle/oracle-tablespace-hot-backup-mode-revisited/</link>
		<comments>http://www.bluegecko.net/oracle/oracle-tablespace-hot-backup-mode-revisited/#comments</comments>
		<pubDate>Thu, 09 Dec 2010 23:15:41 +0000</pubDate>
		<dc:creator>Jeremiah Wilton</dc:creator>
				<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[hot backup]]></category>
		<category><![CDATA[how does]]></category>
		<category><![CDATA[misconception]]></category>
		<category><![CDATA[proof]]></category>
		<category><![CDATA[split block]]></category>
		<category><![CDATA[what happens]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.bluegecko.net/?p=2382</guid>
		<description><![CDATA[Here&#8217;s a revised version of an old popular article I wrote over ten years ago.  I wrote this when I was at Amazon.com, long before I came to work at remote DBA provider Blue Gecko. Enjoy! Oracle&#8217;s pre-RMAN hot backup mode is the subject of one of the most pervasive and persistent misconceptions about Oracle. [...]


Related posts:<ol><li><a href='http://www.bluegecko.net/oracle/exploring-oracle-11g-tablespace-encryption/' rel='bookmark' title='Permanent Link: Exploring Oracle 11g Tablespace Encryption'>Exploring Oracle 11g Tablespace Encryption</a></li>
<li><a href='http://www.bluegecko.net/oracle-backup-and-recovery/' rel='bookmark' title='Permanent Link: Oracle Backup and Recovery'>Oracle Backup and Recovery</a></li>
<li><a href='http://www.bluegecko.net/emergency-support/emergency-database-recovery/' rel='bookmark' title='Permanent Link: Emergency Database Recovery'>Emergency Database Recovery</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a revised version of an old popular article I wrote over ten years ago.  I wrote this when I was at Amazon.com, long before I came to work at <a title="Remote DBA Services" href="http://www.bluegecko.net/remote-dba-services/" target="_blank">remote DBA</a> provider <a title="Blue Gecko Remote DBA" href="http://www.bluegecko.net" target="_blank">Blue Gecko</a>. Enjoy!</p>
<p>Oracle&#8217;s pre-RMAN hot backup mode is the subject of one of the most pervasive and persistent misconceptions about Oracle.</p>
<p>During an Oracle tablespace hot backup, you (or your script) puts a tablespace into backup mode, then copies the datafiles to disk or tape, then takes the tablespace out of backup mode. These steps are widely understood by most DBAs.</p>
<p>However, there is a popular misconception that datafiles are &#8220;quiesced,&#8221; &#8220;frozen,&#8221; &#8220;offlined&#8221; or &#8220;locked&#8221; during backup mode. So many people think it is true, that it appears in some books on Oracle and on numerous websites. Some have even reported that they learned this from DBA class instructors.<span id="more-2382"></span></p>
<p>The myth has a couple permutations. One is that while the datafiles are allegedly not writable, changes are stored somewhere in the SGA, the redologs, the rollback segments or some combination thereof, then written back into the datafile when the tablespace is taken out of backup mode. There is a passage in the SAMS title <em>Oracle Unleashed</em> describing this supposed mechanism.</p>
<blockquote><p>When you place a tablespace in backup mode, the Oracle instance notes that a backup is being performed and internally compensates for it. As you know, it is impossible to make an authentic copy of a database file that is being written to. On receipt of the command to begin the backup, however, Oracle ceases to make direct changes to the database file. It uses a complex combination of rollback segments, buffers, redo logs, and archive logs to store the data until the end backup command is received and the database files are brought back in sync.  Simplifying a hot backup in this way is tantamount to classifying the USS Nimitz as a boat. The complexity of the actions taken by the Oracle RDBMS under a hot backup could consume an entire chapter and is beyond the scope of this book. What you should understand is the trade-off for taking a hot backup is increased use of rollback segments, redo logs, archive logs, and internal buffer areas within the SGA.<br />
<!-- @font-face {   font-family: "Cambria"; }p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman"; }div.Section1 { page: Section1; } --></p>
<p>– <em>Oracle Unleashed</em>, Copyright © SAMS/Macmillan, Inc. 1997, chapter 14)</p></blockquote>
<p>No No No!  Stop making stuff up! Oracle’s tablespace hot backup does not work this way at all. It is actually a simple, elegant and failure-resistant mechanism. It absolutely does not stop writing to the datafiles. It actually allows continued operation of the database almost exactly as during normal operation. Contrary to the characterization as “complex” in SAMS <em>Oracle Unleashed</em>, it can be  summarized in a few steps:</p>
<ul>
<li>DBW<em>n</em> checkpoints the tablespace (writes out all dirty blocks as of a given SCN)</li>
<li>CKPT stops updating the <em>Checkpoint SCN</em> field in the datafile headers and begins updating the <em>Hot Backup Checkpoint SCN</em> field instead</li>
<li>LGWR begins logging full images of changed blocks the first time a block is changed after being written by DBW<em>n</em></li>
</ul>
<p>Those three actions are all that is required to guarantee consistency once the file is restored and recovery is applied. By freezing the <em>Checkpoint SCN</em>, any subsequent recovery on that backup copy of the file will know that it must commence at that SCN. Having an old SCN in the file header tells recovery that the file is an old one, and that it should look for the archivelog containing that SCN, and apply recovery starting there.</p>
<p>Note that during hot backup mode, <strong>checkpoints to datafiles are not suppressed</strong>. Only the main <em>Checkpoint SCN</em> flag is frozen, but CKPT continues to update a <em>Hot Backup Checkpoint SCN</em> in the file header.</p>
<p>There is a confusing side effect of having the <em>Checkpoint SCN</em> frozen at an SCN earlier than the true checkpointed SCN of the database. In the event of a system crash or a <em>shutdown abort</em> during hot backup of a tablespace, the automatic crash recovery routine during startup will look at the file headers, think that the files for that tablespace are out of date, and will suggest that you need to apply old archived redologs in order to bring them back into sync with the rest of the database. Fortunately, no media recovery is necessary. With the database started up in mount mode:</p>
<pre style="padding-left: 30px;">SQL&gt; alter database end backup;</pre>
<p>This action will bring the <em>Checkpoint SCN</em> in the file headers in sync with the <em>Hot Backup Checkpoint SCN</em> (which is a true representation of the last SCN to which the datafile is checkpointed). Once you do this, normal crash recovery can proceed during &#8216;alter database open;&#8217;.</p>
<p>By initially checkpointing the datafiles that comprise the tablespace and logging full block images to redo, Oracle guarantees that any blocks changed in the datafile while in hot backup mode will also be present in the archivelogs in case they are ever used for a recovery. Most of the Oracle user community knows that  Oracle generates a greater volume of redo during hot backup mode. This is the result of Oracle logging of full images of changed blocks in these tablespaces. Normally, Oracle writes a <em>change vector</em> to the redologs for every change, but it does not write the whole image of the database block. Full block image logging during backup eliminates the possibility that the backup will contain unresolvable <em>split blocks</em>. To understand this reasoning, you must first understand what a split block is.</p>
<p>Typically, Oracle database blocks are a multiple of O/S blocks.  For example, most Unix filesystems have a default block size of 512 bytes, while Oracle’s default block size is 8k. This means that the filesystem stores data in 512 byte chunks, while Oracle performs reads and writes in 8k chunks or multiples thereof. While backing up a datafile, your backup script makes a copy of the datafile from the filesystem, using O/S utilities such as copy, dd, cpio, or OCOPY.  As it is making this copy, your process is reading in O/S-block-sized increments. If DBW<em>n</em> happens to be writing a DB block into the datafile at the same moment that your script is reading that block’s constituent O/S blocks, your copy of the DB block could contain some O/S blocks from before the database performed the write, and some from after. This would be a <em>split block</em>.  By logging the full block image of the changed block to the redologs, Oracle guarantees that in the event of a recovery, any split blocks that might be in the backup copy of the datafile will be resolved by overlaying them with the full legitimate image of the block from the archivelogs. Upon completion of a recovery, any blocks that got copied in a split state into the backup will have been resolved by overlaying them with the block images from the archivelogs.</p>
<p>All of these mechanisms exist for the benefit of the backup copy of the files and any future recovery. They have very little effect on the current datafiles and the database being backed up. Throughout the backup, server processes read datafiles DBW<em>n</em> writes them, just as when a backup is not taking place.  The only difference in the open database files is the frozen <em>Checkpoint SCN</em>, and the active <em>Hot Backup Checkopint SCN</em>. To demonstrate the principle, we can formulate a simple proof:</p>
<p>Create a table and insert a row:</p>
<pre style="padding-left: 30px;">SQL&gt; create table fruit (kind varchar2(32)) tablespace users;
Table created.

SQL&gt; insert into fruit values ('orange');
1 row created.

SQL&gt; commit;
Commit complete.</pre>
<p>Force a checkpoint, to flush dirty blocks to the datafiles.</p>
<pre style="padding-left: 30px;">SQL&gt; alter system checkpoint;
System altered.</pre>
<p>Get  the file name and block number where the row resides:</p>
<pre style="padding-left: 30px;">SQL&gt; select dbms_rowid.rowid_relative_fno(rowid) file_num,
            dbms_rowid.rowid_block_number(rowid) block_num,
            kind
     from fruit;
FILE_NUM BLOCK_NUM KIND
-------- --------- ------
       4       183 orange

SQL&gt; select name from v$datafile where file# = 4;
NAME
-----------------------------
/u01/oradata/uw01/users01.dbf
</pre>
<p>Use the dd utility to skip to block 183 and extract the DB block containing the row:</p>
<pre style="padding-left: 30px;">unixhost% dd bs=8k skip=183 count=1 if=/u01/oradata/uw01/users01.dbf | strings
1+0 records in
16+0 records out
orange</pre>
<p>Now we put the tablespace into hot backup mode:</p>
<pre style="padding-left: 30px;">SQL&gt; alter tablespace users begin backup;
Tablespace altered.</pre>
<p>Update the row, commit, and force a checkpoint on the database.</p>
<pre style="padding-left: 30px;">SQL&gt; update fruit set kind = 'plum';
1 row updated

SQL&gt; commit;
Commit complete.

SQL&gt; alter system checkpoint;
System altered.</pre>
<p>Extract the same block. It shows that the DB block has been written to disk during backup mode:</p>
<pre style="padding-left: 30px;">unixhost% dd bs=8k skip=183 count=1 if=/u01/oradata/uw01/users01.dbf | strings
1+0 records in
16+0 records out
plum
orange</pre>
<p style="padding-left: 30px;">Don&#8217;t forget to take the tablespace out of backup mode!</p>
<pre style="padding-left: 30px;">SQL&gt; alter tablespace administrator end backup;
Tablespace altered.</pre>
<p>It is quite clear from this demonstration that datafiles receive writes even during hot backup mode!</p>


<p>Related posts:<ol><li><a href='http://www.bluegecko.net/oracle/exploring-oracle-11g-tablespace-encryption/' rel='bookmark' title='Permanent Link: Exploring Oracle 11g Tablespace Encryption'>Exploring Oracle 11g Tablespace Encryption</a></li>
<li><a href='http://www.bluegecko.net/oracle-backup-and-recovery/' rel='bookmark' title='Permanent Link: Oracle Backup and Recovery'>Oracle Backup and Recovery</a></li>
<li><a href='http://www.bluegecko.net/emergency-support/emergency-database-recovery/' rel='bookmark' title='Permanent Link: Emergency Database Recovery'>Emergency Database Recovery</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.bluegecko.net/oracle/oracle-tablespace-hot-backup-mode-revisited/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>YPDNGG: You Probably Don’t Need Golden Gate</title>
		<link>http://www.bluegecko.net/oracle/ypdngg-you-probably-dont-need-golden-gate/</link>
		<comments>http://www.bluegecko.net/oracle/ypdngg-you-probably-dont-need-golden-gate/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 23:01:54 +0000</pubDate>
		<dc:creator>Jeremiah Wilton</dc:creator>
				<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[goldengate]]></category>
		<category><![CDATA[replication]]></category>
		<category><![CDATA[streams]]></category>

		<guid isPermaLink="false">http://www.bluegecko.net/?p=2283</guid>
		<description><![CDATA[Why would Oracle essentially abandon ten years of development and stabilization on a platform like Streams for a less mature, rudimentary product like Golden Gate?


Related posts:<ol><li><a href='http://www.bluegecko.net/oracle/oracle-education-our-first-dba-class/' rel='bookmark' title='Permanent Link: Oracle Education &#8211; Our First DBA Class!!'>Oracle Education &#8211; Our First DBA Class!!</a></li>
<li><a href='http://www.bluegecko.net/news-events/blue-gecko-is-one-of-the-fastest-growing-private-companies/' rel='bookmark' title='Permanent Link: Blue Gecko named to 2010 Inc. Magazine&#8217;s 5000 fastest growing companies in America!'>Blue Gecko named to 2010 Inc. Magazine&#8217;s 5000 fastest growing companies in America!</a></li>
<li><a href='http://www.bluegecko.net/oracle/report-from-oracle-openworld/' rel='bookmark' title='Permanent Link: Report from Oracle Openworld'>Report from Oracle Openworld</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Before launching into this, I must give due deference to Mogens Nørgaard&#8217;s landmark article, <em>You Probably Don&#8217;t Need RAC</em> (YPDNR), available <a href="http://www.my-idconcept.de/downloads/You_Probably_Dont_Need_RAC.pdf" target="_blank">here</a>, but originally published Q3 2003 in IOUG <em>Select Journal</em>.  Mogens showed that you can be a friend of Oracle without always agreeing with everything they do.<span id="more-2283"></span></p>
<p>At <a title="Blue Gecko Remote DBA" href="http://www.bluegecko.net" target="_blank">Blue Gecko</a>, many of our <a title="Remote DBA Services" href="http://www.bluegecko.net/remote-dba-services/" target="_blank">remote DBA</a> customers have been asking us about Golden Gate.  In July 2009, Oracle bought Golden Gate Software, just one of several companies that have developed log-based replication mechanisms for Oracle and other databases.  This was one of many major acquisitions by Oracle in 2009, including Sun and Relsys. But unlike most of Oracle&#8217;s acquisitions, Golden Gate provides very little new functionality not already available in Oracle Streams. Nevertheless, at OpenWorld 2009, Oracle made a shocking announcement.  They declared that Golden Gate would be the primary replication channel for Oracle, and that development would cease on Streams and related components.</p>
<p>Usually, Oracle watches these little third-party products for good ideas, then implements them independently (and better) on their own in the Oracle kernel, then watches as the little third-party companies fizzle out.  A case in point is direct memory access performance sampling.  Precise Software and several other companies in the early 2000s developed  low-impact performance sampling and visualization products for Oracle based on sampling the SGA periodically from an external program.  In version 10g, Oracle answered them with Active Session History (ASH), which did the same thing but better.  Although ASH required customers to purchase the Diagnostic Pack, it still more or less spelled the downfall of competing products.</p>
<p>But in the case of Golden Gate, Oracle already has a log-based replication technology (Streams) built into the kernel, available for a very reasonable price (<strong>free</strong> with Enterprise Edition).  The only major components that Streams lacks compared to Golden Gate is the ability to replicate across database platforms (Oracle to MSSQL, MySQL, etc. and vice versa).  Even that capability was clearly around the corner: In 11g, Logical Standby (Data Guard), a technology that uses essentially the same stack of components as Streams, gained cross-platform capabilities.</p>
<p>By 11g, Streams has become a mature and stable product, and is far more scalable and configurable than Golden Gate in many ways.  Streams can mine logs on the source or the target, or even a third system.  Depending on the load profile, you can use a wide variety of configuration choices, including parallelism at almost any point.  Streams also allows customers to choose to enforce transaction order or not.</p>
<p>In contrast, Golden Gate&#8217;s parallelism is restricted to the apply side, and in parallel mode, does not have the option of guaranteeing transaction order (it is non-ACID). Golden Gate&#8217;s parallel apply splits work up by schema, relying on the assumption that interdependent data at the business process level is confined to a single schema at a time.  In other words, if all the tables reside in one schema, then parallel apply doesn&#8217;t work, and if they reside in many schemas, the changes in one schema may be applied out of order vis à vis the changes to the other schemas.</p>
<p>Streams is only one of Oracle&#8217;s preexisting features that can compete successfully in specific use cases with Golden Gate.  Even more ancient and time-tested solutions such as advanced replication and remote materialized views remain supported and highly effective, depending on the requirement.</p>
<p>If you look at many of the use cases where our customers have deployed Golden Gate, I find that the simplest and most scalable engineering solution would have been remote fast-refresh materialized views.  Our customers often replicate core look-up data, like exchange rates, inventory levels, and other slowly-changing data between Oracle databases within an enterprise.  For this, Golden Gate is completely unjustified, due to cost and complexity compared to remote materialized views.  If it were a question of heterogeneous (inter database product) replication, I completely understand.  But in the majority of situations where we see Golden Gate in use, it is Oracle to Oracle. Given that, I wonder how it could come to pass that responsible people would recommend and implement a solution for such a requirement involving Golden Gate.  Why would Oracle essentially abandon ten years of development and  stabilization on a platform like Streams for a less mature, rudimentary  product like Golden Gate? Oracle can&#8217;t possibly be  asking customers to pay additional license fees for a worse version of a product they already own.</p>
<p>So let&#8217;s review&#8230;</p>
<p>Streams: Mature, complex, requires engineering, highly configurable, scalable, Oracle-only, free.</p>
<p>Golden Gate: Simple, east to deploy, few configuration options, less scalable, expensive, heterogeneous (inter-RDBMS), might break your data.</p>
<p>For me, the corporate direction with regard to Golden Gate is perplexing and smacks of sales-driven (as opposed to requirements and cost-driven) engineering.  I can only imagine what it must be like for the team at Oracle that built Log Miner and AQ into an impressive suite of options including Streams.</p>
<p>UPDATE</p>
<p>Since I posted this, a colleague inside Oracle reassured me that although the product will bear the name &#8216;Golden Gate,&#8217; it will incorporate features and capabilities of Streams and Golden Gate into a single suite of functions as versions are released over time.  This means that the declarations from inside Oracle do not represent the abandonment of ten years of development.</p>


<p>Related posts:<ol><li><a href='http://www.bluegecko.net/oracle/oracle-education-our-first-dba-class/' rel='bookmark' title='Permanent Link: Oracle Education &#8211; Our First DBA Class!!'>Oracle Education &#8211; Our First DBA Class!!</a></li>
<li><a href='http://www.bluegecko.net/news-events/blue-gecko-is-one-of-the-fastest-growing-private-companies/' rel='bookmark' title='Permanent Link: Blue Gecko named to 2010 Inc. Magazine&#8217;s 5000 fastest growing companies in America!'>Blue Gecko named to 2010 Inc. Magazine&#8217;s 5000 fastest growing companies in America!</a></li>
<li><a href='http://www.bluegecko.net/oracle/report-from-oracle-openworld/' rel='bookmark' title='Permanent Link: Report from Oracle Openworld'>Report from Oracle Openworld</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.bluegecko.net/oracle/ypdngg-you-probably-dont-need-golden-gate/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How I got access to My Oracle Support (MOS) for US$2.67</title>
		<link>http://www.bluegecko.net/oracle/how-i-got-access-to-my-oracle-support-mos-for-us2-67/</link>
		<comments>http://www.bluegecko.net/oracle/how-i-got-access-to-my-oracle-support-mos-for-us2-67/#comments</comments>
		<pubDate>Thu, 21 Oct 2010 17:27:25 +0000</pubDate>
		<dc:creator>Jeremiah Wilton</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle Applications]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[MOS]]></category>
		<category><![CDATA[My Oracle Support]]></category>

		<guid isPermaLink="false">http://www.bluegecko.net/?p=2217</guid>
		<description><![CDATA[Oracle professionals know that the two main sites for information and support on running Oracle products are the Oracle Technology Network (OTN), and My Oracle Support (MOS). OTN is free for anyone, and provides discussion forums, white papers and free base-release software downloads under the Developer License. MOS requires a paid software license and support [...]


Related posts:<ol><li><a href='http://www.bluegecko.net/oracle/oracle-certification-vs-oracle-support/' rel='bookmark' title='Permanent Link: Oracle Certification vs Oracle Support'>Oracle Certification vs Oracle Support</a></li>
<li><a href='http://www.bluegecko.net/oracle/oracle-finally-announces-support-for-oracle-database-11gr2-on-oel6/' rel='bookmark' title='Permanent Link: Oracle (finally) announces support for Oracle Database 11gR2 on OEL6'>Oracle (finally) announces support for Oracle Database 11gR2 on OEL6</a></li>
<li><a href='http://www.bluegecko.net/oracle-support-and-certification-on-aws/' rel='bookmark' title='Permanent Link: Oracle Support and Certification on AWS'>Oracle Support and Certification on AWS</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Oracle professionals know that the two main sites for information and support on running Oracle products are the <strong><a href="http://otn.oracle.com" target="_blank">Oracle Technology Network</a> (OTN)</strong>, and <strong><a href="http://support.oracle.com" target="_blank">My Oracle Support</a> (MOS)</strong>.</p>
<ul>
<li><strong>OTN is free</strong> for anyone, and provides discussion forums, white papers and free base-release software downloads under the <a href="http://www.oracle.com/technetwork/testcontent/standard-license-088383.html" target="_blank">Developer License</a>.</li>
<li><strong>MOS requires a paid software license</strong> and support contract. It offers technical support notes, bug access, request tracking and patches.  It is the only place you can get critical updates and patch sets to, for instance, bring a 10.2.0.1 database up to 10.2.0.4.<span id="more-2217"></span></li>
</ul>
<p>Many people are just starting learning Oracle, or are out of work and no longer associated with a support contract.  Those people could clearly benefit from access to MOS to read support notes, and solve problems they are having while experimenting with Oracle products under the Developer License.</p>
<p>A few years ago, my friend and Oracle ACE Director <a href="http://www.morganslibrary.org" target="_blank">Dan Morgan</a> mentioned that one could buy a very cheap product in the <strong><a href="http://shop.oracle.com" target="_blank">Oracle Store</a></strong>, opt to pay for support on it, and obtain MOS access for very little money.  This week I mentioned this fact to my <a href="http://www.pce.uw.edu/prog.aspx?id=4090" target="_blank">Oracle DBA Class</a> at the <a href="http://www.uw.edu">University of Washington</a>, and my students wanted to know which product to buy, and for how much.  I decided to find out, and here&#8217;s what I did.</p>
<ol>
<li>Navigate to <strong><a href="http://shop.oracle.com" target="_blank">http://shop.oracle.com</a></strong>.</li>
<li>In the left-hand menu, click on <strong><a href="https://shop.oracle.com/pls/ostore/f?p=ostore:4:0:::CIR,RIR:PROD_HIER_ID:" target="_blank">All Products</a></strong> at the bottom.</li>
<li>In the gray bar with heading labels, click on <strong>Price Range</strong> (on the right), and select <strong>$.40 &#8211; $8.00</strong>.</li>
<li>The only item that appears for me is <a href="https://shop.oracle.com/pls/ostore/f?p=ostore:product:500650646887570::NO:RP,3:P3_LPI:40891368067040063326380" target="_blank">Oracle Management Pack Plus for Identity Management</a>. Click on <strong><a href="https://shop.oracle.com/pls/ostore/f?p=ostore:product:500650646887570::NO:RP,3:P3_LPI:40891368067040063326380" target="_blank">Buy Now</a></strong>.</li>
<li>On the product page, change the <strong>Metric</strong> selection to <strong>Non Employee User External &#8211; $2.00</strong>.</li>
<li>Click <strong>Add to Cart</strong>.</li>
<li>Click <strong>Checkout</strong> (upper right)</li>
<li>Make sure you have checked <strong>Include First Year Support for License Products</strong>.</li>
<li>Click <strong>Checkout</strong>, and follow the purchase process.</li>
<li>In a day or so, you will receive an email with your Customer Service Identifier (CSI) and you will be able to register for <strong><a href="http://support.oracle.com" target="_blank">My Oracle Support</a></strong>.</li>
</ol>
<p><strong>NOTE</strong>: It may take more than 24 hours for Oracle to activate your CSI on MOS. If you try to reigster your new CSI on MOS before Oracle activates it, you will receive the error, &#8220;This CSI does not allow registration.&#8221; In this case, just wait.  Oracle will activate your CSI eventually.</p>
<p>This process doesn&#8217;t give you the right to download or use material from the MOS site for any purpose not covered under the Developer License or the product license you purchased for $2.00 from the Oracle Store.  I am providing this information because it could help those legitimately covered under the Developer License.</p>


<p>Related posts:<ol><li><a href='http://www.bluegecko.net/oracle/oracle-certification-vs-oracle-support/' rel='bookmark' title='Permanent Link: Oracle Certification vs Oracle Support'>Oracle Certification vs Oracle Support</a></li>
<li><a href='http://www.bluegecko.net/oracle/oracle-finally-announces-support-for-oracle-database-11gr2-on-oel6/' rel='bookmark' title='Permanent Link: Oracle (finally) announces support for Oracle Database 11gR2 on OEL6'>Oracle (finally) announces support for Oracle Database 11gR2 on OEL6</a></li>
<li><a href='http://www.bluegecko.net/oracle-support-and-certification-on-aws/' rel='bookmark' title='Permanent Link: Oracle Support and Certification on AWS'>Oracle Support and Certification on AWS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.bluegecko.net/oracle/how-i-got-access-to-my-oracle-support-mos-for-us2-67/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
	</channel>
</rss>

