The Choose Scheduling Method page displays for LiveReogs only. This page allows you to select one of the following options for scheduling script execution.
To schedule a script for recurring execution, choose Schedule Script Generation.
Scheduled script generation allows you to save the Reorg Manager settings as a Reorg Plan which is then used to generate and execute the script at a later time. A Windows scheduler task is created to run the Reorg Plan. Scheduled script generation is available for LiveReorg only. See About Scheduling a Recurring Reorganization to learn about the advantages of this method.
To run the script immediately, select Schedule Script Execution.
Prior to scheduling the script, review space usage information on the Space Usage Summary tab. See Review Space Usage for more information.
Select a scheduling method
Schedule Script Execution—Select to execute the script immediately, to store the script without executing, or to schedule the script.
Selecting this option opens the Schedule Script Execution page. See Schedule Script Execution in Wizards for next steps.
Schedule Script Generation—Select to save the Reorg Manage settings as a Reorg Plan and schedule script generation and execution. Use this method if you want to schedule script execution on a recurring basis. This method also allows you to schedule a script to run once. You can modify the execution schedule in the Space Manager Scheduled Tasks window.
When this method is used, the script is executed immediately after the script is generated.
Selecting this method opens the Schedule Script Generation page. See Schedule Script Generation for next steps.
Use the Schedule Script Execution page of the Reorg Manager or Partitioning Wizard to run, schedule, or store a script. You can also open the script in the Editor to review it (or run it).
Prior to scheduling the script, review space usage information on the Space Usage Summary tab. See Review Space Usage for more information.
From the Schedule Script Execution page you can do any of the following:
Note: For LiveReorg scripts, if you want to schedule the script to run on a recurring basis, return to the Choose Scheduling Method page and select Schedule Script Generation. See Choose a Scheduling Method (LiveReorg) and About Scheduling a Recurring Reorganization for more information.
See About Running and Scheduling Scripts to learn more about your script execution options and to review important considerations and best practices.
To view (or run) the script in the Editor
You can also run the script interactively from the Editor window. See Run Scripts from the Editor for more information.
Important: Live reorganization scripts and scripts that use FastCopy or parallel QSA processes cannot be run from the SQL Editor. They must be scheduled and run by QSA. These scripts contain commands that must be interpreted by QSA. To run a script in QSA, it must be scheduled (even when executed immediately).
To schedule the script to run once
Select Run at to run the script at a certain date and time.
Note: Reorganization scripts should be run as soon as possible after they are generated. If the data structures of the objects in the script are modified between script generation and execution, the DDL and DML statements in the script can cause errors and/or data loss during script execution.
See Schedule Scripts, to learn more about scheduling scripts.
To execute the script immediately
To store the script without scheduling it
Tip: Click Auto-Refresh in the Script/Job Monitor window to specify a frequency at which to automatically refresh the scripts list.
Scheduled script generation allows you to save the Reorg Manager settings as a Reorg Plan which is then used to generate and execute the script at a later time. A Windows scheduler task is created to run the Reorg Plan. Scheduled script generation is available for LiveReorg only. See About Scheduling a Recurring Reorganization to learn about the advantages of this method.
Selecting this option is done through in the Reorg Manager when creating a LiveReorg script. See Choose a Scheduling Method (LiveReorg) for more information.
To Schedule Script Generation
Enter a file name or use the default name. The name you enter is used as the name for the Windows scheduler task as well.
Tip: After saving a Reorg Plan, you can open it in the Reorg Manager at any time using File | Open Saved Reorg Plan.
Before you run the script for the first time, to manage it you must use the Space Manager Scheduled Tasks window. To open this window, select Manage | Scheduled Tasks from the Reorg Wizard or Explorer. You can view the status of a scheduled script, edit the script's schedule, enable/disable the script, run the script, or delete the scheduled execution. See Manage Scheduled Tasks for more information.
If the script requires approval, once the script begins to run, you must open the Script/Job Monitor window to approve the switch. However, you should use the Space Manager Scheduled Tasks window if you need to edit the script's schedule.
Space Manager provides two ways to save Reorg Manager settings: Save as Default or Saved Reorg Plan.
Saved Reorg Plan
Space Manager allows you to save the settings you select in the Reorg Manager as a Reorg Plan to reuse later. You can save the settings at any stage in the wizard. Saving Reorg Manager settings allows you to save the reorganization parameters selected on each page of the Reorg Manager wizard, as well as the Objects to be Reorganized list. This feature is also available in the Partitioning Wizard.
To use a saved Reorg Plan, open it from the File menu. The Reorg Manager then launches with the saved settings and object list applied. You can have multiple saved Reorg Plans.
Tip: To save an unfinished reorg preparation in the Reorg Manager or Partitioning Wizard and continue it later, save it as a Reorg Plan.
Save As Default
You can also save the settings in the Reorg Manager or Partitioning Wizard to use as the default settings. Once you save the settings as default, Space Manager displays these settings each time you use the Reorg Manager or Partitioning Wizard.
To save a Reorg Plan
To open a saved Reorg Plan
To Save (settings) as Default
Tip: In addition to the two methods described in this topic, you can also specify some default options for the Partitioning Wizard in the Options dialog (Tools | Options | Partitioning Wizard). See Partitioning Wizard Defaults.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center