Reader only a physical standby Clock Data Guard?
Hi all
We try to use TimesTen 11.2.2.4.1 as a memory cache read-only for a 11.2.3.0.7 on Linus RedHat 6.3 Oracle schema, all using Oracle Data Guard to replicate the Oracle instance through geographically remote sites. At each site, we would like to have two instances of TT, synchronization with the local instance of Oracle 11 g. It works very well against the master DB, but TT agents will be able to synchronize against physical standby instances?
The problem, seems, is that the agent of TT uses structures dedicated in the master Oracle (related to the grid of cache), instance that will be replicated to instances of Eve. Is TT agent able to use the read-only, structures to complete replication synchronization, or is this unworkable approach? What would be your advisor as a way to do this?
Thanks for your help,
Chris
No, I'm afraid that will not work and is not supported. We support the use of groups of READONLY and AWT cache in collaboration with Data Guard in the following configuration (documented in the Guide of Cache TimesTen IMDB):
1 data Guard is configured as synchronous physical standby
2. all the caches of TT run against Oracle DB
3. in the event of a failover of Data Guard, TT hiding can be migrated to run against the DB who now has beed promoted active to standby
It is the only supported configuration.
Kind regards
Chris
Tags: Database
Similar Questions
-
Refresh the MV of standby Active Data Guard
Is it possible to refresh a materialized view (quick or full) come from a standby database Active Data Guard open in read mode only w/apply? Or can I just do the update of the primary?
Hello mseberg,
You made a very good point about the definition of a database of the READER.
After you have answered, I found in MOS: create a distributed materialized view based on a master table on a database in read-only (Doc ID 276023.1)
This explains that it is NOT possible to make a fast refresh of a database shall RO. However, it *peut* be possible to do a complete refresh of a standby Number. It depends on the query used to define the MV. If the RDBMS Analyzer determines the MV is *able* to fast refresh (even if there may not need it right now), so you can't do a full refresh since the eve of the RO. If the parser determines that the request is NOT able to fast refresh, then you can do a full refresh since the eve of the RO. I tested this script on 11.2.0.3.8 and found to be true:
CREATE THE MIMI MATERIALIZED VIEW. MV_TEST
TABLESPACE USERS
IMMEDIATE CONSTRUCTION
COMPLETE REFRESH
AS (SELECT * FROM TEST@MIMI_ROSTBY);
ORA-16000: database opened for read-only access
ORA-06512: at "SYS." DBMS_SNAPSHOT_UTL', line 364
ORA-06512: at "SYS." DBMS_SNAPSHOT_UTL', line 446
ORA-06512: at line 1
Now, I've changed the MV query to use a 'one time' feature (ROWNUM), which causes the query become complex (not able to fast refresh). I can now create a MV on the day before RO, because the query is no longer able to fast refresh and requires no registration on the eve of the RO:
CREATE THE MIMI MATERIALIZED VIEW. MV_TEST
TABLESPACE USERS
IMMEDIATE CONSTRUCTION
COMPLETE REFRESH
AS (SELECT * FROM TEST@MIMI_ROSTBY WHERE ROWNUM > 0);
Created.
-
problem in physical recovery standby database (Data Guard) by rman
Hi all
I created a physical database Eve, I want to make a backup of it by rman and when I lose datafile is that I can restore, backup and restore is fine, but in recovery I encounter a problem
scenarios is followed
1. in rman, I create a backup of database Eve by this command:
backup database more archivelog delete all entries;
2. I run this command in rman to recover standby database
Run {}
2 > set up what SNA 1392701.
3 > restore database;
4 > restore database;
{5 >}
(1392701 is extracted from this query "SELECT MAX (NEXT_CHANGE #) + 1 UNTIL_SCN FROM V$ LOG_HISTORY LH ')
V$ DATABASE DB WHERE LH. RESETLOGS_CHANGE #= DB. RESETLOGS_CHANGE # AND LH. RESETLOGS_TIME =
DB. RESETLOGS_TIME; (""http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/rman.htm")
but result RMAN is like this:
executing command: SET until clause
From restoration to 13 December 08
using channel ORA_DISK_1
channel ORA_DISK_1: from datafile backupset restoration
channel ORA_DISK_1: specifying datafile (s) to restore from
backup set
restoring datafile 00001 to /u01/app/oracle/oradata/sari/system01.dbf
restoring datafile 00002 to /u01/app/oracle/oradata/sari/undotbs01.dbf
restoring datafile 00003 to /u01/app/oracle/oradata/sari/sysaux01.dbf
restoring datafile 00004 in /u01/app/oracle/oradata/sari/users01.dbf
restoring datafile 00005 to /u01/app/oracle/oradata/sari/example01.dbf
restoring datafile to /u01/app/oracle/oradata/sari/users02.dbf 00006
channel ORA_DISK_1: reading of the backup/home/oracle/backup/0ek24dt4_1_1 element
channel ORA_DISK_1: restored the backup part 1
piece handle = / home/oracle/backup/0ek24dt4_1_1
tag = TAG20081213T042506
channel ORA_DISK_1: restore complete, duration: 00:01:07
Finished restoration to 13 December 08
From back to 13 December 08
using channel ORA_DISK_1
starting media recovery
archive log thread 1 116 sequence is already on the disk that the file /u01/app/oracle/oradata/archive/1_116_666786084.arc
archive log thread 1 sequence 117 is already on the disk that the file /u01/app/oracle/oradata/archive/1_117_666786084.arc
Archive newspaper filename=/u01/app/oracle/oradata/archive/1_116_666786084.arc thread = 1 sequence = 116
Archive newspaper filename=/u01/app/oracle/oradata/archive/1_117_666786084.arc thread = 1 sequence = 117
Cannot find the log archiving
archive log thread = 1 sequence = 118
RMAN-03002: failure of the command recover to 2008-12-13 05:14:13
RMAN-06054: recovery of media asking unknown journal: thread 1
SEQ 118 lowscn 1392700
3. then I refuse 1392701 to 1392700 and I run this command
Run {}
2 > set up what SNA 1392700.
3 > restore database;
4 > restore database;
{5 >}
executing command: SET until clause
From restoration to 13 December 08
using channel ORA_DISK_1
channel ORA_DISK_1: from datafile backupset restoration
channel ORA_DISK_1: specifying datafile (s) to restore from
backup set
restoring datafile 00001 to /u01/app/oracle/oradata/sari/system01.dbf
restoring datafile 00002 to /u01/app/oracle/oradata/sari/undotbs01.dbf
restoring datafile 00003 to /u01/app/oracle/oradata/sari/sysaux01.dbf
restoring datafile 00004 in /u01/app/oracle/oradata/sari/users01.dbf
restoring datafile 00005 to /u01/app/oracle/oradata/sari/example01.dbf
restoring datafile to /u01/app/oracle/oradata/sari/users02.dbf 00006
channel ORA_DISK_1: reading of the backup/home/oracle/backup/0ek24dt4_1_1 element
channel ORA_DISK_1: restored the backup part 1
total, handle = / home/oracle/backup/0ek24dt4_1_1 tag = TAG20081213T042506
channel ORA_DISK_1: restore complete, duration: 00:01:08
Finished restoration to 13 December 08
From back to 13 December 08
using channel ORA_DISK_1
starting media recovery
archive log thread 1 116 sequence is already on record as
file /u01/app/oracle/oradata/archive/1_116_666786084.arc
archive log thread 1 sequence 117 is already on record as
file /u01/app/oracle/oradata/archive/1_117_666786084.arc
archive log filename=/u01/app/oracle/oradata/archive/1_116_666786084.arc = 1 thread
sequence = 116archive log
filename=/U01/app/Oracle/oradata/archive/1_117_666786084.arc
thread = 1 sequence = error 117Oracle:
ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS
would get the below error
ORA-01152: 1 no file has been restored from a sufficiently old backup
ORA-01110: data file 1: ' / u01/app/oracle/oradata/sari/system01.dbf'
media recovery complete, duration: 00:00:10
Finished recover to 13 December 08
4. If I run
Run {}
restore the database;
recover the database;
}
I receive this error on step 2 (06054 RMAN: recovery of media asking unknown journal: thread 1)
SEQ 118 lowscn 1392700)
5. If I just restore the database and I do not perform a recovery by rman and I restart repeat if applies to all things seem well
but in the opening of database, I get ORA-01152: 1 file was not restored from a sufficiently old backup
Ora-01110: data file 1: ' / u01/app/oracle/oradata/sari/system01.dbf' error)
do you know what is the problem
Thank you
Published by: ARKH 12 December 2008 23:06This is because as soon as you open the standby database, application of roll forward stops. At least that's true up to 10 gr 2, 11 g, you have the option "Active Dataguard" (requires an additional license), which allows to apply, while the database is open.
Werner
-
Reading only the numerical value of data packet?
I have an entry that gives me: 122345, %, 0000 0000
I want just the 122345 part so that I can graph the value in real time as data are to be listened to in the computer. How can I choose for this? Now I just have a straight read command and read buffer indicator, I did just unroll the package according to the number of bytes I tell her to read.
Watch the channel for several functions in the palette of the format string. If the values are always integers, and always at the beginning of the string, the decimal string to number feature will work without extra effort.
Lynn
-
Insert into a primary database of Eve Active Data Guard
I use Oracle EE 11.2.0.3.8 on Solaris 10.
I read that it is possible to do an insert in my database for the standby Active Data Guard by redirecting the insert to get on the primary via DB link. I GLOBAL_NAMES set to TRUE and he needs to stay that way. This means that I can't create a DB link pointing to my first as such:
CREATE DATABASE LINK PROD. WORLD WITH THE HELP OF "PROD_PRIM";
How can I get around this in order to insert data in my standby ADG primary?
Hello;
There is an article about it here by Uwe Hesse:
http://uhesse.files.WordPress.com/2012/03/realtimequery.PDF
I understand that if GLOBAL_NAMES is true, then, the database link must have the same name as the database in which it connects.
Best regards
mseberg
-
Additional logging with Oracle 10 g 2 streams and Data Guard
Hello
I have a physical environment with DB Oracle 10 g 2 and Standby with Data Guard DR CONF. At the present time, this environment will be extended to a pattern of replication using 2-way Oracle Streams Replication (for replication to the central office of this branch, other channels will be added soon). The primary DB is replicated to the other primary DB (at the telephone exchange remotely).
So, there's my question: it is completely necessary to specify an additional record on data sources (primary) to set the 2-way Streams replication? and, if it is completely necessary, then, can configure additional connection on primary without affecting their physical Standby, or what I have to do something special?
Thanks in advance.Yes, for the streams you need additional registration. There is no impact on databases physical standby.
-
Dear,
Could you just confirm that with FDMEE 1.1.2.3.x you can't grant only read access to a user or a group of users?
He read / write access or not at all (not even read in this case).
Thanks a lot for what confirms.
Fix. There is no way to grant read-only access to load map data.
-
Block corruption on the physical Standby database
Hi all
Operating system: HP Unix
DB: 10.2.0.4
We are facing corruption block on our database of physical intelligence. The same has been detected using commands below and several blocks were found to be corrupt.
RMAN > backup validate check the logic of database;
SQL > select * from v$ database_block_corruption
As it is a basic data watch no backup is present, pulling the command below did not help
RMAN > list of corruption block restoration;
I think taking the incremental backup of the PR and the same application on DR, y at - it another way to eliminate corruption said?
Kind regards
Sphinx
You can check below link if corruption block results nologging, there is a thread already with the question.
Block corruption on the standby database
10.5.2 steps of recovery for databases physical standby
-
Data Guard Broker fails with ORA-16635 and ORA-03135
Hi all
I configured Oracle RAC with 11.2 Dataguard on Windows 2003.
I have already configured standby without Data Guard Broker and everything works fine, but when I try to use Data Guard Broker, it cannot synchronize the files of the Data Guard Broker.
I tried everything, including MOS, but not found anything.
I get this error.
Primary
Sleep modeDG 2011-02-11-09:15:41 0 2 0 NSV1: (MIV = 57) Start sending metadata file: "+DG_DATA/orcl/dgbroker/dg_config_file1.dat" DG 2011-02-11-09:15:41 0 2 0 NSV1: Sending block #1 (containing MIV = 57), 67 blocks DG 2011-02-11-09:15:42 0 2 0 NSV1: Error sending block #1, size 67 blocks. Error is ORA-16635. DG 2011-02-11-09:15:42 0 2 0 NSV1: Current network link for metadata resync is broken. DG 2011-02-11-09:15:42 0 2 0 NSV1: (MIV = 57) End metadata file transmission: opcode CTL_ENABLE (1.1.1825138532) DG 2011-02-11-09:15:42 0 2 0 NSV1: Can't send CLOSE message to DRCX. Network error is: ORA-16635. DG 2011-02-11-09:15:42 0 2 0 NSV1: Error is ORA-03135 connection lost contact DG 2011-02-11-09:15:42 0 2 0 NSV1: Current network link for metadata resync is broken.
DG 2011-02-11-08:35:39 3001000 3 1825138419 for opcode = CTL_ENABLE, phase = RESYNCH, req_id = 1.1.1825138419 DG 2011-02-11-08:35:39 0 2 0 NSV2: Error sending block #1, size 67 blocks. Error is ORA-16635. DG 2011-02-11-08:35:39 0 2 0 NSV2: Current network link for metadata resync is broken. DG 2011-02-11-08:35:39 0 2 0 NSV2: (MIV = 11) End metadata file transmission: opcode CTL_ENABLE (1.1.1825138419) DG 2011-02-11-08:35:39 0 2 0 NSV2: Can't send CLOSE message to DRCX. Network error is: ORA-16635. DG 2011-02-11-08:35:39 0 2 0 NSV2: Current network link for metadata resync is broken. DG 2011-02-11-08:35:39 0 2 0 NSV2: Metadata Resync failed. Status = ORA-16635 DG 2011-02-11-08:35:39 3001000 3 1825138419 DMON: Database ORCLSTBY returned ORA-16635
Hello
CISCO firewalls have a configuration option 'inspect sqlnet' or 'deep packet inspection '. This setting can affect the transfer of certain data on the network and the result in malformed packets or down.
Check if this option is enabled, if it is turn off the option "inspect sqlnet" at the firewall level.
And try again...
Kind regards
Levi Pereira -
Hello
1. my requirement is for FDF segment read-only after the user enters data in this area. There LOV attached to it. It is a seedling FDF "contact provider".
2. make sure all other segments of de FACTO unconditionally read-only
I have extended controller planted to fill the values of FDF dynamically through VO segment, but don't know how to do a FDF joint LOV ReadOnly segment
Thank you.Hello
Reference: DescritiveFlexField requirement
Concerning
Meher Irk -
Is this a bug? HTML is not escaped in the conditional read only LOV page elements
Then test my application for injection HTML filling HTML for each column in my data injected datamodel HTML running when a field only LOV ready, I noticed
I have dynamic LOV in use in my form, so their share, users can select. That sometimes I don't want to make them able to change a value, they chose earlier.
For this reason I condtionalu readonly my LOV. by using the conditional read only an option for the items on the page.
That's when a dynamic LOV made readonly HTML code inside is done instead of escaped
is this a bug or is it intentional?
At least, I think I should be able to choose the behavior.
GeertGeert - Thanks for the info. I think that's not a bug. With the read-only option, it displays the data as it would for a display text (does not save the State) items for which source of HTML element, that is, unescaped. If you want the text escaped by using your dynamic lov query simply use htf.escape_sc:
Select htf.escape_sc ('
data ') d, 1 r of the doubleScott
-
Label security and Data Guard (physical standby)?
Hello
Is it possible to use Oracle Label Security with intelligence Data Guard physical?
Thank youYes (unlike logic pending)
http://download.Oracle.com/docs/CD/E11882_01/server.112/e17022/data_support.htm#CHDEAEBI
-
Purge logs archiving on things primary and Standby and for Data Guard RMAN
Hi, I saw a couple of orders in regard to the purge archive records in a Data Guard configuration.Set UP the STRATEGY of SUPPRESSION of ARCHIVE to SHIPPED to All RELIEF;
Set UP the STRATEGY of ARCHIVELOG DELETION to APPLIED on All RELIEF;
Q1. The above only removes logs archiving to the primary or primary and Standby?
Q2. If deletions above archive logs on the primary, is it really remove them (immediately) or does the FRA to delete if space is needed?
I also saw
CONFIGURE ARCHIVELOG DELETION POLICY TO SAVED;
Q3. That what precedes, and once again it is something that you re primary side?
I saw the following advice in the manual of Concepts of data protection & Admin
Configure the DB_UNIQUE_NAME in RMAN for each database (primary and Standby) so RMAN can connect remotely to him
Q4. Why would I want my primary ro connect to the RMAN Repository (I use the local control file) of the standby? (is this for me to say define RMAN configuration settings in the Standby) manual
Q5. Should I only work with the RMAN Repository on the primary or should I be also in things in the deposits of RMAN (i.e. control files) of the standby?
Q6. If I am (usually mounted but not open) Physics, of standby I able to connect to its own local repository for RMAN (i.e. control based on files) while sleep mode is just mounted?
Q7. Similiarly if I have an old lofgical (i.e. effectively read-only), to even connect to the local RMAN Repository of Eve?
Q8. What is the most common way to schedule a RMAN backup to such an environment? example cron, planner of the OEM, DBMS_SCHEDULER? MY instinct is cron script as Planner OEM requires running the OEM service and DBMS_SCHEDULER requires the data runs?
Any idea greatly appreciated,
Jim
The above only removes logs archiving to the primary or primary and Standby?
When CONFIGURE you a deletion policy, the configuration applies to all destinations archive
including the flash recovery area. BACKUP - ENTRY DELETE and DELETE - ARCHIVELOG obey this configuration, like the flash recovery area.
You can also CONFIGURE an archived redo log political suppression that newspapers are eligible for deletion only after being applied to or transferred to database backup destinations.
If deletions above archive logs on the primary, is it really remove them (immediately) or does the FRA to delete if space is needed?
Its a configuration, it will not erase by itself.
If you want to use FRA for the automatic removal of the archivelogs on a database of physical before you do this:
1. make sure that DB_RECOVERY_FILE_DEST is set to FRA - view parameter DB_RECOVERY_FILE_DEST - and - setting DB_RECOVERY_FILE_DEST_SIZE
2. do you have political RMAN primary and Standby set - CONFIGURE ARCHIVELOG DELETION POLICY to APPLY ON ALL STANDBY;
If you want to keep archives more you can control how long keep logs by adjusting the size of the FRA
Great example:
http://emrebaransel.blogspot.com/2009/03/delete-applied-archivelogs-on-standby.html
All Oracle is worth a peek here:
http://emrebaransel.blogspot.com/
That what precedes, and once again it is something that you re primary side?
I would never use it. I always had it put it this way:
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
I would use only 'BACKED UP' for the data protection system. Usually it tell oracle how many times to back up before removing.
Why would I want my primary ro connect to the RMAN Repository?
Because if you break down, you want to be able to backup there, too.
Also if it remains idle for awhile you want.
Should I only work with the RMAN Repository on the primary or should I be also in things in the deposits of RMAN (i.e. control files) of the standby?
Always use a database of catalog RMAN with Data Guard.
If I am (usually mounted but not open) Physics, of standby I able to connect to its own local repository for RMAN (i.e. control based on files) while sleep mode is just mounted?
Same answer as 5, use a catalog database.
Similiarly if I have an old lofgical (i.e. effectively read-only), to even connect to the local RMAN Repository of Eve?
Same answer as 5, use a catalog database.
What is the most common way to schedule a RMAN backup to such an environment? example cron, planner of the OEM, DBMS_SCHEDULER? MY instinct is cron script as Planner OEM requires running the OEM service and DBMS_SCHEDULER requires the data runs?
I think cron is still, but they all work. I like cron because the database has a problem at work always reports its results.
Best regards
mseberg
Summary
Always use a database with RMAN catalog.
Always use CRF with RMAN.
Always set the deletion «To APPLY ON ALL STANDBY» policy
DB_RECOVERY_FILE_DEST_SIZE determines how long to keep the archives with this configuration.
Post edited by: mseberg
-
Rename a data file in a physical standby
Hi all
I have the following problem.
Oracle Enterprise Linux 64-bit 11.2.0.2.0
Primary and standby are configured with standby_file_management = MANUAL
I added a tablespace with a primary data file a few days ago.
Today, I realized sleep did not change due to the following error:
ORA-01111: name for the data file 13 is unknown - rename it to the correct file
ORA-01110: data file 13: ' / oracle1/11.2.0.2/dbs/UNNAMED00013'
ORA-01157: cannot identify/lock data file 13 - see DBWR trace file
ORA-01111: name for the data file 13 is unknown - rename it to the correct file
ORA-01110: data file 13: ' / oracle1/11.2.0.2/dbs/UNNAMED00013'
According to the MOS it says I should rename database in standby mode, but it does not allow me to do so, it is said that dB must be open; but I can't open it because it is a standby DB.
Even if I want to open read-only, it says:
SQL > ALTER DATABASE OPEN read-ONLY.
ALTER DATABASE OPEN READ ONLY
*
ERROR on line 1:
ORA-10458: standby database requires recovery
ORA-01157: cannot identify/lock data file 13 - see DBWR trace file
ORA-01111: name for the data file 13 is unknown - rename it to the correct file
ORA-01110: data file 13: ' / oracle1/11.2.0.2/dbs/UNNAMED00013'
/Oracle1/11.2.0.2/DBS/UNNAMED00013 data file does not exist
How can I solve it?
Thank you very much.
Hello;
My friend CKPT has a post on it:
Without file NAME in standby mode after the addition of new files to primary ORA-01111, ORA-01110
Sound also cover in the book he co-authored:
Oracle Data Guard 11 GR 2 Administration beginner & #039; s Guide | Packt Publishing
Best regards
mseberg
-
Open physical standby mode read/write to test without return of flame
I have successfully installed a physical database standby 10 gr 2 (10.2.0.3 EA). Now I have to test my application with the database pending, so I have to
Open (enable) in read/write mode (don't want to use FLASHBACK DATABASE), I know that I have to recreate the database pending scracth after completing the test.
So far, I did these steps:
1. on the PRIMARY database, I disabled the log destination archive:
ALTER system set log_archive_dest_state_2 = 'reporter ';
2. on the day before, I cancel managed recovery
ALTER database recover managed standby database cancel;
Can anyone provide the remaining steps to open the write standby database? I searched the oracle documentation and all the steps require the flashbak database.
Thanks in advance.
S.H.Ok
You could do a failover on the eve (without doing anything at the elementary level)
So to run these on your watch.
SQL > alter database recover managed standby database cancel;
Database altered.
SQL > alter database recover managed standby database finish;
Database altered.
SQL > alter database validation at the transition to the primary with the stop of the session;
Database altered.
SQL > alter database open;
Database altered.Then simply stop the day before (not primary) and rebuild as the standby again. Delete and re-create.
Make sure that your Data Guard alter system set log_archive_dest_state_2 = delay; Are fixed on both sides.
This can help:
http://www.Oracle.com/technetwork/database/features/availability/MAA-WP-10gR2-faststartfailoverbestp-131997.PDF
You want to split the day before with really nothing do in elementary school except reporter.
Best regards
mseberg
Edited by: mseberg May 14, 2012 14:39
Maybe you are looking for
-
* I forgot to put a check mark on the - mail me when someone answers - section *. Hello I'm helping a friend fix an error message received at startup - error: "echec failed boot drive, enter the system disk and press enter". Pressing F9: Diagnostics
-
How to get the drivers from Boot Camp 6.0.1 for Windows 10?
Whenever I try to download the Boot Camp 6.0.1 Software Support Windows Help Assistant Boot Camp 6.0.1 in Mac OS X 10.11.2, I receive v4.0 rather according to the 64-bit in the folder XML file - the dates of all files are 2011. Version 4.0 will not i
-
Remove the trash, not archives. Any help is welcome.
-
Questions on keyboard Shrotcuts.
Years ago, if I remember correctly, somewhere in Windows, I visited a window that was to create a keyboard shortcut for the application of a copy of a document. Everything I googled up to now on the creation of shortcuts keyboard shortcuts to applica
-
Fax from Blackberry blackBerry smartphones
Hi all BB does support fax documents (say the word file) or any what 3rd party software that can do the trick. Thank you. Jssethi