How can I reduce the disk usage?
In Users & System Administration, Service Usage displays the disk usage of the attachment area, the audit log storage area, and the database area.
To reduce the disk usage, you should delete unnecessary attachments. Deleting attachments increases available space that can be used for storing additional new data.
Data Stored in the Attachment Area
The attachment area stores files that are attached to attachment fields or comments in apps. Deleting attachments increases available space for disk usage.
Data Stored in the Database Area
The database area stores the following types of data:
- Input data, excluding attachments
- Setting information
The database area expands automatically according to the size of stored data. Once the area expands, it does not shrink even after the size of stored data decreases. Therefore, deleting data in the database area does not cause the disk usage to be reduced. The database space freed up by deleting existing data is reserved for reuse.
Reducing the Disk Usage of Apps
When change tracking is enabled, attachments remain in the history even after you delete an attachment from the record. To delete an attachment from the history, you must perform one of the following actions:
- Delete the record.
- Disable change tracking to delete the history.
Disabling the Logging Feature for Change History
- Delete the attachment field.
Disabling the logging feature for change history causes the history to be deleted. The history deletion may take some time and thus the disk usage may not be reduced immediately.
Reducing the Disk Usage of Audit Logs
Adding, updating, or deleting a large amount of data frequently and repeatedly with APIs or others results in the increased number of audit log entries. If the disk usage is still high even after you delete attachments or disable the logging feature for change history, you can shorten the retention period of audit logs to save the disk usage.
Configuring Retention Periods and Export File Formats of Audit Logs