Can fast start failover be achieved in maximum performance mode
In a physical standby I would like to know if it is possible to configure High Availability in async mode to achieve fast-start failover? If so, please briefly describe how. Thanks
I've always said, size doesn't matter to Data Guard except when you are creating a standby database. After that it is the amount of Redo that is generated by the Primary database. A failover is a failover, for a 10GB database or for a 60TB database. The scary part is having to get the old Primary back up as a standby as quickly as possible.
Of course if the original Primary is completely toast then you have to recreate it with a new backup of the new primary or use a backup of the original Primary that happens to be on the Primary system and restore it as a standby and let Data Guard catch it up with the current state of affairs.
But, if the original Primary is still intact then you can use flashback database to reinstate it as a physical standby with little effort and no major backup restores. And of course, that is one of the requirements of Fast-Start Failover (FSFO). To enable it you have to have flashback database enabled on both the Primary and the FSFO target standby. Since enabling FB Database requires the database to be at the mount state I would suggest you enable it right after the upgrade to 11g.
When FSFO triggers a failover after a failure of the Primary, the Observer will automatically re-instantiate the failed Primary as a standby when it is started again and then it will be resynchronized with the new Primary automatically by Data Guard as normal.
The only difference between Maximum Availability FSFO and Maximum Performance FSFO is that you have to decide how much data you are will to lose when a failover occurs and tell the Broker by configuring the FastStartFailoverLagLimit property (see section 9.2.12 of the Broker manual).
You also want to be sure to place the Observer on a system where it is not affected by the Primary or Standby server going down or a network break between the Primary and the Standby. And if you can, use Grid Control. When you enable FSFO in Grid Control (on the Data Guard home page) you can specify 2 systems where the Observer can live. If it goes down on the original system an atempt will be made to restart it there. If that system if no longer available then Grid Control will attempt to start a new Observer on the 2nd system.
I would highly recommend you read the section [5.5 Fast-Start Failover|http://download.oracle.com/docs/cd/B28359_01/server.111/b28295/sofo.htm#i1027843] for lots of good information. And of course, the [Data Guard 11g Handbook|http://www.amazon.com/Oracle-Guard-Handbook-Osborne-ORACLE/dp/0071621113] (sorry, still plugging the book :^)
Larry
Similar Messages
-
Protection Modes and Fast-Start Failover
Oracle Maximum Availability Architecture allows you to set fast-start failover (FSF)to automatically failover to the standby in the event of losing the primary database.
One condition of FSF is that it will only initiate if there is a guarantee of no data loss. This is where i start getting confused. Maximum Availability mode allows for data loss as the primary will still process transactions if the connection to the standby is lost. This means then in the event of the standby being out of sync with the primary database (i.e. network glitches) and then losing the primary database to hardware issues for example. FSF will not be able to initiate as data will be lossed and a complete loss of service will happen!
Can FSF be used in Maximum Protection mode as this will always mean FSF will be able to occur? Also what is the overhead towards the databases with regards to running them in this mode?
Thanks,
ChrisHi,
Can FSF be used in Maximum Protection mode as this will always mean FSF will be able to occur? Yes, Maximum Protection Mode can be used with Fast-Start Failover, please review the next link.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14230/cli.htm#BABEIIHD
Also what is the overhead towards the databases with regards to running them in this mode?
Yes, the overhead is on major scale that other modes.
Regards. -
Data Guard Broker: errors ORA-16816 and ORA-16817 with Fast Start Failover
Hi,
my environment is:
OS: Windows XP Professional Edition SP2
DB: Oracle EE 10.2.0.3
Primary db: orcl
Standby db: stby
both databases are running on the same server.
I have configured Data Guard as described in the DG Administration Guide.
In the Data Guard Broker I switch to 'stby' succesfully and 'stby' is the primary db and 'orcl' is the standby db.
I switched back to 'orcl' as primary db and I get some errors:
DGMGRL> show database 'orcl' statusreport;
STATUS REPORT
INSTANCE_NAME SEVERITY ERROR_TEXT
* WARNING ORA-16817: configuration for Fast Start of Failover is not synchronized.
DGMGRL> show database 'stby' statusreport;
STATUS REPORT
INSTANCE_NAME SEVERITY ERROR_TEXT
* ERROR ORA-16816: wrong databaserole
* WARNING ORA-16817: configuration for Fast Start of Failover is not synchronized.
DGMGRL> show configuration;
Configuration
Name: DG1
Enabled: YES
Protection Mode: MaxAvailability
Fast-Start Failover: ENABLED
Databases:
orcl - Physical standby database
- Fast-Start Failover target
stby - Primary database
Current status for DG1:
Warning: ORA-16607: one or more databases failed.
I have searched for solutions on Metalink and google, but with no success.
Has anyone got this kind of problem?
Any suggestions on how to resolve it?
ThanksHi DigerDBA
I did your advice , the error disappear, and thanks for your advice , but do I need to keep standby_file_management='AUTO' or 'MANUAL' in primary and standby init files?
Am asking this because when I use the observer the failover failed and I get the following error
SQL Execution error=604, sql=[ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY WAIT WITH SESSION SHUTDOWN]. See error stack below.
ORA-00604: error occurred at recursive SQL level 1
ORA-01275: Operation ADD LOGFILE is not allowed if standby file management is automatic.
Complete Failover operation failed in the step when attempting to convert the database to be the new primary.
Database Resource SetState Error (16771)
01/07/2014 09:14:43
Command FAILOVER TO epprod2 completed with error ORA-16771
if possible can you advice me please? -
Warning: ORA-16829: fast-start failover configuration is lagging
Hi
I got waring for fast_start failover configuration
DGMGRL> show configuration
Configuration - activefailover_migdb
Protection Mode: MaxPerformance
Databases:
migdb - Primary database
Warning: ORA-16829: fast-start failover configuration is lagging
migdbdr - (*) Physical standby database
Warning: ORA-16829: fast-start failover configuration is lagging
Fast-Start Failover: ENABLED
Configuration Status:
WARNING
anybody please suggest solution for the sameDear shd,
Please check the following link;
http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_dg.htm
*ORA-16829: lagging Fast-Start Failover configuration*
+DBMS_DG.INITIATE_FS_FAILOVER was invoked in a maximum performance fast-start failover configuration when the configuration was not in the user-specified redo lag limit.+
Oracle Error :: ORA-16829
fast-start failover configuration is lagging
Cause
The fast-start failover target standby database was not within the lag limit specified by the FastStartFailoverLagLimit configuration property. As a result, a fast-start failover could not happen in the event of a primary database failure.
Action
Ensure that the fast-start failover target standby database is running and applying redo data and that the primary database is successfully trasmitting redo data. If this condition persists consider raising the value of the FastStartFailoverLagLimit configuration property.
Ogan -
ORA-16820: fast-start failover observer is no longer observing this databa
Wem have primary and physical standby of Oracle 11.2 on linux 2.6.18-92.el5. For a reason of hardware resources, we want to run the Observer on the standby machine. Here I have several questions:
1) Is it supported to run Observer on the standby?
2) Does fast-start failover means automatical detecting down of primary and switch over the role automatically? WE do not want automatical switch over.
3) Started Observer on the standby and run show configuration, get errorDGMGRL> show configuration;
Configuration - antony
Protection Mode: MaxAvailability
Databases:
rdev2 - Primary database
sdev2 - (*) Physical standby database
Error: ORA-16820: fast-start failover observer is no longer observing this database
Fast-Start Failover: ENABLED
Configuration Status:
ERROR Is the error caused by sunning Observer on standby, or other things?
Thanks.Answering all your questions
Does fast-start failover means automatical detecting down of primary and switch over the role automatically? WE do not want automatical switch over.
Fast-Start Failover is an Oracle Data Guard 10g Release 2 feature that automatically, quickly, and reliably fails over to a designated, synchronized standby database in the event of loss of the production database, without requiring manual intervention to execute the failover.
In addition, following a fast-start failover, the original production database is automatically reconfigured as a new standby database upon reconnection to the configuration. This enables Data Guard to restore disaster protection in the configuration quickly and easily, returning the database to a protected state as soon as possible.
Is it supported to run Observer on the standby?
There are three essential participants in a Fast-Start Failover configuration:
• The production database
• A target standby database
• The Fast-Start Failover Observer
The target standby database will become the new production database following a fast-start failover (note: There can be multiple standby databases in a Data Guard configuration, but only one can be designated as the fast-start failover target. A manual failover would be required in order to execute a failover to any of the additional standby databases within the configuration).
The Observer is a separate process incorporated into the DGMGRL client that continuously monitors the production database and the target standby database for possible failure conditions.
The rule is that out of these three participants, (production database, standby database & observer) whichever two can communicate with each other will determine the outcome of fast-start failover
Hope the above explaination answers your question. -
Fast Start Failover has broken my Logical Standby and Flashback has not helped
I have a primary ( PRIMARYP ), a physical standby ( STANDBYP ) and a logical standby ( STANDBYL ).
I configured Fast Start Failover ( with STANDBYP as the target ) and started an Observer. I did a shutdown abort on my primary and the Fast Start Failover did make STANDBYP the primary. I was able to reinstate PRIMARYP as a physical standby.
However when I checked my broker config it gave for STANDBYL
ORA-16795: the standby database needs to be recreated
Strange I though, since I would have expected STANDBYL to survive ok given that the new primary, STANDBYP was a physical standby of PRIMARYP.
Not to worry I thought, I simply will flashback STANDBYL to the beginning of the day and SQL APPLY will reapply all the redo.
This is where the problem begins
I mount STANDBYL
RMAN> connect target /
connected to target database: STANDBYL (DBID=440422466, not open)
RMAN> flashback database to time "TO_DATE('05/12/13 09:30:00','DD-MM-YY HH24:MI:SS')";
Starting flashback at 05-DEC-13
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=11 device type=DISK
starting media recovery
archived log for thread 1 with sequence 24 is already on disk as file /home/app/oracle/fast_recovery_area/STANDBYL/archivelog/2013_12_04/o1_mf_1_24_99yqwog0_.arc
archived log for thread 1 with sequence 25 is already on disk as file /home/app/oracle/fast_recovery_area/STANDBYL/archivelog/2013_12_05/o1_mf_1_25_9b0mlyvr_.arc
media recovery complete, elapsed time: 00:00:04
Finished flashback at 05-DEC-13
RMAN> quit
Recovery Manager complete.
oraclel[STANDBYL]>dgmgrl
DGMGRL for Linux: Version 11.2.0.3.0 - Production
Copyright (c) 2000, 2009, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
DGMGRL> connect sys/manager
Connected.
DGMGRL> shutdown;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
DGMGRL>
DGMGRL>
DGMGRL> startup;
ORACLE instance started.
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
ORA-01589 - that a nasty surprise ! I didn't think I would need to do anything with the log sequences after a flashback
Any ideas of what is going on ?
thanks,
JimHello;
This pdf might meet your needs :
http://blogs.oracle.com/AlejandroVargas/resource/DATAGUARD-FSFO-IMPLEMENTATION.pdf
Additional info :
http://oracle-tech.blogspot.com/2008/08/fast-start-failover-it-is-reliable.html
http://jakub.wartak.pl/blog/?p=80
http://www.databasejournal.com/features/oracle/article.php/3849106/Fast-Start-Failover-in-Oracle-11g-Data-Guard.htm
Best Regards
mseberg -
Fast-Start Failover - Without Observer
Hello Experts,
I have a 3 node RCA with a 3node standby. Manual complete failover and switchover work correctly. I would like to enablr fast-start failover when nobody is around.
I know that according to the documentation, I would need a 3rd server to act like the observer. But I 've run out of servers.
Could someone provide clues or ideas how I could set this up. Do I indeed need an observer, or is it really just for additional fault tolerance?
Sincerely
Jan S.There's no shortage of short notes on this :
http://jakub.wartak.pl/blog/?p=80
http://oracleinstance.blogspot.com/2010/01/configuration-of-10g-data-guard-broker.html
http://gjilevski.wordpress.com/2010/03/06/configuring-10g-data-guard-broker-and-observer-for-failover-and-switchover/
http://www.oracle.com/technetwork/articles/smiley-fsfo-084973.html
No idea how you would do it without Observer, its just a failover then.
Cooper -
Real-time apply in Maximum Performance Mode Not Working
We have configured physical standby database in maximum performance mode. It's working perfectly fine. Archive logs are being applied to the physical standby.
We can open the DB in read-only mode, but real-time apply is not working. Physical standby database is lagging behind the primary db by an archive log. As soon as primary database generates an archive log, it's transported over to the standby and applied immediately by the media recovery process. But real-time redo is not working. Standby redo logs have been configured.
On Physcial Standby:
SQL> alter database recover managed standby database using current logfile disconnect ;
Database Altered.
SQL> select group#, DBID, status,first_time, last_time from v$standby_log ;
GROUP# DBID STATUS FIRST_TIM LAST_TIME
4 UNASSIGNED UNASSIGNED
5 UNASSIGNED UNASSIGNED
6 UNASSIGNED UNASSIGNED
7 UNASSIGNED UNASSIGNED
SQL> select * from v$dataguard_stats ;
NAME
VALUE
UNIT TIME_COMPUTED
apply lag
+00 00:31:36
day(2) to second(0) interval 22-JUN-2010 08:42:06
transport lag
+00 00:31:34
day(2) to second(0) interval 22-JUN-2010 08:42:06
As you could see from the output above, value of transport and apply lag is equal to the elapsed time since last archive log switch.
********* Standby init.ora
db_name = CPRD
db_unique_name = CPRDS
instance_name = CPRD
service_names = hrDBSBY.WORLD
log_archive_format = CPRD%r%s.%t
log_archive_dest_1 = "location=f:\orarch\hresysprod"
log_archive_dest_2='service=hresysprod async db_unique_name=cprd valid_for=(primary_role,online_logfile)'
log_archive_config='dg_config=(cprd,cprds)'
fal_server=hresysprod
fal_client=hresysprods
standby_file_management=auto
log_archive_trace=1
log_file_name_convert = ('hresysprod','hresysprods')
db_file_name_convert = ('hresysprod','hresysprods')
remote_login_passwordfile = exclusive
******* Primary init.ora
log_archive_config='dg_config=(cprd,cprds)'
fal_server=hresysprods
fal_client=hresysprod
standby_file_management=auto
log_archive_format = CPRD%r%s.%t
log_archive_dest_1 = "location=f:\orarch\hrESYSPROD"
log_archive_dest_2='service=hresysprods async db_unique_name=cprds valid_for=(primary_role,online_logfile)'
log_archive_trace=1
remote_login_passwordfile = exclusive
Please advise.
Thanks,
jayHi,
In your case you are using ARC process for redo transfer as you have not specified any process in log_archive_dest_2 and default is arch.
I will suggest you to use LGWR to transfer the redo to standby and also check the size of standby redo logs on standby is same to the size of online redo logs on primary
Regards
Anudeep -
Can u any imrove this query for maximum performance
select g_com_bu_entity bunt_entity
, g_com_rep_cd srep_cd
, effdt from_dt
, eff_status
, g_com_role role
, g_com_pgm prgm
, g_com_district district
, g_com_draw_status draw_status
, decode(g_com_primary_pgm, 'Y',1, 0) pri_prgm_flag
FROM ps_g_com_assign_vw@commissions c1
WHERE effdt =
(SELECT MAX (effdt)
FROM ps_g_com_assign_vw@commissions c2
WHERE c1.g_com_bu_entity = c2.g_com_bu_entity
AND c1.g_com_rep_cd = c2.g_com_rep_cd);
can anyone make it as regular query for maximum performance
Thanks,
SreekanthHi Sreekant,
Try this: If it helps
select g_com_bu_entity bunt_entity
, g_com_rep_cd srep_cd
, effdt from_dt
, eff_status
, g_com_role role
, g_com_pgm prgm
, g_com_district district
, g_com_draw_status draw_status
, decode(g_com_primary_pgm, 'Y',1, 0) pri_prgm_flag
FROM ps_g_com_assign_vw@commissions c1,
(SELECT MAX (effdt) effdt_max
FROM ps_g_com_assign_vw@commissions c2
WHERE c1.g_com_bu_entity = c2.g_com_bu_entity
AND c1.g_com_rep_cd = c2.g_com_rep_cd) t2
WHERE effdt = t2.effdt_max; -
After installing SP1 Firefox quit working and Internet Explore quit working. I can only use Chrome as a browser at this time.
See:
*http://kb.mozillazine.org/Browser_will_not_start_up
A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
See:
*https://support.mozilla.org/kb/Server+not+found
*https://support.mozilla.org/kb/Firewalls
Do a malware check with some malware scanning programs on the Windows computer.<br />
You need to scan with all programs because each program detects different malware.<br />
Make sure that you update each program to get the latest version of their databases before doing a scan.
*http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
*http://www.superantispyware.com/ - SuperAntispyware
*http://www.microsoft.com/security/scanner/en-us/default.aspx - Microsoft Safety Scanner
*http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
*http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
You can also do a check for a rootkit infection with TDSSKiller.
*http://support.kaspersky.com/viruses/solutions?qid=208280684
See also:
*"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked -
'Maximum Performance' protection in oracle 11g
Hi,
I am working on dataguard setup in oracle 11g maximum
'Maximum Performance' mode requires Standby redo logs
i was doing switch over test and i am getting this error appreciated for your inputs.
DGMGRL> show configuration verbose;
Configuration
Name: qecgpoce_DG
Enabled: YES
Protection Mode: MaxPerformance
Databases:
qecgpoce - Primary database
qecgpoca - Physical standby database
Fast-Start Failover: DISABLED
Current status for "qecgpoce_DG":
Warning: ORA-16607: one or more databases have failed
DGMGRL> show database verbose qecgpoce;
Database
Name: qecgpoce
Role: PRIMARY
Enabled: YES
Intended State: TRANSPORT-ON
Instance(s):
qecgpoce
Properties:
DGConnectIdentifier = 'qecgpoce'
ObserverConnectIdentifier = ''
LogXptMode = 'SYNC'
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '30'
RedoCompression = 'DISABLE'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '4'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = '/mounts/qecgpoca_data/oradata/qecgpoca/dbfiles, /mounts/qecgpoce_data/oradata/qecgpoce/dbfiles'
LogFileNameConvert = '/u01/app/oracle/admin/qecgpoca/arch, /u01/app/oracle/admin/qecgpoce/arch'
FastStartFailoverTarget = ''
StatusReport = '(monitor)'
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
HostName = 'ieedc-vzdb17'
SidName = 'qecgpoce'
StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ieedc-vzdb17)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=qecgpoce_DGMGRL)(INSTANCE_NAME=qecgpoce)(SERVER=DEDICATED)))'
StandbyArchiveLocation = '/u01/app/oracle/admin/qecgpoce/arch'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = 'qecgpoc%s%t%r.arc'
LatestLog = '(monitor)'
TopWaitEvents = '(monitor)'
Current status for "qecgpoce":
Warning: ORA-16789: standby redo logs not configured
DGMGRL> show database verbose qecgpoca;
Database
Name: qecgpoca
Role: PHYSICAL STANDBY
Enabled: YES
Intended State: APPLY-ON
Instance(s):
qecgpoca
Properties:
DGConnectIdentifier = 'qecgpoca'
ObserverConnectIdentifier = ''
LogXptMode = 'ARCH'
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '30'
RedoCompression = 'DISABLE'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '4'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = '/mounts/qecgpoce_data/oradata/qecgpoce/dbfiles, /mounts/qecgpoca_data/oradata/qecgpoca/dbfiles'
LogFileNameConvert = '/u01/app/oracle/admin/qecgpoce/arch, /u01/app/oracle/admin/qecgpoca/arch'
FastStartFailoverTarget = ''
StatusReport = '(monitor)'
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
HostName = 'usadc-vzdb32'
SidName = 'qecgpoca'
StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=usadc-vzdb32)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=qecgpoca_DGMGRL)(INSTANCE_NAME=qecgpoca)(SERVER=DEDICATED)))'
StandbyArchiveLocation = '/u01/app/oracle/admin/qecgpoca/arch'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = 'qecgpoc%s%t%r.arc'
LatestLog = '(monitor)'
TopWaitEvents = '(monitor)'
Current status for "qecgpoca":
Error: ORA-16766: Redo Apply is stoppedThanks
PrakashHi,
secondary parameter file;
SQL> show parameter _
NAME TYPE VALUE
O7_DICTIONARY_ACCESSIBILITY boolean FALSE
active_instance_count integer
aq_tm_processes integer 0
archive_lag_target integer 0
asm_diskgroups string
asm_diskstring string
asm_power_limit integer 1
asm_preferred_read_failure_groups string
audit_file_dest string /u01/app/oracle/admin/qecgpoca
/adump
audit_sys_operations boolean FALSE
NAME TYPE VALUE
audit_syslog_level string
audit_trail string NONE
background_core_dump string partial
background_dump_dest string /u01/app/oracle/admin/qecgpoca
/diagnostic/diag/rdbms/qecgpoc
a/qecgpoca/trace
backup_tape_io_slaves boolean FALSE
bitmap_merge_area_size integer 1048576
blank_trimming boolean FALSE
buffer_pool_keep string
buffer_pool_recycle string
NAME TYPE VALUE
cell_offload_compaction string ADAPTIVE
cell_offload_parameters string
cell_offload_plan_display string AUTO
cell_offload_processing boolean TRUE
cell_partition_large_extents string DEFAULT
circuits integer
client_result_cache_lag big integer 3000
client_result_cache_size big integer 0
cluster_database boolean FALSE
cluster_database_instances integer 1
cluster_interconnects string
NAME TYPE VALUE
commit_logging string
commit_point_strength integer 1
commit_wait string
commit_write string
compatible string 11.0.0.0.0
control_file_record_keep_time integer 7
control_files string /mounts/qecgpoca_data/oradata/
qecgpoca/dbfiles/control.ctl
control_management_pack_access string DIAGNOSTIC+TUNING
core_dump_dest string /u01/app/oracle/admin/qecgpoca
/cdump/
NAME TYPE VALUE
cpu_count integer 16
create_bitmap_area_size integer 8388608
create_stored_outlines string
cursor_sharing string EXACT
cursor_space_for_time boolean FALSE
db_16k_cache_size big integer 0
db_2k_cache_size big integer 0
db_32k_cache_size big integer 0
db_4k_cache_size big integer 0
db_8k_cache_size big integer 0
db_block_buffers integer 0
NAME TYPE VALUE
db_block_checking string FALSE
db_block_checksum string TYPICAL
db_block_size integer 8192
db_cache_advice string ON
db_cache_size big integer 168M
db_create_file_dest string
db_create_online_log_dest_1 string
db_create_online_log_dest_2 string
db_create_online_log_dest_3 string
db_create_online_log_dest_4 string
db_create_online_log_dest_5 string
db_domain string
db_file_multiblock_read_count integer 61
db_file_name_convert string /mounts/qecgpoce_data/oradata/
qecgpoce/dbfiles, /mounts/qecg
poca_data/oradata/qecgpoca/dbf
iles
db_files integer 200
db_flashback_retention_target integer 1440
db_keep_cache_size big integer 0
db_lost_write_protect string NONE
db_name string qecgpoce
NAME TYPE VALUE
db_recovery_file_dest string
db_recovery_file_dest_size big integer 0
db_recycle_cache_size big integer 0
db_securefile string PERMITTED
db_ultra_safe string OFF
db_unique_name string qecgpoca
db_writer_processes integer 4
dbwr_io_slaves integer 0
ddl_lock_timeout integer 0
dg_broker_config_file1 string /u01/app/oracle/product/11.1.0
.7/dbs/dr1qecgpoca.dat
NAME TYPE VALUE
dg_broker_config_file2 string /u01/app/oracle/product/11.1.0
.7/dbs/dr2qecgpoca.dat
dg_broker_start boolean TRUE
diagnostic_dest string /u01/app/oracle/admin/qecgpoca
/diagnostic
disk_asynch_io boolean TRUE
dispatchers string
distributed_lock_timeout integer 60
dml_locks integer 1472
drs_start boolean FALSE
enable_ddl_logging boolean FALSE
NAME TYPE VALUE
event string
fal_client string qecgpoca
fal_server string qecgpoce
fast_start_io_target integer 0
fast_start_mttr_target integer 300
fast_start_parallel_rollback string LOW
file_mapping boolean FALSE
fileio_network_adapters string
filesystemio_options string asynch
fixed_date string
gc_files_to_locks string
NAME TYPE VALUE
gcs_server_processes integer 0
global_context_pool_size string
global_names boolean FALSE
global_txn_processes integer 1
hash_area_size integer 131072
hi_shared_memory_address integer 0
hs_autoregister boolean TRUE
ifile file
instance_groups string
instance_name string qecgpoca
instance_number integer 0
NAME TYPE VALUE
instance_type string RDBMS
java_jit_enabled boolean TRUE
java_max_sessionspace_size integer 0
java_pool_size big integer 152M
java_soft_sessionspace_limit integer 0
job_queue_processes integer 0
large_pool_size big integer 4M
ldap_directory_access string NONE
ldap_directory_sysauth string no
license_max_sessions integer 0
license_max_users integer 0
NAME TYPE VALUE
license_sessions_warning integer 0
local_listener string
lock_name_space string
lock_sga boolean FALSE
log_archive_config string dg_config=(qecgpoce,qecgpoca)
log_archive_dest string
log_archive_dest_1 string location="/u01/app/oracle/admi
n/qecgpoca/arch", valid_for=(
ALL_LOGFILES,ALL_ROLES)
log_archive_dest_10 string
log_archive_dest_2 string service=qecgpoce lgwr async va
NAME TYPE VALUE
lid_for=(online_logfiles,prima
ry_role) db_unique_name=qecgpo
ce
log_archive_dest_3 string
log_archive_dest_4 string
log_archive_dest_5 string
log_archive_dest_6 string
log_archive_dest_7 string
log_archive_dest_8 string
log_archive_dest_9 string
log_archive_dest_state_1 string ENABLE
NAME TYPE VALUE
log_archive_dest_state_10 string enable
log_archive_dest_state_2 string enable
log_archive_dest_state_3 string enable
log_archive_dest_state_4 string enable
log_archive_dest_state_5 string enable
log_archive_dest_state_6 string enable
log_archive_dest_state_7 string enable
log_archive_dest_state_8 string enable
log_archive_dest_state_9 string enable
log_archive_duplex_dest string
log_archive_format string qecgpoc%s%t%r.arc
NAME TYPE VALUE
log_archive_local_first boolean TRUE
log_archive_max_processes integer 4
log_archive_min_succeed_dest integer 1
log_archive_start boolean FALSE
log_archive_trace integer 0
log_buffer integer 4197376
log_checkpoint_interval integer 0
log_checkpoint_timeout integer 1800
log_checkpoints_to_alert boolean FALSE
log_file_name_convert string /u01/app/oracle/admin/qecgpoce
/arch, /u01/app/oracle/admin/q
NAME TYPE VALUE
ecgpoca/arch
max_commit_propagation_delay integer 0
max_dispatchers integer
max_dump_file_size string unlimited
max_enabled_roles integer 150
max_shared_servers integer
memory_max_target big integer 0
memory_target big integer 0
nls_calendar string
nls_comp string BINARY
nls_currency string
NAME TYPE VALUE
nls_date_format string
nls_date_language string
nls_dual_currency string
nls_iso_currency string
nls_language string AMERICAN
nls_length_semantics string BYTE
nls_nchar_conv_excp string FALSE
nls_numeric_characters string
nls_sort string
nls_territory string AMERICA
nls_time_format string
NAME TYPE VALUE
nls_time_tz_format string
nls_timestamp_format string
nls_timestamp_tz_format string
object_cache_max_size_percent integer 10
object_cache_optimal_size integer 102400
olap_page_pool_size big integer 0
open_cursors integer 300
open_links integer 4
open_links_per_instance integer 4
optimizer_capture_sql_plan_baselines boolean FALSE
optimizer_dynamic_sampling integer 2
NAME TYPE VALUE
optimizer_features_enable string 11.1.0.7
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
optimizer_use_invisible_indexes boolean FALSE
optimizer_use_pending_statistics boolean FALSE
optimizer_use_sql_plan_baselines boolean TRUE
os_authent_prefix string ops$
os_roles boolean FALSE
parallel_adaptive_multi_user boolean FALSE
NAME TYPE VALUE
parallel_automatic_tuning boolean FALSE
parallel_execution_message_size integer 2152
parallel_instance_group string
parallel_io_cap_enabled boolean FALSE
parallel_max_servers integer 2
parallel_min_percent integer 0
parallel_min_servers integer 0
parallel_server boolean FALSE
parallel_server_instances integer 1
parallel_threads_per_cpu integer 2
pga_aggregate_target big integer 100M
NAME TYPE VALUE
plscope_settings string IDENTIFIERS:NONE
plsql_ccflags string
plsql_code_type string INTERPRETED
plsql_debug boolean FALSE
plsql_native_library_dir string
plsql_native_library_subdir_count integer 0
plsql_optimize_level integer 2
plsql_v2_compatibility boolean FALSE
plsql_warnings string DISABLE:ALL
pre_page_sga boolean FALSE
processes integer 300
NAME TYPE VALUE
query_rewrite_enabled string TRUE
query_rewrite_integrity string enforced
rdbms_server_dn string
read_only_open_delayed boolean FALSE
recovery_parallelism integer 0
recyclebin string on
redo_transport_user string
remote_dependencies_mode string TIMESTAMP
remote_listener string
remote_login_passwordfile string EXCLUSIVE
remote_os_authent boolean FALSE
NAME TYPE VALUE
remote_os_roles boolean FALSE
replication_dependency_tracking boolean TRUE
resource_limit boolean FALSE
resource_manager_cpu_allocation integer 16
resource_manager_plan string SYSTEM_PLAN
result_cache_max_result integer 5
result_cache_max_size big integer 5M
result_cache_mode string MANUAL
result_cache_remote_expiration integer 0
resumable_timeout integer 0
rollback_segments string
NAME TYPE VALUE
sec_case_sensitive_logon boolean TRUE
sec_max_failed_login_attempts integer 10
sec_protocol_error_further_action string CONTINUE
sec_protocol_error_trace_action string TRACE
sec_return_server_release_banner boolean FALSE
serial_reuse string disable
service_names string qecgpoca
session_cached_cursors integer 50
session_max_open_files integer 10
sessions integer 335
sga_max_size big integer 1000M
sga_target big integer 0
shadow_core_dump string partial
shared_memory_address integer 0
shared_pool_reserved_size big integer 25M
shared_pool_size big integer 500M
shared_server_sessions integer
shared_servers integer 0
skip_unusable_indexes boolean TRUE
smtp_out_server string
sort_area_retained_size integer 0
sort_area_size integer 65536
NAME TYPE VALUE
spfile string /u01/app/oracle/product/11.1.0
.7/dbs/spfileqecgpoca.ora
sql92_security boolean FALSE
sql_trace boolean FALSE
sql_version string NATIVE
sqltune_category string DEFAULT
standby_archive_dest string ?/dbs/arch
standby_file_management string AUTO
star_transformation_enabled string FALSE
statistics_level string TYPICAL
streams_pool_size big integer 0
NAME TYPE VALUE
tape_asynch_io boolean TRUE
thread integer 0
timed_os_statistics integer 0
timed_statistics boolean TRUE
trace_enabled boolean TRUE
tracefile_identifier string
transactions integer 368
transactions_per_rollback_segment integer 5
undo_management string AUTO
undo_retention integer 900
undo_tablespace string UNDOTBS1
sort_area_retained_size integer 0
sort_area_size integer 65536
NAME TYPE VALUE
spfile string /u01/app/oracle/product/11.1.0
.7/dbs/spfileqecgpoca.ora
sql92_security boolean FALSE
sql_trace boolean FALSE
sql_version string NATIVE
sqltune_category string DEFAULT
standby_archive_dest string ?/dbs/arch
standby_file_management string AUTO
star_transformation_enabled string FALSE
statistics_level string TYPICAL
streams_pool_size big integer 0
NAME TYPE VALUE
tape_asynch_io boolean TRUE
thread integer 0
timed_os_statistics integer 0
timed_statistics boolean TRUE
trace_enabled boolean TRUE
tracefile_identifier string
transactions integer 368
transactions_per_rollback_segment integer 5
undo_management string AUTO
undo_retention integer 900
undo_tablespace string UNDOTBS1
NAME TYPE VALUE
use_indirect_data_buffers boolean FALSE
user_dump_dest string /u01/app/oracle/admin/qecgpoca
/diagnostic/diag/rdbms/qecgpoc
a/qecgpoca/trace
utl_file_dir string
workarea_size_policy string AUTO
xml_db_events string enableThanks
Prakash -
Oracle databaguard maximum maximum availability mode
Hi All,
My database is in maximum availability mode at 9.2.0.8:
SQL> select protection_mode from v$database;
PROTECTION_MODE
MAXIMUM AVAILABILITY
SQL> show parameter log_archive_dest_2
NAME TYPE VALUE
log_archive_dest_2 string SERVICE=XXX.world LGWR SYNC
AFFIRM,
SQL>
Oracle Documentation says:
Maximum availability mode provides the highest level of data protection that is possible without affecting the availability of the primary database. This protection mode is very similar to maximum protection where a transaction will not commit until the redo data needed to recover that transaction is written to both the local (online) redo log and to at least one remote standby redo log. Unlike maximum protection mode; however, the primary database will not shut down if a fault prevents it from writing its redo data to a remote standby redo log. Instead, the primary database will operate in maximum performance mode until the fault is corrected and all log gaps have been resolved. After all log gaps have been resolved, the primary database automatically resumes operating in maximum availability mode.
and it also says.....
The NET_TIMEOUT attribute of the LOG_ARCHIVE_DEST_n parameter specifies the number of seconds the log writer process on the primary system waits for status from the network server process before terminating the network connection. The NONET_TIMEOUT attribute reverses or undoes the timeout value that you previously specified with the NET_TIMEOUT attribute.
If you do not specify the NET_TIMEOUT attribute (or if you specify the NONET_TIMEOUT attribute, the primary database can potentially stall. To avoid this situation, specify a small, nonzero value for the NET_TIMEOUT attribute so the primary database can continue operation after the user-specified timeout interval expires when waiting for status from the network server.
If the log writer process detects a network disconnection, even one that was terminated due to a network timeout, the log writer process automatically tries to reconnect to the standby database. The log writer process does this to resolve network brownouts and false network terminations. In most cases, except when the network is physically broken, the log writer process is able to automatically reconnect to the network.
The log writer process continually attempts to reconnect to the standby database for a period of time that depends on the data protection mode currently set for the primary database. Use the following time estimates as a guideline for how long the log writer process will try to reconnect to the standby database:
In maximum protection mode, the log writer process tries to reconnect for approximately 5 minutes.
In maximum availability mode, the log writer process tries to reconnect for approximately 2 minutes.
In maximum performance mode, the log writer process tries to reconnect for approximately 30 seconds.
question is:
1>Does that mean if primary database is in maximum availability mode and if there is network issue and it cannot communicate with standby database, it will freeze or stall for 2 minutes and then operate in maximum performance mode.
That freeze for 2 minutes in production is pain :(
2>Does it also mean,
In maximum performance mode primary database will freeze fro 30 seconds and then move on.
3> To convert from maximum availability to maximum performance do I need to bounce the primary database at 9.2.0.8I guess I haven't asked the question correctly,
I have asked 2 different question:
1> do you need to mount your database to downgrade the protection mode, I needed confirmation for that at 9.2.0.8
below is link which shows how to downgrade mode:
http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard_9i/DG_70.shtml
2> question is all together seperate,
staying in maximum availability mode what happens if you use 'LGWR ASYNC' or 'ARCH' for log shipping.
Why I am asking this question is because, oracle recommends to use 'LGWR SYNC AFFiRM' for maximum availability mode.
I have tried before 'LGWR ASYNC' or 'ARCH' in maximum availability mode and it worked.
Has any one tried 'LGWR ASYNC' or 'ARCH' in maximum protection mode. does db freezes or stalls.
3> When database stalls for 2 miuntes when it cannot connect to dataguard in maximum availability mode, I cannot see any trace files generated, nothing is written in alert log and nothing in listener.log -
Database shutdowns in Maximum Protection mode
Hi,
I am using oracle dataguard 11g(11.2.0.1.0) on OEL5. My dataguard is working fine in MAXIMUM PERFORMANCE mode. But when i try to put my database mode in MAXIMUM PROTECTION MODE my database gets shutdown.What could be the possible reason for this????
Regards,
007Hello;
Quote "To ensure that data loss cannot occur, the primary database will shut down, rather than continue processing transactions, if it cannot write its redo stream to at least one synchronized standby database"
Section - 1.4 Data Guard Protection Modes - Data Guard Concepts and Administration 11g Release 2 (11.2) E10700-02
From section 5.1 of the same document ( Maximum Protection )
"Oracle recommends that a minimum of two standby databases be used to
protect a primary database that runs in maximum protection mode to prevent a single
standby database failure from causing the primary database to shut down."
Best Regards
mseberg -
Maximum Availability to Maximum Performance.
steps to change from Maximum Availability to Maximum Performance.
SQL> select protection_mode from v$database;
PROTECTION_MODE
MAXIMUM AVAILABILITY
we need to come down to maximum performance mode due to some performance issues..any suggestions for the steps?Hi Raman,
Perform below steps:
1) shutdown immediate
2) Startup mount
3)SQL> ALTER DATABASE SET STANDBY DATABASE TO MAXIMIMUM PERFORMANCE;
4)SQL> ALTER DATABASE OPEN;
Note: Issue all these commands on primary server
Hope this should work
Regards,
X A H E E R -
How to export as mp4 and achieve effect of "fast start" in mov export
When exporting as a .mov one can check the "fast start" prepare for internet streaming option. This option allows the end user to start watching your video without waiting for the entire file to buffer/download. That's great.
However, when export as a .mp4 file, the same option does not exist.
Does anyone know how to achieve this "fast start" effect if exporting as an mp4?
I have an existing work around...just rename the .mov to .mp4.
I would like an .mp4 file because I use ezs3 to host my videos and the mp4 player options are far superior to the mov player options.
Thanks for your help.I'm having the same problem. I want to export an .mp4 that can start playing as soon as it starts downloading from a web site. Until I can find a solution, I'm using .m4v files, but they're huge.
Does anyone have a solution?
Maybe you are looking for
-
Acrobat XI Pro install errors 1935 &1603
Hi, I have just upgraded from CS3 and run the Creative Cloud installer app but am having problems with Acrobat (whereas Indesign and Photoshop installed fine) on my workstation that is running Win 7 64-bit. I have therefore uninstalled all Adobe prod
-
How do I transfer emails from Entourage to imail?
I recently downloaded Lion OS and I need to start using imail instead of Entourage. How do I tranfer over all of my old emails and files?
-
Help Please....Missing Fonts
After a recent archive and reinstall, I opened iWeb and received the message, "The following errors occurred while trying to open this document." Apparently, I am missing the following fonts: CourierNewPSMT Handwriting-Dakota AcademyEngravedLetPlain
-
Hi All, Is their a way to permanently set local currency at query level. Or do we have to set the currency conversion on all the fields. Kind Regards James
-
i am using native methods. function is in c and i have made dll. but while using system.loadlibray("dllfile"); i got ther error unstaisfied link error. plz repl me at [email protected]