Library Version 11.2.5.3

Replication for Existing Databases in the SQL API
Prev | Chapter 9. Upgrading Berkeley DB 11.2.5.2 applications to Berkeley DB 11.2.5.3 | Next

## Replication for Existing Databases in the SQL API

Replication can now be enabled on existing SQL databases, and replication is now disabled permanently instead of temporarily. Replication is enabled on an existing database the same way it is enabled on a new database, with one restriction. The existing database must configure itself as the initial master of a new replication group. To disable replication on a database permanently, use `pragma replication=OFF;`.

### PRAGMAs With Permanent Effects

- `pragma replication=OFF;`

### PRAGMAs That Can Now Operate on Existing Databases

- `pragma replication_local_site="host:port";`
- `pragma replication_initial_master=ON;`
- `pragma replication=ON;`

Prev | Up | Next
New Berkeley DB SQL API PRAGMAs | Home | Berkeley DB X/Open Compliant XA Resource Manager and Transaction Snapshots