Skip to content

Commit 6decccb

Browse files
Merge pull request mendix#10892 from mendix/olu-nbs-service
Disk reclaim info update
2 parents 770c8d5 + 0d4dd6c commit 6decccb

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

content/en/docs/deployment/mendix-cloud-deploy/backups/database-size-reduction.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,25 @@ Usually, the database of a Mendix application in Mendix Cloud grows over time. H
1212

1313
{{< figure src="/attachments/deployment/mendix-cloud-deploy/backups/database-size-reduction/Untitled.png" class="no-border" >}}
1414

15-
The data grows in a steady fashion. If entities are removed in a major release, you may see a temporary decrease in the size of the databasebut on average, the database size tends to increase over time.
15+
The data grows in a steady fashion. If entities are removed in a major release, you may see a temporary decrease in the size of the database, but on average, the database size tends to increase over time.
1616

17-
One reason for this growth is that the physical space on the hard disk is not freed up, even when you delete records from the database. Instead, the now-empty records are kept in place so that the space can be reused if new records are inserted into (created) the database. This is helpful because it means database records on the hard disk remain physically close to each otherwhich in turn means that disk read operations should perform better.
17+
One reason for this growth is that the physical space on the hard disk is not freed up, even when you delete records from the database. Instead, the now-empty records are kept in place so that the space can be reused if new records are inserted into (created) the database. This is helpful because it means database records on the hard disk remain physically close to each other, which in turn means that disk read operations should perform better.
1818

1919
However, there may be times when physically reclaiming the lost space is important. For example, if you get an alert that 90% of your disk space is in use, you may want to reduce your disk usage.
2020

2121
## Recovering Physical Disk Space
2222

23-
You can recover physical disk space by creating a database backup and then restoring it.
23+
Creating and restoring a database backup reduces the physical disk space used by your database. This process performs a full physical rewrite of the database, compressing it to contain just the current records and optimizing the physical placement of files on the actual hard disk to maximize the performance of disk read operations.
2424

2525
{{% alert color="warning" %}}
2626
Do not try to manipulate the backup in any way to reduce its size before restoring it. Doing so may lead to a backup file which can no longer be restored.
2727
{{% /alert %}}
2828

29-
A database restore does a full physical rewrite of the database. It compresses the database to contain just the current records. It also fully optimizes the physical placement of files on the actual hard disk to maximize the performance of disk read operations.
29+
In the Mendix Portal, you can create and restore a backup on your app's **Backups** page. For more information, refer to [Creating a Backup](/developerportal/operate/create-backup/).
3030

31-
In the Mendix Portal, you can create and restore a backup on your app's **Backups** page. For more information, see [Creating a Backup](/developerportal/operate/create-backup/).
31+
{{% alert color="info" %}}
32+
If performing a database backup and restore does not reduce physical disk usage, contact [Mendix Support](https://support.mendix.com/).
33+
{{% /alert %}}
3234

3335
## Summary
3436

0 commit comments

Comments
 (0)