New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User-level locking [CORE1272] #1693
Comments
Commented by: @hvlad If you want your request(s) to be considered made more detailed explanation at least what it is and what problems it can solve |
Commented by: Igor Lobov (ivl) For example: This mechanism will allow to organize parallel processing of great volumes of the information by several users. Using UDF for this purpose do not allows to realize this opportunity in the context of transaction. |
Commented by: @hvlad MS SQL Server have the similar mechanism : I think it is useful. It can be partly emulated in Firebird by taking table lock at transaction start (via TPB) |
Commented by: Igor Lobov (ivl) There is the simple example when locking of the table will not give expected effect. |
Commented by: @hvlad Use another special table for locking purposes. Go to support list for details if needed |
Commented by: Igor Lobov (ivl) Yes, the additional special table partially solves this problem. |
Commented by: Sean Leyne (seanleyne) 1 - I do see this as an application level problem. 2 - This could be resolved by using a series of SPs, which use Context variables (v2.0) as a mechanism for setting locks. The only problem is that the locks will not be automatically released by commit/rollback. |
Commented by: @asfernandes The locks is related to data, so it's a perfect thing that the database could help the application. While, for example, Oracle do his best to make people use PL/SQL and his extensions, we, unfortunately, do our best trying people to not use our things so they can go to others DBMSs easily. Sigh. |
Modified by: @pcisarWorkflow: jira [ 12152 ] => Firebird [ 15573 ] |
Modified by: Igor Lobov (ivl)Component: Engine [ 10000 ] |
Submitted by: Igor Lobov (ivl)
Votes: 3
User-level locking (Oracle DBMS_LOCK-like), witch automatic unlock on COMMIT or ROLLBACK
The text was updated successfully, but these errors were encountered: