<?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>DBAToolZ &#187; RAC</title>
	<atom:link href="http://www.dbatoolz.com/c/rac/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dbatoolz.com</link>
	<description>Lightweight Oracle DBA Tools</description>
	<lastBuildDate>Tue, 16 Feb 2010 01:17:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>11gR2 clients connect to the database using SCANs</title>
		<link>http://www.dbatoolz.com/t/11gr2-clients-connect-to-the-database-using-scans.html</link>
		<comments>http://www.dbatoolz.com/t/11gr2-clients-connect-to-the-database-using-scans.html#comments</comments>
		<pubDate>Thu, 10 Sep 2009 17:37:08 +0000</pubDate>
		<dc:creator>MVE</dc:creator>
				<category><![CDATA[RAC]]></category>
		<category><![CDATA[11gR2]]></category>
		<category><![CDATA[SCAN]]></category>
		<category><![CDATA[single client access name]]></category>
		<category><![CDATA[vip]]></category>

		<guid isPermaLink="false">http://www.dbatoolz.com/?p=446</guid>
		<description><![CDATA[If you&#8217;ve extended your RAC cluster on a set of new nodes you already know how painful it can be to have to go through the list of your clients and make sure their SQL*Net configuration is up to date.  11gR2 solves this problem using Single Client Access Name (SCAN).
The single client access name [...]


Related posts:<ol><li><a href='http://www.dbatoolz.com/t/11gr2-raw-or-block-devices-not-supported.html' rel='bookmark' title='Permanent Link: 11gR2 &#8211; raw and block devices &#8211; no longer supported'>11gR2 &#8211; raw and block devices &#8211; no longer supported</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve extended your RAC cluster on a set of new nodes you already know how painful it can be to have to go through the list of your clients and make sure their SQL*Net configuration is up to date.  11gR2 solves this problem using Single Client Access Name (SCAN).</p>
<blockquote><p>The single client access name (SCAN) is a hostname used to provide service access for clients to the cluster. Because the SCAN is associated with the cluster as a whole, rather than to a particular node, the SCAN makes it possible to add or remove nodes from the cluster without needing to reconfigure clients. It also adds location independence for the databases, so that client configuration does not have to depend on which nodes are running a particular database. Clients can continue to access the cluster in the same way as with previous releases, but Oracle recommends that clients accessing the cluster use the SCAN.</p></blockquote>
<p>Reference: <a href="http://download.oracle.com/docs/cd/E11882_01/install.112/e10812/typinstl.htm#CBHFCCHD">1.3.2.2 IP Address Requirements</a></p>
<p><strong>How is SCAN implemented?</strong></p>
<p>For high availability purposes the SCAN name should be associated with at least three IP addresses using DNS round-robin resolution.  If you opt to use Grid Naming Service then GNS can also be used to manage the SCAN name.</p>
<p>SCAN is configured at a cluster level not at the node level, that&#8217;s what makes it so flexible &#8212; no mater how many nodes your clusters consists of, your clients can continue to use SCAN to access the services of your cluster utilizing all nodes even if you add or delete them:</p>
<blockquote><p>The SCAN is a virtual IP name, similar to the names used for virtual IP addresses, such as node1-vip. However, unlike a virtual IP, the SCAN is associated with the entire cluster, rather than an individual node, and associated with multiple IP addresses, not just one address.</p></blockquote>
<p>SCAN works as an independent handler for the entire cluster &#8212; it acts on client&#8217;s behalf during connection request since it knows all cluster services and it&#8217;s available, least loaded nodes:</p>
<blockquote><p>The SCAN works by being able to resolve to multiple IP addresses reflecting multiple listeners in the cluster handling public client connections. When a client submits a request, the SCAN listener listening on a SCAN IP address and the SCAN port is contracted on a client&#8217;s behalf. Because all services on the cluster are registered with the SCAN listener, the SCAN listener replies with the address of the local listener on the least-loaded node where the service is currently being offered. Finally, the client establishes connection to the service through the listener on the node where service is offered. All of these actions take place transparently to the client without any explicit configuration required in the client.</p></blockquote>
<p><strong>Bottom line &#8211; use SCAN &#8211; it simplifies cluster management:</strong></p>
<blockquote><p>Because the SCAN addresses resolve to the cluster, rather than to a node address in the cluster, nodes can be added to or removed from the cluster without affecting the SCAN address configuration.</p></blockquote>
<p>Reference: <a href="http://download.oracle.com/docs/cd/E11882_01/install.112/e10812/concepts.htm#BABJAGCA">D.1.3.5 About the SCAN</a></p>


<p>Related posts:<ol><li><a href='http://www.dbatoolz.com/t/11gr2-raw-or-block-devices-not-supported.html' rel='bookmark' title='Permanent Link: 11gR2 &#8211; raw and block devices &#8211; no longer supported'>11gR2 &#8211; raw and block devices &#8211; no longer supported</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.dbatoolz.com/t/11gr2-clients-connect-to-the-database-using-scans.html/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>11gR2 &#8211; raw and block devices &#8211; no longer supported</title>
		<link>http://www.dbatoolz.com/t/11gr2-raw-or-block-devices-not-supported.html</link>
		<comments>http://www.dbatoolz.com/t/11gr2-raw-or-block-devices-not-supported.html#comments</comments>
		<pubDate>Thu, 10 Sep 2009 16:33:27 +0000</pubDate>
		<dc:creator>MVE</dc:creator>
				<category><![CDATA[RAC]]></category>
		<category><![CDATA[11gR2]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[raw or block devices]]></category>

		<guid isPermaLink="false">http://www.dbatoolz.com/?p=438</guid>
		<description><![CDATA[I was just reading up on the 11gR2 documentation for Grid Infrastructure Installation and finally we have a closure on the topic of RAW and BLOCK devices for OCR and VOTING disks:
With this release, OUI no longer supports installation of Oracle Clusterware files on block or raw devices. Install Oracle Clusterware files either on Automatic [...]


Related posts:<ol><li><a href='http://www.dbatoolz.com/t/11gr2-clients-connect-to-the-database-using-scans.html' rel='bookmark' title='Permanent Link: 11gR2 clients connect to the database using SCANs'>11gR2 clients connect to the database using SCANs</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>I was just reading up on the 11gR2 documentation for Grid Infrastructure Installation and finally we have a closure on the topic of RAW and BLOCK devices for OCR and VOTING disks:</p>
<blockquote><p>With this release, OUI no longer supports installation of Oracle Clusterware files on block or raw devices. Install Oracle Clusterware files either on Automatic Storage Management diskgroups, or in a supported shared file system.</p></blockquote>
<blockquote><p>For new installations, OCR and voting disk files can be placed either on ASM, or on a cluster file system or NFS system. Installing Oracle Clusterware files on raw or block devices is no longer supported, unless an existing system is being upgraded.</p></blockquote>
<p>REFERENCE: <a href="http://download.oracle.com/docs/cd/E11882_01/install.112/e10812/whatsnew.htm#sthref13">What&#8217;s New in Oracle Grid Infrastructure Installation and Configuration?</a></p>
<p>Perfect timing!  I was just mulling over what to do with OCR/VOTING on my upcoming SAN-based RAC install &#8212; now it&#8217;s clear &#8212; use 11gR2 and store them on ASM.</p>


<p>Related posts:<ol><li><a href='http://www.dbatoolz.com/t/11gr2-clients-connect-to-the-database-using-scans.html' rel='bookmark' title='Permanent Link: 11gR2 clients connect to the database using SCANs'>11gR2 clients connect to the database using SCANs</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.dbatoolz.com/t/11gr2-raw-or-block-devices-not-supported.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Using Flashback Database to strengthen Data Guard Setup</title>
		<link>http://www.dbatoolz.com/t/using-flashback-database-to-strengthen-data-guard-setup.html</link>
		<comments>http://www.dbatoolz.com/t/using-flashback-database-to-strengthen-data-guard-setup.html#comments</comments>
		<pubDate>Sat, 22 Aug 2009 19:32:24 +0000</pubDate>
		<dc:creator>MVE</dc:creator>
				<category><![CDATA[Data Guard]]></category>
		<category><![CDATA[RAC]]></category>
		<category><![CDATA[Failover]]></category>
		<category><![CDATA[Flashback Database]]></category>
		<category><![CDATA[FRA]]></category>
		<category><![CDATA[guaranteed restore point]]></category>
		<category><![CDATA[MAA]]></category>
		<category><![CDATA[Switchover]]></category>

		<guid isPermaLink="false">http://www.dbatoolz.com/?p=338</guid>
		<description><![CDATA[MAA recommends to enable Flashback Database on the primary prior to FailOver:
Enable Flashback Database to reinstate failed production databases after a
failover operation has completed. Flashback Database provides a second
very significant function, enabling fast point in time recovery if needed.
See: MAA_WP_10gR2_SwitchoverFailoverBestPractices.pdf
Enabling Flashback Database involves setting up flash recovery area and setting a flashback retention target which [...]


Related posts:<ol><li><a href='http://www.dbatoolz.com/t/data-guard-its-oracle-you-know-what-youve-got.html' rel='bookmark' title='Permanent Link: Data Guard &#8212; it&#8217;s real it&#8217;s Oracle, you know what you&#8217;ve got!'>Data Guard &#8212; it&#8217;s real it&#8217;s Oracle, you know what you&#8217;ve got!</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.oracle.com/technology/deploy/availability/htdocs/maa.htm">MAA</a> recommends to enable Flashback Database on the primary prior to FailOver:</p>
<blockquote><p>Enable Flashback Database to reinstate failed production databases after a<br />
failover operation has completed. Flashback Database provides a second<br />
very significant function, enabling fast point in time recovery if needed.</p></blockquote>
<p>See: <a href="http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10gR2_SwitchoverFailoverBestPractices.pdf">MAA_WP_10gR2_SwitchoverFailoverBestPractices.pdf</a></p>
<p>Enabling Flashback Database involves setting up flash recovery area and setting a flashback retention target which specifies how far back you want to be able to restore your database using the Flashback Database feature.</p>
<p>Once Flashback Database is setup, the database starts to copy images of each altered block into the flashback logs &#8212; this works for all datafiles.  When it&#8217;s time to Flashback the database, the copies of the blocks from flashback logs are used to reconstruct the datafiles to a state just prior to the desired flashback time, the redo/arch logs are then used to bring a datafiles to a consistent state.</p>
<blockquote><p><strong>WARNING:</strong>:<br />
   Redo logs must be available for the entire time period spanned by the<br />
   flashback logs, whether on tape or on disk. (In practice, however, redo<br />
   logs are generally needed much longer than the flashback retention target<br />
   to support point-in-time recovery.)</p>
<p>   There are also a number of operations you can perform on your database, such<br />
   as dropping a tablespace or shrinking a datafile, which cannot be reversed<br />
   with Flashback Database. After such an operation, the flashback database<br />
   window begins at the time immediately following that operation.</p></blockquote>
<p>One thing to consider is that the only way to guarantee a database can be returned to a specific point in time is to use <strong>guaranteed restore points</strong>.  In other words, don&#8217;t use &#8220;normal&#8221; restore points for this purpose and don&#8217;t rely on Flashback Database alone.  The only constraint to how far you can go back, is the size  of your disk space in the flash recovery area.</p>
<blockquote><p><strong>Again, WARNING:</strong><br />
   Limitations that apply to Flashback Database also apply to guaranteed<br />
   restore points. For example, shrinking a datafile or dropping a tablespace<br />
   can prevent flashing back the affected datafiles to the guaranteed restore<br />
   point.</p></blockquote>
<p>Creating a guaranteed restore point without having enough sufficient free space in the flash recovery area (FRA) will cause the FRA to fill completely, that&#8217;s because &#8220;<em>No file in the flash recovery area is eligible for deletion if it is required to satisfy the guarantee [restore point]</em>&#8220;.  In many circumstances, this will cause your database to halt.</p>
<p>To save on space in FRA you can disable the Flashback Database and still create a guaranteed restore point.  In this case, the first time a datafile block is modified, an image of this block before the modification is stored in the flashback logs.  This saves on space because only one-time copy of every changed data block is stored there, but subsequent modifications to the same block do not cause the block contents to be logged again.  This method works really well and it&#8217;s more efficient as long as your primary only needs to be able to return to the specific point in time at which the guaranteed restore point was created, such as to a <strong>before-state</strong> of a failed application upgrade that might have made changes to a database.</p>
<p>See: <a href="http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/rpfbdb001.htm#sthref481">5.1.1 About Flashback Database</a></p>
<p>That&#8217;s theory, how about some practice time?  Follow along.  First, we verify our setup (in this case no FRA [db_recovery_file_dest] is setup:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">rac1.XRACP1-&gt; sqlplus /nolog
&nbsp;
SQL*Plus: Release 10.2.0.4.0 - Production on Fri Jun 12 19:25:07 2009
&nbsp;
Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
&nbsp;
SQL&gt; connect / as sysdba
Connected.
SQL&gt;    select * from v$recovery_file_dest;
&nbsp;
no rows selected
&nbsp;
SQL&gt; show parameter recovery
&nbsp;
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest                string
db_recovery_file_dest_size           big integer 0
recovery_parallelism                 integer     0
SQL&gt; select * from v$flash_recovery_area_usage;
&nbsp;
no rows selected
&nbsp;
SQL&gt;</pre></div></div>

<p>Lets create FRA (NOTE: <strong>since this is a RAC database, I am creating FRA on a clustered FS (OCFS2) /u02</strong>):</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">[root@rac1 log]# mkdir -p /u02/oradata/rcv_area
[root@rac1 log]# chown -R oracle:dba /u02/oradata
&nbsp;
rac1.XRACP1-&gt; df -k /u02
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/2000b080023002235p1
                      37899136   1971200  35927936   6% /u02
rac1.XRACP1-&gt;
&nbsp;
&nbsp;
SQL&gt; alter system set db_recovery_file_dest_size=28g scope=both sid='*';
&nbsp;
System altered.
&nbsp;
SQL&gt; alter system set db_recovery_file_dest='/u02/oradata/rcv_area' scope=both sid='*';
&nbsp;
System altered.
&nbsp;
SQL&gt;
&nbsp;
SQL&gt; set lines 132
SQL&gt; col name format a35
SQL&gt; set trims on
SQL&gt; select * from v$recovery_file_dest;
&nbsp;
NAME                                SPACE_LIMIT SPACE_USED SPACE_RECLAIMABLE NUMBER_OF_FILES
----------------------------------- ----------- ---------- ----------------- ---------------
/u02/oradata/rcv_area                3.0065E+10          0                 0               0
&nbsp;
SQL&gt; select * from v$flash_recovery_area_usage;
&nbsp;
FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
------------ ------------------ ------------------------- ---------------
CONTROLFILE                   0                         0               0
ONLINELOG                     0                         0               0
ARCHIVELOG                    0                         0               0
BACKUPPIECE                   0                         0               0
IMAGECOPY                     0                         0               0
FLASHBACKLOG                  0                         0               0
&nbsp;
6 rows selected.
&nbsp;
SQL&gt;</pre></div></div>

<p>So far we setup the FRA, now lets try to create guaranteed restore point.  One thing to remember here though is this &#8212; if flashback database is not enabled (to save on space), then the database must be mounted, not open, when creating the first guaranteed restore point (or if all previously created guaranteed restore points have been dropped).  If you attempt to create a guaranteed restore point when the database is opened you get ORA-38787 error:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">SQL&gt; CREATE RESTORE POINT gr_01 GUARANTEE FLASHBACK DATABASE;
CREATE RESTORE POINT gr_01 GUARANTEE FLASHBACK DATABASE
*
ERROR at line 1:
ORA-38784: Cannot create restore point 'GR_01'.
ORA-38787: Creating the first guaranteed restore point requires mount mode when flashback database is off.</pre></div></div>

<p>A normal restore point however, works, but it will not do anything since flashback database is off, here&#8217;s an example:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">SQL&gt; !ls -l /u02/oradata/rcv_area
total 0
&nbsp;
SQL&gt; CREATE RESTORE POINT nr_01;
&nbsp;
Restore point created.
&nbsp;
SQL&gt; !ls -l /u02/oradata/rcv_area
total 0
&nbsp;
SQL&gt; create table xyz(t number) tablespace tools;
&nbsp;
Table created.
&nbsp;
SQL&gt; !ls -l /u02/oradata/rcv_area
total 0
&nbsp;
&nbsp;
SQL&gt; insert into xyz values (1000);
&nbsp;
1 row created.
&nbsp;
SQL&gt; commit;
&nbsp;
Commit complete.
&nbsp;
SQL&gt; !ls -l /u02/oradata/rcv_area
total 0
&nbsp;
SQL&gt;</pre></div></div>

<p>As you can see nothing happened &#8230; even though a normal restore point is created.  Lets drop it (this syntax works for both NORMAL and GUARANTEED RPs):</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">SQL&gt; drop restore point nr_01;
&nbsp;
Restore point dropped.
&nbsp;
&nbsp;
SQL&gt; SELECT NAME, SCN, TIME, DATABASE_INCARNATION#,
           GUARANTEE_FLASHBACK_DATABASE,STORAGE_SIZE
           FROM V$RESTORE_POINT;
  2    3
no rows selected</pre></div></div>

<p>Now lets create GUARANTEED restore point WITHOUT enabling FLASHBACK DATABASE which requires database to be mounted only, and since this is RAC database all other instances must be shutdown first as well:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">rac1.XRACP1-&gt; srvctl stop database -d XRACP
rac1.XRACP1-&gt; sqlplus /nolog
&nbsp;
SQL*Plus: Release 10.2.0.4.0 - Production on Fri Jun 12 20:01:53 2009
&nbsp;
Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
&nbsp;
SQL&gt; connect / as sysdba
Connected to an idle instance.
SQL&gt; startup mount;
ORACLE instance started.
&nbsp;
Total System Global Area 1610612736 bytes
Fixed Size                  2084296 bytes
Variable Size             822084152 bytes
Database Buffers          771751936 bytes
Redo Buffers               14692352 bytes
Database mounted.
SQL&gt; CREATE RESTORE POINT gr_01 GUARANTEE FLASHBACK DATABASE;
&nbsp;
Restore point created.
&nbsp;
SQL&gt; shutdown immediate;
ORA-01109: database not open
&nbsp;
&nbsp;
Database dismounted.
ORACLE instance shut down.
SQL&gt; exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
rac1.XRACP1-&gt; srvctl start database -d XRACP
rac1.XRACP1-&gt; srvctl start service -d XRACP
rac1.XRACP1-&gt;</pre></div></div>

<p>Now lets see what we can gather from V$RESTORE_POINT:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">SQL&gt; col name format a15
col time format a35
set lines 132
set trims on
SQL&gt; SQL&gt; SQL&gt; SQL&gt;
SQL&gt;
SQL&gt;
SQL&gt;
SQL&gt; SELECT NAME, SCN, TIME, DATABASE_INCARNATION#,
           GUARANTEE_FLASHBACK_DATABASE,STORAGE_SIZE
           FROM V$RESTORE_POINT;
  2    3
NAME                   SCN TIME                                DATABASE_INCARNATION# GUA STORAGE_SIZE
--------------- ---------- ----------------------------------- --------------------- --- ------------
GR_01           9.0317E+12 12-JUN-09 08.02.19.000000000 PM                         1 YES     63766528
&nbsp;
SQL&gt;
&nbsp;
&nbsp;
rac1.XRACP1-&gt; find /u02/oradata/rcv_area -ls
5161314    4 drwxr-xr-x   3 oracle   dba          4096 Jun 12 20:02 /u02/oradata/rcv_area
5161316    4 drwxr-x---   3 oracle   oinstall     4096 Jun 12 20:02 /u02/oradata/rcv_area/XRACP
5161317    4 drwxr-x---   2 oracle   oinstall     4096 Jun 12 20:03 /u02/oradata/rcv_area/XRACP/flashback
5161318 15576 -rw-r-----   1 oracle   oinstall 15949824 Jun 12 20:04 /u02/oradata/rcv_area/XRACP/flashback/o1_mf_5365ov16_.flb
237846 15576 -rw-rw----   1 oracle   oinstall 15949824 Jun 12 20:03 /u02/oradata/rcv_area/XRACP/flashback/o1_mf_5365qm48_.flb
4128929 15576 -rw-rw----   1 oracle   oinstall 15949824 Jun 12 20:03 /u02/oradata/rcv_area/XRACP/flashback/o1_mf_5365qtxy_.flb
7227425 15576 -rw-rw----   1 oracle   oinstall 15949824 Jun 12 20:03 /u02/oradata/rcv_area/XRACP/flashback/o1_mf_5365qtyd_.flb
rac1.XRACP1-&gt;</pre></div></div>

<p>Much better now &#8212; it is working, and a few days later:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">SQL&gt; !date;ls -l /u02/oradata/rcv_area/XRACP/flashback
Mon Jun 15 15:02:17 PDT 2009
total 358248
-rw-r-----  1 oracle oinstall 15949824 Jun 13 04:00 o1_mf_5365ov16_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 12 20:03 o1_mf_5365qm48_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 12 20:03 o1_mf_5365qtxy_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 12 20:03 o1_mf_5365qtyd_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 12 22:00 o1_mf_536dm0jm_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 12 22:01 o1_mf_536dmnxj_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 13 02:00 o1_mf_536dntxs_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 12 23:03 o1_mf_536j9b8b_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 12 23:28 o1_mf_536j9jvj_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 13 06:00 o1_mf_536kqnmf_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 13 15:10 o1_mf_536tnpky_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 13 21:00 o1_mf_5371or32_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 13 23:03 o1_mf_5378qrx2_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 14 12:00 o1_mf_537m8tox_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 14 07:33 o1_mf_5388yvsd_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 14 19:00 o1_mf_538xgm1v_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 14 02:00 o1_mf_5394pdx7_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 14 23:04 o1_mf_539h0tcs_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 15 04:00 o1_mf_53b2lorr_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 15 15:00 o1_mf_53bl5v8y_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 15 15:00 o1_mf_53cbs5hs_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 15 15:00 o1_mf_53cs3y00_.flb
-rw-rw----  1 oracle oinstall 15949824 Jun 15 15:00 o1_mf_53dbfmx5_.flb
&nbsp;
SQL&gt; SELECT NAME, SCN, TIME, DATABASE_INCARNATION#,
              GUARANTEE_FLASHBACK_DATABASE,STORAGE_SIZE
              FROM V$RESTORE_POINT;  2    3
&nbsp;
NAME                   SCN TIME                                DATABASE_INCARNATION# GUA STORAGE_SIZE
--------------- ---------- ----------------------------------- --------------------- --- ------------
GR_01           9.0317E+12 12-JUN-09 08.02.19.000000000 PM                         1 YES    366657536
&nbsp;
SQL&gt; select * from v$flash_recovery_area_usage;
&nbsp;
FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
------------ ------------------ ------------------------- ---------------
CONTROLFILE                   0                         0               0
ONLINELOG                     0                         0               0
ARCHIVELOG                    0                         0               0
BACKUPPIECE                   0                         0               0
IMAGECOPY                     0                         0               0
FLASHBACKLOG               1.22                         0              23
&nbsp;
6 rows selected.
&nbsp;
SQL&gt;</pre></div></div>

<p>And that&#8217;s how you create a <strong>guaranteed restore point</strong>. But what do you use it for, with regards to STANDBY FAILOVER?  You really shouldn&#8217;t, because you don&#8217;t know when a <strong>FAILOVER</strong> occurs so you can&#8217;t create a point right before it.  You should however, use a guaranteed restore point during a <strong>SWITCHOVER</strong> because during a switchover you are in full control of both primary and standby databases.  In a FAILOVER scenario, enabling <strong>Flashback Database</strong> [ <a href="http://www.oracle-base.com/articles/10g/Flashback10g.php#flashback_database">ALTER DATABASE FLASHBACK ON;</a> ] is more effective than trying to create guaranteed restore points.</p>
<p>Still have questions?  Here are pointers to additional reading with excerpts:</p>
<p>From Note:565535.1 titled &#8220;Flashback Database Best Practices &#038; Performance&#8221;:</p>
<blockquote><p>
   Manual primary database reinstate- if Data Guard is being used without the<br />
   fast-start failover feature and a Data Guard failover is necessary, then<br />
   flashback database can be used to manually reinstate the failed primary<br />
   database. This is documented in the Data Guard Administration and Concepts<br />
   guide &#8211; see &#8220;12.4 Using Flashback Database After a Failover&#8221; here:
</p></blockquote>
<p>And from <a href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/scenarios.htm#i1049997">12.4 Using Flashback Database After a Failover</a>:</p>
<blockquote><p>
        After a failover occurs, the original primary database can no longer<br />
        participate in the Data Guard configuration until it is repaired and<br />
        established as a standby database in the new configuration. To do<br />
        this, you can use the Flashback Database feature to recover the<br />
        failed primary database to a point in time before the failover<br />
        occurred, and then convert it into a physical or logical standby<br />
        database in the new configuration.</p></blockquote>


<p>Related posts:<ol><li><a href='http://www.dbatoolz.com/t/data-guard-its-oracle-you-know-what-youve-got.html' rel='bookmark' title='Permanent Link: Data Guard &#8212; it&#8217;s real it&#8217;s Oracle, you know what you&#8217;ve got!'>Data Guard &#8212; it&#8217;s real it&#8217;s Oracle, you know what you&#8217;ve got!</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.dbatoolz.com/t/using-flashback-database-to-strengthen-data-guard-setup.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Oracle RAC&#8217;s share everything vs share nothing &#8230;</title>
		<link>http://www.dbatoolz.com/t/oracle-racs-share-everything-vs-share-nothing.html</link>
		<comments>http://www.dbatoolz.com/t/oracle-racs-share-everything-vs-share-nothing.html#comments</comments>
		<pubDate>Tue, 16 Jun 2009 01:37:36 +0000</pubDate>
		<dc:creator>MVE</dc:creator>
				<category><![CDATA[RAC]]></category>
		<category><![CDATA[ERP]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[share everything]]></category>
		<category><![CDATA[share nothing]]></category>

		<guid isPermaLink="false">http://www.dbatoolz.com/?p=342</guid>
		<description><![CDATA[Google&#8217;s share nothing approach to application development has lead to the #1 search engine solution both in performance and functionality.  Notice that I said &#8220;application development&#8221; because for the share nothing approach to work it needs to be built into the application from day one not as an afterthought.
On the other end of the [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Google&#8217;s <strong>share nothing</strong> approach to <strong>application development</strong> has lead to the #1 search engine solution both in performance and functionality.  Notice that I said &#8220;<strong>application development</strong>&#8221; because for the <strong>share nothing</strong> approach to work it needs to be built into the application from day one not as an afterthought.</p>
<p>On the other end of the spectrum we have ERP APPS where design with thousands of tables per module are the norm and the UNION ALL joins span a multi-page printout.  In these types of applications Oracle RAC&#8217;s &#8220;share everything&#8221; approach is clearly superior, scratch that, <em>it&#8217;s the only solution</em>, period.</p>
<p>For an interesting read on this specific issue take a look at Kevin Closson&#8217;s post titled &#8220;<a href="http://kevinclosson.wordpress.com/2007/08/09/nearly-free-or-not-gridsql-for-enterprisedb-is-simply-better-than-real-application-clusters-it-is-shared-nothing-architecture-after-all/">Nearly Free or Not, GridSQL for EnterpriseDB is Simply Better Than Real Application Clusters. It is Shared-Nothing Architecture After All!</a>&#8221; and a sort of reply to it by a blogger called &#8220;bonglonglong&#8221; titled &#8220;<a href="http://bonglonglong.com/post/134">All in the assumptions</a>&#8220;.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dbatoolz.com/t/oracle-racs-share-everything-vs-share-nothing.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
