https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IxOTU0IiwiaGFzaCI6ImU3YWQwNTQzLTQ5NzQtNGQyNi1iOWIyLWJhNzIzMjE2ODkzYyJ9
1-800-691-1991 | 9am - 8pm ET
EN

Veeam ONE Database Partitioning

Challenge

Improving Veeam ONE performance in large infrastructures.

Cause

Fine tuning database structure for large infrastructure deployments.

Solution

To improve Veeam ONE SQL database performance, partitioning can be used. Note, that SQL Server Enterprise Edition is required to use partitioning.

NOTE: Do not deploy database partitioning if you use Always On Availability Groups on the SQL server.

Partitioned tables and indexes are created by two scripts. 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:

VeeamOneLow_FG1.ndf
...
VeeamOneLow_FG13.ndf

VeeamOneMed_FG1.ndf
...
VeeamOneMed_FG15.ndf

More information

DOWNLOAD THE SCRIPTS



MD5: 9927E48A91A9EFC74AA1B5BE92F0AFEE
SHA-1: AEB821296438F2A16CFE4C00068C17C07244D2AD
SHA-256: 48CAFE38B60EEB1A71A451564ABB68CCDCA6DA34988B998C7BA48ED14CB11561

Should you have any questions, contact Veeam Support.
KB ID:
1954
Product:
Veeam ONE
Version:
8.x, 9.x
Published:
2014-11-13
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
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

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later