Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Too many records locked?
Message
De
07/01/2000 13:11:53
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/01/2000 13:07:47
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00314581
Message ID:
00314626
Vues:
22
Ohh, then locks wouldn't be released till transaction ends. If it's a must try to divide transaction to smaller pieces (a block does its job..end transaction, go next record).
Cetin



>I'm using Optimistic Table Buffering. After all the records are modified, the actual TABLEUPDATE() is wrapped in a TRANSACTION. Is this a problem?
>
>
>>If It's wrapped in a transaction you are implicitly locking each record. And If you're using novell it defaults to max 2000 locks, Net admin can change this but may not want too.
>>take it out of the transaction and release the locks
>>Jeff Hart
>>
>>>>>I have some code that SCANs a large number of records in a table and does some stuff with each record, including a REPLACE. On particularly large tables where a lot of records are processed, the server is giving a message that the record lock threshhold has been exceeded and the computer freezes up. Shouldn't the REPLACE command lock and unlock the records automatically? Why would a series of REPLACES cause a problem?
>>>>>
>>>>>Thanks.
>>>>
>>>>
Is it Novell ?
>>>>Cetin
>>>
>>>Yes, why?
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform