Connection pooling creates a pool of database connections that your applications can use to connect to the database, and can reduce the amount of resources dedicated to establishing and maintaining database connections. Because Web applications typically make more connections to a database than other applications, connection pooling is well suited to Web applications.
Use the administrative console to configure connection pooling
Use wsadmin to configure connection pooling
To configure connection pooling with wsadmin, follow these steps:
On the CL command line, run the STRQSH (Start Qshell) command.
Run the cd command to change to the directory that contains the wsadmin tool:
cd /QIBM/ProdData/WebASE51/ASE/bin
At the wsadmin prompt, run this command to identify the parent ID:
set newds [$AdminConfig getid /Cell:myCell/Node:myNode/Server:myAppSvr/ JDBCProvider:JDBC1/DataSource:DS1/]
where myCell is the name of the cell that contains your application server, myNode is the name of the node that contains your application server, myAppSvr is the name of your application server, JDBC1 is the name of your JDBC provider, and DS1 is the name of your the data source for which you want to create a connection pool.
Note: This command has been wrapped for display purposes.
Run this command to create a new connection pool:
$AdminConfig create ConnectionPool $newds {}
Run this command to save your changes:
$AdminConfig save