Setting JDBC Connection Pool Size

  GigaSpaces 5.X

Documentation Home
Quick Start Guide
Release Notes

Previous release

  Search Here
Searching GigaSpaces Platform 5.X Documentation

                                               

Summary: Setting pool minimum and maximum size using the space schema.

This page is specific to:
GigaSpaces 5.x

If you're interested in another version, click it below:
GigaSpaces 6.0
GigaSpaces 6.5

Overview

When the space uses RDBMS for persistency, it creates a connection pool to avoid a new connection creation with every access to the database. The space schema file stores the pool minimum and maximum size:

<space-config>
	<init_sa_connections>10</init_sa_connections>
	<max_sa_connections>100</max_sa_connections>
</space-config>
Tag Description Default Value
<init_sa_connections> Connection pool minimum size 10
<max_sa_connections> Connection pool maximum size 100
When the engine requests a connection from the pool and there is none available (maximum number of connections have been allocated), the engine waits for a context to become available. This is transparent to the application.

Wiki Content Tree


Your Feedback Needed!

We need your help to improve this wiki site. If you have any suggestions or corrections, write to us at techw@gigaspaces.com. Please provide a link to the wiki page you are referring to.

Labels

 
(None)