comments-question-checkFAQs

chevron-rightWhat permissions do I need on the source or destination?hashtag

Simple read on the source and write on the destination should suffice.

For precise resume token creation on the source (highest consistency guarantee), write permission is necessary to inject a dummy record.

chevron-rightCan I write on the source while dsync is running?hashtag

Yes.

chevron-rightCan I stop dsync and resume later?hashtag

Yes, you can as long as you're using the -m option to store the metadata for the data flow, or using the Enterprise (Temporal-based) version. Then dsync will not repeat already completed tasks, and will automagically resume from the latest in-progress task. This is applicable both to the initial data copy and change-data-capture (CDC).

chevron-rightHow can I restart the process from scratch?hashtag
  1. Delete the data on the destination

  2. Clean up dsync metadata by running it with the --cleanup option.

chevron-rightHow fast is dsync?hashtag

Dsync offers several different load levels that allow users to control the internal level of parallelism when reading data from the source and writing to the destination. Outside of that, the sync performance will depend on the following factors: 1) Provisioned/available capacity of source and destination databases 2) Network bandwidth 3) Record/row/document size 4) CPU allocated to dsync

As reference data points, consider below:

  • 97GB migration with 55M documents and 200-500 writes/sec from Cosmos DB to MongoDB took 11 minutes

  • 334GB migration with 45M documents took ~1.5 hours

chevron-rightWhat security or auth options are supported?hashtag

Dsync uses regular APIs for connecting to source and destination databases, such as MongoDB Go Driverarrow-up-right for MongoDB. All standard auth options are supported.

chevron-rightHow do I start dsync in a highly-available configuration?hashtag

You can run it as a docker container with a sensible restart policy.

chevron-rightDocker?hashtag
circle-info

For any other questions not included in this FAQ section, contact us in Discordarrow-up-right.

Last updated