AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Centros de Control / Centro de Control HFSQL / HFSQL Client/Server
  • Presentación
  • ¿Cómo proceder?
  • Create a planned optimization
  • Delete a scheduled optimization
  • Modifying a planned optimization
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Presentación
El centro de control permite implementar un mecanismo de optimización automática de la base de datos y sus archivos mediante tareas de optimización programadas. Una tarea de optimización programada realiza periódicamente cálculos estadísticos o reindexa los archivos de datos en el servidor HFSQL.
¿Cómo proceder?

Create a planned optimization

In the HFSQL Control Center, optimization tasks can be defined at server or database level.
To create an optimization task:
  1. If necessary, connect to an HFSQL server and display the description of the server or one of its databases (double-click on the server or database name in the tree structure).
  2. Click the "Scheduled elements" tab.
  3. In the ribbon, in the "Planned items" group, pull down "New planning" and select "Plan optimization". The wizard for creating a planned optimization is launched.
  4. Select the files to optimize:
    • A database,
    • A selection of database files.
  5. Define task frequency: month, day, hour.
  6. Indicate the action taken:
    • Reindex indexes:
      This action provides optimum access to the indexes. The reindex operation automatically recalculates the statistics on the keys.
    • Recalculate file key statistics:
      This action optimizes data file paths.
  7. Specify data file passwords if necessary.
    Caution: If different passwords are used on data files, it is necessary to create a different optimization task for each data file associated with a different password.
  8. Give your scheduled task a description and validate the wizard.
  9. Scheduled optimization appears in the "Scheduled items" tab of the HFSQL Control Center.

Delete a scheduled optimization

To delete a scheduled optimization:
  1. If necessary, connect to an HFSQL server and display the appropriate server or database tab.
  2. Click the "Scheduled elements" tab.
  3. Select the scheduled optimization to be deleted.
  4. In the ribbon, in the "Scheduled elements" group, click "Delete".
    You also have the ability to use the context menu of the scheduled element ("Delete" option).

Modifying a planned optimization

To modify a planned optimization:
  1. If necessary, connect to an HFSQL server and display the appropriate server or database tab.
  2. Click the "Scheduled elements" tab.
  3. Select the planned optimization to be modified.
  4. In the ribbon, in the "Scheduled elements" group, click "Edit".
    You also have the ability to use the context menu of the scheduled element ("Edit" option).
  5. A description window of the scheduled element is displayed. All the characteristics typed in the wizard are grouped in several tabs:
    • Tab "General": Defines if the optimization is active.
    • Tab "Scheduling": Defines the scheduled optimization execution options (month, day, time).
    • Tab "Content": Defines the elements included in the planned optimization (server, database, files, etc.) as well as the action performed.
    • Novedad versión 2025
      Tab "Execution History": This tab appears when the scheduled optimization has been executed automatically. This tab lists the different automation executions of the scheduled task, indicating:
      • the optimization start date,
      • optimization status: completed, in progress, error,
      • running time,
      • the user who launched the optimization,
      • if launched manually (via HExecuteScheduling).
  6. Validate.
Versión mínima requerida
  • Versión 27
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 18/01/2025

Señalar un error o enviar una sugerencia | Ayuda local