Skip to Main Content
IBM Data Platform Ideas Portal for Customers


This portal is to open public enhancement requests against products and services offered by the IBM Data Platform organization. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:


Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,


Post your ideas

Post ideas and requests to enhance a product or service. Take a look at ideas others have posted and upvote them if they matter to you,

  1. Post an idea

  2. Upvote ideas that matter most to you

  3. Get feedback from the IBM team to refine your idea


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

IBM Employees should enter Ideas at https://ideas.ibm.com



Status Submitted
Created by Guest
Created on Nov 25, 2025

Performance improvement for getPrimaryKeys() query for Snowflake target (Flexrep)

When the IIDR Target instance for Snowflake gets restarted, it runs the below query on Snowflake to get information about the primary keys for the tables. The query is fired for each table in the subscription. (we have 435 tables in the subscription, hence 435 times)

show /* JDBC:DatabaseMetaData.getPrimaryKeys() */ primary keys in account

Each instance of the query retrieves the primary keys for all tables in the Snowflake account which is a very inefficient way of doing it. It is not limited to the table or even schema where the table is located. We have ~5000 tables in the snowflake account, the query execution time varies from 5 seconds to 30 seconds. As a result, during a restart, there is a delay of upto 3 hours or more for the capture to push changes to target which will be crucial for us.

Since we use 'Live Audit' mapping mode for snowflake, primary keys are not relevant. So we propose the below 2 solutions

1. Do not fire getPrimaryKeys () queries if the table mapping mode is Live Audit as primary keys are not relevant in Live Audit mode.

2. If the above solution is not possible, at least update the query to such a way that it will look at the metadata for the specific table only. 

show /* JDBC:DatabaseMetaData.getPrimaryKeys() */ primary keys in table <schemaname>.<tablename>;

Needed By Yesterday (Let's go already!)