Informix - Problem description
| Problem IT42699 | Status: Closed |
MANY ATS/RIS FILES MIGHT GENERATED WHEN TABLE ARE CREATED WITH ERKEY AND WITH REPLCHECK | |
| product: | |
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10 | |
| Problem description: | |
Here is an example of the table and replicate setup which might
result in the problem being seen ...
create table t1 (id serial not null, c1 char(1) not null) with
replcheck with erkey ;
create index t1_rowid on t1 (id) using btree ;
create unique index t1_erkey_replcheck on t1 (ifx_erkey_1,
ifx_erkey_2, ifx_erkey_3, ifx_replcheck) using btree ;
Please note that the inclusion of "with erkey" will
automatically create a unique index on columns (ifx_erkey_1,
ifx_erkey_2, ifx_erkey_3) which we will call erkey_123.
When defining the replicate, then there will be a need to
include "--erkey".
cdr define replicate --erkey --conflict=ignore --ats --ris
repl_t1 \'
"db@cdr_110:informix.t1" "select t.id, t.c1 from t1 t" \'
"db@cdr_111:informix.t1" "select t.id, t.c1 from t1 t"
Once this replicate is operational, then an issue will be seen
if the index data dictionary cache entries shows index
t1_erkey_replcheck before index erkey_123.
The order of indexes can be seen by running "onstat -g dic t1".
Depending on the SQL being run on the source server, then the
target server will report various ATS/RIS problems showing
either dbop:update, dbop:delete, dbop:keydelete or
dbop:keyinsert and the data will be out of sync. | |
| Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users of Informix Server prior to 12.10.xC16 and 14.10.xC10. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Informix Server 12.10.xC16 or 14.10.xC10. * **************************************************************** | |
| Local Fix: | |
| Solution | |
| Workaround | |
**************************************************************** * USERS AFFECTED: * * Users of Informix Server prior to 12.10.xC16 and 14.10.xC10. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Informix Server 12.10.xC16 or 14.10.xC10. * **************************************************************** | |
| Comment | |
Fixed in Informix Server 12.10.xC16 and 14.10.xC10. | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 13.12.2022 15.05.2023 15.05.2023 |
| Problem solved at the following versions (IBM BugInfos) | |
| Problem solved according to the fixlist(s) of the following version(s) | |