IBM Data and AI

Welcome to the IBM Data and AI Ideas Portal for Clients!

We welcome and appreciate your feedback on IBM Data and AI Products to help make them even better than they are today!
Before you submit an idea, please perform a search first as a similar idea may have already been reported in the portal. If a related idea is not yet listed, please create a new idea and include with it a description which includes expected behavior as well as why having this feature would improve the service and how it would address your use case.
IBM Employees:
Clients:
  • Our team welcomes any feedback and suggestions you have for improving our offerings / products! This forum allows us to connect your offering / product improvement ideas with IBM product and engineering teams.

  • If you have not registered on this portal please click on the following link and register. To complete registration you will need to open the email you will receive from Aha to confirm your identity. http://ibm.biz/IBM-Data-and-AI-Portal-Register

Additional Information:
  • The shorter URL for this site is: https://ibm.biz/IBM-Data-and-AI-Ideas

  • To view our roadmaps: http://ibm.biz/Data-and-AI-Roadmaps

  • Reminder: This is not the place to submit defects or support needs, please use normal support channel for these cases

  • Please do not use the Ideas Portal for reporting bugs - we ask that you report bugs or issues with the product by contacting IBM support.

DR4A V1.2 Sequence not replicated

After insert on capture side on table with autonumber column, data is inserted, but sequence is not replicated on apply side.

You can follow the following steps to recreate the scenario.

CREATE LARGE TABLESPACE "TSD_DBA_TEST"
IN DATABASE PARTITION GROUP "IBMDEFAULTGROUP"
PAGESIZE 32 K
MANAGED BY AUTOMATIC STORAGE
AUTORESIZE YES
INCREASESIZE 10 PERCENT
EXTENTSIZE 32
BUFFERPOOL "IBMDEFAULTBP"
OVERHEAD INHERIT
TRANSFERRATE INHERIT
DATA TAG INHERIT
USING STOGROUP "IBMSTOGROUP";

CREATE LARGE TABLESPACE "TSI_DBA_TEST"
IN DATABASE PARTITION GROUP "IBMDEFAULTGROUP"
PAGESIZE 32 K
MANAGED BY AUTOMATIC STORAGE
AUTORESIZE YES
INCREASESIZE 10 PERCENT
EXTENTSIZE 32
BUFFERPOOL "IBMDEFAULTBP"
OVERHEAD INHERIT
TRANSFERRATE INHERIT
DATA TAG INHERIT
USING STOGROUP "IBMSTOGROUP";

CREATE TABLE "PRD_DBA"."PETRA_TEST_AUTONUM" (
"ID" BIGINT NOT NULL GENERATED BY DEFAULT AS IDENTITY ( START WITH 1 INCREMENT BY 1 MINVALUE 1 MAXVALUE 9223372036854775807 NO CYCLE NO CACHE NO ORDER ),
"NUM" SMALLINT NOT NULL,
"TEXT" CHAR(10 CODEUNITS32)
)
ORGANIZE BY ROW
DATA CAPTURE NONE
IN "TSD_DBA_TEST" INDEX IN "TSI_DBA_TEST"
DISTRIBUTE BY HASH ("NUM")
COMPRESS YES STATIC;

ALTER TABLE "PRD_DBA"."PETRA_TEST_AUTONUM" ADD CONSTRAINT "PK_PETRA_TEST_AUTONUM" PRIMARY KEY
("NUM") NOT ENFORCED;

COMMENT ON TABLE "PRD_DBA"."PETRA_TEST_AUTONUM" IS
'Petra: TESTNA_TABELA';

On capture side we inserted 2 records:
INSERT INTO "PRD_DBA"."PETRA_TEST_AUTONUM" (NUM, TEXT) VALUES (1, 'a');
INSERT INTO "PRD_DBA"."PETRA_TEST_AUTONUM" (NUM, TEXT) VALUES (2, 'b');

Then we insert 3 records on apply side:
INSERT INTO "PRD_DBA"."PETRA_TEST_AUTONUM" (NUM, TEXT) VALUES (3, 'C');
INSERT INTO "PRD_DBA"."PETRA_TEST_AUTONUM" (NUM, TEXT) VALUES (4, 'D');
INSERT INTO "PRD_DBA"."PETRA_TEST_AUTONUM" (NUM, TEXT) VALUES (5, 'E');

As we see on results of insert on apply side below, replication does not consider autonumber from capture side. We ran the following query on the apply side:
select *
FROM "PRD_DBA"."PETRA_TEST_AUTONUM"
order by id

The result of the select:
ID NUM TEXT
-- --- ----------
1 3 C
1 1 a
2 4 D
2 2 b
3 5 E


A workaround suggested by the development team (Senthil C., Nishant M.) is to use odd/even numbering on capture/apply side. However, this requires manual steps from the DBA. Since there will be a large number of tables used on our DWH environment, we expect the solution to be automatic.

 

S per agreement with DR4A dev team and case TS003221534 this request was opened.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jan 20 2020
  • Under Review
Who would benefit from this IDEA? IBM
How should it work?

We expect the solution to be built into DR4A product.

See TS003221534 case.

Idea Priority Urgent
Customer Name NLB d.d.
  • Attach files

NOTICE TO EU RESIDENTS: per EU Data Protection Policy, if you wish to remove your personal information from the IBM ideas portal, please login to the ideas portal using your previously registered information then change your email to "anonymous@euprivacy.out" and first name to "anonymous" and last name to "anonymous". This will ensure that IBM will not send any emails to you about all idea submissions