將rac資料庫改為單機資料庫需要修改的引數

paulyibinyi發表於2009-01-13

    昨天晚上參與了將一個rac資料庫改為單機,由於應用的需求跑在rac上問題比較多,決定改為單機

 以下記錄下修改的引數

create pfile from spfile;

vi inittest.ora

> more inithz*
*.aq_tm_processes=0
*.cluster_database_instances=1      這個由2改為1
*.cluster_database=false    這個由true改為false
*.compatible='9.2.0.0.0'
*.db_block_size=8192
rac1.db_cache_size=6291456000
#rac2.db_cache_size=3145728000   --這個註釋掉
*.db_cache_size=3145728000
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='hzpcs'
*.fast_start_mttr_target=300
*.hash_join_enabled=TRUE
rac1.instance_name='rac1'
#rac2.instance_name='rac2'     --這個註釋掉
rac1.instance_number=1
#rac2.instance_number=2
*.java_pool_size=115343360
*.job_queue_processes=10
rac1.local_listener='LISTENER_rac1'
#rac2.local_listener='LISTENER_rac2'     --這個註釋掉
*.log_archive_dest_1='LOCATION=/oracle/archlog1'
*.log_archive_start=TRUE
*.open_cursors=900
rac1.pga_aggregate_target=2097152000
#rac2.pga_aggregate_target=1048576000    --這個註釋掉
*.processes=1000
*.query_rewrite_enabled='FALSE'
*.remote_listener='LISTENERS_rac'     --這個註釋掉
*.remote_login_passwordfile='exclusive'
rac1.shared_pool_size=1258291200
#rac2.shared_pool_size=838860800
*.shared_pool_size=838860800
*.sort_area_size=524288
*.star_transformation_enabled='FALSE'
#rac2.thread=2              --這個註釋掉
rac1.thread=1
*.timed_statistics=TRUE
*.undo_management='AUTO'
*.undo_retention=10800
*.undo_tablespace='UNDOTBS1'
rac1.undo_tablespace='UNDOTBS1'
#rac2.undo_tablespace='UNDOTBS2'    --這個註釋掉

 

再建立回spfile;

create spfile from pfile;



來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-538094/,如需轉載,請註明出處,否則將追究法律責任。

相關文章