Perform Regression After Migration from SQL 2014 TO 2022 (Physical to Virtual)

  • Hello,

    We recently migrated a database from SQL Server 2014 to SQL Server 2022. At the same time, we moved from a physical server to a VMware virtual machine.

    Since the migration, we have noticed significant performance degradation on certain operations, particularly a DELETE statement against a very large table containing more than 700 million rows.

    Environment

    Previous environment

    SQL Server 2014

    Physical server

    Current environment

    SQL Server 2022

    VMware virtual machine

    Table characteristics

    More than 700 million rows

    Clustered Primary Key

    Columnstore index present on the table

    Issue

    The DELETE operation is now much slower than it was before the migration.

    To address the issue, we have already performed:

    Statistics updates (UPDATE STATISTICS)

    Index reorganization (ALTER INDEX ... REORGANIZE)

    Unfortunately, neither action resulted in a noticeable improvement.

    Observed Wait Types

    During the execution of the DELETE statement, we observe the following waits:

    MEMORY_ALLOCATION_EXT

    PAGEIOLATCH_*

    The PAGEIOLATCH_* waits seem to indicate storage-related latency.

    Current Hypothesis

    We suspect that the issue may be related to the storage subsystem of the virtualized environment.

    I am not a VMware expert, but I am considering asking the infrastructure team to:

    Provision a dedicated SSD-based RAID 10 storage volume.

    Move the table (or its filegroup) to this storage.

    Re-run our tests and compare the performance.

    Questions

    Could the move from a physical server to a VMware VM alone explain such a performance regression on large DELETE operations?

    Do the MEMORY_ALLOCATION_EXT and PAGEIOLATCH_* waits point primarily to an I/O bottleneck?

    Could the presence of a Columnstore index significantly increase the cost of DELETE operations on such a large table?

    Are there additional checks or diagnostics you would recommend before investing time in storage migration?

    Which VMware or Windows storage metrics should I request from the infrastructure team to confirm or rule out a storage bottleneck?

    I have attached:

    The execution plan of the DELETE statement

    The DELETE query itself

    Relevant wait statistics collected during execution

    Any feedback or guidance would be greatly appreciated.

    Sans titre

     

     

    DELETE TOP (@batch) DEST
    FROMdbo.FACT_LFAAS DEST
    WHEREEXISTS (
    SELECT1
    FROMpostProcess.FACT_LFA AS SRC
    WHEREDEST.C_CODEX = SRC.C_CODEX
    AND DEST.C_CODE_CELL = SRC.C_CODE_CELL
    AND DEST.C_NUM_DOSS = SRC.C_NUM_DOSS
    )

     

    Thank you.

Viewing post 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply