Merging Table Data from RLV Store with IQ Main Store

Read-write data from a table enabled with row-level versioning (RLV) is housed in the RLV store, and periodically merged automatically with the table's data in the IQ main store. However, you can explicitly merge this RLV-enabled table data from the RLV store with the IQ main store data.

Prerequisites
Database Version Table Privileges
SAP Sybase IQ 15.3 and 15.4 Not supported
SAP Sybase IQ 16.0 You must have one of:
  • ALTER ANY TABLE system privilege
  • ALTER ANY OBJECT system privilege
Task

An RLV-enabled table uses row-level versioning so multiple writer connections can make simultaneous updates to different rows of the same table.

The RLV store contains all rows of a RLV-enabled table which have been inserted or updated since the last merge.

RLV merge is the process where the latest committed data from the RLV store is written to the IQ main store to create a new main store table-level snapshot version.

  1. In the Perspective Resources view, select the resource, and select Resource > Administration Console.
  2. In the left pane, expand IQ Servers > Schema Objects > Tables, and then select Tables.
  3. Select an RLV-enabled table from the right pane and either:
    • Click the arrow to the right of the name and select Merge RLV, or
    • From the Administration Console menu bar, select Resource > Merge RLV.
    The menu item is disabled for tables that are not RLV-enabled.
  4. In the Merge RLV dialog, click Yes.
Related concepts
Table Columns
Table Permissions
Table Constraints
Table Indexes
Table Triggers
Table Partitions
Related tasks
Creating a Table with No Partitions in the IQ Main Store
Creating a Table with No Partitions in the IQ (Catalog) System Store
Creating a Table with a Hash Partition
Creating a Table with a Range Partition
Creating a Table with a Hash-Range Partition
Creating a Global Temporary Table
Creating a Proxy Table
Viewing Table Data in the Execute SQL Window
Deleting a Table
Generating Table DDL Commands
Moving a Table to Another Dbspace
Validating a System Store Table
Setting the Primary Key
Setting a Clustered Index
Calculating the Number of Rows in a Table
Moving Table Objects to Another Dbspace
Enabling or Disabling Row-Level Versioning in a Table
Viewing or Modifying Base Table Properties
Viewing or Modifying Global Temporary Table Properties
Viewing and Modifying Proxy Table Properties
Authenticating a Login Account for a Managed Resource
Related reference
Table Privilege Summary