You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
16
16
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.
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.
18
18
19
19
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.
20
20
21
21
## Recovering Physical Disk Space
22
22
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.
24
24
25
25
{{% alert color="warning" %}}
26
26
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.
27
27
{{% /alert %}}
28
28
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/).
30
30
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/).
Copy file name to clipboardExpand all lines: content/en/docs/deployment/on-premises-design/linux/linux-pad.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ To deploy your app to Linux, perform the following steps:
52
52
* For Debian/Ubuntu-based systems: `sudo apt install temurin-21-jdk -y`
53
53
* For RHEL/CentOS-based systems: `sudo yum install temurin-21-jdk -y` or `sudo dnf install temurin-21-jdk -y`
54
54
55
-
If your application requires it, you can change the Java version on vendor as needed, for example, `openjdk-21-jdk` or `java-17-amazon-corretto`.
55
+
If your application requires it, you can change the Java version on vendor as needed, for example, `openjdk-21-jdk` or `java-21-amazon-corretto`.
56
56
57
57
{{% alert color="info" %}}
58
58
Your Portable App Distribution only requires a Java Runtime Environment (JRE) to run, but it is often recommended to install a full JDK as it includes the JRE and development tools.
@@ -109,4 +109,4 @@ Your Portable App Distribution only requires a Java Runtime Environment (JRE) to
109
109
110
110
`8080` is the default port. If your application is configured to run on a different port, adjust accordingly.
111
111
112
-
Ensure that the port is open in your Linux server's firewall (for example, `firewalld`, `ufw`), and any cloud security groups or network access control lists (NACLs).
112
+
Ensure that the port is open in your Linux server's firewall (for example, `firewalld`, `ufw`), and any cloud security groups or network access control lists (NACLs).
0 commit comments