DataMigrate Pro·Getting started
DataMigrate Pro FAQ
The DataMigrate Pro FAQ explains the message about intermittent database connectivity issues and which switches control the size of the transfer blocks.
What does the message "You experienced intermittent database connectivity issues" mean?
The actual error message reads:
You experienced intermittent database connectivity issues. This could have happened because we rebalanced your resources to provide you with a better experience. If the issue continues, please contact your system administrator. [Version: 1.1.104.0]
and before it:
[ERR] Error sending data for Table
<Table-ID>: The operation could not be completed. Please try again later.
This is not an error in your AL logic or in the insertion of the remote rows. It is an error of the Business Central SaaS infrastructure or of the database connection.
What does this mean?
While your app writes data to BC, Microsoft briefly loses the connection to the database.
Typical causes:
- Azure SQL failover
- Resources were moved to a different SQL node ("rebalanced")
- Brief network interruption
- Timeout during very long transactions
The message comes from Microsoft itself.
How does the client decide how many records are transferred, and which settings influence this?
In simple terms, the client decides in two steps:
First, it determines which records are to be transferred at all. By default, the client works in changes mode. This means it transfers only records that are detected as changed since the last run. If --changesonly 0 is set, it switches to a full transfer and takes the entire data set of the selected table or tables.
Then it decides how many of these records are sent to Business Central per transfer block. Without a specific limit, the client builds blocks up to a fixed technical size of approximately 500000 bytes. If --limitmemory <MB> is set, the client instead calculates, based on a sample, how many records approximately fit into the specified memory limit, and splits the transfer into smaller or larger packages accordingly.
The most important settings for this are:
--changesonly 1|0: Controls whether only changes or all records are transferred.--limitmemory <MB>: Limits the size of a processing block through a memory limit. Smaller values lead to smaller packages, larger values to larger packages.--buffered: Turns streaming off. This mainly affects memory and runtime behavior, less the overall business volume.--testrun: Limits the transfer to a very small test scope, typically a maximum of one record per table.-r: Restricts the volume additionally through a range filter.
In short: --changesonly and -r mainly determine which records are transferred at all. --limitmemory and --buffered mainly influence how large the technical packages are during the transfer.