Governor limits in Salesforce are a set of runtime limits enforced to ensure efficient resource usage and to prevent abuse. Learn more about its types in this tutorial.
As we know, Apex runs in multi-tenant environment; i.e. a single resource is shared by all the customers and organizations. So, it is necessary to make sure that no one monopolizes the resources and hence Salesforce.com has created the set of limits which governs and limits the code ...
由于Salesforce.com的Force.com平台采用了“多租户架构”(multitenant architecture),所以,为了避免某一个“租户”占用了过多的系统资源,Salesforce.com的架构师们天才般地想出了所谓governor limits的概念 ,于是,刚刚被云计算从繁重而枯燥的底层开发解放出来的开发者们,突然又变成了带着枷锁跳舞的dancer,在开发应用时...
2.了解这些限制有什么好处 作为开发,需要了解这些限制,在写代码时候尽量避免出现。比如,初学的人,可能会为了方便在for循环里面写soql。平时运行没事,但是这是一个隐形炸弹,万一某天数据量大了,就会爆炸。 下面说的限制 都是指单个事务的限制,这些限制作用每一个apex。对于Batch Apex,将在execute方法中每次执行一批记...
Apex Transactions ensure the integrity of data. Apex code runs as part of atomic transactions. Governor execution limits ensure the efficient use of resources on the Lightning Platform multitenant platform.