Академический Документы
Профессиональный Документы
Культура Документы
PARAMETER DESCRIPTION
------------------------------ ----------------------------------------
ACTIVE_INSTANCE_COUNT = int Active instances in the cluster
AQ_TM_PROCESSES = int Number of AQ Time Managers to start
ARCHIVE_LAG_TARGET = int Max no. seconds of redos the standby
could lose
asm_diskgroups = string Disk groups to mount automatically
asm_diskstring = string Disk set locations for discovery
asm_power_limit = int Number of processes for disk rebalancing
AUDIT_FILE_DEST = 'directory' Directory in which auditing files are to
reside
AUDIT_SYS_OPERATIONS = {TRUE|FALSE}
AUDIT_TRAIL = {NONE | FALSE | DB | TRUE | OS} Enable system auditing 9i
AUDIT_TRAIL = {NONE | DB | DB_EXTENDED| OS} Enable system auditing 10g
Page 1 of 12
CURSOR_SPACE_FOR_TIME = {TRUE|FALSE}
CURRENT_SCHEMA = schema Change the current schema of the session
Page 2 of 12
ERROR_ON_OVERLAP_TIME = {TRUE | FALSE}
ENQUEUE_RESOURCES = int Resources for enqueues
EVENT = debug_string Debug event control
GC_FILES_TO_LOCKS = '{file_list=lock_count[!blocks][EACH][:...]}'
RAC/OPS - lock granularity number of
global cache locks per file (DFS)
GCS_SERVER_PROCESSES = int Number of background gcs server
processes to start
GLOBAL_CONTEXT_POOL_SIZE = {1 MB | int MB}
GLOBAL_NAMES = {TRUE | FALSE} Enforce that database links have same
name as remote database
Page 3 of 12
JAVA_POOL_SIZE = int [bytes]
JAVA_SOFT_SESSIONSPACE_LIMIT = int
JOB_QUEUE_PROCESSES = int
Page 4 of 12
MAX_DISPATCHERS = int Max number of dispatchers
MAX_DUMP_FILE_SIZE = {size bytes|UNLIMITED} [DEFERRED]
MAX_ENABLED_ROLES = int Max number of roles a user can have
enabled
MAX_ROLLBACK_SEGMENTS = int Max number of rollback segments in SGA
cache
MAX_SHARED_SERVERS = int Max number of shared servers]
mts_circuits = int Max number of circuits (10g see CIRCUITS)
mts_dispatchers Specifications of dispatchers (10g see
DISPATCHERS)
MTS_LISTENER_ADDRESS Address(es) of network listener [CHAR]
mts_max_dispatchers Max number of dispatchers (10g see
MAX_DISPATCHERS)
mts_max_servers Max number of shared servers (10g see
MAX_SHARED_SERVERS)
MTS_MULTIPLE_LISTENERS = {TRUE|FALSE} Are multiple listeners enabled?
MTS_SERVERS = int Number of shared servers to start up [NUMBER]
mts_service = string Service supported by dispatchers [CHAR]
mts_sessions = int max number of shared server sessions [NUMBER]
Page 5 of 12
OBJECT_CACHE_MAX_SIZE_PERCENT = int DEFERRED Space for application
objects Max
OBJECT_CACHE_OPTIMAL_SIZE = int DEFERRED Space for application
objects Min
OLAP_PAGE_POOL_SIZE =int bytes
OPEN_CURSORS = int Max # cursors per session
OPEN_LINKS = int Max # open links per Session
OPEN_LINKS_PER_INSTANCE = int Max # open links per instance
OPTIMIZER_DYNAMIC_SAMPLING = int
OPTIMIZER_FEATURES_ENABLE = {8.0.0|8.0.3|8.0.4|8.0.5|8.0.6|8.0.7|8.1.0|
8.1.3|8.1.4|8.1.5|8.1.6|8.1.7|9.0.0|9.0.1|9.2.0}
Configure qry optimiser based on an Oracle
release No.
OPTIMIZER_INDEX_CACHING = int Percent to cache (favour nested loop
joins & IN-list)
OPTIMIZER_INDEX_COST_ADJ = int Adjust the cost of index vs FTS
OPTIMIZER_MAX_PERMUTATIONS = int Max join permutations per qry block
OPTIMIZER_MODE = [RULE | CHOOSE | FIRST_ROWS | ALL_ROWS]
oracle_trace_collection_name =collection Name for use by Oracle TRACE
oracle_trace_collection_path =path Path to .cdf & .dat files
(ORACLE_HOME/otrace/admin/cdf)
oracle_trace_collection_size =int bytes Max trace file size
oracle_trace_enable = {TRUE|FALSE} Enable Oracle Trace
oracle_trace_facility_name ={ORACLED | ORACLEE | ORACLESM | ORACLEC}
TRACE event set
oracle_trace_facility_path =path TRACE definition files:
ORACLE_HOME/otrace/admin/fdf/
OS_AUTHENT_PREFIX = prefix Prefix for auto-logon
accounts [string]
OS_ROLES = {TRUE|FALSE} Retrieve roles from the
operating system
Page 6 of 12
PARTITION_VIEW_ENABLED = {TRUE|FALSE} Deprecated (use partition
TABLES)
PGA_AGGREGATE_TARGET = int bytes Automatically size the SQL
working area
plsql_code_type ={INTERPRETED | NATIVE} Code-type
PLSQL_COMPILER_FLAGS = { [DEBUG | NON_DEBUG] [INTERPRETED | NATIVE] }
plsql_debug ={TRUE | FALSE}
plsql_native_c_compiler
plsql_native_library_dir = ['Path_to_directory']
plsql_native_library_subdir_count = int
plsql_native_linker =path Path to linker
plsql_native_make_file_name =path Pathname of make file
plsql_native_make_utility =path Pathname of make utility
plsql_optimize_level Optimize level
PLSQL_V2_COMPATIBILITY = {TRUE | FALSE} [DEFERRED]
plsql_warnings =string Compiler warnings settings
See also DBMS_WARNING and
DBA_PLSQL_OBJECT_SETTINGS
PRE_PAGE_SGA = {TRUE|FALSE} Pre-page sga for process
PROCESSES = int User processes
REMOTE_LISTENER =network_name
REMOTE_LOGIN_PASSWORDFILE ={NONE | SHARED | EXCLUSIVE} Use a
password file
REMOTE_OS_AUTHENT = {TRUE | FALSE} Allow non-secure remote clients
to use
auto-logon accounts
REMOTE_OS_ROLES = {TRUE | FALSE} Allow non-secure remote clients
to use os roles
REPLICATION_DEPENDENCY_TRACKING = {TRUE | FALSE}
RESOURCE_LIMIT = {TRUE | FALSE} Master switch for resource limit
RESOURCE_MANAGER_PLAN = plan_name Turn on Resource Manager plan
resumable_timeout =seconds Set resumable_timeout
Page 7 of 12
ROLLBACK_SEGMENTS = (rbs1 [, rbs2] ... )
ROW_LOCKING = [ALWAYS | DEFAULT | INTENT]
Page 8 of 12
TAPE_ASYNCH_IO = {TRUE | FALSE} Allow I/O requests to tape devices
at the same time as CPU processing
THREAD =int Redo thread to use (RAC)
TIMED_OS_STATISTICS = int Gather OS statistics every x
seconds
TIMED_STATISTICS = {TRUE | FALSE} Collect time statistics
TIME_ZONE = '[+ | -] hh:mm'| LOCAL | DBTIMEZONE | 'time_zone_region'
TRACE_ENABLED = {TRUE | FALSE} Trace execution path (Internal use
only-Oracle support services)
TRACEFILE_IDENTIFIER = "traceid" Trace file custom identifier
TRANSACTION_AUDITING = {TRUE | FALSE} [DEFERRED]
TRANSACTIONS = int Max. number of concurrent active
transactions
TRANSACTIONS_PER_ROLLBACK_SEGMENT = int
Page 9 of 12
SQL_TRACE is an initialization parameter, but when changed in a user session, does not update
V$PARAMETER.
TRANSACTIONS can be changed in the parameter file or using ALTER SYSTEM...SCOPE=SPFILE
Notes
All Byte values can also be specified in K or M or G
e.g. you can enter 8388608 or 8192 K or 8M
All directory paths follow standard notation i.e UNIX 'quotes' or Windows "double quotes"
The default value for many of these parameters does vary across Operating System platforms.
To see the current value of any parameter:
select name,value,description,issys_modifiable
from v$parameter
where name='Some_Parameter'
issys_modifiable, shows the type of parameter:
FALSE = Static parameter that cannot change its value in the lifetime of the instance;
shown in bold in the list above.
IMMEDIATE = dynamic, can change the active instance as well as future database
restarts.
DEFERRED = dynamic, changes only affect subsequent sessions.
'Internal' parameters (starting with _ ) should not be modified unless advised by Oracle Support.
Changing a Parameter value
Use the ALTER SYSTEM command to set parameters:
ALTER SYSTEM set parameter = value SCOPE = MEMORY;
ALTER SYSTEM set parameter = value SCOPE = SPFILE;
ALTER SYSTEM set parameter = value SCOPE = BOTH;
In memory. This affects the database now; but will not remain after a restart.
SpFILE. This does not change the instance immediately, but it will modify the SpFILE so will take
effect after a restart.
Memory and SpFILE changes the current instance as well as the SpFILE.
Some parameters can be modified immediately with ALTER SYSTEM, and some can be modified for
a single session with ALTER SESSION. Static parameters must be modified with scope=SpFile
Restoring default Parameter values
For string parameters, setting to an empty string will restore the default.
ALTER SYSTEM SET parameter = '' scope=SpFILE;
Page 10 of 12
For any parameter the RESET option will restore the default.
ALTER SYSTEM RESET parameter scope=SpFILE sid='*' ;
note
When resetting a parameter, you must specify sid=mySid or sid='*' even for nonRAC instances.
Managing the SpFILE
In Oracle9i and above, the SpFILE is stored in a binary format on the server. You no longer need to
have a local copy to start the database remotely. This also means that changes made via ALTER
SYSTEM may now persist across server restarts without any need to remember to update a
separate init.ora file.
A PFILE (old style text init.ORA) can be created via the command:
CREATE PFILE = 'pfilename' FROM SpFILE = 'filename';
An SpFILE (binary) can be created via the command:
CREATE SpFILE = 'filename' FROM PFILE ='pfilename';
To create an SpFile, the database need not be started, the old pfile format is largely for backwards
compatibility with older releases.
If the system has both a pfile and an SpFile, then Oracle will always use the SpFile.
If the system has both a generic init.ora and an SID specific parameter file, Oracle will use the SID
specific file.
SID specific:
spfileSID.ora or initSID.ora
Generic:
spfile.ora or init.ora
The location for all parameter files is:
ORACLE_HOME\database (Windows)
ORACLE_HOME/dbs (Unix/Linux)
To startup a database with an SpFILE:
SQL> startup
To startup a database with a PFILE, use the pfile= option :
SQL> startup pfile=filename
Examples
ALTER SYSTEM SET log_archive_format = "live%S.ARC" SCOPE = spfile;
ALTER SYSTEM SET shared_pool_size=64M scope=both
Page 11 of 12
SELECT name, value from v$parameter where name = 'spfile';
show parameter spfile;
New parameters in 9.2
audit_sys_operations, dg_broker_start, dg_broker_config_file_n, file_mapping, filesystem_io_options,
log_parallelism, olap_page_pool_size, optimizer_dynamic_sampling, statistics_level.
New parameters in 10G
asm_diskgroups, asm_diskstring, asm_power_limit, db_flashback_retention_target,
db_recovery_file_dest, db_recovery_file_dest_size, db_unique_name, ddl_wait_for_locks,
fileio_network_adapters, gcs_server_processes, instance_type, ldap_directory_access,
log_archive_config, log_archive_local_first, plsql_code_type, plsql_debug, plsql_optimize_level,
plsql_warnings, resumable_timeout, sga_target, smtp_out_server, sp_name, sqltune_category,
streams_pool_size.
"Happiness, wealth, and success are byproducts of goal setting; they cannot be the goal themselves"
Denis Waitley, The Joy of Working
Page 12 of 12