Skip to main content
Version: Next

Maintenance Page

The Maintenance page of the 4D Server Administration window provides information concerning the current operation of the application. It also provides access to basic maintenance functions:

Last verification/compacting

These areas indicate the date, time and status of the last data verification and compacting operation carried out on the database.

Verify Records and Indexes

This button can be used to launch the verification operation directly, without interrupting the server. Note that the server may be noticeably slowed down during the operation.

All the records and all the indexes of the database are verified. If you want to be able to target the verification or have additional options available, you will need to use the Maintenance and Security Center (MSC).

After verification, a report file is generated in XML format on the server in the maintenance Logs folder. The View Report button (named Download Report if the operation was carried out from a remote machine) lets you display the file in your browser.

Compact Data...

Thus button can be used to launch a data compacting operation directly. This operation requires stopping the server: when you click on this button, the 4D Server shutdown dialog box appears so that you can choose how to interrupt the operation:

After the actual interruption of the application service, 4D Server carries out a standard compacting operation on the database data. If you want to have additional options available, you will need to use the MSC.

Once the compacting is finished, 4D Server automatically restarts the application. The 4D users can then be reconnected.

If the request for compacting was carried out from a remote 4D remote machine, this machine is automatically reconnected by 4D Server.

After verification, a report file is generated in XML format on the server in the maintenance Logs folder. The View Report button (named Download Report if the operation was carried out from a remote machine) lets you display the file in your browser.

Uptime

This area indicates the duration of the 4D Server application execution since the last time it was started (days, hours and minutes).

Restart server...

This button can be used to immediately close and restart the project. When you click on this button, the 4D Server shutdown dialog box appears so that you can choose how to interrupt the operation. After validation, 4D Server automatically closes and reopens the project. The 4D users can then be reconnected.

If the request for restarting was carried out from a remote 4D machine, this machine is automatically reconnected by 4D Server.

Last backup

This area indicates the date and time of the last backup of the database and provides information about the next scheduled automatic backup (if any). Automatic backups are configured using the Scheduler page of the structure settings.

  • Last backup: date and time of last backup.
  • Next backup: date and time of next scheduled backup.
  • Needed space: estimated space needed for the backup. The actual size of the backup file may vary according to the settings (compression, etc.) and according to variations of the data file.
  • Available space: space available on the backup volume.

The Start backup button can be used to backup the database immediately using the current backup parameters (files backed up, location of archives, options, etc.). You can view these parameters by clicking on the Settings... button. During a backup on the server, the client machines are "blocked" (but not disconnected) and it is not possible for any new clients to connect.

Request and Debug logs

This area indicates the server log files recording duration (when log files are activated) and allows you to control their activation.

Refer to the Description of log files section for details on log files.

Start/Stop Request and Debug Logs

The Start Request and Debug Logs button starts log files. Since this may noticeably deteriorate server performance, it is to be reserved for the development phase of the application.

This button only logs operations that are executed on the server.

When the logs have been activated, the button title changes to Stop Request and Debug Logs, so that you can stop recording requests at any time. Pay attention to the fact that restarting the log after stopping it "erases" the previous file.

View Report

The View Report button (named Download report if the operation was carried out from a remote desktop client) lets you open a system window displaying the request log file.

Load logs configuration file

This button allows you to load a special server log configuration file (.json file). Such a file can be provided by 4D technical services to monitor and study specific cases.

Pause logging

This button suspends all currently logging operations started on the server. This feature can be useful to temporarily lighten the server tasks.

When the logs have been paused, the button title changes to Resume logging, so that you can resume the logging operations.

You can pause and resume logging using the SET DATABASE PARAMETER command.