您在此处:
管理隐私政策作业的批次大小
了解批处理大小如何影响隐私策略作业性能,以及何时调整批处理大小以防止系统错误。

使用更普遍的搜索词。
选择更少的筛选器,并扩大搜索范围。
了解批处理大小如何影响隐私策略作业性能,以及何时调整批处理大小以防止系统错误。
| 适用于:具有隐私中心许可证的 Developer、Enterprise、Performance 和 Unlimited Edition。 |
隐私中心批量处理记录的策略作业。默认情况下,系统每批次处理 2000 条记录。虽然此默认值对标准操作有效,但具有复杂关系或高度自动化的对象,例如 Apex 触发器,可能会超出系统限制。常见错误包括 System.DmlException 或 LIMIT_EXCEEDED,这表示事务花费的时间过长或使用的资源过多。
要确保作业成功完成,请手动减小批次大小。一次处理更少的记录可以减少每个事务的系统负载。在将对象添加到新策略或编辑现有策略时,配置批处理大小。因为小批量会增加总运行时间,所以需要增量调整该值,以在稳定性和速度之间找到最佳平衡。

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.