> ## Content Index
> Fetch the complete content index at: https://www.namastesalesforce.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# 04 · Bulkification: 200 records or bust
- URL: https://www.namastesalesforce.com/training/apex-triggers/bulkification-200-records-or-bust/
- Published: 2025-07-17T09:00:00.000Z
- Updated: 2025-07-17T09:00:00.000Z
- Description: Triggers receive up to 200 records at once. Every query and DML statement inside a loop is a countdown to 'Too many SOQL queries: 101'.
- Author: Swarnil Singhai
- Tags: Apex Triggers, #training, #duration-15m, #Import 2026-09-03 19:13

Triggers receive up to 200 records at once. Every query and DML statement inside a loop is a countdown to 'Too many SOQL queries: 101'.

## The discipline

Collect Ids in a loop, query once into a Map, look up inside the loop, collect changes, DML once at the end. Every bulk-safe trigger is that sentence, rearranged.

## Test at 200

A test that inserts one record proves nothing about limits. Insert a List of 200 and your future data-loader migrations stop being surprises.

## Practice in your org

- Open your Developer Edition org and follow along step by step
- Change one thing at a time and note what happens
- When something breaks, read the error before searching for it