Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 7 of 7 total |
Lock table - DbSys |
Thu, Nov 12 2015 10:49 PM | Permanent Link |
Graham Mylne | what does the lock table option do in the dbsys utility?
Im just wondering because I noticed that when a table is locked, transactions will start but once you commit it causes a locking issue. So just wondering whats its doing different to a transaction. Is it just simply locking the actual file? |
Fri, Nov 13 2015 7:11 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Graham,
<< what does the lock table option do in the dbsys utility? >> It sets a table-wide lock, which is actually just a quick way of locking all records at once. << Im just wondering because I noticed that when a table is locked, transactions will start but once you commit it causes a locking issue. So just wondering whats its doing different to a transaction. Is it just simply locking the actual file? >> It shouldn't, and I just tried it here with DBISAM 4.42 (lock the table, start transaction, update record, commit, unlock), and it works fine. Tim Young Elevate Software www.elevatesoft.com |
Sun, Nov 15 2015 9:42 PM | Permanent Link |
Graham Mylne | Thanks Tim
Ok it seems you are correct it does seem to work for the most part but i have a table that when locked is allowing it to still start a transaction with. Very strange. Ill have a look at our source for the DBISAM server. |
Sun, Nov 15 2015 10:17 PM | Permanent Link |
Graham Mylne | Oh Tim, sorry so are you saying that if a table is locked you should be able to run a transaction still on it?
scenario is lock table with dbsys and start, commit transaction using client app. |
Mon, Nov 16 2015 1:20 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Graham,
<< Oh Tim, sorry so are you saying that if a table is locked you should be able to run a transaction still on it? scenario is lock table with dbsys and start, commit transaction using client app. >> Ahh, I didn't know you were trying to do this with two separate applications. You can still do what you want, but you won't be able to edit any records in the client application because of the lock on the table in DBSYS. Nor will you be able to start any transactions in DBSYS because the client application has one already started. Tim Young Elevate Software www.elevatesoft.com |
Mon, Nov 16 2015 5:35 PM | Permanent Link |
Graham Mylne | ok sorry, thanks Tim
|
Tue, Nov 17 2015 12:44 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Graham,
<< ok sorry, thanks Tim >> No need for sorry. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, April 24, 2024 at 11:07 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |