Wednesday, 15 August 2018

Salesforce Governer Limits

1.DML Governing Limits

we can have only 150 DML statements with in a transaction.

we rectify this type of errors by using bulky operations. put similar operation on the object in list and invoke the DML on the list.

2.SOQL Governing Limits

with in a transaction we can write only 100 SOQL queries.

use
Map<Id,Account> accMap=new map<Id,Account>([select id,Name from Account]);

3.DML rows Limit :

Number of DML rows : 10000

4.SOSL Governing Limits :

Number of SOSL queries : 20

5.Maximum CPU time : 10000
6.Maximum heap size : 6000000
7.Number of callouts : 100
8.Number of Email Invocation : 10
9.Number of future calls : 50
10.Number of queueable jobs added to the queue:50
11.Number of mobile apex push calls :10
12.Number of query rows : 50000

No comments:

Post a Comment