Replication can now be enabled and configured in the SQL
layer using pragmas. The pragmas
replication_local_site
,
replication_initial_master
, and
replication_remote_site
can be used to
configure the replication group. Note that when the BDB SQL
replicated application is initially started, a specific master
site must be explicitly designated. After configuring the
replication group, start replication using PRAGMA
replication=ON
.
To display replication statistics in the dbsql shell, use:
dbsql> .stat :rep