Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Welcome to
Qlik Community!

cancel
Showing results for 
Search instead for 
Did you mean: 
  • 284,454 members
  • 6,865 online
  • 2,036,511 posts
  • 155,219 Solutions
Announcements
Catch up on the newest Qlik features and improvements: Learn More

Welcome to Qlik Community

Recent Discussions

  • forum

    Integration, Extension & APIs

    Qlik Code for VS Code: A Walkthrough of (almost) Every Feature

    Hi everyone,I just published a new Data Voyagers video on Qlik Code, the Visual Studio Code extension that lets you edit Qlik Cloud load scripts in VS... Show More

    Hi everyone,

    I just published a new Data Voyagers video on Qlik Code, the Visual Studio Code extension that lets you edit Qlik Cloud load scripts in VS Code instead of the Data load editor.

    I wanted to cover the whole thing in one place, so the video goes through each feature in order. Once you sign in to your tenant, you can browse spaces, apps, and scripts, then view, edit, and sync load scripts using direct or local editing. The editor supports the Qlik script language with syntax highlighting, completions, hover help, and diagnostics. You can also insert script content to load files from the data catalog or a data connection, or pull in existing script assets like QVS files. When you are ready to test, you can reload the app, preview your data, look at the data model, and open the app in Qlik Cloud from your browser.

    A few limits from the documentation are worth knowing. Qlik Code is aimed at developers who already work in Qlik Cloud, and it does not replace the activity centers, so tasks like managing spaces, sheets, and app permissions stay there.

    Watch the video here: https://youtu.be/8omcueKfuQ8

    Documentation: https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/QlikCode/code-extension-home.htm

    I would like to hear how this fits your workflow. Are you already writing scripts in VS Code, or still in the Data load editor? Which feature would you use first, and what is missing for you? Tell me in the comments.

     

    Regards,

    Mark Costa

    Show Less
  • forum

    Qlik Replicate

    Custom DELETE syntax to fix a stuck operation on a large table in Databricks

    Hello,I’ve configured a Log Stream task to read from a Microsoft Azure SQL database, along with a replication task that reads from this Log Stream and... Show More

    Hello,

    I’ve configured a Log Stream task to read from a Microsoft Azure SQL database, along with a replication task that reads from this Log Stream and replicates data to a Databricks Lakehouse (Delta) endpoint.

    Among the replicated tables, there is one with about 380 million records and 18 columns, which accumulates between 200,000 and 400,000 changes during the full load, which typically takes several hours.

    Over the past few weeks, once the full load of this table completes, the task has been unable to apply the changes to Databricks. Specifically, the task tries to apply the DELETE operations on the table and remains in running state for tens of hours without completing the operation successfully.

    The DELETE operation has this form:

    DELETE FROM my_database.target_table T
    WHERE EXISTS (
        SELECT C.seg1
        FROM my_database.attrep_changes_table C
        WHERE (
            T.primary_key = CAST(C.seg1 AS INT)
            OR (T.primary_key IS NULL AND C.seg1 IS NULL)
        )
        AND C.seq >= 1
        AND C.seq <= 200100
    );

    We have tried several alternatives to solve the problem, including:

    • reducing the change batch size;
    • increasing the query timeout of the operations;
    • optimizing the large table to make delete operations more efficient;
    • replicating only the last 6 months of data for the large table.

    Unfortunately, none of these attempts was successful.

    However, we verified that the following DELETE operation runs in 30 seconds on Databricks:

    DELETE FROM my_database.target_table
    WHERE primary_key IN (
        SELECT CAST(seg1 AS INT)
        FROM my_database.attrep_changes_table
        WHERE seq BETWEEN 1 AND 200100
          AND seg1 IS NOT NULL
    );

    Is it possible to configure the replication task to run DELETE operations using the syntax above?

    I understand that Qlik Replicate provides internal parameters to customize the SQL syntax it generates, such as $info.query_syntax.create_table for table creation. Is there an equivalent parameter for DELETE operations? If so, how could we set it so that the task uses the syntax shown above? If no such parameter exists, is there an alternative way to achieve the same result?

    Thank you in advance for your support.

    Best regards

    Show Less
  • forum

    Qlik Replicate

    Db2/HANA to Kafka: CDC ordering, flat JSON, DDL and recovery guarantees

    Hi Qlik team,We are evaluating Qlik Replicate for an on-premises CDC pipeline: Db2, SAP HANA, MySQL and PostgreSQL → Kafka → Apache Hudi. The consumer... Show More

    Hi Qlik team,

    We are evaluating Qlik Replicate for an on-premises CDC pipeline: Db2, SAP HANA, MySQL and PostgreSQL → Kafka → Apache Hudi. The consumer maintains current state by a stable business key and an ordering field, including logical deletes. Source versions and deployment details are still being collected.

    Updated 7 October 2026 after reviewing related Community answers and the May 2026 documentation. We have narrowed the questions below to the remaining support and recovery boundaries. Answers from Qlik Support/Product specialists, with applicable release/build and configuration examples, would be very helpful.

    1. Db2: supported release and licensing dependencies

    The May 2026 source matrix lists LUW 11.5, while the release notes list it as end-of-life. Which supported Replicate release/SR/build should be used for a LUW 11.5 source?

    We understand the different capture paths: db2ReadLog/IBM client for LUW, R4Z/IFI for z/OS, and journals for IBM i. Which additional Qlik or IBM licensing dependencies must be included for each family, and which deployment restrictions would rule out the standard CDC path?

    2. SAP HANA: maintenance and failover without missing changes

    We understand that trigger-based Full Record became GA in November 2025, and that May 2026 SR1 fixes Full Record before-image and resume issues.

    For direct HANA log-based CDC, if Backint makes the required backup-log files inaccessible, is there a supported production alternative? For Full Record trigger mode, what supported ADD COLUMN procedure preserves the required history given the DDL restriction? The Continue CDC on missing triggers documentation says DELETE operations are not captured while triggers are absent: how should deletes during an SAP maintenance window be recovered?

    Separately, can direct HANA Full Record trigger mode resume after source failover without table reload? Please distinguish this from the documented log-based failover/reload limitation.

    3. Kafka: flat JSON with metadata, and tables without declared keys

    The Community answer on Custom Message Format confirms section flattening. However, removing the envelope appears tied to disabling metadata publication. Can one supported configuration put business fields and selected service fields at the JSON root and also publish separate schema-change metadata messages? Please provide configuration and INSERT/UPDATE/DELETE/DDL samples, or confirm that downstream normalization is needed.

    We also acknowledge that the current PostgreSQL guide supports REPLICA IDENTITY FULL, unlike older Community replies. For MySQL/PostgreSQL tables with a stable business key but no declared PK/unique index, what supported configuration preserves UPDATE/DELETE keys? We understand the CDC LOB limitation without a source PK/unique index; is there any supported alternative beyond adding a source key? Please clarify when DELETE carries a complete before-image and when the consumer must merge a delete flag with its existing row.

    4. Hudi: ordering and deduplication across replay and reload

    We understand at-least-once Kafka delivery and the per-partition producer ordering discussion. A January 2025 Support answer, in a Kinesis context, says that replay from an earlier timestamp resets the internal change number and changes CHANGE_SEQ for the same source record. What are the implications for our sources and Kafka consumer?

    What supported event-version rule should a current-state consumer use across normal Resume, active-passive failover, replay from a supported position/timestamp, table reload and task recreation? Can an older replayed change compare greater than a newer change already applied? AR_H_CHANGE_SEQ is empty during Full Load: what non-null Hudi precombine value should initial-load records carry, and how should it compare with concurrent CDC and later reloads?

    Please also identify which timestamp fields are actual database commit times for these source families, and which are Replicate-derived or may be absent. We understand that transaction IDs are not universally unique.

    5. Production: durable state, disk isolation and gap-free startup

    QEM RunTask now documents start-from-position, while GetTaskDetails exposes status, stop reason, latency and backlog. Is there a supported API to retrieve a durable safe resume/checkpoint position and endpoint connection health? Please specify source applicability, particularly for HANA and IBM i.

    We understand that active-passive requires persistent shared DATA on supported block storage, that the critical disk threshold stops all server tasks, and that per-task resource stopping has been described as external QEM automation. Has a native bounded per-task disk queue been added? If not, what supported isolation/recovery design is recommended for Kafka outages?

    The DATA-loss recovery guide lists Oracle and SQL Server targets, not Kafka. What supported recovery procedure applies to our sources with a Kafka target if DATA is lost but source logs remain? Finally, what source-specific Full Load/startup procedure prevents gaps from transactions that began before startup and outlive the consistency timeout?

    Please distinguish Replicate guarantees, source/HA prerequisites and Kafka consumer responsibilities. An explicit limitation or required integration layer is useful before the pilot.

    Thank you,
    Alex

    Show Less
  • forum

    Qlik Replicate

    Why does Optimise inserts result in duplicates?

    Hi, I have a task that will be insert only and has a high volume of changes. I read that "Optimize Inserts" in the Change Processing Tuning settings c... Show More

    Hi,

     

    I have a task that will be insert only and has a high volume of changes. I read that "Optimize Inserts" in the Change Processing Tuning settings can increase performance. However, the documentation also says that this setting can result in duplicates as shown below:

    MoeE_0-1793324386968.png

    Is this only relevant when "Apply changes using SQL Merge" is enabled alongside "Optimize Inserts"? Because we will not have "SQL Merge" enabled. Our target will be Snowflake.

     

    Help with this is appreciated. Thank you.


    Regards,

    Mohammed



    Show Less
  • forum

    Qlik Replicate

    Oracle 19c CDC Limitation: UPDATE Replication Fails for Column Names Exceeding 3...

    Dear Qlik Replicate Team,We would like to request technical clarification regarding an Oracle CDC limitation in Qlik Replicate when replicating UPDATE... Show More

    Dear Qlik Replicate Team,

    We would like to request technical clarification regarding an Oracle CDC limitation in Qlik Replicate when replicating UPDATE operations on tables containing column names longer than 30 bytes.

    1. Environment

    Source Database: Oracle Database 19c

    Qlik Replicate Version: 2025.11 SP06

    CDC Method: Oracle Log Reader (Direct Redo Log Access)

    Task Architecture: LogStream Staging Task → Replication Task

    Oracle Parameter: ENABLE_GOLDENGATE_REPLICATION=FALSE

    Supplemental Logging: ALL COLUMN

    Table Characteristics: Contains one or more column names exceeding 30 bytes

    2. Observed Behavior

    When an UPDATE transaction is executed against the affected table, we observe the following behavior:

    ALL COLUMN Supplemental Logging is enabled on the Oracle source database.

    However, the Primary Key values are missing from the UPDATE event in the SOURCE_CAPTURE TRACE of the LogStream Staging Task.

    As a result, the downstream Replication Task cannot properly construct the WHERE clause for the UPDATE statement in the TARGET_APPLY stage.

    Consequently, the UPDATE operation cannot be applied successfully to the target database.

    We have reproduced this issue with Qlik Replicate 2025.11 SP06.

    3. Qlik Documentation

    According to the Qlik Replicate Oracle Source Limitations documentation, Full Supplemental Logging is not available for tables containing column names longer than 30 characters when ENABLE_GOLDENGATE_REPLICATION=FALSE.

    We also reviewed the Qlik Replicate May 2026 documentation and found that the same limitation still appears to be documented.

    Therefore, it seems that this limitation has not been addressed in the currently documented product versions.

    4. Comparison with Other CDC Solutions

    We understand that other Oracle CDC products, such as Quest SharePlex and XLog, can support UPDATE replication for tables containing long column names even when ENABLE_GOLDENGATE_REPLICATION=FALSE.

    Both products use direct Oracle Redo Log reading rather than Oracle LogMiner.

    In particular, the Quest SharePlex Administration Guide documents a related Oracle key logging issue involving long identifiers and describes the SP_OCT_USE_SUPP_KEYS=0 setting as a workaround.

    This suggests that different CDC implementations may use alternative approaches to selecting or processing key information for UPDATE operations.

    5. Technical Questions

    We would appreciate clarification on the following points.

    Q1. Root Cause of the Limitation

    Is the missing Primary Key information caused by Oracle not recording the required key values in the Redo Log, or by a limitation in Qlik Replicate's Oracle Log Reader when extracting or interpreting the Redo records?

    Q2. Difference from Other CDC Products

    Since other direct Redo Log Reader-based CDC solutions appear to support this scenario, could you explain the specific technical limitation that prevents Qlik Replicate from supporting it?

    Q3. Alternative Key Handling Mechanism

    Does Qlik Replicate provide an equivalent mechanism to SharePlex's SP_OCT_USE_SUPP_KEYS=0, allowing UPDATE row identification without relying exclusively on Oracle's supplemental key logging?

    Q4. Workaround or Internal Parameter

    Is there any supported configuration, Internal Parameter, Hotfix, or alternative capture mechanism that would allow UPDATE and DELETE replication for tables containing column names longer than 30 bytes while keeping ENABLE_GOLDENGATE_REPLICATION=FALSE?

    Q5. Future Product Support

    Is there any plan to address this limitation in Qlik Replicate 2026.5 SR1 or a subsequent release?

    If an existing defect, enhancement request, or support case is associated with this limitation, could you provide the relevant reference number?

    6. Request

    Due to operational policies and potential Oracle licensing implications, enabling ENABLE_GOLDENGATE_REPLICATION=TRUE may not be feasible in our environment.

    We would therefore like to understand whether Qlik Replicate can support this CDC scenario without changing the Oracle parameter.

    If no supported workaround currently exists, we would appreciate an official explanation of the technical limitation and any potential plans for future enhancement.

    Thank you for your assistance.

    Best regards.

    Show Less
  • forum

    Qlik Replicate

    Binary Key Bridging Pattern — Solving STCK Surrogate Key CDC Serialization Failu...

    I wanted to share a technical white paper I published that documents a novel solution to a CDC serialization challenge in Qlik Replicate during mainfr... Show More

    I wanted to share a technical white paper I published that documents
    a novel solution to a CDC serialization challenge in Qlik Replicate
    during mainframe-to-cloud migration.

    THE PROBLEM:
    STCK-based binary surrogate keys in mainframe MIS systems cause CDC
    serialization failures in Qlik Replicate when migrating to AWS Aurora
    PostgreSQL. The binary format breaks change event ordering and
    traceability during active migration.

    THE SOLUTION — Binary Key Bridging Pattern:
    A dual-key architecture that preserves the original STCK binary key
    while generating a UUID surrogate key for cloud-native compatibility.
    This enables reliable CDC without data loss or event ordering failures
    during zero-downtime migration.

    This pattern is part of a broader 5-layer Live Data Coexistence
    Framework (LDCF) that enables enterprise MIS modernization without
    system downtime.

    Published Paper:
    Zenodo: https://zenodo.org/records/21313169
    LinkedIn Post: https://lnkd.in/p/gaA4tN3n

    Has anyone else encountered STCK binary key issues with Qlik Replicate
    on mainframe sources? Would welcome feedback from the Qlik engineering
    or product team.

    Krishan Kumar

    Show Less
  • forum

    Qlik Replicate

    Qlik Replicate - Stopping tasks from running after a restore from a backup

    Hi Team,I am writing up Disaster recovery procedures for our Qlik Replicate servers and have a questions of the cleanest way of restarting the tasks.S... Show More

    Hi Team,

    I am writing up Disaster recovery procedures for our Qlik Replicate servers and have a questions of the cleanest way of restarting the tasks.

    So scenario:

    1. Backup of server is taken at 1:00
    2. Something nasty happens to the server at 6:00 and we have to restore the backup from 1:00

    If we restore the sever and let the tasks resume automatically with the server restore; we will duplicate changes captured from 1:00 to 6:00

    If we can get the Windows Server back online but the QR service is stopped - is there a clean way to intercept and stop all the QR tasks from resuming when the service is started?

     

    Show Less
  • forum

    Qlik Replicate

    Inquiry regarding Filter usage in Bidirectional Replication tasks

    Hello team,I am writing to inquire about the limitation on using Filters in bidirectional replication tasks.According to the user guide below, it stat... Show More

    Hello team,

    I am writing to inquire about the limitation on using Filters in bidirectional replication tasks.

    According to the user guide below, it states that Filters should not be used in bidirectional replication:
    https://help.qlik.com/en-US/replicate/May2026/Content/Global_Common/Content/SharedEMReplicate/Design%20Tasks/Limitations_bidirectional_tasks.htm#ar_tasks_1150461142_1273508

    Our customer has specific records within the target tables that they do not want to synchronize (for example, keeping records with IDs 1 to 10 isolated within their respective databases only).
    Therefore, they would like to apply a Filter.
    Theoretically, it seems possible to achieve this by configuring symmetrical filters on both tasks in the bidirectional setup.
    Could you please clarify the specific technical reason why using Filters is restricted/not recommended in bidirectional replication?

    Additionally, if using Filters is strictly unsupported or carries technical risks (such as infinite looping or data divergence), could you advise on any recommended workarounds to achieve this requirement?

    Best Regards.

    Show Less
  • forum

    Qlik Replicate

    Clarification on metric in GetTableStatuses API

    Hi Support,In the GetTableStatuses QEM API call which monitors Replicate tasks, there are 3 metrics returned in the response body called cached_insert... Show More

    Hi Support,

    In the GetTableStatuses QEM API call which monitors Replicate tasks, there are 3 metrics returned in the response body called cached_insert_count, cached_update_count and cached_delete_count.  

    I'd just like to understand the meaning of these metrics further. Do the counts represent the inserts/updates/deletes that have been picked up from the source and are yet to be applied to the target (i.e. in flight changes)? Or are they a historical count of all cached inserts/updates/deletes?

     

    Thanks,

    Nak

    Show Less
  • forum

    Qlik Replicate

    Qlik replicate , aws s3 as target randomly gives Send request failed: Windows/Wi...

    The customer network team hypothesises that the underlying AWS SDK doesn't give the connection long enough before timing out.Is there a way through th... Show More

    The customer network team hypothesises that the underlying AWS SDK doesn't give the connection long enough before timing out.

    Is there a way through the S3 connection properties to adjust the connection timeout; like a "xxxxTimeout" / "keepAlive" ?

    Is there any mitigation way from endpoint/task config parmeter level, or let r&d enhance it with new parameters :timeout parameter per connect + request  or keepAlive for  AWS S3 as target  connectTimeoutMs/httpRequestTimeoutMs
    Ref: https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/client-config.html

    Show Less
Leaderboard

Qlik community MVPs

Qlik Community MVPs — trusted experts driving collaboration, learning, and innovation.

mvp-banner-side-image