Oracle NoSQL Database by Maqsood Alam

Oracle NoSQL Database by Maqsood Alam

Author:Maqsood Alam
Language: eng
Format: epub
Tags: -
Publisher: McGraw-Hill Education
Published: 2013-11-18T16:00:00+00:00


The plan wait command (not the same as the plan command with the -wait flag) can be used to wait until the specified plan completes, or for a specified time period. The -last flag refers to the most recent plan that was created. The complete syntax for the plan wait command is

You can also create plans and defer their execution by using the optional -noexecute flag. The -noexecute flag saves the plan in the system and returns the plan_id. The plan can be executed later as required by using the plan execute -id <id> command.

The -wait and -noexecute options, when coupled with the plan wait command, provide the capability to program multiple plan executions using scripts. Using these flags, you can run a series of interdependent plans by ensuring that the current plan completes before the next plan is started. Moreover, you can capture the return code of the plan command within the script and take appropriate actions. Furthermore, you can also save plans and run them multiple times by retrieving them from a list of stored plans. By using these powerful options available for the plan command, the administrators can build a complex set of batch scripts that can be scheduled to run automatically and virtually unattended.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.