Compressing and defragmenting databases

Compress the live databases, which includes moving pages internally to the beginning of the files that make up the database, defragmenting, and using the MS SQL Server tools monthly or after significant deletions of data in the database (purging appointments, purging old audit records, and so forth).

Also, defragment the server hard drive containing the Dentrix Enterprise database on a regular basis at the operating system level by using the operating system defragmenting tools. This defragmenting of the database files at the operating system level will ensure optimal data layout on the hard drive to enhance database performance.

Refer to the following:

MS SQL Server 2019

https://docs.microsoft.com/en-us/sql/integration-services/control-flow/shrink-database-task?view=sql-server-2019