counter not unique??

MiniMe
Posts: 210
Joined: Thu Mar 15, 2001 4:30 pm

counter not unique??

Post by MiniMe »

I was always under the assumption that counter was unique, but today we found two records with the same value in the id column. Further research found 65 more of them with dupes. Is there an issue here..??
User avatar
John
Site Admin
Posts: 2623
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH

counter not unique??

Post by John »

Yes, counters will be unique if generated using the counter keyword as the value and you have locking enabled. Can you give example values of dupes?
John Turnbull
Thunderstone Software
MiniMe
Posts: 210
Joined: Thu Mar 15, 2001 4:30 pm

counter not unique??

Post by MiniMe »

Here is a sample of the id's

id numb
------------+------------+
3b063d336 2
3b063e3796 2
3b06bbb66 2
3b06d45c6 2
3b06d75e6 2
3b06db626 2
3b06dfa86 2
3b07f81d6 2
3b08056f6 2
3b0810c56 2
3b08358e6 2
3b08eff626 2
3b0a08d414 2
3b0a0afe30 2
3b0a0d612a 2
3b0a1a49e 2
3b0a1b3b4e 2
3b0a1c876 2
3b0a1f5a6 2
3b0a2bde6 2
3b0ae6266 2
3b0ae7326 2
3b0aecde6 2
3b0aede026 2
3b0b52636 2
3b0b597f6 2
3b0b7cdb5a 2
3b0b7d2d6 2
3b0b865e1e 2
User avatar
John
Site Admin
Posts: 2623
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH

counter not unique??

Post by John »

Those look like validly generated counters. Is it possible that a record was copied, and reinserted into the database?
John Turnbull
Thunderstone Software
MiniMe
Posts: 210
Joined: Thu Mar 15, 2001 4:30 pm

counter not unique??

Post by MiniMe »

Actually the rest of each duplicated record is different. Only the id column is the same value. All the rest of the record was different though.
bart
Posts: 251
Joined: Wed Apr 26, 2000 12:42 am

counter not unique??

Post by bart »

How are you generating the counter value that is being inserted?
MiniMe
Posts: 210
Joined: Thu Mar 15, 2001 4:30 pm

counter not unique??

Post by MiniMe »

All of the counter values are being set when we do a timport of data from text.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

counter not unique??

Post by mark »

Timport from command line or vortex?
If from vortex are you using any form of singleuser mode?
And what's your insert statement?

What's your schema?