---
schema_version: "1"
id: d5415f05e8c92ac49eb125728216320a1c72b2195dc3bce0301f30ac4e7677a0
title: Database Statistics
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/salesforce-large-data-volumes-bp/guides/cce/ldv-deployments/ldv-deployments-infrastructure-database-statistics.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-large-data-volumes-bp/guide/ldv-deployments-infrastructure-database-statistics.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 367f99870acbe1d1f67ea99613d1380838ba72ca39422804b04ed83bfd00bdc4
products:
  - Best Practices for Deployments with Large Data Volumes
  - Platform Developer Content
---

# Database Statistics

Modern databases gather statistics on the amount and types of data stored inside of them, and they use this information to execute queries efficiently. Because of Salesforce’s multitenant approach to software architecture, the platform must keep its own set of statistical information to help the database understand the best way to access the data. As a result, when large amounts of data are created, updated, or deleted using the API, the database must gather statistics before the application can efficiently access data. Currently, this statistics-gathering process runs on a nightly basis.

