File and Database Replication

Data replication is used to synchronize the data stored on a device with data stored in another location. The data could be file system objects, such as files and directories. OS databases can also be synchronized.

The operating system provides two different replication mechanisms: bit-based replication and counter-based replication. The bit-based replication mechanism is available in Windows CE 2.1 and later. It is based on maintaining bits of replication information on each object in the file system or database volume. It synchronizes up to two external stores.

The counter-based replication mechanism is a new feature in Windows CE .NET. It maintains a generation counter for each object in the file system or database volume. The generation counters synchronize any number of external stores. It reduces the work for a synchronization application and minimize the data the application stores.

**Note   **The device-side ActiveSync modules rely on the bit-based replication model.

See Also

Bit-Based Replication | Counter-Based Replication

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.