Server Configuration: Database
Configure properties to improve database performance.
Cache properties improve performance by reducing the number of times the database needs to read an object. Database pool properties imporve performance by reusing established database connections. Restart the server after making any changes to database properties.
| Property | Description | Default |
|---|---|---|
| Number of registrations to cache | Number of device registrations that can be cached on the server | 5000 |
| APNS cache size | Number of APNS configurations that can be cached on the server | 5000 |
| BB push service cache size | Number of BlackBerry push service configurations that can be cached on the server | 5000 |
| Notification target cache size | Number of notification targets (devices) that can be cached on the server | 5000 |
| GCM cache size | Number of GCM configurations that can be cached on the server | 5000 |
| WNS cache size | Number of WNS configurations that can be cached on the server | 5000 |
| Number of applications to cache | Number of applications that can be cached on the server | 50 |
| Number of back-end connections to cache | Number of back-end connections (endpoints) that can be cached on the server | 50 |
| Application to back-end connection cache size | Number of application to back-end connection mappings that can be cached on the server | 300 |
| Property | Description | Default |
|---|---|---|
| Maximum active size | Maximum number of concurrent connections that can be made to the database | 8 |
| Maximum wait time | Amount of time, in milliseconds, that a connection request waits for a successful connection to the connector pool | 30000 |
| Minimum evictable idle time | Amount of time, in milliseconds, that a connection in the pool can be idle before it is removed | 90000 |
| Minimum idle connection count | Minimum number of idle connections to be kept in the pool | 1 |