Sie sind auf Seite 1von 1

-- spool alter_system_###_PRIMARY_DATABASE_###.

log
-- alter system set audit_trail='NONE' scope=spfile; # added for
DG need for open read only
-- alter system set db_unique_name='###_PRIMARY_DATABASE_###' comment ='# added for
DG' scope=spfile sid='*';
alter system set
db_file_name_convert='###_STANDBY_DATA_DG_###/###_STANDBY_DATABASE_###','###_PRIMAR
Y_DATA_DG_###/###_PRIMARY_DATABASE_###' comment='# added for DG' scope=spfile
sid='*';
alter system set
log_file_name_convert='###_STANDBY_FLASH_DG_###/###_STANDBY_DATABASE_###','###_PRIM
ARY_FLASH_DG_###/###_PRIMARY_DATABASE_###',
'###_STANDBY_DATA_DG_###/###_STANDBY_DATABASE_###','###_PRIMARY_DATA_DG_###/###_PRI
MARY_DATABASE_###' comment='# added for DG' scope=spfile sid='*';
alter system set db_recovery_file_dest_size=32g comment='# added for DG' scope=both
sid='*';
alter system set db_recovery_file_dest='###_PRIMARY_FLASH_DG_###' comment='# added
for DG' scope=both sid='*';
alter system set event='10298 trace name context forever, level 32' comment='#
added for RMAN backup on NFS file system' scope=spfile sid='*';
alter system set fal_client='###_PRIMARY_DATABASE_###_PRI' comment='# added for DG
Net service name in prim tnsnames.ora points to Stdby' scope=both sid='*';
alter system set fal_server='###_PRIMARY_DATABASE_###_STDBY' comment='# added for
DG Net service name in stdby tnsnames.ora points to Primary' scope=both sid='*';
alter system set
log_archive_config='DG_CONFIG=(###_PRIMARY_DATABASE_###,###_STANDBY_DATABASE_###)'
comment='# added for DG primary followed by standby db unique name' scope=both
sid='*';

alter system set standby_file_management='AUTO' comment='# added for DG' scope=both


sid='*';
alter system set
log_archive_config='DG_CONFIG=(###_PRIMARY_DATABASE_###,###_STANDBY_DATABASE_###)'
comment='# added for DG primary followed by standby db unique name' scope=both
sid='*';
alter system set log_archive_dest_1='LOCATION=###_PRIMARY_FLASH_DG_###
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=###_PRIMARY_DATABASE_###' comment='# added for DG' scope=both
sid='*';
alter system set log_archive_dest_2='SERVICE=###_PRIMARY_DATABASE_###_STDBY lgwr
async reopen=30
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=###_STANDBY_DATABASE_###' comment='# added for DG' scope=both
sid='*';
alter system set log_archive_dest_state_1='enable' comment='# added for DG'
scope=both sid='*';
alter system set log_archive_dest_state_2='enable' comment='# added for DG'
scope=both sid='*';
-- alter system set standby_archive_dest='###_STANDBY_FLASH_DG_###';

alter system set parallel_execution_message_size=8192 scope=spfile sid='*';


alter system set log_archive_max_processes=5 scope=spfile sid='*';

!/sbin/sysctl -a |grep -i tcp_[rw]mem

spool off

Das könnte Ihnen auch gefallen