How_do_I_maintain_my_SQLEXPRESS_database_

How do I maintain my SQLEXPRESS database?

If you're a smaller organization that's using the free version of SQLEXPRESS instead of using a paid version of Microsoft SQL Server Standard, you will need to do a little database maintenance to keep everything operating at peak performance.

How often do I need to clean up my SQLEXPRESS database? For optimal performance, you should perform this task every day.  

 

What if I use a paid version of Microsoft SQL Server Standard? You will use the tools in Microsoft SQL Server Standard to maintain the database, which means you do not need to use the Maintain Databases routine in Connect applications. See Microsoft SQL Docx to resolve index fragmentation by reorganizing or rebuilding indexes

 

Maintaining the database will clean up, organize, and optimize files to make it easier for Connect applications to find and retrieve information. Running database maintenance works a little like defragmenting a hard drive on your computer. When you're done, the physical location of the files in the database will match the logical ordering of the files. 

 

Before you get started

  • Back up the database. You should always back up a database before running a routine that modifies or deletes transactions. See How do I back up a database?

 

Cleaning up my SQLEXPRESS database

1. Open Connect System Management > System Tools > Maintain Databases. 

2. Click Select All. 

Image

Select All button

 

3. Click to select the Rebuild Index checkbox. 

Image

Rebuild indexes checkbox

 

4. Click to select the Shrink Database checkbox. 

Image

Shrink database checkbox

 

5. Click GO Image (CTRL+G). 

Connect rebuilds and shrinks the SQLEXPRESS database. This process may require additional time depending on the size of the database. 

 

 

 

 

Copyright © 2025 Caselle, Incorporated. All rights reserved.

    • Related Articles

    • How do I maintain databases?

      You can use Connect to rebuild indexes and shrink the database size. Use rebuild indexes to improve the database processing speed. Use shrink database to compact the database so less disk space is required. Using these tools on a regular basis will ...
    • Error: Missing database

      Issue I'm testing a scheduled task that I set up and I'm getting an error that says a database is missing. How do I fix it? Explanation If the database that corresponds with the selected task is not found, then the "Missing Database" error is ...
    • What is a Database Access Password?

      Use a password to restrict access to Connect databases. The Database Access Password is required for changing and managing the application database. Changing the Database Access Password Contact customer service for assistance. Copyright © 2025 ...
    • Where can I find my database properties?

      The Database Information Report includes the following information: Database name Version number Size Table name Record count You can use the Database Information Report to find out how much space the database is using on the server. Printing the ...
    • Webinar: Step 6A. Back up database (02m30s)

      Before you make convert the year-end tax information, you'll want to back up the Payroll database. Converting year-end tax information will make changes to the Payroll database and you will want to create a backup before you continue. If anything ...