The SQL database is scaled regularly. In general, the SQL database does not reduce the size of the database to a large extent. its main function is to shrink the log size. this operation should be performed regularly to avoid excessive database logs.
1. Set Database mode to simple mode: Open the SQL Enterprise Manager, in the root directory of the console, open Microsoft SQL Server --> SQL Server Group --> double-click your Server --> double-click to open the Database Directory --> select your database name (such as the forum database) forum) --> then right-click and select Properties --> select options --> Select "simple" in the fault recovery mode, and click OK to save
2. right-click the current database to view the shrinking database in all tasks. Generally, the default settings in the database do not need to be adjusted. Click OK directly.
3. after shrinking the database, we recommend that you set your database attributes to the standard mode. The operation method is the same as the first one, because logs are often an important basis for restoring the database in case of exceptions.