DB2 Version 10.1 for Linux, UNIX, and Windows

db2trcStartupSize IBM Data Server Driver configuration keyword

Specifies the amount of resources in MB that you want to allocate for the trace facility.

Equivalent CLI keyword
Not available
Equivalent IBM® Data Server Provider for .NET connection string keyword
Not available
db2dsdriver.cfg configuration syntax
<parameter name="db2trcStartupSize" value="buffer_size"/>
Default setting
The default value is 0. The value of 0 means that no trace facility is allocated.
Usage notes
The buffer_size value is specified in MB with the range of 1-1024 and in power of 2. If the buffer_size value is not set to a value in power of 2, the buffer_size value is rounded down to the closest power of 2 value.

Once set, the trace facility buffer allocated by the db2trcStartupSize keyword cannot be changed while DB2® libraries are still loaded in the operating system. The trace facility buffer can be set only once, before the environment handle is allocated by the process that uses the DB2 libraries.

The trace facility buffer is de-allocated when all running processes that use DB2 libraries exits.

If the trace facility buffer is already allocated by issuing the DB2START command on the IBM Data Server product, setting the db2trcStartupSize keyword has no effect.

The db2trcStartupSize configuration keyword is available on all supported platforms.

In the db2dsdriver.cfg configuration file, the db2trcStartupSize configuration keyword must be placed under the global parameters section.

Updating the db2dsdriver.cfg configuration file with the db2trcStartupSize configuration keyword must be done when directed by a DB2 technical support representative