Skip to Main Content
IBM Data and AI Ideas Portal for Customers


This portal is to open public enhancement requests against products and services offered by the IBM Data & AI 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 Not under consideration
Workspace Db2 for z/OS
Created by Guest
Created on Dec 30, 2020

Referential Integrity for Real-time Statistics Tables (RI for RTS)

OVERVIEW:

The RTS tables do not have DB2-enforced RI.

The DB2 component that handles the maintenance of this data can encounter certain failures that can result in obsolete/invalid/orphaned data in the table(s). By the way, this is more prevalent in a DS environment, as there is some level of coordination between the members when the in-memory data is externalized.

As a result, you wind up having orphaned rows in the table(s), as well as some values which are inaccurate.

PROBLEM:

I am mainly concerned about the orphaned rows. The orphaned rows cause: extra memory to store by the RTS component, extra online storage for the data/index, occasional confusion by DBAs/developers (for instance, the true key for systablespacestats includes OBID and INSTANCE), additional (trickier) SQL coding to ensure proper selection of the data.

CURRENT WORKAROUND:

We are currently working on a process (SQL-based) to remedy our current situation.

Unlike just about all of the other catalog tables, the RTS tables can be manipulated by SQL via INSERT, DELETE, UPDATE. The only DB2-enforced restrictions are: UNIQUE constraint on key components, column-level constraint on INSTANCE.

PROPOSAL:

My proposal is that IBM supply customers with a program that would report on the referential integrity of the data in RTS, and optionally remove orphaned rows.

USERS IMPACTED:

I believe that a high percentage of DB2 customers are impacted by this, and could benefit from such a program/tool. Most are probably unaware, and it is brought to their attention when they are faced with a reason to closely examine the RTS contents.

Most people I've discussed this with believe that since these tables are part of the catalog that DB2 will handle the RI. Originally users were not allowed to directly update any catalog tables. Then, there was good reason to allow users to UPDATE some tables, and only some columns. These tables, however, are fully INSERTable/DELETEable via SQL.

Needed by Date Apr 30, 2021
  • Admin
    Janet Figone
    Reply
    |
    May 7, 2021

    Thank you for submitting this Aha! Idea to the Db2 for z/OS team. Development reviewed it and understands there are times when RTS may not be available when object was dropped and residual value stays in the RTS. These residual information does not create any issue in the RTS table.

    However, this should not happen very often. We suggest that if this happens again to query RTS using SQL to identify it.

    Sincerely,

    The Db2 for z/OS Development team