With a large amount of analytics data, deleting can take a long time or result in the timeout exception if the collection database runs on MongoDB.
This issue applies to all types of xConnect topologies that are configured to use MongoDB as the collection database.
To resolve this issue, add an index on "_id.id" on the ContactFacets and InteractionFacets collections.