Você está na página 1de 8

Supplement Window

1 of 8

https://xlibrary.skillport.com/courseware/cbtlib/217408/217416/eng/thin/...

| 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

0-64,000 4k pages

128

1-1,000,000 4k pages

10,000

16-60,000 4k pages

256

ON OFF

ON

1-maxappls

None

None

YES NO

NO

2-524,288 pages

250

size allowed for the


application control heap.
appgroup_mem_sz

Sets the total size of the


memory segment shared
by the application group.

applheapsz

Sets the number of


memory pages that only
the DB2 Database
Manager can use for an
agent.

autorestart

Enables or disables the


DB2 Database Manager
to restarting automatically
when it is in an
inconsistent state.

avg_appls

Sets the average number


of applications accessing
the database.

backup_pending

A read-only parameter
that determines whether
a database should be
backed up.

blk_log_dsk_ful

Indicates whether
applications should
freeze if a log full error
occurs.

buffpage

Sets the buffer pool size


for buffer pool

Windows

commands executed with


the NPAGES parameter

1000 UNIX

set to 1.
catalogcache_sz

Indicates the total

-1 8-524,288 4k pages

-1

5-99%

60

memory needed to
cache system catalog
information.
chngpgs_thresh

Indicates the percentage


of buffer pool pages that
must be altered before
the asynchronous page
cleaners start.

2/1/2015 3:19 PM

Supplement Window

2 of 8

https://xlibrary.skillport.com/courseware/cbtlib/217408/217416/eng/thin/...

Parameter

Description

Value

Default

codepage

A read-only parameter

None

None

None

None

None

None

that identifies the code


page.
codeset

A read-only parameter
that identifies the code
set.

collate_info

A read-only parameter
that indicates the
database's collating
sequence.

copy_protect

Enables or disables copy YES NO

NO

protection for the


database.
country

A read-only parameter

None

None

None

None

None

None

Reserves a minimum

AUTOMATIC

AUTO-MATIC

amount of shared

0-1,294,967,295 4K

memory used by the

pages

that identifies the


database's territory code.
database_consistent A read-only parameter
that indicates whether the
database is in an
inconsistent state.
database_level

A read-only parameter
that indicates the DB2
Database Manager
version that's able to use
the database.

database_memory

database.
dbheap

Sets the database heap

AUTOMATIC

size that stores open

32-524,288 4K pages

cursor control
information.
dft_degree

Sets the CURRENT

-1 1-32,767

2-256 4K pages

32

1-30,000

0-32,767 4K pages

16

DEGREE special
register and DEGREE
bind option values.
dft_extent_sz

Sets the extent size used


when table spaces are
created.

dft_loadrec_ses

Sets the number of load


recovery session used
for a table load operation
recovery.

dft_prefetch_sz

Indicates the prefetch


size used when table

Windows

spaces are created.


32 UNIX

2/1/2015 3:19 PM

Supplement Window

3 of 8

https://xlibrary.skillport.com/courseware/cbtlib/217408/217416/eng/thin/...

Parameter

Description

Value

Default

dft_queryopt

Indicates the query

0-9

Sets the value of the

ANY

refresh age used by

0-99,999,999,999,999

optimization class used


by the DB2 Optimizer
when performing SQL
queries.
dft_refresh_age

summary tables.
dft_sqlmathwarn

Determines whether

YES NO

NO

A valid string of

NULL

arithmetic and retrieval


conversion errors are
errors or warnings.
dir_obj_name

Indicates the name of the

object that represents the characters


database manager
instance.
discover_db

Determines whether

ENABLE DISABLE

ENABLE

1-31,536,000 seconds

60

0-15

0-365 days

MACO MAC1

MACO

YES NO

YES

1-31,536,000 seconds

60

database information
prompted by a discovery
request is returned to a
client.
dl_expint

Sets the time period in


which a Db2 Data Links
Manager file access
token remains valid.

dl_num_copies

Indicates the extra


number of copies of a file
- linked to the database
should be made in the
archive server.

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.

dl_token

Indicates the algorithm to


use when generating
DATALINK file access
control tokens.

dl_upper

Indicates whether file


access control tokens
are able to use
uppercase and
lowercase letters or only
uppercase letters.

dl_wt_iexpint

Indicates the time period


for which a write token is
valid.

2/1/2015 3:19 PM

Supplement Window

4 of 8

https://xlibrary.skillport.com/courseware/cbtlib/217408/217416/eng/thin/...

Parameter

Description

Value

Default

dlchktime

Sets the frequency for

1,000-600,000

10,000

the Database Manager to

milliseconds

check for application


deadlocks.
dyn_query_mgmt

Enables or disables

ENABLE DISABLE

DISABLE

0-1,048,575 4k pages

16,000

1-99%

70

Indicates when invalid

SYSTEM ACCESS

SYSTEM

indexes should be

RESTART

queries that exceed


thresholds from being
trapped by the DB2
Query Patroller.
estore_seg_sz

Indicates the number of


pages the extended
memory segments of the
database store.

groupheap_ratio

Indicates the percentage


of memory that's
dedicated to the
application group heap.

indexrec

recreated when the


database is accessed or
when it is restarted.
indexsort

Determines whether

YES NO

YES

4-60,000 4k pages

25,50

index keys are sorted


during index creation.
locklist

Indicates the total


memory allowed for

Windows

holding the lock list.


100 UNIX
locktimeout

Indicates the time an

-1 0-30,000

-1

None

None

4-4096 4k pages

4-262,144 4K pages

250

application waits to
receive a lock before
timing out.
log_retain_status

A read-only parameter
that indicates whether log
files should be retained
for roll-forward recovery
operations.

logbufsz

Sets the total memory


assigned to buffer log
records before being
written to disk.

logfilsiz

Indicates the disk


storage space allowed

Windows

for log files used for data


recovery.
loghead

A read-only parameter

1,000 UNIX
None

None

that indicates the log file

2/1/2015 3:19 PM

Supplement Window

5 of 8

Parameter

https://xlibrary.skillport.com/courseware/cbtlib/217408/217416/eng/thin/...

Description

Value

Default

None

None

2-256

RECOVERY NO

NO

-1 0-254

0s-100%

AUTOMATIC 1-60,000

AUTO-MATIC

2-32,768 Windows

64

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.

logprimary

Indicates how many


primary log files will be
used for transaction
logging.

logretain

Indicates whether to
retain active log files as
archived log files for
recovery operations.

logsecond

Indicates how many


secondary log files will
be used for transaction
logging.

max_log

Indicates the maximum


amount of active log
space a transaction uses.

maxappls

Indicates the total


number of applications
that can connect to the
database at one time.

maxfilop

Sets the total number of


database files that can be
opened simultaneously

2-1,950 UNIX

by an application.
maxlocks

Indicates the percentage

1-100

of the lock list an

22
Windows

application can use.


10 UNIX
min_dec_div_3

Determines whether

YES NO

NO

1-25

Indicates the storage

A valid string of

NULL

location of the second

characters

decimal division
arithmetic operations
have a scale of 3.
mincommit

Indicates how many


COMMIT SQL
statements should be
processed before writing
log records to disk.

mirrorlogpath

copies of the primary and


secondary log files.

2/1/2015 3:19 PM

Supplement Window

6 of 8

https://xlibrary.skillport.com/courseware/cbtlib/217408/217416/eng/thin/...

Parameter

Description

Value

Default

multipage_alloc

A read-only parameter

None

None

Indicates the new

A valid string of

NULL

storage location of the

characters.

that determines whether


SMS tablespace storage
space is allocated one
page or one extent at a
time.
newlogpath

primary and secondary


log files.
num_db_backups

Indicates how many

1-32,768

12

0-2,147,483,647

0-32,767

10

0-255

1-255

0-65,535

0-32,767

20

None

None

Indicates the storage

A valid string of

NULL

location of active log files

characters

database backup images


should be retained for a
database.
num_estore_segs

Indicates how many


extended storage
memory segments are
available to the database.

num_freqvalues

Sets the number of most


frequent values to be
collected when the
RUNSTATS command is
executed with the WITH
DISTRIBUTION option.

num_iocleaners

Indicates the number of


asynchronous page
cleaners the database
uses.

num_ioservers

Indicates how many I/O


servers the database
uses.

num_log_span

Determines how many


active log files an active
transaction can span.

num_quantities

Sets the number of


quantities to be collected
when the RUNSTATS
command is executed
with the WITH
DISTRIBUTION option.

numsegs

A read-only parameter
that indicates the number
of containers created
within the SMS
tablespaces.

overflowlogpath

required to rollback

2/1/2015 3:19 PM

Supplement Window

7 of 8

Parameter

https://xlibrary.skillport.com/courseware/cbtlib/217408/217416/eng/thin/...

Description

Value

Default

-1 32-64,000 4k pages

-1

-1 0-30,000 days

366

None

None

None

None

None

None

YES NO

YES

250-2,097,152 4k

Sortheap

operations.
pckcachesz

Sets the amount of


application memory used
to cache packages.

rec_his_retentn

Indicates how many days


to retain historical
information on backups.

release

A read-only parameter
that indicates the version
of the database
configuration file.

restore_pending

A read-only parameter
that indicates whether the
database is in a state of
Restore Pending.

rollfwd_pending

A read-only parameter
that indicates whether the
database requires a
roll-forward recovery
procedure.

seqdetect

Enables or disables
sequential detection for
the database.

sheapthres_shr

Sets the total amount of

memory used at one time pages


to perform sort
operations.
softmax

Sets the total amount of

1-100 logprimary

100

16-524,288 4kpages

256

log file space percentage


that is consumed before
soft checkpoint is taken.
sortheap

Sets the total amount of


memory available for sort
operations.

stat_heap_sz

Sets the total heap space 1,096-524,288


size used for creating

4384

4kpages

and collecting table


statistics.
stmtheap

Sets the heap size used

128-65,535 4kpages

2048

None

None

YES NO

NO

when compiling SQL


statements.
territory

A read-only parameter
that indicates the
database territory.

trackmod

Indicates whether
tracking is enabled for
database modifications

2/1/2015 3:19 PM

Supplement Window

8 of 8

Parameter

https://xlibrary.skillport.com/courseware/cbtlib/217408/217416/eng/thin/...

Description

Value

Default

Determines how the

A valid string of

NULL

server manages object

characters.

made when an
incremental backup is
performed.
tsm_mgmtclass

backup versions.
tsm_nodename

tsm_owner

tsm_password

userexit

Indicates the TSM

A valid string of

product node name.

characters.

NULL

Indicates the TSM

A valid string of

product owner.

characters.

Sets the TSM product's

A valid string of

password.

characters.

Indicates whether a user

YES NO

NO

None

None

NULL

NULL

exit program is to be
called for roll-forward
recovery operations.
user_exit_status

A read-only parameter
that determines whether
to store archive log files
with a user exit function.

util_heap_sz

Indicates the total amount 16-524,288 4Kpages

5000

of shared memory that


the backup, restore, and
load utilities can use
simultaneously.

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.

2/1/2015 3:19 PM

Você também pode gostar