Choose your language

Choose your login

Support

How can we help?

Lightbulb icon
Lightbulb icon

Here’s your answer

Sources:

Lightbulb icon

Oops!

We currently don’t have an answer for this and our teams are working on resolving the issue. If you still need help,
User reading a resource

Popular resources

Conversation bubbles

Contact us

Contents

Optimizing your database

THE PAGE APPLIES TO:

Contents

If it’s been a good while between PaperCut upgrades and you are making a significant jump between versions, our install-over-the-top will handily fill in the gaps so you can jump from “old and dusty” to “new and shiny” with ease!

That being said, in these cases we do recommend making sure your database is optimized before pulling that upgrade trigger. If it’s on the older side, there is a chance there could be bad rows of data in your database table.

Ok, here’s what you need to do:

  1. Firstly make sure you have a current backup (Options > Backups > Export Now)
  2. Stop the PaperCut Application Server service (see instructions here)
  3. Open a command line in Administrative Mode and path to: [app-path]/server/bin/<platform>/
  4. run the following command: db-tools optimize-internal-db
  5. Once complete, start your PaperCut Application Server service again

Because running this command will re-index and clear out any empty space in your database tables don’t worry if it takes a while to run. The time it takes to complete will depend on the size of your database and how much cleaning actually takes place. For this reason, we recommend running optimization out of regular business hours.

You can read more about the usage of db-tools in the PaperCut manual


Categories: How-to Articles , Databases


Comments

Last updated June 13, 2024