Home > database > Use dblink synchronous data found repetition
Use dblink synchronous data found repetition
Time:09-26
The create table tmp_1234 nologging as Select * from res_house @ test;
Houseid is a primary key; The select houseid, count (1) The from tmp_1234 Group by houseid Having a count (1) & gt; 1;
Synchronous data had been used this way, now suddenly found the primary key repeat data, there is no duplicate data to a data source database query, The whole table data about 1300 w, 3000 primary key repeat data; Consulting the company's dba, consistent read may have a problem,
Online has examined the other similar situation with me, but didn't find the reason and solution, for help
CodePudding user response:
Use try heavy grammar,
CodePudding user response:
To see whether there is record data of all empty, the primary key is to allow for empty (unless you are qualified for the not null), empty is not affected by the uniqueness of the data,