<?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/oracle/feed/" rel="self" type="application/rss+xml" />
	<link>https://bluegecko.dk</link>
	<description>Your remote dba</description>
	<lastBuildDate>Fri, 08 Oct 2021 09:33:53 +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>Tom Kyte, Graham Wood og Andrew Holdsworth kommer til Danmark</title>
		<link>https://bluegecko.dk/tom-kyte-graham-wood-og-andrew-holdsworth-kommer-til-danmark/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tom-kyte-graham-wood-og-andrew-holdsworth-kommer-til-danmark</link>
					<comments>https://bluegecko.dk/tom-kyte-graham-wood-og-andrew-holdsworth-kommer-til-danmark/#respond</comments>
		
		<dc:creator><![CDATA[Dimitri van de Ven]]></dc:creator>
		<pubDate>Fri, 23 Jan 2015 14:57:53 +0000</pubDate>
				<category><![CDATA[IOUG]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle Database]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[DOUG]]></category>
		<guid isPermaLink="false">http://bluegecko.dk/?p=3856</guid>

					<description><![CDATA[Tre af verdens førende Oracle performance guruer er på verdensturné, og de kommer til Danmark 23. marts! Tom Kyte, Graham Wood og Andrew Holdsworth arbejder alle i Oracle Real-Word Performance Group &#160;&#160; The Real-World Performance (RWP) Group is part of the Oracle Database Development &#160;&#160; organization. Engineers in the RWP group focus on extracting the [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Tre af verdens førende Oracle performance guruer er på verdensturné, og de kommer til Danmark 23. marts! <strong>Tom Kyte</strong>, <strong>Graham Wood</strong> og <strong>Andrew Holdsworth</strong> arbejder alle i Oracle Real-Word Performance Group</p>
<p><em>&nbsp;&nbsp; The Real-World Performance (RWP) Group is part of the Oracle Database Development </em><br />
<em>&nbsp;&nbsp; organization. Engineers in the RWP group focus </em><em>on extracting the maximum </em><br />
<em>&nbsp;&nbsp; performance from the Oracle Database and hardware in the real-world. </em><br />
<em>&nbsp;&nbsp; We do this by identifying inefficiencies </em><em>in current systems and applying modern </em><br />
<em>&nbsp;&nbsp; database design and tuning techniques. The RWP Group has their own channel </em><br />
<em>&nbsp;&nbsp; on the Oracle Learning </em><em>Library where you can get familiar with their </em><br />
<em>&nbsp;&nbsp; work: <a href="http://www.oracle.com/goto/oll/rwp">http://www.oracle.com/goto/oll/rwp</a></em></p>
<p>Det bliver en dag fuld af live demoer og med masser af info og tips om arkitektur, performance og konfigurering.</p>
<p>Dagen henvender sig til:</p>
<ul>
<li><strong>Arkitekter</strong>, der kan lære om godt og dårligt design</li>
<li><strong>Udviklere</strong>, der kan se hvordan deres kode, applikationsserveren og databasen kan arbejde bedre sammen</li>
<li><strong>DBA’er</strong>, der kan lære hvordan man får maksimal performance ud af Oracle</li>
</ul>
<p>RWP gruppen har arbejdet med Oracles største kunder og kæmpet med de mest dramatiske nedbrud af produktionssystemer, så de kan fortælle nogen gode historier fra den virkelige verden. På denne dag kan du høre dem dele ud af deres erfaring, så du kan undgå at begå almindelige og mindre almindelige fejltagelser der får systemer til at gå ned når der bliver travlt.</p>
<p>Det drejer sig ikke om at skrue på parametrene, men om hvordan mangel på viden, dårligt design, manglende test og fejlagtige opfattelser får systemer til at køre dårligt eller helt bryde sammen. Kom og blive klogere!</p>
<p>Vi starter kl. 08.30 med morgenmad, hvorefter eksperterne får ordet kl. 9. Vi regner med at være færdige kl. 17, og derefter er der mulighed for at få en drink og lidt let forplejning.</p>
<p>Arrangementet afholdes den 23. marts 2015 fra kl. 08.30 til 17.00 hos Oracle i Ballerup og koster kun 1.295 kr.</p>
<p>Adresse:<br />
Metalbuen 66<br />
2750 Ballerup</p>
<p>Tilmeldingen skal ske på DOUG&#8217;s hjemmeside (<a title="http://www.doug.dk/" href="http://www.doug.dk/" target="_blank" rel="noopener noreferrer">www.doug.dk</a>):</p>
<p><a href="http://www.doug.dk/events/real-world-performance-tour/">Tilmeld dig her!</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/tom-kyte-graham-wood-og-andrew-holdsworth-kommer-til-danmark/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Oracle 11.2.0.4 Physical Standby on Windows 2008</title>
		<link>https://bluegecko.dk/oracle-11-2-0-4-physical-standby-on-windows-2008-r2-64-bit-fails-to-sync-with-the-primary-due-to-ora-07445-exception-encountered-core-dump-pc0x2223829-access_violation-addr0x7fffffff8-pc0x/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=oracle-11-2-0-4-physical-standby-on-windows-2008-r2-64-bit-fails-to-sync-with-the-primary-due-to-ora-07445-exception-encountered-core-dump-pc0x2223829-access_violation-addr0x7fffffff8-pc0x</link>
					<comments>https://bluegecko.dk/oracle-11-2-0-4-physical-standby-on-windows-2008-r2-64-bit-fails-to-sync-with-the-primary-due-to-ora-07445-exception-encountered-core-dump-pc0x2223829-access_violation-addr0x7fffffff8-pc0x/#respond</comments>
		
		<dc:creator><![CDATA[lbvanting]]></dc:creator>
		<pubDate>Sun, 31 Aug 2014 05:33:26 +0000</pubDate>
				<category><![CDATA[News]]></category>
		<category><![CDATA[News & Events]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle APEX]]></category>
		<category><![CDATA[Oracle Data Guard]]></category>
		<category><![CDATA[Oracle Database]]></category>
		<category><![CDATA[Oracle Linux]]></category>
		<category><![CDATA[Tomcat]]></category>
		<guid isPermaLink="false">http://www.bluegecko.dk/?p=3755</guid>

					<description><![CDATA[After database migration from Oracle 10gR2 on UNIX to Windows (Windows Server 2008 R2 64-bit), two productive databases were located on dedicated servers; one server running the 11.2.0.4 database and another server running the 12.1.0.1 database (both Enterprise Edition single-instance using non-ASM based storage). Another Windows server was hosting both the development/test environments for the [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>After database migration from Oracle 10gR2 on UNIX to Windows (Windows Server 2008 R2 64-bit), two productive databases were located on dedicated servers; one server running the 11.2.0.4 database and another server running the 12.1.0.1 database (both Enterprise Edition single-instance using non-ASM based storage).</p>
<p>Another Windows server was hosting both the development/test environments for the same RDBMS combination, ie. 11.2.0.4 and 12.1.0.1 running together.<br />
On this server both database versions co-existed without any issues.<br />
Similar to dev/test a fourth Windows server was supposed host both a 11.2.0.4 and a 12.1.0.1 Oracle Data Guard Physical Standby database, one for each productive database.</p>
<p>The 12.1.0.1 Physical Standby database was created and instantiated first, everything running nice and smooth.<br />
Then the 11.2.0.4 Physical Standby database was cloned/instantiated from its primary database.<br />
When starting the cloned 11.2.0.4 standby database instance (in MOUNT state) and starting REDO APPLY the following error occurred:<br />
<code><br />
ORA-07445: exception encountered: core dump [PC:0x2223829] [ACCESS_VIOLATION] [ADDR:0x7FFFFFFF8] [PC:0x2223829] [UNABLE_TO_READ] []<br />
</code></p>
<p>And REDO APPLY is not starting, the standby database is not getting in sync with its primary database.<br />
The suspiscion falls on security issues, e.g. Windows ACLs, Oracle RDBMS Software ownership, Windows Service Logon-account etc.<br />
But in the end this issue turned out to be a BUG!</p>
<p><strong>Bug 17535265: ORA-7445 ERRORS IN DATA GUARD STANDBY DATABASE AFTER 12C INSTALLATION</strong></p>
<p>The problem is that the 12c RDBMS installation creates various local Windows groups, for example ORA_OPER.<br />
And the user account, which owns/controls the 11.2.0.4 software and database instance, is not added automatically and therefore the sysoper connection fails with the ORA-07445 error.</p>
<p>The work-around is simply to add the user account, which owns/controls the 11.2.0.4 standby database, to the ORA_OPER group.<br />
After this the ORA-07445 error disappeared and REDO APPLY worked without any issues.<br />
See MOS article 1591821.1 &#8220;ORA-7445 Errors In Data Guard Standby Database&#8221; as well as bug information for further information.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/oracle-11-2-0-4-physical-standby-on-windows-2008-r2-64-bit-fails-to-sync-with-the-primary-due-to-ora-07445-exception-encountered-core-dump-pc0x2223829-access_violation-addr0x7fffffff8-pc0x/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Oracle12c R1 RDBMS New Features: Upgrading to 12cR1 (pluggable) database</title>
		<link>https://bluegecko.dk/oracle12c-r1-rdbms-new-features-upgrading-to-12cr1-pluggable-database-data-pump-full-transportable-exportimport-method/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=oracle12c-r1-rdbms-new-features-upgrading-to-12cr1-pluggable-database-data-pump-full-transportable-exportimport-method</link>
					<comments>https://bluegecko.dk/oracle12c-r1-rdbms-new-features-upgrading-to-12cr1-pluggable-database-data-pump-full-transportable-exportimport-method/#respond</comments>
		
		<dc:creator><![CDATA[lbvanting]]></dc:creator>
		<pubDate>Tue, 28 Jan 2014 06:40:38 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<guid isPermaLink="false">http://www.bluegecko.dk/?p=3654</guid>

					<description><![CDATA[When upgrading to 12cR1 (pluggable and non-CDB) database we can choose between the following methods: 1) Upgrade the pre-12cR1 database to 12cR1 using DBUA or command-line/upgrade script (catctl.pl); for some releases a Direct Upgrade to 12cR1 is possible (10.2.0.5, 11.1.0.7 and &#62;=11.2.0.2). Notice that in 12cR1 the upgrade can now run in parallel to speed-up [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>When upgrading to 12cR1 (pluggable and non-CDB) database we can choose between the following methods:<br />
1) Upgrade the pre-12cR1 database to 12cR1 using DBUA or command-line/upgrade script (catctl.pl); for some releases a Direct Upgrade to 12cR1 is possible (10.2.0.5, 11.1.0.7 and &gt;=11.2.0.2). Notice that in 12cR1 the upgrade can now run in parallel to speed-up the process. If the target database is a pluggable database, then simply plug-in the upgraded non-CDB database into an existing CDB (if no restrictions/limitations exist).</p>
<p>2) Use export/import, either Data Pump, possibly in combination with Transportable Tablespaces (TTS), or use the classical &#8220;exp/imp&#8221; utilities. If the database to be upgraded is at least 11.2.0.3 (and Enterprise Edition), then one option could be to perform Data Pump Full Transportable Export/Import. For example on the 12cR1 target-database simply perform the import using the parameters NETWORK_LINK=, FULL=Y, TRANSPORTABLE=ALWAYS, TRANSPORT_DATAFILES= and for pre-12cR1 source database specify VERSION=12.</p>
<p>3) Use GoldenGate replication.<br />
Setup Golden Gate on the pre-12c database and the 12cR1 target-database (either non-CDB or CDB) and start the data replication.<br />
When the 12cR1 database has catched-up with the pre-12c database, you can perform fail-over.</p>
<p>The options 1 and 2 will result in some downtime, for option 2 this can be of a longer period of time depending of the size of the database to export/import.<br />
For option 3 the downtime can be eliminated for the database tier.</p>
<p>In the following we&#8217;ll take a look at option 2, where we&#8217;ll upgrade an 11.2.0.3 database (&#8220;orcl&#8221;) to a 12cR1 pluggable database (&#8220;LBV11203&#8221; in the CDB &#8220;CDB121A&#8221;). We&#8217;ll demonstrate the Data Pump Full Transportable Export/Import method and we&#8217;ll simply initiate the &#8220;impdp&#8221; using NETWORK_LINK on the 12cR1 database &#8220;LBV11203&#8221;.</p>
<p>First on the 11.2.0.3 &#8220;orcl&#8221; source-database perform the following steps from SQL*Plus (we&#8217;ll be using the SYSTEM user for the export/import):<br />
sqlplus / as sysdba</p>
<p>SQL*Plus: Release 11.2.0.3.0 Production on Mon Dec 2 17:54:55 2013</p>
<p>Copyright (c) 1982, 2011, Oracle. All rights reserved.</p>
<p>Connected to:<br />
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 &#8211; 64bit Production<br />
With the Partitioning option</p>
<p>SQL&gt; grant DATAPUMP_EXP_FULL_DATABASE to system;</p>
<p>Grant succeeded.</p>
<p>SQL&gt; select file_name from dba_data_files;</p>
<p>FILE_NAME<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
/u02/oradata/orcl/users_01.dbf<br />
/u02/oradata/orcl/undotbs_01.dbf<br />
/u02/oradata/orcl/sysaux_01.dbf<br />
/u02/oradata/orcl/system_01.dbf<br />
/u02/oradata/orcl/users2_01.dbf</p>
<p>We&#8217;re going to transfer the tablespaces USERS and USERS2.</p>
<p>SQL&gt; conn scott/tiger<br />
Connected.</p>
<p>SQL&gt; select * from tab;</p>
<p>TNAME TABTYPE CLUSTERID<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;- &#8212;&#8212;&#8212;-<br />
BONUS TABLE<br />
DEPT TABLE<br />
EMP TABLE<br />
SALGRADE TABLE</p>
<p>Now place the tablespaces USERS and USERS2 in read-only mode:</p>
<p>SQL&gt; conn / as sysdba</p>
<p>SQL&gt; alter tablespace users read only;</p>
<p>Tablespace altered.</p>
<p>SQL&gt; alter tablespace users2 read only;</p>
<p>Tablespace altered.</p>
<p>NOTICE: If DB instance is started READ ONLY, then the following error occurrs during &#8220;impdp&#8221;:<br />
ORA-02047: cannot join the distributed transaction in progress</p>
<p>Now prepare the pluggable target-database &#8220;LBV11203&#8221; in the &#8220;CDB121A&#8221; database.<br />
Modify Oracle Net (tnsnames.ora) to contain source database &#8220;orcl&#8221; and verify you can pin/connect to it from the 12cR1 environment.</p>
<p>Make new PDB called &#8220;LBV11203&#8221; to hold the 11.2.0.3 database, we&#8217;ll clone it from en existing PDB, namely &#8220;LBV01&#8221;, so we connect to SQL*Plus as SYSDBA:</p>
<p>sqlplus / as sysdba</p>
<p>SQL*Plus: Release 12.1.0.1.0 Production on Mon Dec 2 18:02:07 2013</p>
<p>Copyright (c) 1982, 2013, Oracle. All rights reserved.</p>
<p>Connected to:<br />
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 &#8211; 64bit Production<br />
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options</p>
<p>SQL&gt; select name, open_mode, con_id from v$pdbs;</p>
<p>NAME OPEN_MODE CON_ID<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;-<br />
PDB$SEED READ ONLY 2<br />
PDB MOUNTED 3<br />
LBV01 READ WRITE 4<br />
LBV02 MOUNTED 5</p>
<p>SQL&gt; alter pluggable database LBV01 close;</p>
<p>Pluggable database altered.</p>
<p>SQL&gt; alter pluggable database LBV01 open read only;</p>
<p>Pluggable database altered.</p>
<p>SQL&gt; alter system set db_create_file_dest=&#8217;/u02/app/oracle/oradata&#8217; scope=both;</p>
<p>System altered.</p>
<p>SQL&gt; create pluggable database LBV11203 from LBV01;</p>
<p>Pluggable database created.</p>
<p>SQL&gt; alter pluggable database LBV01 close;</p>
<p>Pluggable database altered.</p>
<p>SQL&gt; select name, open_mode, con_id from v$pdbs;</p>
<p>NAME OPEN_MODE CON_ID<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;-<br />
PDB$SEED READ ONLY 2<br />
PDB MOUNTED 3<br />
LBV01 MOUNTED 4<br />
LBV02 MOUNTED 5<br />
LBV11203 MOUNTED 6</p>
<p>Now let&#8217;s connect to the freshly created PDB &#8220;LBV11203&#8221; and perform startup using SQL*Plus (after the clone the new database is not started/OPEN):<br />
sqlplus sys@LBV11203 as sysdba</p>
<p>SQL*Plus: Release 12.1.0.1.0 Production on Mon Dec 2 18:18:30 2013</p>
<p>Copyright (c) 1982, 2013, Oracle. All rights reserved.</p>
<p>Enter password:</p>
<p>Connected to:<br />
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 &#8211; 64bit Production<br />
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options</p>
<p>SQL&gt; alter database open;</p>
<p>Database altered.</p>
<p>SQL&gt; select name, open_mode, con_id from v$pdbs;</p>
<p>NAME OPEN_MODE CON_ID<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;-<br />
LBV11203 READ WRITE 6</p>
<p>SQL&gt; grant DATAPUMP_IMP_FULL_DATABASE to SYSTEM;</p>
<p>Grant succeeded.</p>
<p>SQL&gt; CREATE OR REPLACE DIRECTORY FULL_TRANSPORT_DIR as &#8216;/u02/datapump&#8217;;</p>
<p>Directory created.</p>
<p>SQL&gt; grant read,write on directory FULL_TRANSPORT_DIR to DATAPUMP_IMP_FULL_DATABASE;</p>
<p>Grant succeeded.</p>
<p>SQL&gt; create public database link ORCL connect to system identified by manager using &#8216;(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=orcl)))&#8217;;</p>
<p>SQL&gt; select username from dba_users order by 1;</p>
<p>USERNAME<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
ANONYMOUS<br />
APEX_040200<br />
APEX_PUBLIC_USER<br />
APPQOSSYS<br />
AUDSYS<br />
CTXSYS<br />
DBSNMP<br />
DIP<br />
DVF<br />
DVSYS<br />
FLOWS_FILES<br />
GSMADMIN_INTERNAL<br />
GSMCATUSER<br />
GSMUSER<br />
LBACSYS<br />
LBV01DBA<br />
MDDATA<br />
MDSYS<br />
OJVMSYS<br />
OLAPSYS<br />
ORACLE_OCM<br />
ORDDATA<br />
ORDPLUGINS<br />
ORDSYS<br />
OUTLN<br />
SI_INFORMTN_SCHEMA<br />
SPATIAL_CSW_ADMIN_USR<br />
SPATIAL_WFS_ADMIN_USR<br />
SYS<br />
SYSBACKUP<br />
SYSDG<br />
SYSKM<br />
SYSTEM<br />
WMSYS<br />
XDB<br />
XS$NULL</p>
<p>36 rows selected.</p>
<p>As we see there&#8217;s no SCOTT user present in &#8220;LBV11203&#8221;.</p>
<p>Let&#8217;s connect to the PDB and test the database link we&#8217;ve created:<br />
sqlplus system/manager@LBV11203</p>
<p>SQL*Plus: Release 12.1.0.1.0 Production on Thu Nov 28 15:12:39 2013</p>
<p>Copyright (c) 1982, 2013, Oracle. All rights reserved.</p>
<p>Connected to:<br />
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 &#8211; 64bit Production<br />
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options</p>
<p>SQL&gt; show con_name</p>
<p>CON_NAME<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
LBV11203</p>
<p>SQL&gt; show user<br />
USER is &#8220;SYSTEM&#8221;</p>
<p>SQL&gt; select * from v$instance@orcl;</p>
<p>INSTANCE_NUMBER INSTANCE_NAME<br />
&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;-<br />
HOST_NAME<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212; &#8212;&#8212;&#8212;- &#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;<br />
LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO<br />
&#8212;&#8212;&#8212;- &#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212; &#8212;<br />
1 orcl<br />
linux-4<br />
11.2.0.3.0 28-NOV-13 OPEN NO 1 STARTED<br />
ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO</p>
<p>It works fine &#8211; from the 12cR1 pluggable database &#8220;LBV11203&#8221; we can access the 11.2.0.3 database &#8220;orcl&#8221;.<br />
Now we copy the tablespace datafiles for USERS and USERS2 tablespaces to the 12cR1 database location (/u02/app/oracle/oradata/LBV11203):</p>
<p>cp /u02/oradata/orcl/users_01.dbf /u02/app/oracle/oradata/LBV11203<br />
cp /u02/oradata/orcl/users2_01.dbf /u02/app/oracle/oradata/LBV11203</p>
<p>We&#8217;re now ready to start the &#8220;impdp&#8221; to begin transporting the data accross the NETWORK_LINK.<br />
Notice that the impdp parameter TRANSPORT_DATAFILES contains the datafile-names fully qualified for the new location in the 12cR1 database &#8220;LBV11203&#8221;.</p>
<p>In the 12cR1 environment we start &#8220;impdp&#8221; as follows:<br />
impdp system/manager@LBV11203 FULL=Y VERSION=12 TRANSPORTABLE=ALWAYS DIRECTORY=FULL_TRANSPORT_DIR TRANSPORT_DATAFILES=/u02/app/oracle/oradata/LBV11203/users_01.dbf,/u02/app/oracle/oradata/LBV11203/users2_01.dbf NETWORK_LINK=orcl</p>
<p>Import: Release 12.1.0.1.0 &#8211; Production on Fri Nov 29 15:47:46 2013</p>
<p>Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved.</p>
<p>Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 &#8211; 64bit Production<br />
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options<br />
FLASHBACK automatically enabled to preserve database integrity.<br />
Starting &#8220;SYSTEM&#8221;.&#8221;SYS_IMPORT_FULL_01&#8243;: system/********@LBV11203 FULL=Y VERSION=12 TRANSPORTABLE=ALWAYS DIRECTORY=FULL_TRANSPORT_DIR TRANSPORT_DATAFILES=/u02/app/oracle/oradata/LBV11203/users_01.dbf,/u02/app/oracle/oradata/LBV11203/users2_01.dbf NETWORK_LINK=orcl<br />
Source timezone version is +00:00 and target timezone version is -07:00.<br />
Estimate in progress using BLOCKS method&#8230;<br />
Processing object type DATABASE_EXPORT/PLUGTS_FULL/FULL/PLUGTS_TABLESPACE<br />
Processing object type DATABASE_EXPORT/PLUGTS_FULL/PLUGTS_BLK<br />
Processing object type DATABASE_EXPORT/EARLY_OPTIONS/TABLE_DATA<br />
Processing object type DATABASE_EXPORT/EARLY_OPTIONS/VIEWS_AS_TABLES/TABLE_DATA<br />
Processing object type DATABASE_EXPORT/NORMAL_OPTIONS/TABLE_DATA<br />
&#8230;<br />
ORA-39082: Object type PACKAGE BODY:&#8221;SYSMAN&#8221;.&#8221;MGMT_TIME_SYNC&#8221; created with compilation warnings<br />
ORA-39082: Object type PACKAGE BODY:&#8221;SYSMAN&#8221;.&#8221;MGMT_USER&#8221; created with compilation warnings<br />
ORA-39082: Object type PACKAGE BODY:&#8221;SYSMAN&#8221;.&#8221;MGMT_VIEW_PRIV&#8221; created with compilation warnings<br />
ORA-39082: Object type TRIGGER:&#8221;APEX_030200&#8243;.&#8221;WWV_BIU_FLOW_SESSIONS&#8221; created with compilation warnings<br />
ORA-39082: Object type TRIGGER:&#8221;SYSMAN&#8221;.&#8221;MGMT_CREDS_INS_UPD&#8221; created with compilation warnings<br />
Job &#8220;SYSTEM&#8221;.&#8221;SYS_IMPORT_FULL_01&#8243; completed with 383 error(s) at Fri Nov 29 16:17:14 2013 elapsed 0 00:29:27</p>
<p>Errors due to object existence as well as &#8220;ORA-65040: operation not allowed from within a pluggable database&#8221; can be ignored.<br />
Let&#8217;s check what we&#8217;ve imported into &#8220;LBV11203&#8221;, checking the tablespace-datafiles and the users:<br />
sqlplus sys@LBV11203 as sysdba</p>
<p>SQL&gt; select file_name from dba_data_files;</p>
<p>FILE_NAME<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
/u02/app/oracle/oradata/CDB121A/EC5267F2B34A6543E045000000000001/datafile/o1_mf_system_99k84hd8_.dbf<br />
/u02/app/oracle/oradata/CDB121A/EC5267F2B34A6543E045000000000001/datafile/o1_mf_sysaux_99k84hpy_.dbf<br />
/u02/app/oracle/oradata/LBV11203/users_01.dbf<br />
/u02/app/oracle/oradata/LBV11203/users2_01.dbf</p>
<p>SQL&gt; select username from dba_users order by 1;</p>
<p>USERNAME<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
ANONYMOUS<br />
APEX_030200<br />
APEX_040200<br />
APEX_PUBLIC_USER<br />
APPQOSSYS<br />
AUDSYS<br />
CTXSYS<br />
DBSNMP<br />
DIP<br />
DVF<br />
DVSYS<br />
FLOWS_FILES<br />
GSMADMIN_INTERNAL<br />
GSMCATUSER<br />
GSMUSER<br />
LBACSYS<br />
LBV01DBA<br />
MDDATA<br />
MDSYS<br />
MGMT_VIEW<br />
OJVMSYS<br />
OLAPSYS<br />
ORACLE_OCM<br />
ORDDATA<br />
ORDPLUGINS<br />
ORDSYS<br />
OUTLN<br />
OWBSYS<br />
OWBSYS_AUDIT<br />
SCOTT<br />
SI_INFORMTN_SCHEMA<br />
SPATIAL_CSW_ADMIN_USR<br />
SPATIAL_WFS_ADMIN_USR<br />
SYS<br />
SYSBACKUP<br />
SYSDG<br />
SYSKM<br />
SYSMAN<br />
SYSTEM<br />
WMSYS<br />
XDB<br />
XS$NULL</p>
<p>42 rows selected.</p>
<p>Now we see that the SCOTT user is present and from the below query we see that component status in DBA_REGISTRY is &#8220;VALID&#8221;:</p>
<p>SQL&gt; select comp_name,version,status from dba_registry;</p>
<p>COMP_NAME VERSION STATUS<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Oracle Database Vault 12.1.0.1.0 VALID<br />
Oracle Application Express 4.2.0.00.27 VALID<br />
Oracle Label Security 12.1.0.1.0 VALID<br />
Spatial 12.1.0.1.0 VALID<br />
Oracle Multimedia 12.1.0.1.0 VALID<br />
Oracle Text 12.1.0.1.0 VALID<br />
Oracle Workspace Manager 12.1.0.1.0 VALID<br />
Oracle XML Database 12.1.0.1.0 VALID<br />
Oracle Database Catalog Views 12.1.0.1.0 VALID<br />
Oracle Database Packages and Types 12.1.0.1.0 VALID<br />
JServer JAVA Virtual Machine 12.1.0.1.0 VALID<br />
Oracle XDK 12.1.0.1.0 VALID<br />
Oracle Database Java Packages 12.1.0.1.0 VALID<br />
OLAP Analytic Workspace 12.1.0.1.0 VALID<br />
Oracle OLAP API 12.1.0.1.0 VALID<br />
Oracle Real Application Clusters 12.1.0.1.0 OPTION OFF</p>
<p>16 rows selected.</p>
<p>Now we can drop the PUBLIC database link &#8220;orcl&#8221; used by &#8220;impdp&#8221; and try to connect as SCOTT to access the transferred tables/data:<br />
SQL&gt; drop public database link ORCL;</p>
<p>Database link dropped.</p>
<p>SQL&gt; conn scott/tiger@LBV11203<br />
Connected.<br />
SQL&gt; col tname format a20<br />
SQL&gt; select * from tab;</p>
<p>TNAME TABTYPE CLUSTERID<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;- &#8212;&#8212;&#8212;-<br />
DEPT TABLE<br />
EMP TABLE<br />
BONUS TABLE<br />
SALGRADE TABLE</p>
<p>SQL&gt; select count(*) from emp;</p>
<p>COUNT(*)<br />
&#8212;&#8212;&#8212;-<br />
14</p>
<p>Now post-steps/sanity checks can be performed to verify that the application data has been transferred correctly.<br />
And you can then switch the application/users to the 12cR1 database.</p>
<p>Conclusion:<br />
We&#8217;ve demonstrated an upgrade from 11.2.0.3 to 12.1.0.1 pluggable database using the the Datapump Full Transportable Export/Import method.<br />
If you can afford the downtime this is a feasable method, for example for cross-platform/endianess migrations.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/oracle12c-r1-rdbms-new-features-upgrading-to-12cr1-pluggable-database-data-pump-full-transportable-exportimport-method/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Challenges with object invalidation and ORA-04045 in Active Data Guard STANDBY-database</title>
		<link>https://bluegecko.dk/challenges-with-object-invalidation-and-ora-04045-in-active-data-guard-standby-database/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=challenges-with-object-invalidation-and-ora-04045-in-active-data-guard-standby-database</link>
					<comments>https://bluegecko.dk/challenges-with-object-invalidation-and-ora-04045-in-active-data-guard-standby-database/#respond</comments>
		
		<dc:creator><![CDATA[lbvanting]]></dc:creator>
		<pubDate>Mon, 16 Sep 2013 14:14:13 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<guid isPermaLink="false">http://www.bluegecko.dk/?p=3445</guid>

					<description><![CDATA[At one of our customers Oracle Active Data Guard is being utilized for resource intensive BI queries during normal business hours. The setup is based on 11.2.0.3 EE on OEL 6.4 and everything is running just smooth. One issue has been identified &#8211; namely implicit invalidation of database objects, e.g. VIEWS and PL/SQL procedures. The [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>At one of our customers Oracle Active Data Guard is being utilized for resource intensive BI queries during normal business hours.<br />
The setup is based on 11.2.0.3 EE on OEL 6.4 and everything is running just smooth.<br />
One issue has been identified &#8211; namely implicit invalidation of database objects, e.g. VIEWS and PL/SQL procedures.<br />
The invalidation occurrs when underlying objects are being modified, e.g. a table column.<br />
Let&#8217;s illustrate this through the following test case. </p>
<p>On the PRIMARY database we establish a table called TESTTAB1 in the schema BGDBA:<br />
As a DBA on the PRIMARY database create the BGADBA user and grant appropriate privileges:<br />
<code>create user bgdba identified by bgdba default tablespace users temporary tablespace temp;<br />
alter user bgdba quota unlimited on users;<br />
grant create session, create table, create view to bgdba;<br />
</code><br />
Now connect to the PRIMARY database as BGDBA and create the TESTTAB1:<br />
<code>SQL> conn bgdba/bgdba<br />
SQL> create table testtab1 as select * from all_objects;</p>
<p>Table created.</p>
<p>SQL> select count(*) from testtab1;</p>
<p>  COUNT(*)<br />
----------<br />
     63467<br />
</code><br />
Now let&#8217;s create a VIEW on top of the TESTTAB1 table, as BGDBA on the PRIMARY database:<br />
<code>SQL> create view testtab1_v as select * from testtab1;</p>
<p>SQL> select object_name,status from all_objects<br />
  2  where OBJECT_TYPE='VIEW'<br />
  3* and object_name like 'TESTTAB1%';</p>
<p>OBJECT_NAME                    STATUS<br />
------------------------------ -------<br />
TESTTAB1_V                     VALID<br />
</code><br />
Everything is fine on the PRIMARY &#8211; let&#8217;s check on the STANDBY-database as well, first logon as SYSDBA to the STANDBY:<br />
<code>SQL> conn / as sysdba<br />
Connected.<br />
SQL> select log_mode,open_mode , database_role from v$database;</p>
<p>LOG_MODE     OPEN_MODE            DATABASE_ROLE<br />
------------ -------------------- ----------------<br />
ARCHIVELOG   READ ONLY WITH APPLY PHYSICAL STANDBY<br />
</code><br />
We see that OPEN_MODE is &#8220;READ ONLY WITH APPLY&#8221;, so let&#8217;s connect as BGDBA, which now should be possible:<br />
<code>SQL> conn  bgdba/bgdba<br />
Connected.</p>
<p>SQL> select object_name,status from all_objects<br />
  2  where OBJECT_TYPE='VIEW'<br />
  3  and object_name like 'TESTTAB1%';</p>
<p>SQL><br />
OBJECT_NAME                    STATUS<br />
------------------------------ -------<br />
TESTTAB1_V                     VALID<br />
</code><br />
The BGDBA VIEW is now also present on the STANDBY-database.</p>
<p>Now let&#8217;s go back to the PRIMARY &#8211; as BGDBA try to invalidate the view, e.g.<br />
<code>SQL> alter table testtab1 modify(edition_name varchar2(40));</p>
<p>Table altered.</p>
<p>SQL> select object_name,status from all_objects<br />
  2  where OBJECT_TYPE='VIEW'<br />
  3  and object_name like 'TESTTAB1%';</p>
<p>OBJECT_NAME                    STATUS<br />
------------------------------ -------<br />
TESTTAB1_V                     INVALID<br />
</code><br />
As we see from the above the VIEW is now &#8220;invalid&#8221;.<br />
ON STANDBY in ACTIVE DATAGUARD mode as BGDBA:</p>
<p><code>SQL> select count(*) from testtab1_v;<br />
select count(*) from testtab1_v<br />
                     *<br />
ERROR at line 1:<br />
ORA-04045: errors during recompilation/revalidation of BGDBA.TESTTAB1_V<br />
ORA-16000: database open for read-only access</p>
<p>SQL> select object_name,status from all_objects<br />
where OBJECT_TYPE='VIEW'<br />
and object_name like 'TESTTAB1%'; </p>
<p>OBJECT_NAME                    STATUS<br />
------------------------------ -------<br />
TESTTAB1_V                     INVALID<br />
</code><br />
So because the STANDBY-database is open in READ/ONLY mode, then the implicit recompilation of the view cannot complete and we hit the ORA-04045 error.</p>
<p>Solution: Fix/recompile the object on the PRIMARY database and then reissue the SQL query on the STANDBY database.</p>
<p>On the PRIMARY database as BGDBA:<br />
<code>SQL> alter view testtab1_v compile;</p>
<p>View altered.<br />
</code><br />
NOTICE: This could in this case also have been accomplished simply by selecting from the VIEW, thereby force a recompilation.</p>
<p><code>SQL> select object_name,status from all_objects<br />
  2  where OBJECT_TYPE='VIEW'<br />
  3  and object_name like 'TESTTAB1%';</p>
<p>OBJECT_NAME                    STATUS<br />
------------------------------ -------<br />
TESTTAB1_V                     VALID<br />
</code><br />
Now we can issue the query against the VIEW on the STANDBY-database:</p>
<p><code>SQL> select count(*) from testtab1_v;</p>
<p>  COUNT(*)<br />
----------<br />
     63467<br />
</code><br />
Lesson learned:<br />
When querying against an Active Data Guard physical STANDBY-database, you must handle all changes, e.g. object compilation, on the PRIMARY database and let this be propagated to the STANDBY database automatically through REDO APPLY.</p>
<p>Thanks to <a href="http://dspsd.blogspot.com" target="_blank">Kim Berg Hansen</a> for providing input to this blog.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/challenges-with-object-invalidation-and-ora-04045-in-active-data-guard-standby-database/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Oracle Listener crash, TNS-01153: Failed to process string, on Windows</title>
		<link>https://bluegecko.dk/listener-crash-tns-01153-failed-to-process-string-on-windows/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=listener-crash-tns-01153-failed-to-process-string-on-windows</link>
					<comments>https://bluegecko.dk/listener-crash-tns-01153-failed-to-process-string-on-windows/#respond</comments>
		
		<dc:creator><![CDATA[kanthonisen]]></dc:creator>
		<pubDate>Fri, 06 Sep 2013 09:45:11 +0000</pubDate>
				<category><![CDATA[downtime]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[outage]]></category>
		<guid isPermaLink="false">http://www.bluegecko.dk/?p=3432</guid>

					<description><![CDATA[A few days ago, I was working at a customer and made a few changes to the running listener&#8217;s configuration. After having verified that my changes were working as expected, I asked the listener to save the configuration, but the result was quite unexpected. The listener crashed with TNS-1153. I had hit bug #8612344, which [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>A few days ago, I was working at a customer and made a few changes to the running listener&#8217;s configuration.</p>
<p>After having verified that my changes were working as expected, I asked the listener to save the configuration, but the result was quite unexpected.</p>
<p>The listener crashed with TNS-1153.</p>
<p>I had hit bug #8612344, which is affecting all 10.2 versions running on Windows, including the 10.2.0.5 which my customer is using.</p>
<p>In short, I had to restore a listener.ora configuration file, as the current file was trashed &#8211; it was now 0 bytes in size now.</p>
<p>Luckily, I had taken a backup of the file before starting, so the  fix was easy.</p>
<p>Kim Anthonisen<br />
Senior konsulent@Blue Gecko<br />
kanthonisen@dk.bluegecko.dk</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/listener-crash-tns-01153-failed-to-process-string-on-windows/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>12cR1 (12.1.0.1.0) SQL*Plus session switches instance without reconnecting</title>
		<link>https://bluegecko.dk/12c-sqlplus-session-changes-instance-without-reconnecting/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=12c-sqlplus-session-changes-instance-without-reconnecting</link>
					<comments>https://bluegecko.dk/12c-sqlplus-session-changes-instance-without-reconnecting/#comments</comments>
		
		<dc:creator><![CDATA[jjjensen]]></dc:creator>
		<pubDate>Wed, 28 Aug 2013 13:04:34 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<guid isPermaLink="false">http://www.bluegecko.dk/?p=3275</guid>

					<description><![CDATA[This blog is about my first installation of Oracle 12c(12.1.0.1.0) on Windows8 and a possible bug I was facing. I have created a Service Request at Oracle Support and they are trying to reproduce with different constallations of Oracle Database software and Windows OS versions. SR 3-7725167161 : Installing 2nd database with connection to 1st [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>This blog is about my first installation of Oracle 12c(12.1.0.1.0) on Windows8 and a possible bug I was facing. I have created a Service Request at Oracle Support and they are trying to reproduce with different constallations of Oracle Database software and Windows OS versions.</p>
<p><strong>SR 3-7725167161 : Installing 2nd database with connection to 1st database moves connection to 2nd database</strong></p>
<p>I was installing 12c(12.1.0.1.0) on Windows8 and from the DBCA I created my first instance called ORCLPR.</p>
<p>After the database was created I opened a command prompt, started sqlplus and connected to the newly created database ORCLPR. I then did a shutdown immediate and kept the sqlplus connection running &#8211; leaving the command window open. I then started DBCA Again and created my second instance ORCLDR. It completed successfully. I went back to my sqlplus command window and did a startup MOUNT which gave me the error &#8220;ORA-01100: database already mounted&#8221;. An alter database OPEN resulted in the error &#8220;ORA-01531: a database already open by the instance&#8221;.</p>
<p>When I executed select * from v$instance the sqlplus session had, to my big surprise, switched over to my newly created ORCLDR instance.</p>
<p>Below a screenshot of my sqlplus session showing the behaviour:</p>
<p><a href="http://bluegecko.dk/wp-content/uploads/2013/08/18.jpg"><img fetchpriority="high" decoding="async" class="alignnone" src="http://bluegecko.dk/wp-content/uploads/2013/08/18.jpg" alt="" width="631" height="837" /></a></p>
<p>You can reproduce the issue yourself, by folowing the steps 1-7 below.</p>
<p>1: Install 12cR1 (12.1.0.1.0) on Windows7/8 &#8211; software installation only<br />
2: Create 1st instance using DBCA<br />
3: Connect to 1st instance using sqlplus and shutdown immediate &#8211; leave sqlplus session connected<br />
4: Create 2nd instance using DBCA<br />
5: When 2nd instance is up and running go to the sqlplus session still running<br />
6: Perform &#8220;startup mount&#8221; &#8211; you will then see the error &#8220;ORA-01100 database already mounted&#8221;<br />
7: Select * from v$instance will show that you now are on the 2nd newly created instance</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/12c-sqlplus-session-changes-instance-without-reconnecting/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Oracle12c R1 RDBMS New Features: Creating pluggable database within an existing container database</title>
		<link>https://bluegecko.dk/oracle12c-r1-rdbms-nf-creating-pdb-within-cdb/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=oracle12c-r1-rdbms-nf-creating-pdb-within-cdb</link>
					<comments>https://bluegecko.dk/oracle12c-r1-rdbms-nf-creating-pdb-within-cdb/#respond</comments>
		
		<dc:creator><![CDATA[lbvanting]]></dc:creator>
		<pubDate>Mon, 01 Jul 2013 08:58:11 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<guid isPermaLink="false">http://www.bluegecko.dk/?p=3224</guid>

					<description><![CDATA[One of the important new features in Oracle12c RDBMS is the concept of container databases (CDB) containing several pluggable databases (PDB). This enables customers to easily consolidate databases and will be an important feature for a Cloud database (12c, c = Cloud). The overhead in system resource usage will be reduced as the PDBs will [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>One of the important new features in Oracle12c RDBMS is the concept of container databases (CDB) containing several pluggable databases (PDB).<br />
This enables customers to easily consolidate databases and will be an important feature for a Cloud database (12c, c = Cloud). The overhead in system resource usage will be reduced as the PDBs will share background processes and memory, e.g. SGA. Up to 253 PDBs can be created within one CDB (creation of up to 252 PDBs require licensing the Multitenant EE option). </p>
<p>Let&#8217;s try to create a new PDB called LBV01 within a previously created CDB called &#8220;CDB121A&#8221; (was created using DBCA).<br />
First we connect to the CDB database &#8220;CDB121A&#8221;:<br />
<code>[oracle@linux-4]$ sqlplus / as sysdba</p>
<p>SQL*Plus: Release 12.1.0.1.0 Production on Fri Jun 28 19:33:48 2013</p>
<p>Copyright (c) 1982, 2013, Oracle.  All rights reserved.</p>
<p>Connected to:<br />
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production<br />
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options</p>
<p>SQL&gt; select * from dba_pdbs;</p>
<p>    PDB_ID PDB_NAME           DBID    CON_UID GUID                             STATUS        CREATION_SCN<br />
---------- ------------ ---------- ---------- -------------------------------- ------------- ------------<br />
         3 PDB          3242270891 3242270891 E03A36488ADB472FE045000000000001 NORMAL             1913013<br />
         2 PDB$SEED     4061891658 4061891658 E03A02BF074241D5E045000000000001 NORMAL             1720753<br />
</code><br />
One PDB (named PDB) was created during the creation of the CDB using DBCA. The PDB$SEED databaase is used as template for creating new PDSs.<br />
With one command we now can create the LBV01 PDB:<br />
<code><br />
SQL&gt; CREATE PLUGGABLE DATABASE lbv01 ADMIN USER lbv01dba IDENTIFIED BY oracle;</p>
<p>Pluggable database created.</p>
<p>SQL&gt; select * from dba_pdbs;</p>
<p>    PDB_ID PDB_NAME           DBID    CON_UID GUID                             STATUS        CREATION_SCN<br />
---------- ------------ ---------- ---------- -------------------------------- ------------- ------------<br />
         3 PDB          3242270891 3242270891 E03A36488ADB472FE045000000000001 NORMAL             1913013<br />
         2 PDB$SEED     4061891658 4061891658 E03A02BF074241D5E045000000000001 NORMAL             1720753<br />
         4 LBV01         828603468  828603468 E03B4EBDC3C55889E045000000000001 NEW                1918740<br />
</code><br />
This operation took less than 30 seconds on my VBOX image.<br />
The freshly created PDB is not OPEN, as we see from the STATUS above (STATUS = NEW), now let&#8217;s open it:<br />
<code><br />
SQL&gt; alter pluggable database lbv01 open;</p>
<p>Pluggable database altered.</p>
<p>SQL&gt; select * from dba_pdbs;</p>
<p>    PDB_ID PDB_NAME           DBID    CON_UID GUID                             STATUS        CREATION_SCN<br />
---------- ------------ ---------- ---------- -------------------------------- ------------- ------------<br />
         3 PDB          3242270891 3242270891 E03A36488ADB472FE045000000000001 NORMAL             1913013<br />
         2 PDB$SEED     4061891658 4061891658 E03A02BF074241D5E045000000000001 NORMAL             1720753<br />
         4 LBV01         828603468  828603468 E03B4EBDC3C55889E045000000000001 NORMAL             1918740<br />
</code><br />
Now the PDB named LBV01 is OPEN (STATUS = NORMAL in above listing). </p>
<p>NOTICE:  The wellknown SHUTDOWN / STARTUP commands will operate on the CDB level (and affect all existing PDBs in the CDB).<br />
Remember to operate on single PDBs using the &#8220;ALTER PLUGGABLE DATABASE &#8230; OPEN&#8221; and &#8220;ALTER PLUGGABLE DATABASE &#8230; CLOSE&#8221; statements.</p>
<p>Let&#8217;s try to connect LBV01 (I created a TNS alias in my local tnsnames.ora with the SERVICE_NAME = LBV01 first):<br />
<code><br />
SQL&gt; conn  lbv01dba/oracle@lbv01<br />
Connected.</p>
<p>SQL&gt;<br />
</code><br />
We&#8217;ve demonstrated that it&#8217;s very easy to create a new PDB within an existing CDB, based on the default PDB$SEED database.<br />
In future blog posts we&#8217;ll look further into this and other new features of 12c R1 RDBMS.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/oracle12c-r1-rdbms-nf-creating-pdb-within-cdb/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Case: Oracle Dataguard switchover test</title>
		<link>https://bluegecko.dk/case-oracle-dataguard-switchover-test/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=case-oracle-dataguard-switchover-test</link>
					<comments>https://bluegecko.dk/case-oracle-dataguard-switchover-test/#respond</comments>
		
		<dc:creator><![CDATA[kanthonisen]]></dc:creator>
		<pubDate>Wed, 26 Jun 2013 10:23:18 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<guid isPermaLink="false">http://www.bluegecko.dk/?p=3208</guid>

					<description><![CDATA[Recently, we migrated a large customers database environments to new databases on new hardware. The new setup consists of a cold failover Linux Cluster, which is located in the preferred production site, and two Dataguard(standby) databases in a remote DR site. Oracle 11gR2 Grid Infrastructure is used as basis for ASM diskgroups and for controlling [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Recently, we migrated a large customers database environments to new databases on new hardware.</p>
<p>The new setup consists of a cold failover Linux Cluster, which is located in the preferred production site, and two Dataguard(standby) databases in a remote DR site. Oracle 11gR2 Grid Infrastructure is used as basis for ASM diskgroups and<br />
for controlling the cold-failover (database defined as a cluster service). For the database Oracle 11.2.0.3 EE is used.</p>
<p>Monitoring the complete setup is done using <a title="Oracle Cloud Control 12c" href="http://www.oracle.com/technetwork/oem/grid-control/overview/index.html" target="_blank">Oracle Cloud Control 12c</a>, which also handles scheduling of database backups, maintenance jobs. We also use Oracle Cloud Control for realtime performance monitoring and administration.</p>
<p>One standby database is maintained as a physical standby database, the other is opened in snapshot standby mode every day for testing and educationional purposes, and every night, it is sync&#8217;ed up with the changes made to the primary database during the day. The physical standby database is running as an <a title="Active Dataguard" href="http://www.oracle.com/technetwork/database/availability/active-data-guard-wp-12c-1896127.pdf" target="_blank">Active Dataguard</a> database which means that it can be used for (read only) reporting purposes etc.</p>
<p>We chose <a title="Oracle Enterprise Linux 6.4" href="http://www.oracle.com/us/technologies/linux/overview/index.html" target="_blank">Oracle Enterprise Linux 6.4</a>, so the support for the software stack is kept within the same organization (Oracle). The migration was made using Oracle Datapump.</p>
<p>After we had migrated production, we established the standby databases, and then we arranged a service window for testing switchover to the physical standby database.</p>
<p>The switchover was made using Oracle Dataguard Broker, a part of <a title="Oracle Dataguard" href="http://www.oracle.com/technetwork/database/features/availability/dataguardoverview-083155.html" target="_blank">Oracle Dataguard</a>, and it worked seamlessly. Changes made to the new primary database was replicated instantly to the new standby database. However, the test revealed a number of minor setup issues, as some of the applications was unable to connect to the new primary database. Most clients was fixed by correcting the tnsnames.ora file, but we also found a missing firewall rule. Another issue found was a missing init.ora parameter (utl_smtp_server).</p>
<p>Conclusion: Having corrected the issues we had found, and tested again, we now know with confidence that running on the standby database is truly an option.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/case-oracle-dataguard-switchover-test/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Oracle RAT &#8211; an easy way of proving how performance will be after an upgrade/change</title>
		<link>https://bluegecko.dk/oracle-rat-an-easy-way-of-proving-how-performance-will-be-after-an-upgradechange/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=oracle-rat-an-easy-way-of-proving-how-performance-will-be-after-an-upgradechange</link>
					<comments>https://bluegecko.dk/oracle-rat-an-easy-way-of-proving-how-performance-will-be-after-an-upgradechange/#respond</comments>
		
		<dc:creator><![CDATA[kanthonisen]]></dc:creator>
		<pubDate>Wed, 26 Jun 2013 10:03:45 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[performance]]></category>
		<guid isPermaLink="false">http://www.bluegecko.dk/?p=3203</guid>

					<description><![CDATA[An often overlooked feature of Oracle is Real Application Testing, called RAT. RAT is by far the best way of testing the impact of changes to the database (not applications). This can be anything from upgrading to new hardware, upgrading the database release, adjusting database parameters, creating new optimizer statistics, adding indexes, partitioning etc. Before [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>An often overlooked feature of Oracle is <a title="Real Application Testing" href="http://www.oracle.com/technetwork/oem/real-application-testing-ds-12c-1898880.pdf" target="_blank">Real Application Testing</a>, called RAT.<br />
RAT is by far the best way of testing the impact of changes to the database (not applications). This can be anything from upgrading to new hardware, upgrading the database release, adjusting database parameters, creating new optimizer statistics, adding indexes, partitioning etc.</p>
<p>Before the emerge of RAT, companies using Oracle had to write and execute extensive testplans, involving a number of people, spending many manhours. Or the opted for the &#8220;just do it&#8221; approach and hoped for the best. I once worked at a very large customer where I wrote a number of scripts that recorded the SQL&#8217;s from the SQLAREA in the database memory, and the execution plans of these. We then upgraded a clone of the production database, and checked the execution plans again. Although this approach proved to be very valuable in the end, it had a number of issues. The most important one being that we did not have the bindvariables, so we had a significant amount of uncertainty resulting in some manual processing/checking.</p>
<p>This all changes with RAT, which is able to remove the uncertainty, since it is able to record all relevant information and rerun the captured workflow over and over.<br />
What RAT does is, to record all calls to the database for a period of time (1 hour, 3 days, 1 week&#8230;) and then re-executed these on a copy/clone of that same database. The result is then measured by overall efficiency, which is broken down to which statements/calls are performing better and which are performing worse. Typically, You will dive into the statements performing worse, make some ajustments and re-execute the test over again. This can be repeated untill You are satisfied with the outcome.<br />
The beauty of RAT is, that it can allow a DBA to upgrade a database (or move to another platform etc etc) knowing the outcome before actually doing it in production. There will be no more hoping and guessing that it will work, and no more days with poor performance following an upgrade/change. Also, since the test is made with an actual recording from the real production system, You do not need a bunch of testers with a detailed testplan etc. In many cases, a single DBA can do this. (But if You have special areas of Your applications that were not used during the recording, these still need manual testing though).</p>
<p>RAT can capture the workload on an Oracle 9.2 (and higher) database for replaying on an Oracle 11 database.</p>
<p>Doing a RAT test can be broken down into these steps:</p>
<ol>
<li>Capture the workload on production.<br />
This creates files on the database server, with information needed for replay. It includes wall clock time, sql text, bind variables etc.</li>
<li>Process the workload.<br />
This creates all the needed metadata for replaying the workload.</li>
<li>Restore a backup of the production database database, to the time where the workload recorded was started.</li>
<li>Change/upgrade the restored database (or do whatever change You will test, it could also be new hardware).</li>
<li>Replay the workload on the restored database.</li>
<li>Analyse the replay of the workload.</li>
<li>Fix possible issues and repeat from step 3) &#8211; if needed.</li>
</ol>
<p>It should be obvious that most of these steps can be done by a single DBA, although step 4+7 might involve developers etc., depending on what needs to be changed.</p>
<p>Oracle RAT is a an licensable option for the Enterprise Edition of the database, it is not availible for Standard Edition.</p>
<p>Conclusion: RAT is a tool that in a very easy way enables us to foresee how a change will impact on the database, and in a similar way, it provides us with an easy way of testing possible fixes, before going into production. The old way of just doing it and &#8220;hoping for the best&#8221; is not needed any more.</p>
<p>If you would like more information on the Oracle RAT, feel free to contact our support team at +45 70 272 247 or fill out the <a title="contact us" href="http://www.bluegecko.dk/about/contact-us/">contact  form</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/oracle-rat-an-easy-way-of-proving-how-performance-will-be-after-an-upgradechange/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Conditional PL/SQL compilation</title>
		<link>https://bluegecko.dk/conditional-plsql-compilation/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=conditional-plsql-compilation</link>
					<comments>https://bluegecko.dk/conditional-plsql-compilation/#respond</comments>
		
		<dc:creator><![CDATA[hharsfort]]></dc:creator>
		<pubDate>Thu, 15 Mar 2012 10:43:18 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<guid isPermaLink="false">http://www.bluegecko.dk/?p=3035</guid>

					<description><![CDATA[Conditional PL/SQL compilation. Note the $IF, $THEN, $ELSIF and $END directives. Create or replace procedure selective_directives is begin $IF DBMS_DB_VERSION.VER_LE_10_1 $THEN dbms_output.put_line(&#8216;I&#8217;m on a Database 10 release 1&#8217;); $ELSEIF DBMS_DB_VERSION.VER_LE_10_2 $THEN dbms_output.put_line(&#8216;I&#8217;m on a Database 10 release 2&#8217;); $ELSEIF DBMS_DB_VERSION.VER_LE_11_1 $THEN dbms_output.put_line(&#8216;I&#8217;m on a Database 11 release 1&#8217;); $END END; / Cool way to support [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Conditional PL/SQL compilation. Note the $IF, $THEN, $ELSIF and $END directives.</p>
<p>Create or replace procedure selective_directives is</p>
<p>begin<br />
$IF DBMS_DB_VERSION.VER_LE_10_1<br />
$THEN<br />
dbms_output.put_line(&#8216;I&#8217;m on a Database 10 release 1&#8217;);<br />
$ELSEIF DBMS_DB_VERSION.VER_LE_10_2<br />
$THEN<br />
dbms_output.put_line(&#8216;I&#8217;m on a Database 10 release 2&#8217;);<br />
$ELSEIF DBMS_DB_VERSION.VER_LE_11_1<br />
$THEN<br />
dbms_output.put_line(&#8216;I&#8217;m on a Database 11 release 1&#8217;);<br />
$END<br />
END;<br />
/</p>
<p>Cool way to support multiple DB versions in your PL/SQL code.</p>
<p>Works from version 10g onwards.</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td nowrap="nowrap" width="643">Best regards</td>
</tr>
<tr>
<td width="643"></td>
</tr>
<tr>
<td nowrap="nowrap" width="643"><strong>Henrik Harsfort</strong></td>
</tr>
<tr>
<td nowrap="nowrap" width="643">Senior Oracle ConsultantOracle Exadata 11g Certified Implementation Specialist</td>
</tr>
</tbody>
</table>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/conditional-plsql-compilation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</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>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>MySQL Editions and Support-  what do I get with community?</title>
		<link>https://bluegecko.dk/mysql-editions-and-support-what-do-i-get-with-community/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mysql-editions-and-support-what-do-i-get-with-community</link>
					<comments>https://bluegecko.dk/mysql-editions-and-support-what-do-i-get-with-community/#respond</comments>
		
		<dc:creator><![CDATA[snovotny]]></dc:creator>
		<pubDate>Mon, 22 Nov 2010 20:00:20 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Remote DBA]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=2274</guid>

					<description><![CDATA[The new licensing that was announced by Oracle earlier this month caused some FUD in the community that was addressed last week in an updated graphic comparing support and binary options and blog post from Oracle.  However, one of our customers sent me this earlier this week &#8211; We are now re-evaluating whether we want to [...]


Related posts:<ol><li><a href="http://www.bluegecko.net/database-hosting-services/mysql-enterprise-on-aws/" rel="bookmark" title="Permanent Link: MySQL Enterprise on AWS">MySQL Enterprise on AWS</a></li>
<li><a href="http://www.bluegecko.net/mysql/notes-from-international-oracle-usergroup-community-summit/" rel="bookmark" title="Permanent Link: Notes from International Oracle Usergroup Community Summit">Notes from International Oracle Usergroup Community Summit</a></li>
<li><a href="http://www.bluegecko.net/oracle/oracle-mysql-mariadb-and-drizzle-oh-my/" rel="bookmark" title="Permanent Link: Oracle, MySQL, MariaDB, and Drizzle. oh my.">Oracle, MySQL, MariaDB, and Drizzle. oh my.</a></li>
</ol>]]></description>
										<content:encoded><![CDATA[<p><!-- p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px} -->The new licensing that was announced by Oracle earlier this month caused some FUD in the community that was addressed last week in an updated <a href="http://www.mysql.com/products/">graphic</a> comparing support and binary options and <a href="http://blogs.oracle.com/mysql/2010/11/get_the_facts_mysql_licensing_and_pricing.html">blog post</a> from Oracle.  However, one of our customers sent me this earlier this week &#8211;<span id="more-2274"></span></p>
<blockquote>
<p>We are now re-evaluating whether we want to renew our MySQL Enterprise License.  As hard as I tried, I am still confused at what we get from the license we paid other than professional support.</p>
<p>In other words, I don&#8217;t know whether we are paying for the binary (for features not found in the Community version) or for the Service? I thought they are two different things. But it is just not clear on their Website.</p>
<p>Do you have some insight into MySQL Enterprise Licensing issue? I mean if it is a matter of buying support, can Blue Gecko provide similar type of Professional Service?</p>
</blockquote>
<p>Blue Gecko most often manages <a href="http://www.mysql.com/products/community/">MySQL Community Edition</a> and so I spent some time talking to one of the MySQL sales staff members to understand if anything has changed in this edition under this new support structure.  I&#8217;m happy to say that the Community Edition is alive well, and just as we left it in late October.   It still has partitioning, InnoDB and all your favorite engines available in it.  There is a new MySQL Cluster Community Edition that has been separated (though still freely available) to parallel the MySQL Cluster Carrier Grade Edition.</p>
<p>What Oracle has changed is to offer MySQL Enterprise Monitor, Enterprise Backup (formerly InnoDB hotbackup), and Cluster Manager software packaged at different levels in addition to Oracle Premier Support.</p>
<p>So, to get to my favorite portion of the question above &#8220;Can Blue Gecko provide a similar type of Professional Support?&#8221; &#8212; The answer is yes and no.</p>
<p>Yes!</p>
<p>Blue Gecko provides operational support and monitoring 24/7 on your databases.  Our support encompasses proactive work, maintenance outages, unplanned outages, and performance tuning.  We work with existing database staff as either or both front line monitoring response and deep bench technical support.  We can also work with a development staff as completely outsourced operations staff.  I think by working more closely with a smaller group of clients, we are able to troubleshoot more effectively than an Oracle PS staff member who has never connected to your database.</p>
<p>The &#8220;no&#8221; portion of the answer is that Blue Gecko does not modify or develop patches to MySQL code.  We work with other firms if we find a customer needs a custom patch.  Though, as operational DBAs with decades of experience on small and large databases however they&#8217;re measured we have found that custom forks and custom patches are seldom the only solution and are most certainly not for the faint of heart.</p>
<p>Blue Gecko&#8217;s support is always month-to-month and includes a number of hours each month for the work I outlined above and our staff will be happy to work at odd and inconvenient hours on scheduled and unscheduled work.</p>
<p>You go enjoy your turkey, we&#8217;ll be watching your systems.</p>
<p>Related posts:</p>
<ol>
<li><a href='http://www.bluegecko.dk/database-hosting-services/mysql-enterprise-on-aws/' rel='bookmark' title='Permanent Link: MySQL Enterprise on AWS'>MySQL Enterprise on AWS</a></li>
<li><a href='http://www.bluegecko.dk/mysql/notes-from-international-oracle-usergroup-community-summit/' rel='bookmark' title='Permanent Link: Notes from International Oracle Usergroup Community Summit'>Notes from International Oracle Usergroup Community Summit</a></li>
<li><a href='http://www.bluegecko.dk/oracle/oracle-mysql-mariadb-and-drizzle-oh-my/' rel='bookmark' title='Permanent Link: Oracle, MySQL, MariaDB, and Drizzle. oh my.'>Oracle, MySQL, MariaDB, and Drizzle. oh my.</a></li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/mysql-editions-and-support-what-do-i-get-with-community/feed/</wfw:commentRss>
			<slash:comments>0</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>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 60/313 objects using disk
Page Caching using disk: enhanced 

Served from: bluegecko.dk @ 2026-10-17 01:55:50 by W3 Total Cache
-->