Host-based backup of VMware vSphere VMs.
Post Reply
Stupots
Enthusiast
Posts: 45
Liked: 9 times
Joined: Aug 09, 2018 3:22 pm
Full Name: Stuart
Location: UK
Contact:

Fragmented indexes (SQL backed Veeam BR)

Post by Stupots »

This KB suggest indexes get defragged regularly:
https://helpcenter.veeam.com/docs/backu ... ml?ver=120

But the log reports most of the tables 90%+ Fragmented. This is just a snippet from our Job.DatabaseMaintenance.log... Can we just run some good old SQL maintenance on the DB?

Code: Select all

[25.06.2025 14:05:43.473]    <18>    Info (3)    Fragmentation for index IX_Backup.Model.Points_LinkId in table Backup.Model.Points is 99.6%
[25.06.2025 14:05:43.473]    <18>    Info (3)    Fragmentation for index IX_Backup.Model.OIBsSensitiveInfo_oib_id_has_ad_has_exchange_has_sharepoint_has_oracle_has_sql_has_veeam_archiver_contai in table Backup.Model.OIBsSensitiveInfo is 99.6%
[25.06.2025 14:05:43.473]    <18>    Info (3)    Fragmentation for index IX_Tape.vm_objects_vm_object_original_id in table Tape.vm_objects is 99.5%
[25.06.2025 14:05:43.473]    <18>    Info (3)    Fragmentation for index UQ_Tape.vm_objects_vm_object_id__tape_object_id in table Tape.vm_objects is 99.5%
[25.06.2025 14:05:43.473]    <18>    Info (3)    Fragmentation for index IX_Backup.Model.Points_BackupId in table Backup.Model.Points is 99.4%
[25.06.2025 14:05:43.473]    <18>    Info (3)    Fragmentation for index IX_Backup.Model.Points_GroupId in table Backup.Model.Points is 99.3%
[25.06.2025 14:05:43.473]    <18>    Info (3)    Fragmentation for index IX_tape.backup_sets_encrypted_imported_backup_id in table Tape.backup_sets is 99.3%
[25.06.2025 14:05:43.473]    <18>    Info (3)    Fragmentation for index PK_Backup.Model.OIBs_id in table Backup.Model.OIBs is 99.3%
[25.06.2025 14:05:43.473]    <18>    Info (3)    Fragmentation for index  in table OibAdminAccounts is 99.3%
[25.06.2025 14:05:43.473]    <18>    Info (3)    Fragmentation for index IX_Backup.Model.OIBsSensitiveInfo_oib_id_vmname_display_name in table Backup.Model.OIBsSensitiveInfo is 99.3%
[25.06.2025 14:05:43.473]    <18>    Info (3)    Fragmentation for index IX_tape.backup_sets_type in table Tape.backup_sets is 99.3%
[25.06.2025 14:05:43.473]    <18>    Info (3)    Fragmentation for index PK_Audit.Records in table Audit.Records is 99.3%
[25.06.2025 14:05:43.473]    <18>    Info (3)    Fragmentation for index tape_object_id in table Tape.vm_objects is 99.3%
[25.06.2025 14:05:43.473]    <18>    Info (3)    Fragmentation for index IX_Backup.Model.OIBs_LinkId in table Backup.Model.OIBs is 99.2%
[25.06.2025 14:05:43.473]    <18>    Info (3)    Fragmentation for index IX_Tape.backup_sets_point_id in table Tape.backup_sets is 99.2%
david.domask
Veeam Software
Posts: 2863
Liked: 657 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Fragmented indexes (SQL backed Veeam BR)

Post by david.domask »

HI Stupots,

The User Guide article you linked is correct, there is Database Maintenance job that runs weekly by default and index defragmentation is part of the maintenance that occurs.

I advise leave it as is and let the Database Maintenance job handle it; if you're seeing issues that you're lead to believe are related to the index fragmentation, it's better to first open a Support Case and let Veeam Support review the situation first and check how the previous Database Maintenance sessions ran and check the reported behavior; in some situations the maintenance job may be adjusted to run more frequently but this should be applied only with the supervision of Veeam Support and only if there are actual issues you're observing.
David Domask | Product Management: Principal Analyst
Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 9 guests