<?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>BlueGecko Denmark</title>
	<atom:link href="https://bluegecko.dk/category/oradeblog/feed/" rel="self" type="application/rss+xml" />
	<link>https://bluegecko.dk</link>
	<description>Your remote dba</description>
	<lastBuildDate>Thu, 25 Aug 2011 18:23:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.2</generator>
	<item>
		<title>Finding non-default configuration settings in SQL Server</title>
		<link>https://bluegecko.dk/finding-non-default-configuration-settings-in-sql-server/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=finding-non-default-configuration-settings-in-sql-server</link>
		
		<dc:creator><![CDATA[jwilton]]></dc:creator>
		<pubDate>Thu, 25 Aug 2011 18:23:40 +0000</pubDate>
				<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.dk/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/" >Michael Campbell</a> came up with a <a href="http://sqlserverperformance.idera.com/uncategorized/quickly-validating-sql-server-configuration-settings/" >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:</p>
<ol>
<li><a href='http://www.bluegecko.dk/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.dk/remote-dba-services/sql-server/' rel='bookmark' title='Permanent Link: SQL Server'>SQL Server</a></li>
<li><a href='http://www.bluegecko.dk/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>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Amazon RDS for Oracle: First Impressions</title>
		<link>https://bluegecko.dk/amazon-rds-for-oracle-first-impressions/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=amazon-rds-for-oracle-first-impressions</link>
		
		<dc:creator><![CDATA[jwilton]]></dc:creator>
		<pubDate>Thu, 26 May 2011 20:59:40 +0000</pubDate>
				<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" >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:</p>
<ol>
<li><a href='http://www.bluegecko.dk/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.dk/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.dk/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>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Determining optimal Amazon S3 transfer parallelism</title>
		<link>https://bluegecko.dk/determining-optimal-amazon-s3-transfer-parallelism/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=determining-optimal-amazon-s3-transfer-parallelism</link>
		
		<dc:creator><![CDATA[jwilton]]></dc:creator>
		<pubDate>Sat, 23 Apr 2011 20:37:28 +0000</pubDate>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[parallel]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[S3]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[aws]]></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/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/aws-faq/" rel="bookmark" title="Permanent Link: Amazon Web Services FAQ">Amazon Web Services FAQ</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/" >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.dk/" >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" >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/" >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.dk/remote-dba-services/sql-server/" >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" >1.8.7-p334 for Windows</a>.</li>
<li>Download <a href="http://s3.amazonaws.com/ServEdge_pub/s3sync/s3sync.tar.gz" >S3Sync</a> into a convenient directory.</li>
<li>Download and install <a href="http://gnuwin32.sourceforge.net/downlinks/gzip.php" >gnuwin gzip</a> and <a href="http://gnuwin32.sourceforge.net/downlinks/tar-bin.php" >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 FilesGnuWin32bingzip.exe&quot; -d s3sync.tar.gz
c:my_directory&gt; &quot;Program FilesGnuWin32bintar.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:</p>
<ol>
<li><a href='http://www.bluegecko.dk/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.dk/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.dk/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>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>EC2 outage reactions showcase widespread ignorance regarding the cloud</title>
		<link>https://bluegecko.dk/ec2-outage-reactions-showcase-widespread-ignorance-regarding-the-cloud/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ec2-outage-reactions-showcase-widespread-ignorance-regarding-the-cloud</link>
		
		<dc:creator><![CDATA[jwilton]]></dc:creator>
		<pubDate>Fri, 22 Apr 2011 23:57:14 +0000</pubDate>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[downtime]]></category>
		<category><![CDATA[ebs]]></category>
		<category><![CDATA[elastic block store]]></category>
		<category><![CDATA[elastic compute cloud]]></category>
		<category><![CDATA[ignorance]]></category>
		<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[misconceptions]]></category>
		<category><![CDATA[outage]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[high availability]]></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" >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" >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.dk/" >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:</p>
<ol>
<li><a href='http://www.bluegecko.dk/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.dk/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.dk/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>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Oracle tablespace hot backup mode revisited</title>
		<link>https://bluegecko.dk/oracle-tablespace-hot-backup-mode-revisited/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=oracle-tablespace-hot-backup-mode-revisited</link>
		
		<dc:creator><![CDATA[jwilton]]></dc:creator>
		<pubDate>Thu, 09 Dec 2010 23:15:41 +0000</pubDate>
				<category><![CDATA[hot backup]]></category>
		<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[misconception]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[proof]]></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.dk/remote-dba-services/" >remote DBA</a> provider <a title="Blue Gecko Remote DBA" href="http://www.bluegecko.dk" >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, your (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:</p>
<ol>
<li><a href='http://www.bluegecko.dk/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.dk/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.dk/emergency-support/emergency-database-recovery/' rel='bookmark' title='Permanent Link: Emergency Database Recovery'>Emergency Database Recovery</a></li>
</ol>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>YPDNGG: You Probably Don’t Need Golden Gate</title>
		<link>https://bluegecko.dk/ypdngg-you-probably-dont-need-golden-gate/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ypdngg-you-probably-dont-need-golden-gate</link>
					<comments>https://bluegecko.dk/ypdngg-you-probably-dont-need-golden-gate/#comments</comments>
		
		<dc:creator><![CDATA[jwilton]]></dc:creator>
		<pubDate>Mon, 22 Nov 2010 23:01:54 +0000</pubDate>
				<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[replication]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[goldengate]]></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 – 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’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" >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.dk" >Blue Gecko</a>, many of our <a title="Remote DBA Services" href="http://www.bluegecko.dk/remote-dba-services/" >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:</p>
<ol>
<li><a href='http://www.bluegecko.dk/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.dk/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.dk/oracle/report-from-oracle-openworld/' rel='bookmark' title='Permanent Link: Report from Oracle Openworld'>Report from Oracle Openworld</a></li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/ypdngg-you-probably-dont-need-golden-gate/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How I got access to My Oracle Support (MOS) for US$2.67</title>
		<link>https://bluegecko.dk/how-i-got-access-to-my-oracle-support-mos-for-us2-67/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-i-got-access-to-my-oracle-support-mos-for-us2-67</link>
					<comments>https://bluegecko.dk/how-i-got-access-to-my-oracle-support-mos-for-us2-67/#respond</comments>
		
		<dc:creator><![CDATA[jwilton]]></dc:creator>
		<pubDate>Thu, 21 Oct 2010 17:27:25 +0000</pubDate>
				<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-support-and-certification-on-aws/" rel="bookmark" title="Permanent Link: Oracle Support and Certification on AWS">Oracle Support and Certification on AWS</a></li>
<li><a href="http://www.bluegecko.net/oracle/oracle-correction-to-exportimport/" rel="bookmark" title="Permanent Link: Oracle Correction to Export/Import">Oracle Correction to Export/Import</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" >Oracle Technology Network</a> (OTN)</strong>, and <strong><a href="http://support.oracle.com" >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" >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" >Dan Morgan</a> mentioned that one could buy a very cheap product in the <strong><a href="http://shop.oracle.com" >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" >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" >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:" >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" >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" >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" >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:</p>
<ol>
<li><a href='http://www.bluegecko.dk/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.dk/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>
<li><a href='http://www.bluegecko.dk/oracle/oracle-correction-to-exportimport/' rel='bookmark' title='Permanent Link: Oracle Correction to Export/Import'>Oracle Correction to Export/Import</a></li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/how-i-got-access-to-my-oracle-support-mos-for-us2-67/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Report from Oracle Openworld</title>
		<link>https://bluegecko.dk/report-from-oracle-openworld/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=report-from-oracle-openworld</link>
					<comments>https://bluegecko.dk/report-from-oracle-openworld/#respond</comments>
		
		<dc:creator><![CDATA[jwilton]]></dc:creator>
		<pubDate>Thu, 23 Sep 2010 17:51:16 +0000</pubDate>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle Applications]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[ClosedWorld]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[openworld]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=1960</guid>

					<description><![CDATA[Openworld 2010, despite the supposedly lagging economy, had record attendance again this year.  No doubt this was the result of Oracle acquiring something like fourteen companies since last year, including Sun in 2009.  The crowds were thick, divided about evenly between geeks in badly-fitting vendor t-shirts and slick sales-side hustlers with dress pants and shiny [...]


Related posts:<ol><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>
<li><a href="http://www.bluegecko.net/mysql/ignite-mysql-at-the-mysql-conference-and-expo-2/" rel="bookmark" title="Permanent Link: Ignite MySQL at the MySQL Conference and Expo">Ignite MySQL at the MySQL Conference and Expo</a></li>
<li><a href="http://www.bluegecko.net/oracle/how-i-got-access-to-my-oracle-support-mos-for-us2-67/" rel="bookmark" title="Permanent Link: How I got access to My Oracle Support (MOS) for US$2.67">How I got access to My Oracle Support (MOS) for US$2.67</a></li>
</ol>]]></description>
										<content:encoded><![CDATA[<p>Openworld 2010, despite the supposedly lagging economy, had record attendance again this year.  No doubt this was the result of Oracle acquiring something like fourteen companies since last year, including Sun in 2009.  The crowds were thick, divided about evenly between geeks in badly-fitting vendor t-shirts and slick sales-side hustlers with dress pants and shiny shoes.  <span id="more-1960"></span>I landed somewhere in the middle of the two (badly-fitting dress shirt, comfortable jeans and loafers), proudly sporting a long dangling codpiece of ribbons from my attendee badge:</p>
<div id="attachment_1961" class="wp-caption alignnone" style="width: 297px"><a href="http://bluegecko.dk/wp-content/uploads/2010/09/IMAG0006.jpg"><img fetchpriority="high" decoding="async" class="size-full wp-image-1961" title="OOW2010 Badge" src="http://bluegecko.dk/wp-content/uploads/2010/09/IMAG0006.jpg" alt="OOW2010 Badge" width="287" height="480" srcset="https://bluegecko.dk/wp-content/uploads/2010/09/IMAG0006.jpg 287w, https://bluegecko.dk/wp-content/uploads/2010/09/IMAG0006-179x300.jpg 179w" sizes="(max-width: 287px) 100vw, 287px" /></a></p>
<p class="wp-caption-text">My OOW2010 Codpiece</p>
</div>
<p>Oracle made a number of important announcements this year at OpenWorld, including a the Exalogic machine, and support for Amazon EC2, which I blogged about <a href="http://www.bluegecko.dk/oracle/a-cloud-over-san-francisco-for-openworld-2010/">here</a>.</p>
<p>For me, the highlight of the week was meeting a number of top Oracle technical minds at Oracle Closed World, the brainchild of Mogens Nørgaard from Denmark. Members of the Oak Table and other luminaries of our field stood up and spoke candidly about technology, drilling down to the most minute detail.  Computerworld Denmark covered the event well <a href="http://bit.ly/bJP56c">here</a>.</p>
<p>I&#8217;ll be speaking to a hung over dwindling crowd at noon today, the last day of OOW, and the day after the blowout party on Treasure Island. By telling people about running Oracle on EC2, I hope to make life easier for DBA-kind.  Amazon&#8217;s IaaS cloud gives us all a cheap way to provision host resources on demand, and get things done in hours that would otherwise take weeks (or be impossible) via normal corporate hardware procurement processes.</p>
<p>This will be the last big conference for me for a while &#8211; I am going to focus on Blue Gecko customers, research and sharing my insights here.</p>
<p>Related posts:</p>
<ol>
<li><a href='http://www.bluegecko.dk/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>
<li><a href='http://www.bluegecko.dk/mysql/ignite-mysql-at-the-mysql-conference-and-expo-2/' rel='bookmark' title='Permanent Link: Ignite MySQL at the MySQL Conference and Expo'>Ignite MySQL at the MySQL Conference and Expo</a></li>
<li><a href='http://www.bluegecko.dk/oracle/how-i-got-access-to-my-oracle-support-mos-for-us2-67/' rel='bookmark' title='Permanent Link: How I got access to My Oracle Support (MOS) for US$2.67'>How I got access to My Oracle Support (MOS) for US$2.67</a></li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/report-from-oracle-openworld/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>A Cloud over San Francisco for OpenWorld 2010</title>
		<link>https://bluegecko.dk/a-cloud-over-san-francisco-for-openworld-2010/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=a-cloud-over-san-francisco-for-openworld-2010</link>
					<comments>https://bluegecko.dk/a-cloud-over-san-francisco-for-openworld-2010/#comments</comments>
		
		<dc:creator><![CDATA[jwilton]]></dc:creator>
		<pubDate>Tue, 21 Sep 2010 22:39:01 +0000</pubDate>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle Applications]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[exalogic]]></category>
		<category><![CDATA[openworld]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=1889</guid>

					<description><![CDATA[Oracle OpenWorld 2010 is just bursting with big cloud-related announcements this week.  As I prepare to present on the Amazon cloud at OOW2010 on Thursday (http://bit.ly/aSKdIQ), I thought I would highlight two of the biggest cloud-related announcements of the week. Exalogic We all know about Exadata, Oracle&#8217;s hardware-based storage-optimized RAC monster capable of over 1 [...]


Related posts:<ol><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>
<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-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>
</ol>]]></description>
										<content:encoded><![CDATA[<p><a title="Oracle OpenWorld 2010" href="http://www.oracle.com/us/openworld/index.html" >Oracle OpenWorld 2010</a> is just bursting with big cloud-related announcements this week.  As I prepare to present on the Amazon cloud at OOW2010 on Thursday (<a title="Oracle on the Amazon Cloud at Oracle OpenWorld" href="http://bit.ly/aSKdIQ" >http://bit.ly/aSKdIQ</a>), I thought I would highlight two of the biggest cloud-related announcements of the week.<span id="more-1889"></span></p>
<h3>Exalogic</h3>
<p>We all know about Exadata, Oracle&#8217;s hardware-based storage-optimized RAC monster capable of over 1 million IOPS.  In his keynote, Larry Ellison announced Exalogic, an appliance that is meant to provide cloud-like private internal infrastructure.  Oriented towards  middleware, Exalogic&#8217;s marketing materials emphasize the elasticity of resources and promote middleware consolidation onto a small set of Exalogic nodes.</p>
<h3>Certification for Oracle on Oracle VM-based Amazon Elastic Compute Cloud</h3>
<p>Oracle and Amazon jointly announced this week that they will soon provide Oracle VM (OVM) based EC2 instances certified to run any Oracle software certified on traditional Oracle VM.  This includes Oracle Applications, Peoplesoft, Siebel and many other Oracle products. The issue of Oracle supportability and certification on EC2 has been a major sticking point for customers since EC2 and Oracle began collaborating over two years ago.  This announcement should allay some of the concerns regarding running Oracle on EC2.</p>
<p>Previously, Oracle supported only the database, middleware and Oracle Enterprise Manager on standard EC2 instances.</p>
<p>With this annoucement, the division of support responsibility remains the same. Oracle issues are handled by Oracle Support, and EC2 issues are handled by Amazon.</p>
<p>Related posts:</p>
<ol>
<li><a href='http://www.bluegecko.dk/oracle/report-from-oracle-openworld/' rel='bookmark' title='Permanent Link: Report from Oracle Openworld'>Report from Oracle Openworld</a></li>
<li><a href='http://www.bluegecko.dk/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.dk/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>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/a-cloud-over-san-francisco-for-openworld-2010/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Finding thread IDs and names of SQL Server background threads</title>
		<link>https://bluegecko.dk/finding-thread-ids-and-names-of-sql-server-background-threads/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=finding-thread-ids-and-names-of-sql-server-background-threads</link>
					<comments>https://bluegecko.dk/finding-thread-ids-and-names-of-sql-server-background-threads/#respond</comments>
		
		<dc:creator><![CDATA[jwilton]]></dc:creator>
		<pubDate>Wed, 18 Aug 2010 22:57:09 +0000</pubDate>
				<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[SQL Server]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=1821</guid>

					<description><![CDATA[In Microsoft SQL Server, session IDs of 50 or less are dedicated background threads. These are analogous to Oracle&#8217;s background processes.  Suppose you needed to obtain the Windows thread ID of a SQL server background thread.  Just try finding out how to do that in the Microsoft documentation or by Googling.  I tried, and came [...]


Related posts:<ol><li><a href="http://www.bluegecko.net/sql-server/finding-non-default-configuration-settings-in-sql-server/" rel="bookmark" title="Permanent Link: Finding non-default configuration settings in SQL Server">Finding non-default configuration settings in SQL Server</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>
</ol>]]></description>
										<content:encoded><![CDATA[<p>In Microsoft SQL Server, session IDs of 50 or less are dedicated background threads. These are analogous to Oracle&#8217;s background processes.  Suppose you needed to obtain the Windows thread ID of a SQL server background thread.  Just try finding out how to do that in the Microsoft documentation or by Googling.  I tried, and came up empty-handed.</p>
<p>Why might you need to know this kind of thing?  Well suppose one of those threads was misbehaving or hanging. You would need to debug it and obtain a stack trace.  For that you would need the OS thread ID.<span id="more-1821"></span></p>
<p>A little sleuthing shows that you need to query three dynamic system views<em>: sys.dm_os_threads</em>, <em>sys.dm_os_workers</em> and <em>sys.dm_exec_requests</em>.  The following SQL should do the trick in MSSS 2005 and 2008:</p>
<pre>1&gt; select session_id, command, os_thread_id
2&gt; from sys.dm_exec_requests as r
3&gt; join sys.dm_os_workers as w on r.task_address = w.task_address
4&gt; join sys.dm_os_threads as t on t.thread_address = w.thread_address
5&gt; where session_id &lt;= 50
6&gt; order by session_id
7&gt; go</pre>
<pre>session_id command          os_thread_id
---------- ---------------- ------------
1          RESOURCE MONITOR         2776
2          XE TIMER                 2908
3          XE DISPATCHER            2416
4          LAZY WRITER              1316
5          LOG WRITER               2404
6          LOCK MONITOR             1592
7          SIGNAL HANDLER           1516
9          TRACE QUEUE TASK         1544
10         BRKR TASK                1540
11         TASK MANAGER             1524
13         CHECKPOINT               1520
14         BRKR EVENT HNDLR         1556
15         BRKR TASK                1552
16         BRKR TASK                1536
</pre>
<p>With these IDs in hand, you can use a thread debugging tool like Sysinternals Process Explorer to kill, debug or otherwise troubleshoot the problem.</p>
<p>Related posts:</p>
<ol>
<li><a href='http://www.bluegecko.dk/sql-server/finding-non-default-configuration-settings-in-sql-server/' rel='bookmark' title='Permanent Link: Finding non-default configuration settings in SQL Server'>Finding non-default configuration settings in SQL Server</a></li>
<li><a href='http://www.bluegecko.dk/remote-dba-services/sql-server/' rel='bookmark' title='Permanent Link: SQL Server'>SQL Server</a></li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/finding-thread-ids-and-names-of-sql-server-background-threads/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Good OCP / bad OCP</title>
		<link>https://bluegecko.dk/good-ocp-bad-ocp/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=good-ocp-bad-ocp</link>
					<comments>https://bluegecko.dk/good-ocp-bad-ocp/#comments</comments>
		
		<dc:creator><![CDATA[jwilton]]></dc:creator>
		<pubDate>Wed, 04 Aug 2010 20:20:49 +0000</pubDate>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=1408</guid>

					<description><![CDATA[For those contemplating launching a career in Oracle database administration, there are essentially three routes: Oracle education and certification (OCP) Third-party educational programs (University and private training) Self-directed study and experimentation Most entering into the field assume that to be employable, they must become an Oracle Certified Professional (OCP).  They might be surprised to know [...]


Related posts:<ol><li><a href="http://www.bluegecko.net/news-events/blue-gecko-university-of-washington-oracle-certificate-program/" rel="bookmark" title="Permanent Link: Blue Gecko recommends the University of Washington Oracle Certificate program">Blue Gecko recommends the University of Washington Oracle Certificate program</a></li>
<li><a href="http://www.bluegecko.net/oracle/oracle-education-our-first-dba-class/" rel="bookmark" title="Permanent Link: Oracle Education – Our First DBA Class!!">Oracle Education &#8211; Our First DBA Class!!</a></li>
<li><a href="http://www.bluegecko.net/oracle/how-i-got-access-to-my-oracle-support-mos-for-us2-67/" rel="bookmark" title="Permanent Link: How I got access to My Oracle Support (MOS) for US$2.67">How I got access to My Oracle Support (MOS) for US$2.67</a></li>
</ol>]]></description>
										<content:encoded><![CDATA[<p>For those contemplating launching a career in Oracle database administration, there are essentially three routes:</p>
<ul>
<li> Oracle education and certification (OCP)</li>
<li>Third-party educational programs (University and private training)</li>
<li>Self-directed study and experimentation</li>
</ul>
<p>Most entering into the field assume that to be employable, they must become an Oracle Certified Professional (OCP).  They might be surprised to know that most working Oracle professionals do not have this certification.<span id="more-1408"></span></p>
<p>Although having an OCP is a nice way to show a prospective employer that you are serious about your profession, this certification has never gained the kind of universal traction that Microsoft’s MCSE has.  There are a few reasons for this:</p>
<ul>
<li>Oracle education has not matched curriculum with business needs</li>
<li>The Oracle certifications are very expensive</li>
<li>Generally, companies hire Oracle DBAs based on technical merit, not paper certifications</li>
</ul>
<p>Oracle’s classes and exams emphasize memorization of syntax and specific values and settings, instead of broader concepts.  The kind of minutia that must be retained to pass an OCP exam is easily referenced day to day in the Oracle manuals.  Senior professionals in our field frequently do not know specific syntax and parameters.  What makes them senior is their broader, holistic understanding of Oracle systems, and the ability to solve problems.</p>
<p>The OCP certification costs over $2000 and exposes candidates to a minimum amount of practical hands-on experience.  Candidates must attend just one 5-day class in person or on-line and pass two exams to complete the program.  Needless to say this does not prepare anyone to face the real-life challenges of managing enterprise production systems.  It simply graduates people skilled at memorization and test taking.</p>
<p>More and more, the meritocratic culture of the Internet has pervaded hiring strategies for Oracle professionals.  That means that a person who has a broad and holistic knowledge of systems, and can ace a phone screen, is more valued in hiring decisions than someone who simply boasts an OCP credential. Interviewers are much more likely to ask, “How would you deal with the following scenario…?” rather than “What is the exact syntax for …?”</p>
<p><strong>The value of private education and self-directed study</strong></p>
<p>Many universities and private companies have crafted programs to provide education services that seek to fill the void left by Oracle University’s lack of practical orientation.  These programs emphasize hands-on lab exercises, concepts and best practices.</p>
<p>Blue Gecko has taken a keen interest in one program at the University of Washington: <a href="http://www.pce.uw.edu/prog.aspx?id=4092" >UW Professional and Continuing education’s Certificate in Oracle Database Administration.</a> This weekly three-hour night class runs from October 2010 through June 2011. Blue Gecko’s president, Chuck Edwards serves on the academic board for this program, and it is largely taught by… me!</p>
<p>Two things make the University of Washington program unique:</p>
<ul>
<li>Each student maintains their own 64-bit Linux Oracle server on Amazon EC2 for the duration of the program, compliments of Amazon Web Services</li>
<li>I deliver the course simultaneously in person in downtown Seattle at the UW’s Puget Sound Plaza, and over the Internet via Adobe Connect.  This means that students from anywhere in the world can take the course by attending virtually.</li>
</ul>
<p>Even with the benefit of a class like the UW certificate program, anyone serious about becoming an Oracle DBA must be self-directed, and engage in plenty of independent experimentation and study.  Oracle’s development license allows anyone to download their software and run it for purposes of independent experimentation. My course at the UW is designed to orient students so that they are prepared to build independently on the knowledge they gained in the course.  During the course, I assign independent projects and reading. The goal of the course is to prepare students to think critically and formulate intelligent solutions both on the job and in job interviews.</p>
<p>Being an Oracle DBA can be a lucrative and interesting career.  But trying to break in using the Oracle certifications may prove more challenging than some might expect.  Consider the third-party education route, combined with independent study for your best chance at professional success.</p>
<p>Related posts:</p>
<ol>
<li><a href='http://www.bluegecko.dk/news-events/blue-gecko-university-of-washington-oracle-certificate-program/' rel='bookmark' title='Permanent Link: Blue Gecko recommends the University of Washington Oracle Certificate program'>Blue Gecko recommends the University of Washington Oracle Certificate program</a></li>
<li><a href='http://www.bluegecko.dk/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.dk/oracle/how-i-got-access-to-my-oracle-support-mos-for-us2-67/' rel='bookmark' title='Permanent Link: How I got access to My Oracle Support (MOS) for US$2.67'>How I got access to My Oracle Support (MOS) for US$2.67</a></li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/good-ocp-bad-ocp/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>How Incompetence Stimulates the Information Technology Economy</title>
		<link>https://bluegecko.dk/how-incompetence-stimulates-the-information-technology-economy/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-incompetence-stimulates-the-information-technology-economy</link>
					<comments>https://bluegecko.dk/how-incompetence-stimulates-the-information-technology-economy/#comments</comments>
		
		<dc:creator><![CDATA[jwilton]]></dc:creator>
		<pubDate>Thu, 08 Apr 2010 23:10:16 +0000</pubDate>
				<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=929</guid>

					<description><![CDATA[As information technology professionals, we constantly complain about mismanaged projects in which we have the misfortune to be involved.  Frequently, someone with more power than knowledge – usually in management and under the sway of a persuasive vendor sales team – has come up with a systems design most politely described as novel. Because of [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>As information technology professionals, we constantly complain about mismanaged projects in which we have the misfortune to be involved.  Frequently, someone with more power than knowledge – usually in management and under the sway of a persuasive vendor sales team – has come up with a systems design most politely described as <em>novel</em>. Because of our experience and understanding of the technology, we can clearly see the plan will fail.  Heedlessly, despite our loud protests, the project plods onward toward oblivion, consuming money, time and our human spirit along the way.<span id="more-929"></span></p>
<p>We feel bitter and exasperated at being ignored.  We are shocked at the audacity of spending a corporation’s money when you don’t know what you are doing.  Our most common reaction is to escalate, complain, and engage in a battle of wills with the author of the flawed plan.</p>
<p>We must change our thinking. To engage in resistance to doomed projects is both futile and self-destructive.  By releasing our attachment to the idea that projects must be done <em>right</em>, we begin to see the virtuous effects of projects being done <em>wrong</em>.</p>
<p>Of course it is our duty to register our objections to a flawed plan to those in charge in email, using clear, technical and unambiguous terms. Beyond that, however, our emotional involvement should end.  In the event our customer or employer deploys a badly designed system, it will surely require many skilled, competent troubleshooters to fix the system.  That’s us! Incompetent systems design results in strong demand for competent technical people.</p>
<p>But the benefits to the I.T. economy are not restricted to the aftermath.  During implementation of a failed system, a company pays vendors and employees to build it, even though they lack the skills or knowledge to realize their system is doomed.  Without doomed projects, these people would not even be part of an I.T. economy.  It is like a kind employment stimulus based on stupidity.</p>
<p>So don’t feel hate and loathing if you are in the midst of a doomed project, and nobody will listen to you.  Release your attachment to the need for others to do things right, and wait for failure.  When it comes, do your best to help.</p>
<p>I’m not saying I think this is how things should be.  I’m just saying it works paradoxically to the benefit of good technical contributors.  It certainly is not something to get bent out of shape about.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/how-incompetence-stimulates-the-information-technology-economy/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>High Performance Oracle 11g in the Amazon Cloud</title>
		<link>https://bluegecko.dk/high-performance-oracle-11g-in-the-amazon-cloud/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=high-performance-oracle-11g-in-the-amazon-cloud</link>
					<comments>https://bluegecko.dk/high-performance-oracle-11g-in-the-amazon-cloud/#respond</comments>
		
		<dc:creator><![CDATA[cedwards]]></dc:creator>
		<pubDate>Tue, 23 Mar 2010 18:18:53 +0000</pubDate>
				<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[11g]]></category>
		<category><![CDATA[amazon cloud]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[jere]]></category>
		<category><![CDATA[Jeremiah Wilton]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=873</guid>

					<description><![CDATA[Jeremiah Wilton will be presenting High Performance Oracle 11g in the Amazon Cloud at Collaborate 2010 &#8211; an updated version of his February RMOUG presentation.  For a preview, you can find both the white paper and presentation slides from RMOUG on our white paper page.  Currently scheduled for Monday, April 19, the session abstract reads: [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Jeremiah Wilton will be presenting High Performance Oracle 11g in the Amazon Cloud at Collaborate 2010 &#8211; an updated version of his February RMOUG presentation.  For a preview, you can find both the <a title="High Performance Oracle 11g in the Amazon Cloud" href="http://www.bluegecko.dk/download/Cloud%20Paper.pdf" target="_blank">white paper</a> and <a title="RMOUG slides" href="http://www.bluegecko.dk/download/Cloud.pdf" target="_blank">presentation slides</a> from RMOUG on our <a title="Blue Gecko white papers" href="http://www.bluegecko.dk/download/Cloud.pdf">white paper page</a>.  Currently scheduled for Monday, April 19, the session abstract reads:<span id="more-873"></span></p>
<p>The Amazon Elastic Computing Cloud is rapidly gaining acceptance as an  enterprise-class Oracle platform. In this virgin territory, Oracle  professionals need a complete understanding of cloud computing concepts  and architectures. This session addresses the basics, and goes further,  providing guidance on how best to optimize and configure Oracle for  performance, stability and manageability in the cloud. Gain a complete  understanding of Cloud Computing Learn the details of Amazon&#8217;s Elastic  Compute Cloud Develop the knowledge needed to deploy and effectively  manage high-performance Oracle services on Amazon EC2.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/high-performance-oracle-11g-in-the-amazon-cloud/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>New presentation:  Deriving Optimal Configurations Using 11g Database Replay</title>
		<link>https://bluegecko.dk/new-presentation-deriving-optimal-configurations-using-11g-database-replay/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-presentation-deriving-optimal-configurations-using-11g-database-replay</link>
					<comments>https://bluegecko.dk/new-presentation-deriving-optimal-configurations-using-11g-database-replay/#respond</comments>
		
		<dc:creator><![CDATA[cedwards]]></dc:creator>
		<pubDate>Mon, 24 Aug 2009 03:38:03 +0000</pubDate>
				<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[News & Events]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[database replay]]></category>
		<category><![CDATA[oracle configuration]]></category>
		<category><![CDATA[performance tuning]]></category>
		<category><![CDATA[Real Application Testing]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=899</guid>

					<description><![CDATA[Jeremiah Wilton’s presentation shows how to use Oracle 11g Real Application Testing to quantify effect of system and database configuration changes.  As an example, he uses Real Application Testing to validate the Automatic Advisor recommendations, and uncovers some interesting results. Check out the presentation on our whitepaper page.]]></description>
										<content:encoded><![CDATA[<p><a title="11g Database Replay" href="http://www.bluegecko.dk/download/deriving.pdf">Jeremiah Wilton’s presentation</a> shows how to use Oracle 11g Real Application Testing to quantify effect of system and database configuration changes.  As an example, he uses Real Application Testing to validate the Automatic Advisor recommendations, and uncovers some interesting results.</p>
<p>Check out the <a title="11g Database Replay" href="http://www.bluegecko.dk/download/deriving.pdf">presentation</a> on our <a title="Blue Gecko whitepaper page" href="http://www.bluegecko.dk/community/whitepapers/">whitepaper</a> page.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/new-presentation-deriving-optimal-configurations-using-11g-database-replay/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>New presentation: Simulating failures for testing and diagnostic practice</title>
		<link>https://bluegecko.dk/new-presentation-simulating-failures-for-testing-and-diagnostic-practice/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-presentation-simulating-failures-for-testing-and-diagnostic-practice</link>
					<comments>https://bluegecko.dk/new-presentation-simulating-failures-for-testing-and-diagnostic-practice/#respond</comments>
		
		<dc:creator><![CDATA[cedwards]]></dc:creator>
		<pubDate>Tue, 24 Mar 2009 03:29:39 +0000</pubDate>
				<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[News & Events]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[database crash]]></category>
		<category><![CDATA[emergency support]]></category>
		<category><![CDATA[jeremiag wilton]]></category>
		<category><![CDATA[ORA-00600]]></category>
		<category><![CDATA[ORA-600]]></category>
		<category><![CDATA[whitepaper]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=897</guid>

					<description><![CDATA[In this entertaining presentation, Jeremiah Wilton demonstrates creative ways to induce Oracle failures with the objective of learning how to detect, assess and diagnose problems.  Some of the self-induced failures are quite amusing, and will allow the reader to have some fun with their DBA friends. Check out the presentation on our whitepaper page.]]></description>
										<content:encoded><![CDATA[<p>In this <a title="Breaking Oracle presentation" href="http://www.bluegecko.dk/download/breaking-oracle.pdf">entertaining presentation</a>, Jeremiah Wilton demonstrates creative ways to induce Oracle failures with the objective of learning how to detect, assess and diagnose problems.  Some of the self-induced failures are quite amusing, and will allow the reader to have some fun with their DBA friends.</p>
<p>Check out the <a title="Breaking Oracle presentation" href="http://www.bluegecko.dk/download/breaking-oracle.pdf">presentation</a> on our <a title="Blue Gecko witepaper page" href="http://www.bluegecko.dk/community/whitepapers/">whitepaper</a> page.<a title="Breaking Oracle" href="http://www.bluegecko.dk/download/breaking-oracle.pdf" target="_blank"></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/new-presentation-simulating-failures-for-testing-and-diagnostic-practice/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 90/341 objects using disk
Page Caching using disk: enhanced 

Served from: bluegecko.dk @ 2026-10-16 23:45:42 by W3 Total Cache
-->