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..??
counter not unique??
-
John
- Site Admin
- Posts: 2623
- Joined: Mon Apr 24, 2000 3:18 pm
- Location: Cleveland, OH
counter not unique??
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
Thunderstone Software
-
MiniMe
- Posts: 210
- Joined: Thu Mar 15, 2001 4:30 pm
counter not unique??
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
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
-
John
- Site Admin
- Posts: 2623
- Joined: Mon Apr 24, 2000 3:18 pm
- Location: Cleveland, OH
counter not unique??
Those look like validly generated counters. Is it possible that a record was copied, and reinserted into the database?
John Turnbull
Thunderstone Software
Thunderstone Software
-
MiniMe
- Posts: 210
- Joined: Thu Mar 15, 2001 4:30 pm
counter not unique??
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??
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??
All of the counter values are being set when we do a timport of data from text.
-
mark
- Site Admin
- Posts: 5519
- Joined: Tue Apr 25, 2000 6:56 pm
counter not unique??
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?
If from vortex are you using any form of singleuser mode?
And what's your insert statement?
What's your schema?