<< Click to Display Table of Contents >> OptimizeDatabase |
Runs a SQLite VACUUM operation on the PDQ Deploy database to reclaim unused disk space and improve query performance. This stops the PDQ Deploy background service, optimizes the database, then restarts the service.
NOTE: If the PDQ Deploy console is open, you will be prompted to close it before the optimization begins. If the background service is running, you will be prompted to stop it.
PDQDeploy OptimizeDatabase [-Wait]
Parameter |
Required |
Description |
|---|---|---|
-Wait |
No |
When specified, pauses and waits for the user to press Enter after optimization completes. Useful when running from a shortcut or batch file where you want the window to stay open. |
Optimize the database:
PDQDeploy OptimizeDatabase
Optimize the database and keep the window open when done:
PDQDeploy OptimizeDatabase -Wait
© 2026 PDQ.com Corporation. All rights reserved.
PDQ.com is a trademark of PDQ.com Corporation. All other product and company names are the property of their respective owners.
Help Version: 20.0.22.0