Created
October 25, 2015 10:02
-
-
Save gghatano/bb9ac9569f547cdf9583 to your computer and use it in GitHub Desktop.
test.ora
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- まずはpfileからspfileをつくること | |
-- ログインして, | |
-- create spfile from pfile='場所' | |
-- initorcl.ora | |
-- /oracle_home/dbs/initorcl.ora | |
-- 既存システムのPFILEを見る | |
-- SPFILEを作る | |
-- 必要なら, NLSパラメータを見る(select * from nls_parameters) | |
-- データベースの削除 | |
-- dbcaでやる あるいは | |
-- STARTUP RESTRICT MOUNT | |
-- DROP DATABASE ; | |
db_name='orcl' | |
-- db_domain = '' | |
control_files=('/u01/app/oracle/oradata/orcl/control01.ctl', | |
'/u01/app/oracle/oradata/orcl/control02.ctl', | |
'/u01/app/oracle/oradata/orcl/control03.ctl') | |
-- memory | |
sga_target = 4G | |
-- default : 0 | |
pga_aggregate_target = 3G | |
-- default : 10MかSGAの20% | |
processes = 150 | |
-- 今の社員の半分 | |
db_block_size=8192 | |
-- 推奨事項 | |
-- archive | |
db_recovery_file_dest='/disk2/backup' | |
db_recovery_file_dest_size=4G | |
log_archive_dest_2='/disk1/backup' | |
log_archive_dest_3='/u01/app/backup' | |
-- nls周りの設定 | |
-- selct * from v$nls_parametersする | |
undo_tablespace='undo' | |
undo_management = AUTO | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment