I am developing several processes to request a job from a database.
Each task is woken up once a minute to request a task and send it to the document management system.
I need advice on what is the best way to mask a record and request it, rather than duplicating it with another process.
In Oracle, depending on the version:
10g and down - use the extended queue. Delete your work with the keys that you left in the queue.
11g - , SKIP LOCKED SELECT FOR UPDATE , ; , PL/SQL.
SKIP LOCKED
SELECT FOR UPDATE
, , - ? "/", (?). , , , "" /. .
Source: https://habr.com/ru/post/1735685/More articles:Html Canvas Intelligent Canvas Drawing - javascriptHow to execute a signed PUT request with OAuth in Python - pythonFollow up. Link to x ++ link defined? - c ++What technologies exist to integrate 3D content with a website? - htmlAttributes creating fields in C # - c #Any gottcha on using TTimer for date monitoring and screen updates? - delphiHow to get output from local script in PHP? - php.NET Concurrency Question: can I provide a semaphore to another thread - c #Converting an integer value to bits and storing it in a char array? - cHow to start writing a Windows shell extension? - c ++All Articles