Configuring data source connection pooling for sharded installations
About this task
In a sharded database installation, you can have five types of shards: Metadata, Statistics, System Configuration, Transaction, and Master.
- You must configure a datasource on your application server for each shard and colony you have. For example, you could have a datasource named metadata_ds for the Metadata shard, a datasource named config_ds for the System Configuration shard, and so on.
- When multiple shards are defined, the shards must all use either datasource or direct JDBC calls: they cannot use both. Sterling Configure, Price, Quote
- Datasources for the Statistics, System Configuration, Transaction, and Master shard can be configured using either the System Management Administrator (SMA) or the manageDBpool API. To configure the datasource for a Metadata shard, you must use the manageDBpool API.
- At least three data sources must be specified for sharded database installations.
- If not set, the datasource name defaults to Pool ID.
To configure datasources for a sharded installation: