Veeam ONE Database Partitioning

KB ID: 1954
Product: Veeam ONE
Version: 8.x, 9.x
Last Modified: 2018-09-03


Improving Veeam ONE performance in large infrastructures.


Fine tuning database structure for large infrastructure deployments.


To improve Veeam ONE SQL database performance, partitioning can be used. Note, that SQL Server Enterprise Edition is required to use partitioning. Partitioned tables and indexes are created by two scripts. Download them here.

NOTE: It is not recommended to use partitioning against Always On Availability Groups.

Before running the scripts, it is recommended to create a backup of Veeam ONE database. The scripts can be executed in any order. Before applying them, you will need to specify the following values:

1. Locate %UserName% parameter in the script and specify DB admin (sa or any domain account that has full control permissions to Veeam ONE DB).
2. Locate %Path% parameter and specify directory where database partitions will be created/stored.
3. If Veeam ONE database name is different from default, then change the name of the database (VeeamOne) in both scripts manually
4. Make sure SQL Agents are running before executing the scripts

After successful script execution you should see new functions and partition schemes: 

User-added image

SQL Server agent will have two maintenance jobs created:

User-added image

The directory specified for database partitions will have files like this:



More Information

If you have any questions, contact Support.

Please be aware that we’re making changes which will restrict access to product updates for users without an active contract.


Rate the quality of this KB article: 
4.7 out of 5 based on 5 ratings

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.

Request new content

Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text: