web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

POA table - deletion questions

(0) ShareShare
ReportReport
Posted on by

In CRM 2015 on Premise we run in to the problem of large POA table. We have over 200 mln records in this table and most of them (170 mln) share records of one custom entity that have already been deleted.
Deletion Service trays to delete these records but fails after 1-3 days due to timeout or low disk space. We decided to delete these thro SQL. We found official script from crm 2011: support.microsoft.com/.../2664150 and his faster version: dotnetdust.blogspot.com/.../lessons-learned-deleting-312-million.html .

On test environment using the faster method (two indexes change were required) we successfully cleared POA table in 6 hours.  
Before we run this in production we have a few questions:
Did anyone have tried those scripts in CRM 2015? Are they safe in CRM 2015? Is there other, more safe method for this CRM version?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    POA table structure hasn't changed for years. I would suggest to consider 2 suggestions:

    1. Execute that deletion script during not-operable hours or even better during weekend.

    2. Take a backup of your CRM DB before executing that script to have recovery point.

  • Community Member Profile Picture
    on at

    Andrii Butenko thanks for your answer.

    We are planning to execute script on this weekend. We will have backup but if consequences of this script will come out after fee days restore of database will be no options (to many changes in one work day)…

  • Community Member Profile Picture
    on at

    Hi Jarjar,

    Sorry, i know it's a very old post

    We have a similar situation, just wondering the POA deletion script(Microsoft official script for CRM 2011) was that a success in CRM 2015? 

    Any issues you faced? 

    Could you please share it with us

    Thanks in advance,

    MSDBA

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans