Setting JDBC Connection Pool Size

  Search Here
Searching XAP 6.0 Documentation

                                               

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

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.


GigaSpaces 6.0 Documentation Contents (Current Page in Bold)

    Java

    C++

    .NET

    Middleware Capabilities

    Configuration and Management

Add GigaSpaces wiki search to your browser search engines!
(works on Firefox 2 and Internet Explorer 7)

Labels

 
(None)