Help Center/ Data Replication Service/ Real-Time Synchronization/ Task Management/ Data Comparison (Comparing Synchronization Items)
Updated on 2024-09-25 GMT+08:00

Data Comparison (Comparing Synchronization Items)

Scenarios

This section describes how to compare synchronization items to check if there are any differences between source and destination databases. To minimize the impact on services and shorten the service interruption duration, the following comparison methods are provided:

  • Object-level comparison: compares objects such as databases, indexes, tables, views, stored procedures, functions, and table sorting rules.
  • Data-level comparison is classified into row comparison and value comparison.
    • Row comparison: It helps you compare the number of rows in the tables to be synchronized. This comparison method is recommended because it is fast.
    • Value comparison: It helps you check whether data in the synchronized table is consistent. The comparison process is relatively slow.
    • Sampling comparison: If there is a lot of data, it takes a long time to compare the number of rows and values. Sampling comparison is recommended. You can set an appropriate sampling ratio to complete a comparison faster.
  • Account comparison: It compares usernames and permissions of the source and destination databases.
  • Periodic comparison: DRS periodically compares the number of rows in the source database table with those in the destination database table and displays the comparison results. To compare objects periodically, enable comparison policy.

When you check data consistency, compare the number of rows first. If the number of rows are inconsistent, you can then compare the data in the table to determine the inconsistent data.

Table 1 Supported comparison methods

Synchronization Direction

Data Flow

Object-level Comparison

Row Comparison

Value Comparison

Dynamic Comparison

Account-level Comparison

To the cloud

MySQL->MySQL

Supported

Supported

Supported

Supported

Not supported

To the cloud

MySQL->PostgreSQL

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

MySQL -> GaussDB distributed

Supported

Supported

Supported

Supported

Not supported

To the cloud

MySQL -> GaussDB primary/standby

Supported

Supported

Supported

Supported

Not supported

To the cloud

MySQL->GaussDB(for MySQL)

Supported

Supported

Supported

Supported

Not supported

To the cloud

MySQL->GaussDB(DWS)

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

MySQL->MariaDB

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

PostgreSQL->PostgreSQL

Supported

Supported

Supported

Supported

Supported

To the cloud

PostgreSQL->GaussDB(DWS)

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

PostgreSQL -> GaussDB primary/standby

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

PostgreSQL -> GaussDB distributed

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

DDM->MySQL

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

DDM->GaussDB(DWS)

Not supported

Supported

Not supported

Not supported

Not supported

To the cloud

DDM->DDM

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

Oracle->MySQL

Supported

Supported

Supported

Supported

Not supported

To the cloud

Oracle->GaussDB(for MySQL)

Supported

Supported

Supported

Supported

Not supported

To the cloud

Oracle -> GaussDB primary/standby

Supported

Supported

Supported

Supported

Not supported

To the cloud

Oracle -> GaussDB distributed

Supported

Supported

Supported

Supported

Not supported

To the cloud

Oracle->DDM

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

Oracle->GaussDB(DWS)

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

Oracle->PostgreSQL

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

DB2 for LUW -> GaussDB primary/standby

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

DB2 for LUW -> GaussDB distributed

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

DB2 for LUW->GaussDB(DWS)

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

TiDB->GaussDB(for MySQL)

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

Microsoft SQL Server->GaussDB(DWS)

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

Microsoft SQL Server -> GaussDB primary/standby

Supported

Supported

Supported

Not supported

Not supported

To the cloud

Microsoft SQL Server -> GaussDB distributed

Supported

Supported

Supported

Not supported

Not supported

To the cloud

Microsoft SQL Server->Microsoft SQL Server

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

Microsoft SQL Server->MySQL

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

Microsoft SQL Server->GaussDB(for MySQL)

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

Microsoft SQL Server->PostgreSQL

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

MongoDB->DDS

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

MariaDB->MariaDB

Supported

Supported

Supported

Supported

Not supported

To the cloud

MariaDB->MySQL

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

MariaDB->GaussDB(for MySQL)

Supported

Supported

Not supported

Not supported

Not supported

To the cloud

GaussDB(for MySQL)->GaussDB(for MySQL)

Supported

Supported

Supported

Supported

Not supported

To the cloud

Cassandra->GeminiDB Cassandra

Supported

Not supported

Not supported

Not supported

Not supported

To the cloud

Dynamo->GeminiDB Dynamo

Supported

Not supported

Supported

Not supported

Not supported

From the cloud

MySQL->MySQL

Supported

Supported

Supported

Supported

Not supported

From the cloud

MySQL->Kafka

Not supported

Not supported

Not supported

Not supported

Not supported

From the cloud

MySQL->CSS/ES

Supported

Supported

Not supported

Not supported

Not supported

From the cloud

MySQL->Oracle

Supported

Supported

Not supported

Not supported

Not supported

From the cloud

MySQL->MariaDB

Supported

Supported

Not supported

Not supported

Not supported

From the cloud

DDM->MySQL

Supported

Supported

Not supported

Not supported

Not supported

From the cloud

DDM->Oracle

Supported

Supported

Not supported

Not supported

Not supported

From the cloud

DDM->Kafka

Not supported

Not supported

Not supported

Not supported

Not supported

From the cloud

DDS->MongoDB

Supported

Supported

Supported

Not supported

Not supported

From the cloud

DDS->Kafka

Not supported

Not supported

Not supported

Not supported

Not supported

From the cloud

PostgreSQL->PostgreSQL

Supported

Supported

Supported

Supported

Not supported

From the cloud

PostgreSQL->Kafka

Not supported

Not supported

Not supported

Not supported

Not supported

From the cloud

GaussDB primary/standby -> MySQL

Supported

Supported

Not supported

Not supported

Not supported

From the cloud

GaussDB primary/standby -> Oracle

Supported

Supported

Not supported

Not supported

Not supported

From the cloud

GaussDB primary/standby -> Kafka

Not supported

Not supported

Not supported

Not supported

Not supported

From the cloud

GaussDB primary/standby -> GaussDB(DWS)

Supported

Supported

Supported

Not supported

Not supported

From the cloud

GaussDB primary/standby -> GaussDB distributed

Supported

Supported

Not supported

Not supported

Not supported

From the cloud

GaussDB primary/standby -> GaussDB primary/standby

Supported

Supported

Not supported

Not supported

Not supported

From the cloud

GaussDB distributed -> MySQL

Supported

Supported

Not supported

Not supported

Not supported

From the cloud

GaussDB distributed -> Oracle

Supported

Supported

Not supported

Not supported

Not supported

From the cloud

GaussDB distributed -> GaussDB(DWS)

Supported

Supported

Supported

Not supported

Not supported

From the cloud

GaussDB distributed -> Kafka

Not supported

Not supported

Not supported

Not supported

Not supported

From the cloud

GaussDB distributed -> GaussDB distributed

Supported

Supported

Not supported

Not supported

Not supported

From the cloud

GaussDB distributed->GaussDB primary/standby

Supported

Supported

Not supported

Not supported

Not supported

From the cloud

GaussDB(for MySQL)->MySQL

Supported

Supported

Supported

Supported

Not supported

From the cloud

GaussDB(for MySQL)->GaussDB(DWS)

Supported

Supported

Not supported

Not supported

Not supported

From the cloud

GaussDB(for MySQL)->Kafka

Not supported

Not supported

Not supported

Not supported

Not supported

From the cloud

GaussDB(for MySQL)->CSS/ES

Supported

Supported

Not supported

Not supported

Not supported

From the cloud

GaussDB(for MySQL)->Oracle

Supported

Supported

Not supported

Not supported

Not supported

From the cloud

MariaDB->MariaDB

Supported

Supported

Supported

Supported

Not supported

From the cloud

Microsoft SQL Server->Kafka

Not supported

Not supported

Not supported

Not supported

Not supported

Self-built -> Self-built

Oracle->Kafka

Not supported

Not supported

Not supported

Not supported

Not supported

Self-built -> Self-built

Oracle -> GaussDB primary/standby

Supported

Supported

Supported

Supported

Not supported

Self-built -> Self-built

Oracle -> GaussDB distributed

Supported

Supported

Supported

Supported

Not supported

Self-built -> Self-built

MySQL->Kafka

Not supported

Not supported

Not supported

Not supported

Not supported

Self-built -> Self-built

MySQL->CSS/ES

Supported

Supported

Not supported

Not supported

Not supported

Self-built -> Self-built

MySQL -> GaussDB primary/standby

Supported

Supported

Not supported

Not supported

Not supported

Self-built -> Self-built

MySQL -> GaussDB distributed

Supported

Supported

Not supported

Not supported

Not supported

Self-built -> Self-built

PostgreSQL->Kafka

Not supported

Not supported

Not supported

Not supported

Not supported

Self-built -> Self-built

GaussDB primary/standby -> MySQL

Supported

Supported

Not supported

Not supported

Not supported

Self-built -> Self-built

GaussDB primary/standby -> Oracle

Supported

Supported

Not supported

Not supported

Not supported

Self-built -> Self-built

GaussDB primary/standby -> Kafka

Not supported

Not supported

Not supported

Not supported

Not supported

Self-built -> Self-built

GaussDB primary/standby -> GaussDB primary/standby

Supported

Supported

Not supported

Not supported

Not supported

Self-built -> Self-built

GaussDB distributed -> Oracle

Supported

Supported

Not supported

Not supported

Not supported

Self-built -> Self-built

GaussDB distributed -> Kafka

Not supported

Not supported

Not supported

Not supported

Not supported

Self-built -> Self-built

GaussDB distributed -> GaussDB distributed

Supported

Supported

Not supported

Not supported

Not supported

Self-built -> Self-built

DB2 for LUW -> GaussDB primary/standby

Supported

Supported

Not supported

Not supported

Not supported

Self-built -> Self-built

DB2 for LUW -> GaussDB distributed

Supported

Supported

Not supported

Not supported

Not supported

Self-built -> Self-built

Microsoft SQL Server->Kafka

Not supported

Not supported

Not supported

Not supported

Not supported

Constraints

  • You can manually create a comparison task only when the task is in the incremental phase.
  • During a comparison, the comparison items are case sensitive. If one of the source or destination database is case insensitive and the other one is case sensitive, the comparison result may be inconsistent.
  • When a full migration task is complete, DRS automatically creates object-level and row comparison tasks. If operations are performed on data in the source database during data comparison, the comparison results may be inconsistent.
  • If DDL operations were performed on the source database, you need to compare the objects again to ensure the accuracy of the comparison results.
  • If data in the destination database is modified separately, the comparison results may be inconsistent.
  • If the encoding of the source database character type is abnormal, the database driver will convert the character type to an abnormal code point during DRS migration or comparison. As a result, the values may be consistent but the bytes may be inconsistent.
  • Currently, only tables with primary keys support value comparison. For tables that do not support value comparison, you can compare rows. Therefore, you can compare data by row or value based on scenarios.
  • The DRS task cannot be suspended during value comparison. Otherwise, the comparison task may fail.
  • Some data types do not support value comparison. For details, see Which of the Following Data Types Are Not Supported By Value Comparison?
  • To prevent resources from being occupied for a long time, DRS limits the comparison duration. If the comparison duration exceeds the threshold, the comparison task stops automatically.
    • When a full migration task is complete, DRS automatically creates object-level and row comparison tasks. The comparison duration limits to 30 minutes. After the threshold, the comparison tasks automatically stop and the full migration task stops.
    • For a row comparison task manually created in the incremental phase, if the source database is a relational database, the row comparison duration limits to 60 minutes. If the source database is a non-relational database, for example, MongoDB, the row comparison duration limits to 30 minutes.
  • To avoid occupying resources, the comparison results of DRS tasks can be retained for a maximum of 60 days. After 60 days, the comparison results are automatically cleared.
  • For a migration task from MySQL, virtual columns in the source database do not support value comparison. During the comparison, virtual columns are filtered out.
  • If you want to perform value comparison or sampling comparison for a DRS task, select large or higher specifications when creating the DRS task.
  • In the many-to-one row comparison scenario, the number of rows in the table in the source database is compared with that in the aggregation table mapped to the destination database.
  • In the many-to-one synchronization scenario, value comparison is not recommended because data consistency cannot be ensured.
  • Value comparison is not supported for a task in which tables in one database are mapped to multiple databases.
  • For a synchronization task from MySQL, GaussDB(for MySQL), or MariaDB, virtual columns in the source database do not support value comparison. During the comparison, virtual columns are filtered out.
  • If the source is a PostgreSQL database, the index and constraint names will be changed during table mapping. As a result, the index and constraint names are inconsistent.
  • If a table in the source MySQL database contains a binary field with a fixed length, the MySQL driver adds \0 to the end of the data based on the length. As a result, there may be data inconsistency after the data is synchronized to the destination GaussDB database.
  • The empty character inserted into an Oracle database is processed as NULL. For tasks whose destination is an Oracle database, an empty string is considered as NULL. If data in the source database is empty and that in the destination database is NULL, the comparison result is consistent.
  • During value comparison for synchronization from Oracle to GaussDB Distributed, if the LOB comparison policy is set to Compare length, the BLOB comparison is ignored because BLOB data in the distributed GaussDB instance fails to be queried using DBE_LOB.LOB_GET_LENGTH.
  • When data is filtered during value comparison from Dynamo to GeminiDB Dynamo, the filter criteria do not support the binary type. Value comparison is based on the source database data. The scenario where the destination database has more data records than the source database cannot be identified.

Impact on Databases

  • Object comparison: System tables of the source and destination databases are queried, occupying about 10 sessions. The database is not affected. However, if there are a large number of objects (for example, hundreds of thousands of tables), the database may be overloaded.
  • Row comparison: The number of rows in the source and destination databases is queried, which occupies about 10 sessions. The SELECT COUNT statement does not affect the database. However, if a table contains a large amount of data (hundreds of millions of records), the database will be overloaded and the query results will be returned slowly.
  • Value comparison: All data in the source and destination databases is queried, and each field is compared. The query pressure on the database leads to high I/O. The query speed is limited by the I/O and network bandwidth of the source and destination databases. Value comparison occupies one or two CPUs, and about 10 sessions.
  • Account comparison: The accounts and permissions of the source and destination databases are queried, which does not affect the database.

Estimated Comparison Duration

  • Object comparison: Generally, the comparison results are returned within several minutes based on the query performance of the source database. If the amount of data is large, the comparison may take dozens of minutes.
  • Row comparison: The SELECT COUNT method is used. The query speed depends on the database performance.
  • Value comparison: If the database workload is not heavy and the network is normal, the comparison speed is about 5 MB/s.
  • Account comparison: The results are returned with the object-level comparison results. If the number of objects is small, the results are returned in several minutes.

Prerequisites

  • You have logged in to the DRS console.
  • A synchronization task has been started.

Creating a Comparison Task

  1. On the Data Synchronization Management page, click the target synchronization task name in the Task Name/ID column.
  2. Choose Synchronization Comparison.
  3. Compare synchronization items.

    • Create an Object-Level Comparison task. On the Object-Level Comparison tab, click Compare. Wait for a while and click to check whether the comparison results of the source and destination databases are consistent. Locate a comparison item you want to view and click View Details in the Operation column.
      Figure 1 Object-level comparison
    • On the Data-Level Comparison (row comparison and value comparison) tab, click Create Comparison Task. In the displayed dialog box, specify Comparison Type, Comparison Method, Comparison Time, and Object. Then, click OK.
      Figure 2 Creating a data-level comparison task
      • Comparison Type: compares rows and values.
        • Row comparison: checks whether the source table has the same number of rows as the destination table.
          • After a task enters the incremental comparison phase, you can create a row comparison task.
          • For Oracle to GaussDB synchronization, the row comparison task is automatically triggered after the full synchronization is complete.
        • Value comparison: checks whether the source table has the same data as the destination table.
          • After a task enters the incremental synchronization phase, you can create a value comparison task. After the full synchronization is complete, data in the source database cannot be changed. Otherwise, the comparison result will be inconsistent.
          • After the synchronization from Oracle to GaussDB primary/standby and from Oracle to GaussDB distributed enters the incremental verification phase, the comparison service starts to extract data from the incremental logs of the tables involved in the task for continuous comparison. If you want to compare the status of other tables, you can cancel the ongoing comparison task and create a comparison task.

          Value comparison only applies to tables with single-column primary key or unique index. You can use row comparison for tables that do not support value comparison. Therefore, you can compare data by row or value based on scenarios.

      • Comparison Policy: DRS supports one-to-one and many-to-one comparison policies.
        • One-to-one: compares the number of rows in a table in the source database with that in the table mapped to the destination database.
        • Many-to-one: compares the number of rows in a table in the source database with that in the aggregate table mapped to the destination database.

          If you select Row Comparison for Comparison Type, the Comparison Policy option becomes available.

      • Comparison Method: DRS provides static and dynamic comparison methods.
        • Static: All data in the source and destination databases is compared. The comparison task ends as the comparison is completed. Static comparison can only be performed when there are no ongoing services.
        • Dynamic: All data in the source database is compared with that in the destination database. After the comparison task is complete, incremental data in the source and destination databases is compared in real time. A dynamic comparison can be performed when data is changing.
          • If you select Value for Comparison Type, the Comparison Method option becomes available.
          • During database-level synchronization, tables cannot be created in the source database during dynamic comparison. If you want to create a table in the source database, cancel the dynamic comparison first. After the new table is created and synchronized, restart the dynamic comparison.
      • Comparison Time: You can select Start upon task creation or Start at a specified time. There is a slight difference in time between the source and destination databases during synchronization. Data inconsistency may occur. You are advised to compare migration items during off-peak hours for more accurate results.
      • LOB Comparison Policy: The value can be Ignore LOB comparison, Compare length, Compare hash values, or Compare content.

        LOB comparison policy can be set only for data synchronization from Oracle to GaussDB.

        • Ignore LOB comparison: The system ignores LOB data during value comparison. You are advised to select Ignore LOB comparison because comparing LOB data increases the database load, depending on the LOB comparison method and data volume. Evaluate and test the LOB comparison policy based on the source and destination databases to ensure database performance and stability.
        • Compare length: The built-in functions of the source and destination databases are used to obtain the LOB data length for data comparison.
        • Compare hash values: The built-in functions of the source and destination databases are used to obtain the LOB data hash values for data comparison. Oracle databases use the HASH function in the DBMS_CRYPTO package to obtain the LOB data hash values. To use the DBMS_CRYPTO package, grant SYSDBA permissions to the user. Reference statement:
          GRANT EXECUTE ON DBMS_CRYPTO TO USER;
        • Compare content: The source database reads data in streaming mode and then performs hashing. The destination database uses built-in functions to obtain the LOB data hash values. Compared with hash value comparison, this method reduces the pressure on the source database, but it takes longer.
      • Filter Data: After this function is enabled, objects can be compared based on the configured filtering criteria.

        Data filtering and comparison can be set only for synchronization tasks from Oracle to GaussDB, GaussDB to Oracle, GaussDB to GaussDB, MySQL to MySQL and MySQL to GaussDB.

        1. After enabling Filter Data, add filtering criteria for the table objects to be compared.
        2. In the Filtering Criteria area, enter the filtering criteria, and click Verify.
          • Standard SQL statements can be used to filter records. Each expression cannot contain packages, functions, variables, or constants specific to a database engine.
          • Enter the part following WHERE in the SQL statement (excluding WHERE and semicolons), for example, sid > 3 and sname like "G %".
          • Implicit conversion rules are not supported. Enter filtering criteria of a valid data type. For example, if column c of an Oracle database uses characters of the varchar2 type, the filtering criteria must be set to c > '10' instead of c > 10.
          • Filter criteria cannot be configured for large objects, such as CLOB, BLOB, and BYTEA.
          • You are not advised to set filter criteria for fields of approximate numeric types, such as FLOAT, DECIMAL, and DOUBLE.
          • Do not use fields containing special characters as a filter condition.
          • Objects whose database names, schema names, or table names are case insensitive cannot be filtered and compared.
          • Currently, condition-based filtering is not supported when there are more than 50,000 tables in a database.
        3. After the verification is successful, click Generate Processing Rule. The rule is displayed.
        4. Click OK.
      • Object: You can select objects to be compared based on the scenarios.
    • Create a Data-Level Comparison (sampling comparison) task. If there is a lot of data, it takes a long time to compare the number of rows and values. Sampling comparison is recommended. You can set an appropriate sampling ratio to complete a comparison faster.
      On the Data-Level Comparison page, click Create Comparison Task, select Sample for Comparison Type, set Sampling Ratio, Comparison Time, and Object, and click OK.
      • Only real-time synchronization tasks from MongoDB to DDS, DDS to MongoDB, and GaussDB Distributed to GaussDB Distributed support sampling comparison.
      • Only tasks with large or higher specifications support sampling comparison.
      • The $sample command provided by MongoDB is used for data sampling: {$sample: { size: <positive integer N> } }.

        In the preceding command, size is fixed to 1000. To perform MongoDB sampling comparison provided by DRS, the $sample command is executed for multiple times until the sampled data volume reaches the specified sampling ratio.

      • In a single sampling comparison task, the $sample command is executed for multiple times. In this case, the same data in the source database may be obtained for multiple times.
      • The total data volume of a collection is obtained using estimatedDocumentCount. It is an estimated value instead of an accurate value. The actual sampling data volume and sampling ratio may fluctuate, which is normal.
      • Sampling comparison does not support documents whose _id is of the BinData data type. Documents whose _id is of the BinData data type will be filtered out and not be compared.
      • If the number of inconsistent data records in a single MongoDB sampling comparison task exceeds 10,000, the comparison stops. A maximum of 10,000 inconsistent data records can be displayed.
      Figure 3 Sampling comparison
    • Create an Account-Level Comparison task. Click the Account-Level Comparison tab to view the comparison results of database accounts and permissions.
      • Full synchronization tasks do not support account comparisons.
      • Only PostgreSQL to PostgreSQL synchronization supports account comparison.

  4. After the comparison creation task is submitted, the Data-Level Comparison tab is displayed. Click to refresh the list and view the comparison result of the specified comparison type.

    Figure 4 Data-level comparison

    Value comparison only applies to tables with single-column primary key or unique index. You can use row comparison for tables that do not support value comparison. Therefore, you can compare data by row or value based on scenarios.

    If you want to view the row or value comparison details, click View Results.

    If you want to download the row comparison or value comparison result, locate a specified comparison type and click Export Report in the Operation column.

    Figure 5 Row comparison details
    Figure 6 Value comparison details
    • You can cancel a running task at any time and view the comparison report of a canceled comparison task.
    • You can sort the row comparison results displayed on the current page in ascending or descending order based on the number of rows in the source database table or the destination database table.
    • If a negative number is displayed in the differences column, the number of rows in the destination database table is greater than that in the source database table. If a positive number is displayed in the differences column, the number of rows in the source database table is greater than that in the destination database table.

Periodic Comparison

Periodic comparison indicates that DRS periodically compares the number of rows in the source database table with those in the destination database table and displays the comparison results.

  1. On the Data Synchronization Management page, click the target synchronization task name in the Task Name/ID column.
  2. Click the Synchronization Comparison tab.
  3. Click the Periodic Comparison tab and click Modify Comparison Policy to modify the comparison policy.

    Only MySQL-to-MySQL, MySQL-to-GaussDB(for MySQL), MySQL-to-GaussDB(DWS), and GaussDB(for MySQL)-to-MySQL synchronization tasks support periodic comparison.

  4. In the Modify Comparison Policy dialog box, enable periodic comparison, configure the comparison frequency and time, and click Yes.

    • After periodic comparison is enabled, DRS compares the number of rows at the scheduled time. You can view the comparison results on the Data-Level Comparison tab.
    • After periodic comparison is disabled, only historical comparison results can be viewed.
    • Modifications to the comparison policy settings take effect from the next comparison and do not affect the on-going periodic comparison tasks.
    • During periodic comparison, the source and destination databases will be read. Perform the comparison during off-peak hours.
    • During periodic comparison, ultra-large tables (those with more than 100 million rows) are automatically filtered out. You can use data-level comparison to spot check such large tables. It is not recommended that these large tables be compared periodically.
    Figure 7 Modify Comparison Policy