<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Neil Chandler&#039;s DBA Blog</title>
	<atom:link href="http://chandlerdba.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://chandlerdba.wordpress.com</link>
	<description>A resource for Database Professionals</description>
	<lastBuildDate>Wed, 24 Apr 2013 15:47:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='chandlerdba.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Neil Chandler&#039;s DBA Blog</title>
		<link>http://chandlerdba.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://chandlerdba.wordpress.com/osd.xml" title="Neil Chandler&#039;s DBA Blog" />
	<atom:link rel='hub' href='http://chandlerdba.wordpress.com/?pushpress=hub'/>
		<item>
		<title>RMAN Incarnations revisited (11G)</title>
		<link>http://chandlerdba.wordpress.com/2013/02/13/rman-incarnations-revisited-11g/</link>
		<comments>http://chandlerdba.wordpress.com/2013/02/13/rman-incarnations-revisited-11g/#comments</comments>
		<pubDate>Wed, 13 Feb 2013 22:50:37 +0000</pubDate>
		<dc:creator>Neil Chandler</dc:creator>
				<category><![CDATA[Backups]]></category>
		<category><![CDATA[RMAN]]></category>
		<category><![CDATA[10G]]></category>
		<category><![CDATA[11G]]></category>
		<category><![CDATA[Incarnation]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[RMAN-06004]]></category>
		<category><![CDATA[RMAN-20011]]></category>

		<guid isPermaLink="false">http://chandlerdba.wordpress.com/?p=573</guid>
		<description><![CDATA[Time for an update to a older post. I have previously talked about the annoyance of connecting to RMAN with a duplicated database where the DBID has not been changed. RMAN happily breaks the catalog by assuming the &#8220;new&#8221; database is a new incarnation, and prevents the previous owner of the catalog from using the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=573&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Time for an update to a <a title="Time for a Mistake? Problems with RMAN and incarnations." href="http://chandlerdba.wordpress.com/2011/03/23/time-for-a-mistake-problems-with-rman-and-incarnations/">older post</a>. I have previously talked about the annoyance of connecting to RMAN with a duplicated database where the DBID has not been changed. RMAN happily breaks the catalog by assuming the &#8220;new&#8221; database is a new incarnation, and prevents the previous owner of the catalog from using the backups.</p>
<p>I wrote a <a title="Time for a Mistake? Problems with RMAN and incarnations." href="http://chandlerdba.wordpress.com/2011/03/23/time-for-a-mistake-problems-with-rman-and-incarnations/">blog post</a> a while ago about hacking your way past this problem, but was recently informed by <a href="http://martincarstenbach.wordpress.com/" target="_blank">Martin Bach</a> that there was actually an RMAN command to fix the Incarnation problem I had encountered, so I though I had better take a look and see if it worked!</p>
<p>Well, the first thing I noticed was that Oracle 11G does not break when connecting from a different database with the same DBID the way it did in Oracle 10G:</p>
<pre><span style="color:#0000ff;">[oracle@localhost ~]$ <strong>rman target system/oracle catalog rman/rman@orcl1</strong>
Recovery Manager: Release 11.2.0.2.0 - Production on Sat Jan 26 12:26:10 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: ORCL1 (DBID=1229390655)
connected to recovery catalog database

RMAN&gt; <strong>list incarnation;</strong>
starting full resync of recovery catalog
full resync complete
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
------- ------- -------- ---------------- --- ---------- ----------
1 18 ORCL1 1229390655 PARENT 1 13/08/09 23:00:48
1  2 ORCL1 1229390655 CURRENT 754488 30/10/09 11:38:43

RMAN&gt; <strong>list backup summary;</strong>

List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
------- -- -- - ----------- ----------------- ------- ------- ---------- ---
331 B A A DISK 26/01/13 08:55:32 1 1 NO BACKUP1
375 B A A DISK 26/01/13 09:06:44 1 1 NO BACKUP2
400 B A A DISK 26/01/13 09:07:02 1 1 NO BACKUP3
587 B F A DISK 26/01/13 11:20:09 1 1 YES FULL BACKUP
609 B F A DISK 26/01/13 11:20:11 1 1 NO TAG20130126T112010</span></pre>
<p>And on the alternate database:</p>
<pre><span style="color:#008080;">[oracle@localhost ~]$ <strong>rman target system/oracle catalog rman/rman@orcl1</strong>
Recovery Manager: Release 11.2.0.2.0 - Production on Sat Jan 26 12:15:07 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: ORCL2 (DBID=1229390655)
connected to recovery catalog database

RMAN&gt; <strong>list incarnation;</strong>
starting full resync of recovery catalog
full resync complete
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
------- ------- -------- ---------------- --- ---------- ----------
1 18 <span style="color:#ff0000;">ORCL2</span> 1229390655 PARENT 1 13/08/09 23:00:48
1  2 <span style="color:#ff0000;">ORCL2</span> 1229390655 CURRENT 754488 30/10/09 11:38:43

RMAN&gt; <strong>list backup summary;</strong>

<span style="color:#ff0000;">specification does not match any backup in the repository</span>

RMAN&gt;</span></pre>
<p>Whilst the incarnations look a little incorrect (referring to ORCL2), the system does not break. So, no more need to hack around with incarnations if the system breaks accidentally. However, what if you register the other database&#8230;</p>
<pre><span style="color:#008000;">[oracle@localhost ~]$ <strong>rman target system/oracle catalog rman/rman@orcl1</strong></span>
<span style="color:#008000;">Recovery Manager: Release 11.2.0.2.0 - Production on Sun Jan 27 05:44:06 2013</span>
<span style="color:#008000;">Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.</span>
<span style="color:#008000;">connected to target database: ORCL2 (DBID=1229390655)</span>
<span style="color:#008000;">connected to recovery catalog database</span>
<span style="color:#008000;">RMAN&gt; <strong>register database;</strong></span>
<span style="color:#008000;">starting full resync of recovery catalog</span>
<span style="color:#008000;">full resync complete</span>
<span style="color:#008000;">RMAN-00571: ===========================================================</span>
<span style="color:#008000;">RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============</span>
<span style="color:#008000;">RMAN-00571: ===========================================================</span>
<span style="color:#008000;">RMAN-03009: failure of register command on default channel at 01/27/2013 05:44:12</span>
<span style="color:#008000;">RMAN-20002: target database already registered in recovery catalog</span></pre>
<p>So, after a little effort it would appear I can&#8217;t easily break the incarnations in Oracle 11G. So let&#8217;s try. I recovered the ORCL1 database to create a new incarnation to see how ORCL2 would behave when connected:</p>
<p>on ORCL1:</p>
<pre><span style="color:#0000ff;">[oracle@localhost ~]$ <strong>rman target system/oracle catalog rman/rman@orcl1</strong></span>
<span style="color:#0000ff;">Recovery Manager: Release 11.2.0.2.0 - Production on Sun Jan 27 12:32:09 2013</span>
<span style="color:#0000ff;">Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.</span>
<span style="color:#0000ff;">connected to target database: ORCL1 (DBID=1229390655)</span>
<span style="color:#0000ff;"> connected to recovery catalog database

</span>
<span style="color:#0000ff;">RMAN&gt; <strong>list incarnation;</strong></span>
<span style="color:#0000ff;"> List of Database Incarnations</span>
<span style="color:#0000ff;"> DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time</span>
<span style="color:#0000ff;"> ------- ------- -------- ---------------- --- ---------- ----------</span>
<span style="color:#0000ff;"> 1 18 ORCL1 1229390655 PARENT 1 13/08/09 23:00:48</span>
<span style="color:#0000ff;"> 1 2 ORCL1 1229390655 PARENT 754488 30/10/09 11:38:43</span>
<span style="color:#0000ff;"> 1 921 ORCL1 1229390655 CURRENT 10215936 27/01/13 12:27:12 <span style="color:#ff0000;">&lt;- new incarnation</span></span></pre>
<p>&lt;BR&gt;</p>
<p>And now ORCL2 behaves a little differently, recognising the ORCL1 incarnations correctly, and throwing an error:</p>
<pre><span style="color:#008080;">[oracle@localhost ~]$ <strong>rman target system/oracle catalog rman/rman@orcl1</strong></span>
<span style="color:#008080;">Recovery Manager: Release 11.2.0.2.0 - Production on Sun Jan 27 12:19:27 2013</span>
<span style="color:#008080;">Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.</span>
<span style="color:#008080;">connected to target database: ORCL2 (DBID=1229390655)</span>
<span style="color:#008080;"> connected to recovery catalog database</span>

<span style="color:#008080;">RMAN&gt; <strong>list incarnation;</strong></span>
<span style="color:#008080;"> List of Database Incarnations</span>
<span style="color:#008080;"> DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time</span>
<span style="color:#008080;"> ------- ------- -------- ---------------- --- ---------- ----------</span>
<span style="color:#008080;"> 1 18 ORCL1 1229390655 PARENT 1 13/08/09 23:00:48</span>
<span style="color:#008080;"> 1 2 ORCL1 1229390655 PARENT 754488 30/10/09 11:38:43</span>
<span style="color:#008080;"> 1 921 ORCL1 1229390655 CURRENT 10215936 27/01/13 12:27:12</span>

<span style="color:#008080;">RMAN&gt; <strong>list backup summary;</strong></span>
<span style="color:#008080;">RMAN-00571: ===========================================================</span>
<span style="color:#008080;"> RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============</span>
<span style="color:#008080;"> RMAN-00571: ===========================================================</span>
<span style="color:#008080;"> RMAN-03002: failure of list command at 01/27/2013 12:19:38</span>
<span style="color:#008080;"> RMAN-06004: ORACLE error from recovery catalog database: RMAN-20004: target database name does not match name in recovery catalog</span></pre>
<p>So, what if I change the name of ORCL2 back to ORCL1. Can I reproduce my error then?</p>
<pre><span style="color:#008080;">[oracle@localhost dbs]$ <strong>sqlplus / as sysdba</strong></span>
<span style="color:#008080;">SQL*Plus: Release 11.1.0.7.0 - Production on Sun Jan 27 12:23:29 2013</span>
<span style="color:#008080;">Copyright (c) 1982, 2008, Oracle. All rights reserved.</span>
<span style="color:#008080;">Connected to:</span>
<span style="color:#008080;"> Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production</span>
<span style="color:#008080;"> With the Partitioning, OLAP, Data Mining and Real Application Testing options</span>

<span style="color:#008080;">SQL&gt; <strong>shutdown immediate;</strong></span>
<span style="color:#008080;"> Database closed.</span>
<span style="color:#008080;"> Database dismounted.</span>
<span style="color:#008080;"> ORACLE instance shut down.</span>

<span style="color:#008080;">SQL&gt; <strong>startup mount;</strong></span>
<span style="color:#008080;"> ORACLE instance started.</span>
<span style="color:#008080;">Total System Global Area 456146944 bytes</span>
<span style="color:#008080;"> Fixed Size 1344840 bytes</span>
<span style="color:#008080;"> Variable Size 381684408 bytes</span>
<span style="color:#008080;"> Database Buffers 67108864 bytes</span>
<span style="color:#008080;"> Redo Buffers 6008832 bytes</span>
<span style="color:#008080;"> Database mounted.</span>

<span style="color:#008080;"> SQL&gt; <strong>exit</strong></span>
<span style="color:#008080;"> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production</span>
<span style="color:#008080;"> With the Partitioning, OLAP, Data Mining and Real Application Testing options</span>

<span style="color:#008080;">[oracle@localhost dbs]$ <strong>nid target=system/oracle dbname=orcl1 setname=yes</strong></span>
<span style="color:#008080;">DBNEWID: Release 11.2.0.2.0 - Production on Sun Jan 27 12:24:10 2013</span>
<span style="color:#008080;">Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.</span>
<span style="color:#008080;">Connected to database ORCL2 (DBID=1229390655)</span>
<span style="color:#008080;">Connected to server version 11.2.0</span>
<span style="color:#008080;">Control Files in database:</span>
<span style="color:#008080;"> /home/oracle/app/oracle/oradata/orcl/control01.ctl</span>
<span style="color:#008080;"> /home/oracle/app/oracle/flash_recovery_area/orcl/control02.ctl</span>
<span style="color:#008080;">Change database name of database ORCL2 to ORCL1? (Y/[N]) =&gt; <strong>Y</strong></span>
<span style="color:#008080;">Proceeding with operation</span>
<span style="color:#008080;"> Changing database name from ORCL2 to ORCL1</span>
<span style="color:#008080;"> Control File /home/oracle/app/oracle/oradata/orcl/control01.ctl - modified</span>
<span style="color:#008080;"> Control File /home/oracle/app/oracle/flash_recovery_area/orcl/control02.ctl - modified</span>
<span style="color:#008080;"> Datafile /home/oracle/app/oracle/oradata/orcl/system01.db - wrote new name</span>
<span style="color:#008080;"> Datafile /home/oracle/app/oracle/oradata/orcl/sysaux01.db - wrote new name</span>
<span style="color:#008080;"> Datafile /home/oracle/app/oracle/oradata/orcl/undotbs01.db - wrote new name</span>
<span style="color:#008080;"> Datafile /home/oracle/app/oracle/oradata/orcl/users01.db - wrote new name</span>
<span style="color:#008080;"> Datafile /home/oracle/app/oracle/oradata/orcl/example01.db - wrote new name</span>
<span style="color:#008080;"> Datafile /home/oracle/app/oracle/oradata/orcl/APEX_1246426611663638.db - wrote new name</span>
<span style="color:#008080;"> Datafile /home/oracle/app/oracle/oradata/orcl/APEX_1265209995679366.db - wrote new name</span>
<span style="color:#008080;"> Datafile /home/oracle/app/oracle/oradata/orcl/temp01.db - wrote new name</span>
<span style="color:#008080;"> Control File /home/oracle/app/oracle/oradata/orcl/control01.ctl - wrote new name</span>
<span style="color:#008080;"> Control File /home/oracle/app/oracle/flash_recovery_area/orcl/control02.ctl - wrote new name</span>
<span style="color:#008080;"> Instance shut down</span>
<span style="color:#008080;">Database name changed to ORCL1.</span>
<span style="color:#008080;"> Modify parameter file and generate a new password file before restarting.</span>
<span style="color:#008080;"> Succesfully changed database name.</span>
<span style="color:#008080;"> DBNEWID - Completed succesfully.</span>
<span style="color:#008080;">[note: I have already got the relevant init.ora and oratab setup]</span>
<span style="color:#008080;">[oracle@localhost dbs]$<strong> . oraenv</strong></span>
<span style="color:#008080;"> ORACLE_SID = [orcl2] ? <strong>orcl1</strong></span>
<span style="color:#008080;"> The Oracle base has been set to /home/oracle/app/oracle</span>

<span style="color:#008080;"> [oracle@localhost dbs]$ <strong>sqlplus / as sysdba</strong></span>
<span style="color:#008080;">SQL*Plus: Release 11.1.0.7.0 - Production on Sun Jan 27 12:24:31 2013</span>
<span style="color:#008080;">Copyright (c) 1982, 2008, Oracle. All rights reserved.</span>
<span style="color:#008080;">Connected to an idle instance.</span>
<span style="color:#008080;">SQL&gt; <strong>startup mount;</strong></span>
<span style="color:#008080;"> ORACLE instance started.</span>
<span style="color:#008080;">Total System Global Area 456146944 bytes</span>
<span style="color:#008080;"> Fixed Size 1344840 bytes</span>
<span style="color:#008080;"> Variable Size 381684408 bytes</span>
<span style="color:#008080;"> Database Buffers 67108864 bytes</span>
<span style="color:#008080;"> Redo Buffers 6008832 bytes</span>
<span style="color:#008080;"> Database mounted.</span>
<span style="color:#008080;">SQL&gt; <strong>alter database open;</strong></span>
<span style="color:#008080;">Database altered.

SQL &gt;<strong>exit</strong>
</span>
<span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:13px;line-height:19px;color:#008080;">[oracle@localhost dbs]$<strong> rman target system/oracle catalog rman/rman@orcl1</strong></span></pre>
<p><span style="color:#008080;">Recovery Manager: Release 11.2.0.2.0 &#8211; Production on Sun Jan 27 12:52:45 2013</span></p>
<p><span style="color:#008080;">Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.</span></p>
<p><span style="color:#008080;">connected to target database: ORCL1 (DBID=1229390655)</span><br />
<span style="color:#008080;"> connected to recovery catalog database</span></p>
<p><span style="color:#008080;">RMAN&gt; <strong>list incarnation;</strong></span></p>
<p><span style="color:#008080;">database reset to incarnation 2</span><br />
<span style="color:#008080;"> starting full resync of recovery catalog</span></p>
<p><span style="color:#008080;">List of Database Incarnations</span><br />
<span style="color:#008080;"> DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time</span><br />
<span style="color:#008080;"> &#8212;&#8212;- &#8212;&#8212;- &#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;- &#8212; &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;-</span><br />
<span style="color:#008080;"> 1 18 ORCL1 1229390655 PARENT 1 13/08/09 23:00:48</span><br />
<span style="color:#008080;"> 1 2 ORCL1 1229390655 CURRENT 754488 30/10/09 11:38:43</span><br />
<span style="color:#008080;"> 1 921 ORCL1 1229390655 ORPHAN 10215936 27/01/13 12:27:12</span></p>
<p>So, the newly rename-to ORCL1 thinks we are at incarnation 2. However, log back into the original ORCL1 and it resets the incarnation back to 921. Still no corruption, still no problem!</p>
<p>So, I still can&#8217;t prove whether the ALTER DATABASE SET INCARNATION command will work as mentioned to me, or whether it&#8217;s just something that allows me to recover across a resetlogs command. Looks like I&#8217;ll have to reinstall Oracle 10G&#8230; tomorrow.</p>
<br />Filed under: <a href='http://chandlerdba.wordpress.com/category/backups/'>Backups</a>, <a href='http://chandlerdba.wordpress.com/category/backups/rman-backups/'>RMAN</a> Tagged: <a href='http://chandlerdba.wordpress.com/tag/10g/'>10G</a>, <a href='http://chandlerdba.wordpress.com/tag/11g/'>11G</a>, <a href='http://chandlerdba.wordpress.com/tag/incarnation/'>Incarnation</a>, <a href='http://chandlerdba.wordpress.com/tag/oracle/'>oracle</a>, <a href='http://chandlerdba.wordpress.com/tag/problem/'>problem</a>, <a href='http://chandlerdba.wordpress.com/tag/rman/'>RMAN</a>, <a href='http://chandlerdba.wordpress.com/tag/rman-06004/'>RMAN-06004</a>, <a href='http://chandlerdba.wordpress.com/tag/rman-20011/'>RMAN-20011</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chandlerdba.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chandlerdba.wordpress.com/573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chandlerdba.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chandlerdba.wordpress.com/573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chandlerdba.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chandlerdba.wordpress.com/573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chandlerdba.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chandlerdba.wordpress.com/573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chandlerdba.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chandlerdba.wordpress.com/573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chandlerdba.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chandlerdba.wordpress.com/573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chandlerdba.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chandlerdba.wordpress.com/573/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=573&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chandlerdba.wordpress.com/2013/02/13/rman-incarnations-revisited-11g/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/b772fd78342fcb9d284a1fc651904ad7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chandlerdba</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle Data Files</title>
		<link>http://chandlerdba.wordpress.com/2013/01/25/oracle-data-files/</link>
		<comments>http://chandlerdba.wordpress.com/2013/01/25/oracle-data-files/#comments</comments>
		<pubDate>Fri, 25 Jan 2013 16:39:32 +0000</pubDate>
		<dc:creator>Neil Chandler</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Migration]]></category>
		<category><![CDATA[Problem Solving]]></category>
		<category><![CDATA[datafile]]></category>
		<category><![CDATA[dba_extents]]></category>
		<category><![CDATA[dba_free_space]]></category>
		<category><![CDATA[internal]]></category>
		<category><![CDATA[ORA-03297]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://chandlerdba.wordpress.com/?p=556</guid>
		<description><![CDATA[I was looking at the contents of a tablespace recently &#8211; just the extents, not a block dump &#8211; with the intention of shrinking a couple of the associated datafiles (don&#8217;t ask why &#8211; the reason is both stupid and irrelevant). I needed to know just how much I could shrink immediately, and if there [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=556&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I was looking at the contents of a tablespace recently &#8211; just the extents, not a block dump &#8211; with the intention of shrinking a couple of the associated datafiles (don&#8217;t ask why &#8211; the reason is both stupid and irrelevant). I needed to know just how much I could shrink immediately, and if there were any quick wins in terms of moving objects from near the end of files so even more space could be reclaimed. I was a little surprised to discover that something which I have been doing for over 20 years was not as common knowledge as I thought it was, so I though I would try to let some more people know how to do this.</p>
<p>So, what&#8217;s in a tablespace? It&#8217;s made up of a number of datafiles (whether in ASM, RAW or on a journalled file-system is irrelevant for this conversation). Within the datafiles are extents. These are logical groupings of blocks &#8211; a multiple of the block size &#8211; which show where your objects are stored within the datafile.</p>
<p>I wrote this piece of SQL to show where the extents live in 1992. It still works today, regardless of whether your tablespaces are dictionary or locally managed:</p>
<pre> 
<span style="color:#0000ff;">SELECT tablespace_name, file_id, owner, segment_name, block_id begin,
blocks, block_id+blocks-1 end, bytes/1024 KB, '' free
FROM sys.dba_extents
where tablespace_name = 'USERS'
UNION
SELECT tablespace_name, file_id, '' owner, '' segment_name, block_id begin,
<em id="__mceDel"><em id="__mceDel">blocks, block_id+blocks-1 end, bytes/1024 KB, 'FREE' free </em></em>
<em id="__mceDel"><em id="__mceDel">FROM sys.dba_free_space 
where tablespace_name = 'USERS' 
ORDER BY 1,2,5</em></em></span>
<span style="color:#0000ff;">
<em id="__mceDel"><em id="__mceDel"><em id="__mceDel"><b><span style="text-decoration:underline;">TSPC ID OWNER  SEGMENT_NAME    BEGIN  BLOCKS   END     KB  FREE</span></b>
USERS 4 SCOTT  DEPT              128       8   135     64
USERS 4 SCOTT  PK_DEPT           136       8   143     64
USERS 4 SCOTT  EMP               144       8   151     64
USERS 4 SCOTT  PK_EMP            152       8   159     64
USERS 4 SCOTT  SALGRADE          160       8   167     64
USERS 4                          168     128   295   1024 FREE
USERS 4 SYS    TABLE_1           296       8   303     64
USERS 4 SYS    TABLE_1           304       8   311     64
USERS 4 SYS    TABLE_1           312       8   319     64
USERS 4 SYS    TABLE_1           320       8   327     64
USERS 4 SYS    TABLE_1           328       8   335     64
USERS 4 SYS    IND_1             336       8   343     64
USERS 4                          344      40   383    320 FREE
USERS 4                          384     128   511   1024 FREE
USERS 4                          512     128   639   1024 FREE
USERS 6 SYS    TABLE_2           128     128   255   1024
USERS 6                          256   12544 12799 100352 FREE
USERS 6 SYS    IND_2           12800     256 13055   2048</em></em></em></span></pre>
<p><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:13px;line-height:19px;">So, as we can see from the output above, the tablespace USERS has 2 datafiles; &#8220;4&#8243; and &#8220;6&#8243; (you can identify them fully using view DBA_DATA_FILES). We can shrink file 4 immediately by 1024K+1024K+320K = a bit over 2M.</span></p>
<p>File  6 is a bit more of a problem. There&#8217;s an index IND_2 in the way, unhelpfully located at the end of the datafile, which stops us from shrinking the datafile. If you try to resize the file using <span style="color:#0000ff;">ALTER DATABASE DATAFIL E &#8216;+DATA/orcl/&#8230;..&#8217; 10M</span>, it will fail with the error <span style="color:#ff0000;">ORA-03297: file contains used data beyond requested RESIZE value</span>. In this case, the remedy may be as simple as  performing an <span style="color:#0000ff;">ALTER INDEX IND_2 REBUILD TABLESPACE USERS ONLINE; </span> This will (probably) relocate the index somewhere lower in the file and allow us to shrink the datafile. Moving tables with an ALTER TABLE &#8230; MOVE command may prove more difficult depending upon your throughput due to the extra locks needed at the start and end of the transaction, and extra care needs to be take with any LOB objects involved.</p>
<br />Filed under: <a href='http://chandlerdba.wordpress.com/category/administration/'>Administration</a>, <a href='http://chandlerdba.wordpress.com/category/administration/migration-administration/'>Migration</a>, <a href='http://chandlerdba.wordpress.com/category/problem-solving/'>Problem Solving</a> Tagged: <a href='http://chandlerdba.wordpress.com/tag/datafile/'>datafile</a>, <a href='http://chandlerdba.wordpress.com/tag/dba_extents/'>dba_extents</a>, <a href='http://chandlerdba.wordpress.com/tag/dba_free_space/'>dba_free_space</a>, <a href='http://chandlerdba.wordpress.com/tag/internal/'>internal</a>, <a href='http://chandlerdba.wordpress.com/tag/ora-03297/'>ORA-03297</a>, <a href='http://chandlerdba.wordpress.com/tag/oracle/'>oracle</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chandlerdba.wordpress.com/556/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chandlerdba.wordpress.com/556/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chandlerdba.wordpress.com/556/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chandlerdba.wordpress.com/556/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chandlerdba.wordpress.com/556/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chandlerdba.wordpress.com/556/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chandlerdba.wordpress.com/556/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chandlerdba.wordpress.com/556/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chandlerdba.wordpress.com/556/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chandlerdba.wordpress.com/556/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chandlerdba.wordpress.com/556/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chandlerdba.wordpress.com/556/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chandlerdba.wordpress.com/556/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chandlerdba.wordpress.com/556/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=556&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chandlerdba.wordpress.com/2013/01/25/oracle-data-files/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/b772fd78342fcb9d284a1fc651904ad7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chandlerdba</media:title>
		</media:content>
	</item>
		<item>
		<title>UKOUG Conference 2012 Agenda Online</title>
		<link>http://chandlerdba.wordpress.com/2012/09/18/ukoug-conference-2012-agenda-online/</link>
		<comments>http://chandlerdba.wordpress.com/2012/09/18/ukoug-conference-2012-agenda-online/#comments</comments>
		<pubDate>Tue, 18 Sep 2012 14:07:40 +0000</pubDate>
		<dc:creator>Neil Chandler</dc:creator>
				<category><![CDATA[UKOUG]]></category>

		<guid isPermaLink="false">http://chandlerdba.wordpress.com/?p=563</guid>
		<description><![CDATA[Today the UK&#8217;s big Oracle User event has just lifted its skirts to show off its new frilly agenda, which can be found here. I have been a member of the UKOUG for well over a decade, and a Special Interest Group (SIG) Deputy Chairman for the last 5 or 6 years. As an independent [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=563&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Today the UK&#8217;s big Oracle User event has just lifted its skirts to show off its new frilly agenda, which can be found <a href="http://2012.ukoug.org/agendagrid" target="_blank">here</a>.</p>
<p>I have been a member of the UKOUG for well over a decade, and a Special Interest Group (SIG) Deputy Chairman for the last 5 or 6 years. As an independent consultant this costs <span style="text-decoration:underline;">me</span> money in lost earnings, basic membership fees, travel, hotels, flowers for the wife, etc. However, I make my living as an Oracle consultant and I need to keep up with trends, understand a broad range of information about the Oracle world, network, and learn. All of these opportunities are afforded by the UKOUG, especially at Conference time.<br />
So, <a href="http://2012.ukoug.org/agendagrid" target="_blank">read the agenda</a>, think about what you could do to improve the way things work at your company, and pester your boss for a pass. You never know where it could lead. If you&#8217;re lucky, it could lead to an invite to the launch of the agenda, involving Oracle luminaries, canapes, beer and dancing (and here&#8217;s the evidence)</p>
<div id="attachment_565" class="wp-caption aligncenter" style="width: 686px"><a href="http://chandlerdba.files.wordpress.com/2012/09/ukoug-agenda-launch.jpg"><img class="size-full wp-image-565" title="UKOUG Agenda Launch" src="http://chandlerdba.files.wordpress.com/2012/09/ukoug-agenda-launch.jpg?w=700" alt="UKOUG Agenda Launch"   /></a><p class="wp-caption-text">Who can you spot? Debra Lilley? Bernie Duggs? Julian Dyke? Martin Widlake? Coskan Gundogar? Dawn Rigby?</p></div>
<br />Filed under: <a href='http://chandlerdba.wordpress.com/category/ukoug-2/'>UKOUG</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chandlerdba.wordpress.com/563/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chandlerdba.wordpress.com/563/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chandlerdba.wordpress.com/563/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chandlerdba.wordpress.com/563/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chandlerdba.wordpress.com/563/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chandlerdba.wordpress.com/563/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chandlerdba.wordpress.com/563/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chandlerdba.wordpress.com/563/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chandlerdba.wordpress.com/563/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chandlerdba.wordpress.com/563/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chandlerdba.wordpress.com/563/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chandlerdba.wordpress.com/563/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chandlerdba.wordpress.com/563/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chandlerdba.wordpress.com/563/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=563&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chandlerdba.wordpress.com/2012/09/18/ukoug-conference-2012-agenda-online/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/b772fd78342fcb9d284a1fc651904ad7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chandlerdba</media:title>
		</media:content>

		<media:content url="http://chandlerdba.files.wordpress.com/2012/09/ukoug-agenda-launch.jpg" medium="image">
			<media:title type="html">UKOUG Agenda Launch</media:title>
		</media:content>
	</item>
		<item>
		<title>Outside Interests &#8211; not work!</title>
		<link>http://chandlerdba.wordpress.com/2012/08/15/outside-interests-not-work/</link>
		<comments>http://chandlerdba.wordpress.com/2012/08/15/outside-interests-not-work/#comments</comments>
		<pubDate>Wed, 15 Aug 2012 10:34:44 +0000</pubDate>
		<dc:creator>Neil Chandler</dc:creator>
				<category><![CDATA[Prevarication]]></category>
		<category><![CDATA[banger]]></category>
		<category><![CDATA[car]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[naples]]></category>
		<category><![CDATA[not work]]></category>
		<category><![CDATA[play; s2n]]></category>
		<category><![CDATA[rally]]></category>
		<category><![CDATA[staples]]></category>

		<guid isPermaLink="false">http://chandlerdba.wordpress.com/?p=539</guid>
		<description><![CDATA[So, what do you do that isn&#8217;t work. Sure, you work hard in the office. You might even do work when you get home at night on your own &#8220;lab&#8221; setup &#8211; VM&#8217;s make that so easy these days. Even an old desktop can spin up a couple of VM&#8217;s if you stick some extra [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=539&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>So, what do you do that isn&#8217;t work. Sure, you work hard in the office. You might even do work when you get home at night on your own &#8220;lab&#8221; setup &#8211; VM&#8217;s make that so easy these days. Even an old desktop can spin up a couple of VM&#8217;s if you stick some extra memory in it. I just bought 12GB for £25, so that&#8217;s pretty cheap and easy to do.</p>
<p>You might have read some technical books on your commute to and from the office, or listened to technical podcasts on the way there and back if you drive.</p>
<p>When you stop working, or learning, or &#8220;playing&#8221; with technology, what do you do to unwind? Well, next week I have decided to drive from my home in London to Naples as part of a 100-strong banger rally. You can read more about it on the <a href="http://monkey554.wordpress.com" target="_blank">Team Monkey Wrench blog</a>. I love cars (even this dreadful one), and it&#8217;s a pretty good adventure.</p>
<p>So, what do you do to relax? Jump out of a plane? Play chess against your kids? Drink yourself senseless in a bar? We all need a break from technology now and again. Go out into the world a do something fun.</p>
<br />Filed under: <a href='http://chandlerdba.wordpress.com/category/prevarication/'>Prevarication</a> Tagged: <a href='http://chandlerdba.wordpress.com/tag/banger/'>banger</a>, <a href='http://chandlerdba.wordpress.com/tag/car/'>car</a>, <a href='http://chandlerdba.wordpress.com/tag/fun/'>fun</a>, <a href='http://chandlerdba.wordpress.com/tag/naples/'>naples</a>, <a href='http://chandlerdba.wordpress.com/tag/not-work/'>not work</a>, <a href='http://chandlerdba.wordpress.com/tag/play-s2n/'>play; s2n</a>, <a href='http://chandlerdba.wordpress.com/tag/rally/'>rally</a>, <a href='http://chandlerdba.wordpress.com/tag/staples/'>staples</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chandlerdba.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chandlerdba.wordpress.com/539/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chandlerdba.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chandlerdba.wordpress.com/539/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chandlerdba.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chandlerdba.wordpress.com/539/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chandlerdba.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chandlerdba.wordpress.com/539/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chandlerdba.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chandlerdba.wordpress.com/539/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chandlerdba.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chandlerdba.wordpress.com/539/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chandlerdba.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chandlerdba.wordpress.com/539/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=539&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chandlerdba.wordpress.com/2012/08/15/outside-interests-not-work/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/b772fd78342fcb9d284a1fc651904ad7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chandlerdba</media:title>
		</media:content>
	</item>
		<item>
		<title>The Fear of Presenting</title>
		<link>http://chandlerdba.wordpress.com/2012/07/12/the-fear-of-presenting/</link>
		<comments>http://chandlerdba.wordpress.com/2012/07/12/the-fear-of-presenting/#comments</comments>
		<pubDate>Thu, 12 Jul 2012 15:25:25 +0000</pubDate>
		<dc:creator>Neil Chandler</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://chandlerdba.wordpress.com/?p=530</guid>
		<description><![CDATA[I am deputy chairman of the UK Oracle User Group: Availability, Infrastructure and Management  (AIM) SIG. We arrange several groups per year where we look to get speakers to present on all manner of subject in relation to the remit of the SIG: Exadata, RAC, Partitioning, Grid Control, Managing DBA&#8217;s, etc (for more info, check [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=530&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I am deputy chairman of the UK Oracle User Group: Availability, Infrastructure and Management  (AIM) SIG. We arrange several groups per year where we look to get speakers to present on all manner of subject in relation to the remit of the SIG<strong>:</strong> Exadata, RAC, Partitioning, Grid Control, Managing DBA&#8217;s, etc (for more info, check <a title="AIM SIG" href="http://www.ukoug.org/our-communities/oracle-technology/availability-infrastructure-management/" target="_blank">here</a>). However, it can sometimes be difficult to get presenters, and close to impossible to get <em>new</em> presenters.</p>
<p>Now, most people are pretty scared to get up in front of their peers and present. It initially seems quite a daunting prospect. However, I was recently reading <a href="http://www.feynmanonline.com/" target="_blank">Dr Richard Feynman&#8217;</a>s autobiography, which puts the fear of your first presentation into perspective:</p>
<p>When he was a graduate student at Princeton, Feynman was working as a research student and was encouraged by <a href="http://en.wikipedia.org/wiki/John_Archibald_Wheeler" target="_blank">John Wheeler</a> to give a talk on an electrodynamics theory they were working on, as &#8220;you need experience in giving talks&#8221;. Feynman found out later that especially invited to the talk were <a href="http://en.wikipedia.org/wiki/Henry_Norris_Russell" target="_blank">Henry Norris Russell</a>, <a href="http://en.wikipedia.org/wiki/Wolfgang_Pauli" target="_blank">Professor Wolfgang Pauli</a>, and <a href="http://en.wikipedia.org/wiki/Albert_Einstein" target="_blank">Professor Albert Einstein</a>. Three of the most preeminent scientists of their day (you might have heard of at least one of them).</p>
<p>So, if you think your talk is going to be difficult standing in front of a couple of contractors, 3 geeks from the local council, a couple of bankers and some bloke from a supermarket, it&#8217;s not. Well, not compared to being open to critique by Pauli and Einstein! Nobody is going to be critical of your talk, only supportive. Nobody expects a presenter to have all of the answers. Many of us have witnessed the consummate presenter <a href="http://jonathanlewis.wordpress.com/" target="_blank">Jonathan Lewis </a>writing impossible SQL on a flip chart, much to his chagrin. So if Jonathan can make an amusing mistake, I don&#8217;t think we&#8217;re overly worried about anybody else making one either.</p>
<p>As for Feynman, his only regret about the seminar as that he can&#8217;t remember exactly what Prof. Pauli has said when he raised a question, as he thinks it might have been the answer to making a quantum version of his electrodynamic theory.</p>
<p>So, if you DO present, and I would really encourage you to present,  listen carefully to any questions asked by the audience. They just might give you the answer you are looking for.</p>
<p>For the record and to stop frivolous posts, Martin, I DO present occasionally. Just not as much as perhaps I should.</p>
<br />Filed under: <a href='http://chandlerdba.wordpress.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chandlerdba.wordpress.com/530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chandlerdba.wordpress.com/530/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chandlerdba.wordpress.com/530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chandlerdba.wordpress.com/530/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chandlerdba.wordpress.com/530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chandlerdba.wordpress.com/530/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chandlerdba.wordpress.com/530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chandlerdba.wordpress.com/530/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chandlerdba.wordpress.com/530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chandlerdba.wordpress.com/530/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chandlerdba.wordpress.com/530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chandlerdba.wordpress.com/530/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chandlerdba.wordpress.com/530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chandlerdba.wordpress.com/530/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=530&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chandlerdba.wordpress.com/2012/07/12/the-fear-of-presenting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/b772fd78342fcb9d284a1fc651904ad7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chandlerdba</media:title>
		</media:content>
	</item>
		<item>
		<title>Bank with your conscience</title>
		<link>http://chandlerdba.wordpress.com/2012/07/01/bank-with-your-conscience/</link>
		<comments>http://chandlerdba.wordpress.com/2012/07/01/bank-with-your-conscience/#comments</comments>
		<pubDate>Sun, 01 Jul 2012 18:48:37 +0000</pubDate>
		<dc:creator>Neil Chandler</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bank; barclays; leave; libor; close; account]]></category>

		<guid isPermaLink="false">http://chandlerdba.wordpress.com/?p=510</guid>
		<description><![CDATA[Well, there&#8217;s a lot been said about bankers in the last few years, much of it negative and with good reason. Tony Robinson asked if they were human in an excellent rant on Question Time. Manipulating the LIBOR is pretty egregious. It undermines the basis of truth behind our (formerly) well-regarded banks. It shows them [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=510&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Well, there&#8217;s a lot been said about <strong>bankers</strong> in the last few years, much of it negative and with good reason. <a href="http://www.bbc.co.uk/news/uk-politics-18642323" target="_blank">Tony Robinson asked if they were human in an excellent rant on Question Time. </a>Manipulating the LIBOR is pretty egregious. It undermines the basis of truth behind our (formerly) well-regarded banks. It shows them to be self-interested liars and cheats.</p>
<p>Many of the huge numbers of people who work for banks are just doing their job, ticking along, feeding their families, not being evil. I have worked as a consultant inside many banks, and have also worked directly for one or two. The staff in banks are like workers everywhere; some good, some bad, some incompetent and some dazzling in their genius. Like all large companies.</p>
<p>At present, <a href="http://www.barclays.co.uk"><strong>Barclays</strong> </a>has covered itself in shame and I suspect that it&#8217;s merely the first name on the guilty sheet. However, I&#8217;m a Barclays customer. I have a couple of accounts with them. I use the current account daily.</p>
<p><span style="text-decoration:underline;"><strong>I don&#8217;t think I can continue to be a customer of a bank whose behaviour is so reprehensible. </strong></span></p>
<p>It would seem that the law cannot prosecute the offending parties within the bank, so I feel my only recourse is to leave the bank. I don&#8217;t need Barclays. I&#8217;m going to move somewhere more ethical, so I need to look at the company as well as the interest rates. I already have other current accounts that I can use, which will happen in the short term until I strike the right balance between ethics and savings.</p>
<p>If EVERYBODY did that, Barclays would no longer exist to be unethical.That would make a lot of people unemployed, including several friends and family members&#8230; but&#8230;</p>
<p>If EVERYBODY did that, banks such as the <a href="http://www.co-operativebank.co.uk">Co-op</a>, <a href="http://www.triodos.co.uk/en/personal/">Triodos Bank</a>, The <a href="http://www.ecology.co.uk/">Ecology Building Society</a> and the <a href="http://www.charitybank.org/">Charity Bank</a> would grow large, and employ those ordinary employees that Barclays had to let go.</p>
<p>Ask yourself this; why do you bank with your current bank? Apparently, you are more likely to get divorced than change bank account &#8211; that&#8217;s why they pay good interest to kids. Get &#8216;em young and get &#8216;em hooked.</p>
<p>It&#8217;s SO easy to change your current account it&#8217;s amazing that more people don&#8217;t do it. Plenty of banks even pay you to move to them! You open an account with your new bank and ask them to move your account. They do it all &#8211; letter to your employer, direct debits, standing orders, everything. And they usually give you a (temporary) large overdraft to ensure you have no payment problems.</p>
<p>Bank with your conscience</p>
<br />Filed under: <a href='http://chandlerdba.wordpress.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://chandlerdba.wordpress.com/tag/bank-barclays-leave-libor-close-account/'>bank; barclays; leave; libor; close; account</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chandlerdba.wordpress.com/510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chandlerdba.wordpress.com/510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chandlerdba.wordpress.com/510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chandlerdba.wordpress.com/510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chandlerdba.wordpress.com/510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chandlerdba.wordpress.com/510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chandlerdba.wordpress.com/510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chandlerdba.wordpress.com/510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chandlerdba.wordpress.com/510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chandlerdba.wordpress.com/510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chandlerdba.wordpress.com/510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chandlerdba.wordpress.com/510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chandlerdba.wordpress.com/510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chandlerdba.wordpress.com/510/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=510&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chandlerdba.wordpress.com/2012/07/01/bank-with-your-conscience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/b772fd78342fcb9d284a1fc651904ad7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chandlerdba</media:title>
		</media:content>
	</item>
		<item>
		<title>Complex Passwords</title>
		<link>http://chandlerdba.wordpress.com/2012/06/22/complex-passwords/</link>
		<comments>http://chandlerdba.wordpress.com/2012/06/22/complex-passwords/#comments</comments>
		<pubDate>Fri, 22 Jun 2012 08:32:20 +0000</pubDate>
		<dc:creator>Neil Chandler</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hackers]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[pwned]]></category>
		<category><![CDATA[xkcd]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://chandlerdba.wordpress.com/?p=495</guid>
		<description><![CDATA[Increasing numbers of Yahoo mail passwords appear to have been compromised; I don&#8217;t use Yahoo [although in a historically stupid move, I have multiple email addresses from multiple providers including hotmail, gmail, my ISP and my own domain ]. Anyway, I have been getting an increasing number of spam emails from friends and acquaintances with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=495&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Increasing numbers of Yahoo mail passwords appear to have been compromised; I don&#8217;t use Yahoo [although in a historically stupid move, I have multiple email addresses from multiple providers including hotmail, gmail, my ISP and my own domain ]. Anyway, I have been getting an increasing number of spam emails from friends and acquaintances with Yahoo accounts. Not from any other source. I have been multiply spammed from multiple yahoo accounts this year, but from no other provider. The conclusion I draw from this is that either Yahoo has had its password file compromised and the spammers are slowly working their way through it, or it has a significant hole in its security, or there is a focussed piece of malware out there harvesting Yahoo passwords.</p>
<p>Either way, I would strongly recommend that anybody who uses a Yahoo email go and change their password, make it computer-complex (i.e. long), write it on a Post-it and stick it next to your desk (at home &#8211; not in the office where everyone can read it)</p>
<p>WHAT! I hear you cry. Why do THAT! You&#8217;re mad! Well, no. Brute force attacks are rare, and they will generally use standard dictionary words. I hate to tell you, but hackers know you replace E with 3, A with 4 and L with 1. So your password of AFR1C4 it as much a dictionary word as AFRICA to a computer. [ If you want a really hard-to-crack, easy-to-remember password, I suggest you refer to this XKCD cartoon <a href="http://xkcd.com/936" target="_blank">http://xkcd.com/936</a> ]</p>
<p>The likelihood is that your password will be compromised by malware and not brute force attacks, in which case it doesn&#8217;t matter how complex it is. The chance it will be compromised by a burglar looking in your desk drawer is very low indeed (although people with teenage children need to be a bit more cautious.)</p>
<p>And change your passwords occasionally &#8211; at least once a year. How many of you out there have 2 or 3 different passwords that they use everywhere? A (seemingly) complex one for your bank account and &#8220;password&#8221; for your forum accounts? And you have NEVER changed them as it would mean changing 200 accounts and it&#8217;s too much like hard work? Thought so. One day you will be pwned by the hackers.</p>
<br />Filed under: <a href='http://chandlerdba.wordpress.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://chandlerdba.wordpress.com/tag/hackers/'>hackers</a>, <a href='http://chandlerdba.wordpress.com/tag/password/'>password</a>, <a href='http://chandlerdba.wordpress.com/tag/pwned/'>pwned</a>, <a href='http://chandlerdba.wordpress.com/tag/xkcd/'>xkcd</a>, <a href='http://chandlerdba.wordpress.com/tag/yahoo/'>yahoo</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chandlerdba.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chandlerdba.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chandlerdba.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chandlerdba.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chandlerdba.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chandlerdba.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chandlerdba.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chandlerdba.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chandlerdba.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chandlerdba.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chandlerdba.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chandlerdba.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chandlerdba.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chandlerdba.wordpress.com/495/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=495&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chandlerdba.wordpress.com/2012/06/22/complex-passwords/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/b772fd78342fcb9d284a1fc651904ad7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chandlerdba</media:title>
		</media:content>
	</item>
		<item>
		<title>UKOUG &#8211; Call for Papers</title>
		<link>http://chandlerdba.wordpress.com/2012/05/28/ukoug-call-for-papers/</link>
		<comments>http://chandlerdba.wordpress.com/2012/05/28/ukoug-call-for-papers/#comments</comments>
		<pubDate>Mon, 28 May 2012 20:39:34 +0000</pubDate>
		<dc:creator>Neil Chandler</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[be excellent]]></category>
		<category><![CDATA[call for papers]]></category>
		<category><![CDATA[ukoug]]></category>

		<guid isPermaLink="false">http://chandlerdba.wordpress.com/2012/05/28/ukoug-call-for-papers/</guid>
		<description><![CDATA[The UK Oracle User Group has put out it&#8217;s call for papers, and the deadline is rapidly approaching. Have you registered as a speaker and sent in a abstract yet? NO? Don&#8217;t you know how great an opportunity it is for you. Discuss your ideas with your peers. Network. Instruct and inform. Help other avoid [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=507&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The UK Oracle User Group has put out it&#8217;s call for papers, and the deadline is rapidly approaching. </p>
<p>Have you registered as a speaker and sent in a abstract yet? NO? Don&#8217;t you know how great an opportunity it is for you. Discuss your ideas with your peers. Network. Instruct and inform. Help other avoid the pitfalls which dogged your project. All by telling everyone about it. We will love you for it at the user group. And you will love the feedback you get. Anyone can speak, everyone has a good story to tell.</p>
<p>You need to register by THIS FRIDAY, 1ST JUNE!!!</p>
<p>Go on. Try it. <a title="UKOUG Call for PApers" href="http://techandebs.ukoug.org/default.asp?p=9306" target="_blank">http://techandebs.ukoug.org/default.asp?p=9306</a> &#8211; you might surprise yourself.</p>
<br />Filed under: <a href='http://chandlerdba.wordpress.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://chandlerdba.wordpress.com/tag/be-excellent/'>be excellent</a>, <a href='http://chandlerdba.wordpress.com/tag/call-for-papers/'>call for papers</a>, <a href='http://chandlerdba.wordpress.com/tag/ukoug/'>ukoug</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chandlerdba.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chandlerdba.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chandlerdba.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chandlerdba.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chandlerdba.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chandlerdba.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chandlerdba.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chandlerdba.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chandlerdba.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chandlerdba.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chandlerdba.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chandlerdba.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chandlerdba.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chandlerdba.wordpress.com/507/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=507&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chandlerdba.wordpress.com/2012/05/28/ukoug-call-for-papers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/b772fd78342fcb9d284a1fc651904ad7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chandlerdba</media:title>
		</media:content>
	</item>
		<item>
		<title>Problem solving with DBMS_DATAPUMP</title>
		<link>http://chandlerdba.wordpress.com/2012/04/04/problem-solving-with-dbms_datapump/</link>
		<comments>http://chandlerdba.wordpress.com/2012/04/04/problem-solving-with-dbms_datapump/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 12:41:24 +0000</pubDate>
		<dc:creator>Neil Chandler</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Backups]]></category>
		<category><![CDATA[Datapump]]></category>
		<category><![CDATA[Problem Solving]]></category>
		<category><![CDATA[datapump]]></category>
		<category><![CDATA[dbms_datapump]]></category>
		<category><![CDATA[jumping to conclusions]]></category>
		<category><![CDATA[problem solving]]></category>

		<guid isPermaLink="false">http://chandlerdba.wordpress.com/?p=473</guid>
		<description><![CDATA[Yesterday I had a problem&#8230; I noticed that one of our overnight jobs was failing. The job in question is an ad-hoc tidy-up job, ran as needed when a performance metric for a specific query indicates that we&#8217;re going to be in trouble soon. So, what was the problem? I have the stack trace captured [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=473&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Yesterday I had a problem&#8230; I noticed that one of our overnight jobs was failing. The job in question is an ad-hoc tidy-up job, ran as needed when a performance metric for a specific query indicates that we&#8217;re going to be in trouble soon.</p>
<p>So, what was the problem? I have the stack trace captured in the job output:</p>
<pre>Finished shrinks at 02-APR-2012 00:12
 Creating job data pump export job LOG_EXPORT
 User:....... NEW_SCHEMA
 Tables:..... 'table-1','table-2'
 DECLARE
 *
 ERROR at line 1:
 ORA-31626: job does not exist
 ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
 ORA-06512: at "SYS.DBMS_DATAPUMP", line 911
 ORA-06512: at "SYS.DBMS_DATAPUMP", line 4356
 ORA-06512: at line 22</pre>
<p><BR><br />
So, &#8220;job does not exist&#8221;! What does that mean, and what could be causing this to happen? What has changed? Let&#8217;s look at the code at line 22 and see what we&#8217;re running:</p>
<pre>.
.
v_handle := DBMS_DATAPUMP.OPEN ( operation =&gt; 'EXPORT', 
                                 job_mode  =&gt; 'SCHEMA', 
                                 job_name  =&gt; 'LOG_EXPORT');
.
.
</pre>
<p>
And that&#8217;s it. We&#8217;re initiating a DBMS_DATAPUMP job (to extract the data to an external file before manipulation.)</p>
<p>So, what has changed? Since the last invokation of this job, we have had a new software release, and for this product that means a whole new schema. We&#8217;ve missed something. We <b>must</b> have a permissions problem within the database. Fortunately, we keep the old schema in place, locked, following an upgrade so all we need to do is compare the permissions for the old and new schemas and we&#8217;re done.<br />
</p>
<pre>
select granted_role from dba_role_privs where grantee = 'OLD_SCHEMA'
minus
select granted_role from dba_role_privs where grantee = 'NEW_SCHEMA'
/

no rows selected

select privilege from dba_sys_privs where grantee = 'OLD_SCHEMA'
minus
select privilege from dba_sys_privs where grantee = 'NEW_SCHEMA'
/

no rows selected

select table_name,privilege from dba_tab_privs where grantee = 'OLD_SCHEMA'
minus
select table_name,privilege from dba_tab_privs where grantee = 'NEW_SCHEMA'
/

TABLE_NAME                     PRIVILEGE
------------------------------ ----------------------------------------
DATA_PUMP_DIR                  READ
DATA_PUMP_DIR                  WRITE
</pre>
<p>
<BR><br />
Ah ha! There&#8217;s the difference! And it is definitely data pump related, so let&#8217;s run the grants into the database and run the job again. This will fix it.</p>
<pre>
grant READ  on DIRECTORY data_pump_dir to NEW_SCHEMA;
grant WRITE on DIRECTORY data_pump_dir to NEW_SCHEMA;

... and run the job again...

 DECLARE
 *
 ERROR at line 1:
 ORA-31626: job does not exist
 ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
 ORA-06512: at "SYS.DBMS_DATAPUMP", line 911
 ORA-06512: at "SYS.DBMS_DATAPUMP", line 4356
 ORA-06512: at line 22

</pre>
<p>
<B>What!</B> Oh nuts. Why didn&#8217;t that work? [<i>because you have not assigned a directory to DBMS_DATAPUMP yet! It'll be useful later though... Now stop jumping to conclusions!</i> ed.] What are we going to do now? We know the permissions match. I&#8217;ve checked the O/S and there&#8217;s space in the filesystem. DBMS_DATAPUMP is not giving me enough information; what can I do to diagnose this problem further? I know! Why don&#8217;t I use datapump externally and see if that makes a difference&#8230;</p>
<pre>
expdp NEW_SCHEMA/..pwd..@..DB.. 
 directory=data_pump_dir 
 dumpfile=neilchandler.dmp 
 job_name=neilchandler

Export: Release 10.2.0.3.0 - 64bit Production on Tuesday, 03 April, 2012 12:54:27
Copyright (c) 2003, 2005, Oracle.  All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
ORA-31626: job does not exist
ORA-31633: unable to create master table "NEW_SCHEMA.NEILCHANDLER"
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPV$FT", line 863
ORA-01536: space quota exceeded for tablespace 'USERS'
</pre>
<p><BR><br />
Oh heck, we can&#8217;t write the parameter table as we have been denied a space quota on the default tablespace. D&#8217;oh! How painful was that to locate?</p>
<pre>
alter user NEW_SCHEMA quota unlimited on USERS;
</pre>
<p><BR><br />
And it all worked. </p>
<p>My question is, why couldn&#8217;t DBMS_DATAPUMP tell me that?</p>
<br />Filed under: <a href='http://chandlerdba.wordpress.com/category/administration/'>Administration</a>, <a href='http://chandlerdba.wordpress.com/category/backups/'>Backups</a>, <a href='http://chandlerdba.wordpress.com/category/backups/datapump-backups/'>Datapump</a>, <a href='http://chandlerdba.wordpress.com/category/problem-solving/'>Problem Solving</a> Tagged: <a href='http://chandlerdba.wordpress.com/tag/datapump/'>datapump</a>, <a href='http://chandlerdba.wordpress.com/tag/dbms_datapump/'>dbms_datapump</a>, <a href='http://chandlerdba.wordpress.com/tag/jumping-to-conclusions/'>jumping to conclusions</a>, <a href='http://chandlerdba.wordpress.com/tag/problem-solving-2/'>problem solving</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chandlerdba.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chandlerdba.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chandlerdba.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chandlerdba.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chandlerdba.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chandlerdba.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chandlerdba.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chandlerdba.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chandlerdba.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chandlerdba.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chandlerdba.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chandlerdba.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chandlerdba.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chandlerdba.wordpress.com/473/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=473&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chandlerdba.wordpress.com/2012/04/04/problem-solving-with-dbms_datapump/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/b772fd78342fcb9d284a1fc651904ad7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chandlerdba</media:title>
		</media:content>
	</item>
		<item>
		<title>Oh my God, it&#8217;s full of stars</title>
		<link>http://chandlerdba.wordpress.com/2012/03/30/oh-my-god-its-full-of-stars/</link>
		<comments>http://chandlerdba.wordpress.com/2012/03/30/oh-my-god-its-full-of-stars/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 10:38:19 +0000</pubDate>
		<dc:creator>Neil Chandler</dc:creator>
				<category><![CDATA[Prevarication]]></category>
		<category><![CDATA[milky way]]></category>
		<category><![CDATA[photograph]]></category>
		<category><![CDATA[stars]]></category>
		<category><![CDATA[zoom]]></category>

		<guid isPermaLink="false">http://chandlerdba.wordpress.com/?p=461</guid>
		<description><![CDATA[About 1,000,000,000 of them in this amazing composite photograph of the Milky Way. Taking 10 years to make and using 2 telescopes (to get a view from North and South hemispheres) it combines the UKIDSS/GPS sky survey acquired by the UK Infrared Telescope in Hawaii with the VVV survey data acquired by the Vista telescope [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=461&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>About 1,000,000,000 of them in<a href="http://djer.roe.ac.uk/vsa/vvv/iipmooviewer-2.0-beta/vvvgps5.html"> this amazing composite photograph</a> of the Milky Way. Taking 10 years to make and using 2 telescopes (to get a view from North and South hemispheres) it combines the UKIDSS/GPS sky survey acquired by the UK Infrared Telescope in Hawaii with the VVV survey data acquired by the Vista telescope in Chile.</p>
<p>This zoomable image is truly magnificent; to get an idea of scale of the number of visible stars, if you count them at a rate of 1 per second it will take you well over 30 years to count them all.</p>
<p><a href="http://djer.roe.ac.uk/vsa/vvv/iipmooviewer-2.0-beta/vvvgps5.html"><img class="size-medium wp-image-463 alignleft" title="MilkyWay" src="https://chandlerdba.files.wordpress.com/2012/03/milkyway.jpg?w=300&#038;h=216" alt="" width="300" height="216" /></a></p>
<p>Happy Counting!</p>
<br />Filed under: <a href='http://chandlerdba.wordpress.com/category/prevarication/'>Prevarication</a> Tagged: <a href='http://chandlerdba.wordpress.com/tag/milky-way/'>milky way</a>, <a href='http://chandlerdba.wordpress.com/tag/photograph/'>photograph</a>, <a href='http://chandlerdba.wordpress.com/tag/stars/'>stars</a>, <a href='http://chandlerdba.wordpress.com/tag/zoom/'>zoom</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chandlerdba.wordpress.com/461/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chandlerdba.wordpress.com/461/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chandlerdba.wordpress.com/461/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chandlerdba.wordpress.com/461/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chandlerdba.wordpress.com/461/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chandlerdba.wordpress.com/461/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chandlerdba.wordpress.com/461/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chandlerdba.wordpress.com/461/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chandlerdba.wordpress.com/461/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chandlerdba.wordpress.com/461/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chandlerdba.wordpress.com/461/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chandlerdba.wordpress.com/461/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chandlerdba.wordpress.com/461/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chandlerdba.wordpress.com/461/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chandlerdba.wordpress.com&#038;blog=14027734&#038;post=461&#038;subd=chandlerdba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chandlerdba.wordpress.com/2012/03/30/oh-my-god-its-full-of-stars/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/b772fd78342fcb9d284a1fc651904ad7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chandlerdba</media:title>
		</media:content>

		<media:content url="https://chandlerdba.files.wordpress.com/2012/03/milkyway.jpg?w=300" medium="image">
			<media:title type="html">MilkyWay</media:title>
		</media:content>
	</item>
	</channel>
</rss>
