- Mastering Oracle Scheduler in Oracle 11g Databases
- Ronald Rood
- 248字
- 2021-04-01 14:12:54
Chains and steps
As mentioned earlier, a chain consists of multiple steps that are logically connected together. We cannot say anything about the behavior of these steps in the job chain. In order to know when these steps are going to be executed, we have to know what rules are applied to them. All steps have a name. We are going to reference these names of steps in our rules, which we will define later. Now, let's return to the backup example and list the steps there:
SHUTDOWN
: Take the database offline in a clean way.COPYFILES
: Copy the database files to a remote location.STARTUP
: Start up the database for a normal operation.
Without rules, nothing much will happen. The Scheduler will be looking for a step to start, but will be unable to find it. As soon as the Scheduler finds itself in a situation where it is given a chain and it cannot determine what to do next, the job gets a special job status—CHAIN_STALLED
. This status means that the Scheduler does not know how to handle the chain. The chain will probably remain in this state indefinitely, unless we manually take over. If we ever find our job in such a state, it means that we have not taken into account all possible combinations of outcomes that the steps can have. Defining a good set of rules will mostly prevent us from getting in this state. Let's go to the rules now.
- 基于元胞自動機的城市路網(wǎng)交通流建模與仿真
- Spring Security 3
- CakePHP 1.3 Application Development Cookbook
- Unity Game Development Essentials
- COSPLAY的后期藝術(shù):Lightroom+Photoshop修圖技法攻略
- PS App UI設(shè)計從零開始學(xué)
- iPhone User Interface Cookbook
- UI功夫:PC和APP界面設(shè)計全流程圖解
- 音樂日記:Studio One 6場景×風(fēng)格編曲實用教程
- Refactoring with Microsoft Visual Studio 2010
- Excel革命!超級數(shù)據(jù)透視表Power Pivot與數(shù)據(jù)分析表達式DAX快速入門
- EJB 3.1 Cookbook
- Photoshop圖像處理與制作
- UG NX 9.0模具設(shè)計工廠實訓(xùn)
- Excel數(shù)據(jù)分析與可視化