Administering Microsoft SQL Server 2012/2014 Databases — Question 55

You administer a Microsoft SQL Server database that includes a table named Application.Events. Application.Events contains millions of records about user activity in an application.
Records in Application.Events that are more than 90 days old are purged nightly. When records are purged, table locks are causing contention with inserts.
You need to be able to modify Application.Events without requiring any changes to the applications that utilize Application.Events.
Which type of solution should you use?

Answer options

Correct answer: A

Explanation

Using partitioned tables allows for the purging of old records without locking the entire table, thus minimizing contention during inserts. The other options, such as online index rebuild, change data capture, and change tracking, do not address the issue of table locks effectively during the purging process.