Salesforce 一共有四种类型的 Sandbox,适用于不同场景:
| 类型 | 数据 | 存储 | 刷新周期 | 典型用途 |
|---|---|---|---|---|
| Developer | 无数据 | 200 MB | 每天 | 开发者个人开发与单元测试 |
| Developer Pro | 无数据 | 1 GB | 每天 | 集成测试、小规模数据验证 |
| Partial Copy | 生产数据样本 | 5 GB | 每 5 天 | UAT、功能回归测试 |
| Full Copy | 完全复制生产环境 | 与生产相同 | 每 29 天 | 性能测试、培训、上线前验证 |
| Type | Data | Storage | Refresh Interval | Typical Use |
|---|---|---|---|---|
| Developer | No data | 200 MB | Daily | Individual dev work, unit testing |
| Developer Pro | No data | 1 GB | Daily | Integration testing, small-scale data setup |
| Partial Copy | Subset of production data | 5 GB | Every 5 days | UAT, functional testing with sample data |
| Full Copy | Complete replica of production | Same as prod | Every 29 days | Performance testing, staging, pre-deployment validation |
How I use them:
In short, the more data you have, the closer it gets to production, but also the longer the refresh interval — so we plan testing cycles accordingly.
我的使用策略:
一句话总结:Sandbox 是为安全测试而生的独立环境,不同类型适配不同测试深度。