DB CFG Config File
-
Upload
alinawazahmed4 -
Category
Documents
-
view
222 -
download
0
description
Transcript of DB CFG Config File
-
| Print | Close |
Database configuration file parameters
Table 1: Descriptions of database configuration file parameters
Parameter Description Value Default
app_ctl_heap_sz Sets the total memory
size allowed for the
application control heap.
0-64,000 4k pages 128
appgroup_mem_sz Sets the total size of the
memory segment shared
by the application group.
1-1,000,000 4k pages 10,000
applheapsz Sets the number of
memory pages that only
the DB2 Database
Manager can use for an
agent.
16-60,000 4k pages 256
autorestart Enables or disables the
DB2 Database Manager
to restarting automatically
when it is in an
inconsistent state.
ON OFF ON
avg_appls Sets the average number
of applications accessing
the database.
1-maxappls 1
backup_pending A read-only parameter
that determines whether
a database should be
backed up.
None None
blk_log_dsk_ful Indicates whether
applications should
freeze if a log full error
occurs.
YES NO NO
buffpage Sets the buffer pool size
for buffer pool
commands executed with
the NPAGES parameter
set to 1.
2-524,288 pages 250
Windows
1000 UNIX
catalogcache_sz Indicates the total
memory needed to
cache system catalog
information.
-1 8-524,288 4k pages -1
chngpgs_thresh Indicates the percentage
of buffer pool pages that
must be altered before
the asynchronous page
cleaners start.
5-99% 60
Supplement Window https://xlibrary.skillport.com/courseware/cbtlib/217408/217416/eng/thin/...
1 of 8 2/1/2015 3:19 PM
-
Parameter Description Value Default
codepage A read-only parameter
that identifies the code
page.
None None
codeset A read-only parameter
that identifies the code
set.
None None
collate_info A read-only parameter
that indicates the
database's collating
sequence.
None None
copy_protect Enables or disables copy
protection for the
database.
YES NO NO
country A read-only parameter
that identifies the
database's territory code.
None None
database_consistent A read-only parameter
that indicates whether the
database is in an
inconsistent state.
None None
database_level A read-only parameter
that indicates the DB2
Database Manager
version that's able to use
the database.
None None
database_memory Reserves a minimum
amount of shared
memory used by the
database.
AUTOMATIC
0-1,294,967,295 4K
pages
AUTO-MATIC
dbheap Sets the database heap
size that stores open
cursor control
information.
AUTOMATIC
32-524,288 4K pages
dft_degree Sets the CURRENT
DEGREE special
register and DEGREE
bind option values.
-1 1-32,767 1
dft_extent_sz Sets the extent size used
when table spaces are
created.
2-256 4K pages 32
dft_loadrec_ses Sets the number of load
recovery session used
for a table load operation
recovery.
1-30,000 1
dft_prefetch_sz Indicates the prefetch
size used when table
spaces are created.
0-32,767 4K pages 16
Windows
32 UNIX
Supplement Window https://xlibrary.skillport.com/courseware/cbtlib/217408/217416/eng/thin/...
2 of 8 2/1/2015 3:19 PM
-
Parameter Description Value Default
dft_queryopt Indicates the query
optimization class used
by the DB2 Optimizer
when performing SQL
queries.
0-9 5
dft_refresh_age Sets the value of the
refresh age used by
summary tables.
ANY
0-99,999,999,999,999
0
dft_sqlmathwarn Determines whether
arithmetic and retrieval
conversion errors are
errors or warnings.
YES NO NO
dir_obj_name Indicates the name of the
object that represents the
database manager
instance.
A valid string of
characters
NULL
discover_db Determines whether
database information
prompted by a discovery
request is returned to a
client.
ENABLE DISABLE ENABLE
dl_expint Sets the time period in
which a Db2 Data Links
Manager file access
token remains valid.
1-31,536,000 seconds 60
dl_num_copies Indicates the extra
number of copies of a file
- linked to the database
should be made in the
archive server.
0-15 0
dl_time_drop Indicates the time period
for files to remain on the
archive server after the
DROP command is
issued on a table,
database, or table space.
0-365 days 0
dl_token Indicates the algorithm to
use when generating
DATALINK file access
control tokens.
MACO MAC1 MACO
dl_upper Indicates whether file
access control tokens
are able to use
uppercase and
lowercase letters or only
uppercase letters.
YES NO YES
dl_wt_iexpint Indicates the time period
for which a write token is
valid.
1-31,536,000 seconds 60
Supplement Window https://xlibrary.skillport.com/courseware/cbtlib/217408/217416/eng/thin/...
3 of 8 2/1/2015 3:19 PM
-
Parameter Description Value Default
dlchktime Sets the frequency for
the Database Manager to
check for application
deadlocks.
1,000-600,000
milliseconds
10,000
dyn_query_mgmt Enables or disables
queries that exceed
thresholds from being
trapped by the DB2
Query Patroller.
ENABLE DISABLE DISABLE
estore_seg_sz Indicates the number of
pages the extended
memory segments of the
database store.
0-1,048,575 4k pages 16,000
groupheap_ratio Indicates the percentage
of memory that's
dedicated to the
application group heap.
1-99% 70
indexrec Indicates when invalid
indexes should be
recreated when the
database is accessed or
when it is restarted.
SYSTEM ACCESS
RESTART
SYSTEM
indexsort Determines whether
index keys are sorted
during index creation.
YES NO YES
locklist Indicates the total
memory allowed for
holding the lock list.
4-60,000 4k pages 25,50
Windows
100 UNIX
locktimeout Indicates the time an
application waits to
receive a lock before
timing out.
-1 0-30,000 -1
log_retain_status A read-only parameter
that indicates whether log
files should be retained
for roll-forward recovery
operations.
None None
logbufsz Sets the total memory
assigned to buffer log
records before being
written to disk.
4-4096 4k pages 8
logfilsiz Indicates the disk
storage space allowed
for log files used for data
recovery.
4-262,144 4K pages 250
Windows
1,000 UNIX
loghead A read-only parameter
that indicates the log file
None None
Supplement Window https://xlibrary.skillport.com/courseware/cbtlib/217408/217416/eng/thin/...
4 of 8 2/1/2015 3:19 PM
-
Parameter Description Value Default
name of the last recorded
log file located at the
head of the active log.
logpath A read-only parameter
that indicates the path
used to access log files.
None None
logprimary Indicates how many
primary log files will be
used for transaction
logging.
2-256 3
logretain Indicates whether to
retain active log files as
archived log files for
recovery operations.
RECOVERY NO NO
logsecond Indicates how many
secondary log files will
be used for transaction
logging.
-1 0-254 2
max_log Indicates the maximum
amount of active log
space a transaction uses.
0s-100% 0
maxappls Indicates the total
number of applications
that can connect to the
database at one time.
AUTOMATIC 1-60,000 AUTO-MATIC
maxfilop Sets the total number of
database files that can be
opened simultaneously
by an application.
2-32,768 Windows
2-1,950 UNIX
64
maxlocks Indicates the percentage
of the lock list an
application can use.
1-100 22
Windows
10 UNIX
min_dec_div_3 Determines whether
decimal division
arithmetic operations
have a scale of 3.
YES NO NO
mincommit Indicates how many
COMMIT SQL
statements should be
processed before writing
log records to disk.
1-25 1
mirrorlogpath Indicates the storage
location of the second
copies of the primary and
secondary log files.
A valid string of
characters
NULL
Supplement Window https://xlibrary.skillport.com/courseware/cbtlib/217408/217416/eng/thin/...
5 of 8 2/1/2015 3:19 PM
-
Parameter Description Value Default
multipage_alloc A read-only parameter
that determines whether
SMS tablespace storage
space is allocated one
page or one extent at a
time.
None None
newlogpath Indicates the new
storage location of the
primary and secondary
log files.
A valid string of
characters.
NULL
num_db_backups Indicates how many
database backup images
should be retained for a
database.
1-32,768 12
num_estore_segs Indicates how many
extended storage
memory segments are
available to the database.
0-2,147,483,647 0
num_freqvalues Sets the number of most
frequent values to be
collected when the
RUNSTATS command is
executed with the WITH
DISTRIBUTION option.
0-32,767 10
num_iocleaners Indicates the number of
asynchronous page
cleaners the database
uses.
0-255 1
num_ioservers Indicates how many I/O
servers the database
uses.
1-255 3
num_log_span Determines how many
active log files an active
transaction can span.
0-65,535 0
num_quantities Sets the number of
quantities to be collected
when the RUNSTATS
command is executed
with the WITH
DISTRIBUTION option.
0-32,767 20
numsegs A read-only parameter
that indicates the number
of containers created
within the SMS
tablespaces.
None None
overflowlogpath Indicates the storage
location of active log files
required to rollback
A valid string of
characters
NULL
Supplement Window https://xlibrary.skillport.com/courseware/cbtlib/217408/217416/eng/thin/...
6 of 8 2/1/2015 3:19 PM
-
Parameter Description Value Default
operations.
pckcachesz Sets the amount of
application memory used
to cache packages.
-1 32-64,000 4k pages -1
rec_his_retentn Indicates how many days
to retain historical
information on backups.
-1 0-30,000 days 366
release A read-only parameter
that indicates the version
of the database
configuration file.
None None
restore_pending A read-only parameter
that indicates whether the
database is in a state of
Restore Pending.
None None
rollfwd_pending A read-only parameter
that indicates whether the
database requires a
roll-forward recovery
procedure.
None None
seqdetect Enables or disables
sequential detection for
the database.
YES NO YES
sheapthres_shr Sets the total amount of
memory used at one time
to perform sort
operations.
250-2,097,152 4k
pages
Sortheap
softmax Sets the total amount of
log file space percentage
that is consumed before
soft checkpoint is taken.
1-100 logprimary 100
sortheap Sets the total amount of
memory available for sort
operations.
16-524,288 4kpages 256
stat_heap_sz Sets the total heap space
size used for creating
and collecting table
statistics.
1,096-524,288
4kpages
4384
stmtheap Sets the heap size used
when compiling SQL
statements.
128-65,535 4kpages 2048
territory A read-only parameter
that indicates the
database territory.
None None
trackmod Indicates whether
tracking is enabled for
database modifications
YES NO NO
Supplement Window https://xlibrary.skillport.com/courseware/cbtlib/217408/217416/eng/thin/...
7 of 8 2/1/2015 3:19 PM
-
Parameter Description Value Default
made when an
incremental backup is
performed.
tsm_mgmtclass Determines how the
server manages object
backup versions.
A valid string of
characters.
NULL
tsm_nodename Indicates the TSM
product node name.
A valid string of
characters.
NULL
tsm_owner Indicates the TSM
product owner.
A valid string of
characters.
NULL
tsm_password Sets the TSM product's
password.
A valid string of
characters.
NULL
userexit Indicates whether a user
exit program is to be
called for roll-forward
recovery operations.
YES NO NO
user_exit_status A read-only parameter
that determines whether
to store archive log files
with a user exit function.
None None
util_heap_sz Indicates the total amount
of shared memory that
the backup, restore, and
load utilities can use
simultaneously.
16-524,288 4Kpages 5000
Copyright 2004 SkillSoft PLC. All rights reserved.SkillSoft and the SkillSoft logo are trademarks or registered trademarks
of SkillSoft PLC in the United States and certain other countries.All other logos or trademarks are the property of their respective owners.
Supplement Window https://xlibrary.skillport.com/courseware/cbtlib/217408/217416/eng/thin/...
8 of 8 2/1/2015 3:19 PM