How to Create Chunks Using HVR (High Volume Replicator) Tool

Data integration is a critical process in modern enterprises as it enables the seamless flow of data between different systems and databases. With increasing data volumes and the need for real-time or near real-time data replication, businesses are adopting data replication solutions like HVR (High Volume Replicator) to ensure efficient and reliable data movement.


HVR is a popular data replication tool known for its high-performance capabilities, flexibility, and ease of use. One of its essential features is the ability to create “chunks” for data replication. Chunks are subsets of data that HVR uses to replicate changes from the source to the target systems. By creating chunks strategically, you can optimize data replication and minimize the impact on source systems during the extraction process.

In this article, we’ll explore how to create chunks using HVR to improve data replication efficiency:

  1. Understanding Chunks:
    Chunks in HVR are logical divisions of data based on certain criteria, such as the primary key or a range of values. HVR replicates data in these smaller, manageable portions rather than replicating the entire dataset every time changes occur. This approach reduces the load on source systems, minimizes network utilization, and enhances the overall data replication performance.
  2. Identifying Key Columns:
    To create chunks effectively, you need to identify appropriate key columns in your source data. Key columns are used to uniquely identify records and define the boundaries of each chunk. Common examples of key columns are primary keys, timestamps, or any other columns that ensure uniqueness and consistent ordering.
  3. Configuring Chunk Tables:
    In HVR, you configure chunk tables that define the chunking strategy. These chunk tables specify how to divide the data based on the identified key columns. HVR offers various chunking modes, such as “Divide by Value,” “Divide by Rowcount,” and “Divide by Range.” The appropriate mode depends on your data characteristics and the defined key columns.
  4. Setting Chunk Sizes:
    Depending on the selected chunking mode, you can specify the chunk size. For example, in “Divide by Rowcount,” you can set a specific number of rows per chunk. In “Divide by Range,” you define a range of values for each chunk. Carefully choosing the chunk size is crucial as it impacts replication performance and resource utilization.
  5. Defining Chunk Filters:
    Chunk filters are additional criteria you can apply to further segment data into logical subsets. By applying filters, you can replicate only the relevant data, reduce the load on the target system, and minimize storage requirements.
  6. Handling Large Objects (LOBs):
    If your dataset contains large objects like images, videos, or documents, you must handle them appropriately while creating chunks. HVR provides options to either include the LOBs in every chunk or replicate them separately in special LOB chunks, depending on your replication needs.
  7. Testing and Optimization:
    Before deploying your chunking strategy in a production environment, thoroughly test it with representative datasets. Monitor performance and make necessary adjustments to optimize chunking and replication efficiency.
  8. Monitoring and Maintenance:
    Once your HVR replication environment is up and running with chunks, establish regular monitoring and maintenance practices. Keep an eye on chunk sizes, performance metrics, and data consistency to ensure a smooth and reliable replication process.

HVR offers an excellent solution for data replication, and its chunking capabilities play a significant role in optimizing the process. By understanding your data, identifying key columns, and configuring well-designed chunks, you can enhance data replication performance, reduce the impact on source systems, and achieve near real-time data synchronization between source and target databases. Efficient data replication is critical for data-driven decision-making, and with HVR and well-crafted chunks, businesses can gain a competitive edge in today’s data-driven world.

100% Free Coupon