Sample Initialization PFILE (Parameter File)

A Oracle possui em suas documentações uma amostra simples de um arquivo pfile para caso queiramos tomar por referência (como neste exemplo AQUI.)

Segue abaixo um sem preenchimento e outro com exemplos:

##############################################################################
# Example INIT.ORA file
#
# This file is provided by Oracle Corporation to help you start by providing
# a starting point to customize your RDBMS installation for your site. 
# 
# NOTE: The values that are used in this file are only intended to be used
# as a starting point. You may want to adjust/tune those values to your
# specific hardware and needs. You may also consider using Database
# Configuration Assistant tool (DBCA) to create INIT file and to size your
# initial set of tablespaces based on the user input.
###############################################################################
  
# Change '<ORACLE_BASE>' to point to the oracle base (the one you specify at
# install time)
  
db_name='ORCL'
memory_target=1G
processes = 150
db_block_size=8192
db_domain=''
db_recovery_file_dest='<ORACLE_BASE>/flash_recovery_area'
db_recovery_file_dest_size=2G
diagnostic_dest='<ORACLE_BASE>'
dispatchers='(PROTOCOL=TCP) (SERVICE=ORCLXDB)'
open_cursors=300 
remote_login_passwordfile='EXCLUSIVE'
undo_tablespace='UNDOTBS1'
# You may want to ensure that control files are created on separate physical
# devices
control_files = (ora_control1, ora_control2)
compatible ='12.0.0'

Exemplo:

##############################################################################
# Example INIT.ORA file
#
# This file is provided by Oracle Corporation to help you start by providing
# a starting point to customize your RDBMS installation for your site. 
# 
# NOTE: The values that are used in this file are only intended to be used
# as a starting point. You may want to adjust/tune those values to your
# specific hardware and needs. You may also consider using Database
# Configuration Assistant tool (DBCA) to create INIT file and to size your
# initial set of tablespaces based on the user input.
###############################################################################
  
# Change '<ORACLE_BASE>' to point to the oracle base (the one you specify at
# install time)
  
db_name='BSS'
memory_target=2G
processes = 150
db_block_size=8192
db_recovery_file_dest='/restore/BSS'
db_recovery_file_dest_size=2G
diagnostic_dest='/restore/BSS'
dispatchers='(PROTOCOL=TCP) (SERVICE=ORCLXDB)'
open_cursors=300 
remote_login_passwordfile='EXCLUSIVE'
undo_tablespace='UNDOTBS1'
# You may want to ensure that control files are created on separate physical
# devices
control_files = ('/restore/BSS/controlfile.ctl1', '/restore/BSS/controlfile.ctl2')
compatible ='12.0.0'

Leave a Comment

Your email address will not be published.