Newer Version Available
Apex Transactions and Governor Limits
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
Force.com multitenant
platform.
Most of the governor limits are per transaction, and some aren’t, such as 24-hour limits.
To make sure Apex adheres to governor limits, certain design patterns should be used, such as bulk calls and foreign key relationships in queries.