Historical trending objects are not counted as custom objects. Package type determines whether custom objects count toward limits — AppExchange managed packages are exempt; unmanaged and unpublished managed packages are counted.
This article explains which package types count toward your org's custom object limits, and confirms that Historical Trending objects are not counted as custom objects.
When Historical Trending is enabled, Salesforce creates special objects (e.g., Opportunity__hd for Opportunity). These historical trending objects are not considered custom objects or custom settings, and do not count towards your object limits.
Whether a custom object counts toward your org's limits depends on its package type:
| Package Type | Counted Toward Limits? |
|---|---|
| AppExchange managed package | Exempted (not counted) |
| Unpublished managed package | Counted |
| Unmanaged package / unlocked package | Counted |
005135161

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.