Register | Login

Published Articles

Audit facility performance and administration have been enhanced

The audit utility generates a trail of audit records for a series of predefined and monitored database events. Version 9.5 offers major enhancements to the audit facility.

The enhancements to the DB2 audit facility for Version 9.5 include fine grained configuration, new audit categories, separate instance and database logs, an

ADMIN_CMD ROUTINE in DB2

Posted by jyothsnav 2426 days ago (Editorial)
The ADMIN_CMD procedure is used by applications to run administrative commands using the SQL CALL statement. The procedure supports many DB2 command line processor commands like EXPORT, IMPORT, LOAD, RUNSTATS, REORG INDEXES/TABLE, BACKUP, UPDATE / RESET DB/DBM PARAMETERS, FORCE APPLICATIONS etc.,

Usage notes on few administrative commands:

EXPORT/IMPORT/LOAD

The following example shows

DB2CKBKP(Check Backup) Utility to identify logs

Posted by jyothsnav 2429 days ago (Editorial)
This utility can be used to test the integrity of a backup image and to determine whether or not the image can be restored. It can also be used to display the metadata stored in the backup header.
Its even used to identify the required logs to rollforward the database from the backup image

To get the log detail from backup image without restoring the database, using db2ckbkp command we can r

After restoring the production data to a test enviorment database and while doing rollforward, we might experience an issue that the temporary tablespace could not be rollforwarded due to more redo.


This error is not an issue, db2 itself will continue to rollforward the database. After connecting to the database, it will mention that particular tablespace is in rollforward pending stat

Disk full error while doing rollforward

Posted by jyothsnav 2262 days ago (Editorial)

While doing rollforward, we might experience a state where in the disk will be full. During that scenarios, try to find out the file system which is full and do the cleanup; reissue the command again after checking the query status


For ex:


newlogpath parameter i.e. /db2/data/ is full while doing rollforward


disk full error shown in db2diag.log


change the newlogp

SQL1035N The database is currently in use

Posted by jyothsnav 2262 days ago (Editorial)

While doing backup or rollforward database, when the user try to connect to the database the following error will be displayed i.e.


SQL1035N The database is currently in use


Example:


db2 backup db sample compress (or)


db2 rollforward db sample to <timestamp> stop overflow log path ('file path')


(status could be seen using db2 list utilities show de

ERWIN - Reverse Engineer

Posted by jyothsnav 2264 days ago (Editorial)

To generate an Entity Relationship diagram for any existing database structure, please follow the below steps
Tools-Reverse Engineer
Reverse Engineer-Select Template will be opened with the following options
New Model type Physical  Logical/Physical
Target Database
Database DB2/UDB Version: 8.x/9/x (Next/Cancel)
Reverse Engineer-Set Options
Reverse Engin


Before DB2 clients (applications) connect to a database, you must ensure that the server side communications are setup properly to accept the connection requests.To prepare a server for TCP/IP connections, please set up the listener as follows :


1. Set the DB2 profile registry, DB2COMM, to enable the instance to listen for connections from TCP/IP ie.


db2set DB2COMM=TCP/IP



WebServer Apache Benchmarking

Posted by raje2009 (#67) 2396 days ago (Editorial)

Apache Benchmarking


Apache Benchmarking is to find the number of request per second and to count the number of requests can be handled by a webserver instance for a website.


ab (apache benchmarking) is a tool which helps to shows how many requests per second can apache instance is capable of serving.


localhost@userid# ./ab.e

Buffer pools

Posted by jyothsnav 2398 days ago (Editorial)

The database buffer pool area is a piece of memory used to cache a table's index and data pages as they are being read from disk to be scanned or modified. The buffer pool area helps to improve db system performance by allowing data to be accessed from memory instead of from disk. Because memory access is much faster than disk access, the less often that DB2 needs to read from or write to a di


Listing, migrating, and updating a DB2 instance

Posted by jyothsnav 2398 days ago (Editorial)

1. To list the instances that exist on a server, use the command


db2ilist


2. Instance migration is required if you decide to move up to a newer version of the DB2 software than is installed on your server, or if an instance is to be migrated from a 32-bit to a 64-bit instance.


On Windows, instance migration is done implicitly during the necessary migrat

Sort News
Username:

Password:

Remember:
YourWiz.com, is a website that will allow everyone to share their knowledge, tip or information through community micro blogging.