Skip to main content
Skip table of contents

Shrinking my SQL database using SQL Management Studio

This support note applies to:

  • AE Practice Manager (NZ)
  • AE Practice Manager (AU)
  • AE Tax (NZ)
  • AE Tax Series 6 & 8 (AU)
  • AE Tax (AU)

These instructions require technical expertise

Make sure you know what you're doing and are using one of the products listed. If you're not sure, ask your IT professional or MYOB.

Article ID: 34906

If the database size is larger then expected, you can run a database shrink that will reduce it size. This is only effective on the LOG file if the database is set to simple recovery and not full where the transactional data is retained.

To check whether my database is set to full or simple recovery
  1. Go to Start > All programs > Microsoft SQL Server 2008 R2 > SQL Server Management Studio. The Connect to Server window appears.

  2. Ensure the server name and authentication details are correct and click Connect. Microsoft SQL Server Management Studio appears.

  3. Expand Databases and find and click the database. The database appears.

  4. Right-click the database and select Properties. The Database Properties window appears.

  5. Click Options in the left-hand pane. The database options appear in the right-hand pane.

  6. If the Recovery model displays Simple, leave it as Simple.

  7. If the Recovery model displays Full, change it to Simple.

  8. Click OK. The Database Properties window closes.

To shrink the database

In Management Studio, right-click the required database and follow the menu path: Tasks > Shrink > Database. The Shrink Database window appears.

  1. Click OK. The database shrinks and the Object Explorer appears.
  2. Close Microsoft SQL Server Management Studio. Your database has now been shrunk.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.