Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto inc skips
Message
From
12/12/2007 17:09:25
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01274981
Message ID:
01275348
Views:
24
>>>Do you think caching could create autoinc duplicates?
>>
>>The only way you can get duplicates if one PC updates autoinc (in the table header) and other still see old version of the header. Does it sound as caching to you? :)
>
>Id does sound as caching,

Sounds more like bad caching to me.

>and I believe it is caching, but is a logic based argument, and the counter argument is that if cache is not safe then we would see a lot more data integrity problems across the system. Unless I can come with a way to prove it, it remains more like an opinion.

But then maybe not - the other cases where you may expect the caching to screw up the table are old cases, which pretty much existed as early as 2.x, and were probably met, recognized, diagnosed and fixed already. Autoinc fields are a bit of a novelty, haven't exactly gained widespread use (because the majority of us already had our own ways of generating keys, or had commercial or our own frameworks which did that), so I'd expect that only a handful of people ever ran into a problem with that. You may actually know the other two, if we only knew who they were ;).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform