viernes, 28 de agosto de 2009

Configuracion Archivos Oracle

Archivo Init.ora

cd $ORACLE_HOME/dbs

letodb.__db_cache_size=7633633280
letodb.__java_pool_size=134217728
letodb.__large_pool_size=2147483648
letodb.__shared_pool_size=2248146944
letodb.__streams_pool_size=134217728
*._awr_flush_threshold_metrics=TRUE
*._bloom_filter_enabled=FALSE
*.audit_file_dest='/u01/app/oracle/admin/letodb/adump'
*.audit_sys_operations=TRUE
*.audit_trail='OS'
*.background_dump_dest='/u01/app/oracle/admin/letodb/bdump'
*.compatible='10.2.0.1.0'
*.control_files='/u01/letodb/control01.ctl','/u02/letodb/control02.ctl','/u01/letodb/control03.ctl'#Restore Controlfile
*.core_dump_dest='/u01/app/oracle/admin/letodb/cdump'
*.cursor_sharing='SIMILAR'
*.db_block_size=8192
*.db_cache_size=1024,M
*.db_create_file_dest='/u01/letodb'
*.db_domain=''
*.db_file_multiblock_read_count=64
*.db_keep_cache_size=536870912
*.db_name='letodb'
*.db_recovery_file_dest='/u02/app/oracle/flash_recovery_area'
*.db_recovery_file_dest_size=429496729600
*.dispatchers='(PROTOCOL=TCP)(dispatchers=50)'
*.fast_start_mttr_target=300
*.java_pool_size=134217728
*.job_queue_processes=20
*.large_pool_size=2147483648
*.log_archive_dest_1=''
*.log_archive_dest_10='LOCATION=USE_DB_RECOVERY_FILE_DEST'
*.log_archive_dest_2=''
*.log_archive_format='archive_%T_%S_%R'
*.log_checkpoints_to_alert=TRUE
*.max_dispatchers=2000
*.max_dump_file_size='5242880'
*.max_shared_servers=500
*.nls_date_format='dd-mm-yyyy'
*.nls_language='LATIN AMERICAN SPANISH'
*.nls_territory='COLOMBIA'
*.nls_timestamp_format='dd-mm-yyyy hh24:mi:ss.ff'
*.nls_timestamp_tz_format='dd-mm-yyyy hh24:mi:ss.ff TZH:TZM'
*.open_cursors=3000
*.optimizer_mode='FIRST_ROWS_100'
*.parallel_max_servers=64
*.parallel_min_servers=64
*.pga_aggregate_target=1073741824
*.processes=4500
*.query_rewrite_enabled='FALSE'
*.remote_login_passwordfile='EXCLUSIVE'
*.resource_limit=TRUE
letodb.resource_manager_plan='SPE_PLAN'
*.resource_manager_plan='SYSTEM_PLAN'
*.session_cached_cursors=1000
*.sessions=3000
*.sga_max_size=16106127360
*.sga_target=12884901888
*.shared_pool_reserved_size=213909504
*.shared_pool_size=2147483648
*.shared_servers=25
*.sort_area_retained_size=0
*.sql_trace=FALSE
*.statistics_level='TYPICAL'
*.streams_pool_size=128M
*.timed_statistics=TRUE
*.undo_management='AUTO'
*.undo_retention=7200
*.undo_tablespace='UNDO'
*.user_dump_dest='/u01/app/oracle/admin/letodb/udump'
*.utl_file_dir='/tmp'

Archivo listener.ora

# listener.ora Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = letodb)
(SID_NAME = letodb)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0)
)
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0)
(PROGRAM = extproc)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = CT1BOSUNBD-SPE1)(PORT = 1521))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
)

SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF


Archivo tnsnames.ora


# tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.2.0/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.

LETODB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.101.13)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = LETODB)
)
)

CAT10G =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dboraclenew)(PORT = 1528))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = cat10g)
)
)

Archivo Oratab

-bash-3.00$ pwd
/var/opt/oracle
-bash-3.00$ cat oratab
#



# This file is used by ORACLE utilities. It is created by root.sh
# and updated by the Database Configuration Assistant when creating
# a database.

# A colon, ':', is used as the field terminator. A new line terminates
# the entry. Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
# $ORACLE_SID:$ORACLE_HOME::
#
# The first and second fields are the system identifier and home
# directory of the database respectively. The third filed indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE_SID are not allowed.
#
#
letodb:/u01/app/oracle/product/10.2.0:N
-bash-3.00$