Skip to content
Education & Software

Understanding the Use of Salesforce Skinny Tables

In this article

Salesforce skinny tables are specialized database optimizations designed to improve performance for reports and queries by flattening complex data models into a single, denormalized table. By reducing the need for expensive "joins" between parent and child objects, skinny tables allow the Salesforce platform to retrieve data from large datasets significantly faster, maintaining query efficiency even as your organization's data volume grows into the millions of records.

The Role of Skinny Tables in Data Architecture

In a standard Salesforce environment, data is stored in a normalized relational database. When you run a complex report that spans multiple objects—such as joining an Account with several Custom Objects—the system must perform a relational join. As the volume of data increases, these joins become resource-intensive, often resulting in "Report Timed Out" errors or sluggish UI performance.

A skinny table is a custom, read-only table that resides alongside your existing base tables. It contains a subset of fields from one or more objects, physically stored together in a single row structure. Because the data is already denormalized, Salesforce does not need to perform expensive join operations at runtime. Instead, it reads the data directly from the skinny table, which is indexed and optimized for high-speed retrieval.

Prerequisites and Eligibility

Skinny tables are not an automated feature that users can enable through a simple checkbox in the Setup menu. Because they involve structural modifications to the underlying database architecture, they are classified as a performance-tuning service provided by Salesforce Support.

To qualify for the implementation of skinny tables, your organization typically must demonstrate a clear need for performance optimization on large datasets. While there is no strict "minimum record count" published as a hard rule, Salesforce engineers generally assess the efficacy of this solution based on data volume, query complexity, and existing latency metrics.

Before requesting a skinny table, you must ensure:

  • Your organization is on an appropriate Salesforce edition that supports back-end performance tuning.
  • You have identified specific objects and fields that are causing performance bottlenecks during report generation or SOQL (Salesforce Object Query Language) execution.
  • Your development team has confirmed that other optimization methods, such as custom indexes or report filtering, are insufficient for the current data volume.

How to Request and Manage Skinny Tables

The process of implementing a skinny table is a collaborative effort between your internal Salesforce administrator and Salesforce Support. Since you cannot create these tables through the UI or via Metadata API, you must initiate a support case.

  1. Identification: Perform an audit of your slowest reports or SOQL queries. Document the specific fields involved and the number of records being processed.
  2. Support Case: Open a case with Salesforce Support. Specify that you are requesting a "Skinny Table" for performance optimization.
  3. Review: Salesforce engineers will analyze the requested fields and the object relationships. They will determine if a skinny table is the correct solution or if another performance-tuning mechanism is better suited.
  4. Implementation: If approved, Salesforce Support creates the table on the back end. Once live, the platform automatically synchronizes the skinny table whenever the base object data is updated.
  5. Validation: After the table is created, you must update your reports or code to point to the new structure or rely on the Salesforce query optimizer to recognize the skinny table automatically during execution.

Comparison of Performance Optimization Techniques

Understanding when to request a skinny table versus when to rely on standard indexing is critical for maintaining a scalable Salesforce environment.

Technique Primary Use Case Implementation Method
Custom Indexes Improving specific query filters Setup > Custom Fields > Manage Indexes
Skinny Tables Joining multiple objects in reports Salesforce Support Case
Big Objects Archiving massive datasets (millions+) Big Objects Setup / API
Platform Cache Reducing overhead for static data Apex / Cache Partitioning

Operational Limitations and Considerations

While skinny tables are powerful, they are not a "set-and-forget" solution. Every business process requires an assessment of the trade-offs involved.

One primary limitation is the read-only nature of the data within the skinny table. Because the table is a denormalized mirror of your base objects, any data modification occurs on the source objects, and the system handles the synchronization. You cannot perform DML (Data Manipulation Language) operations directly on a skinny table.

Additionally, whenever you modify the metadata of the objects included in a skinny table—such as adding a new custom field that needs to be included in the table—you must contact Salesforce Support again to have the table structure updated. This adds a layer of operational overhead to your release management cycles.

Troubleshooting Performance Issues

If you find that your queries remain slow even after a skinny table has been implemented, investigate the following:

  • Selective Filtering: Ensure your queries are still "selective." A skinny table helps with data retrieval, but if your query filters are not indexed or are too broad, the performance will still suffer.
  • Sync Latency: While synchronization is near-real-time, extremely high-volume updates can occasionally introduce a slight lag. If your reporting requires absolute, microsecond-perfect consistency, consider if the reporting latency is acceptable for your business use case.
  • Query Optimizer: The Salesforce query optimizer is sophisticated. If it does not detect that a query can be satisfied by a skinny table, you may need to adjust the query logic to align with the table's structure.

Frequently Asked Questions

Can I create a skinny table by myself using the Salesforce UI?

No. Skinny tables are managed and created exclusively by Salesforce Support. They are not exposed through the standard Salesforce Setup menu or the Metadata API for direct user modification.

Will a skinny table help with data storage limits?

No. Skinny tables do not reduce your storage consumption; in fact, they may slightly increase the total data footprint because they duplicate data from base objects into a new table structure. Their purpose is strictly for query performance.

How often should I request updates to my skinny tables?

You should request updates only when there is a significant business requirement. Since each update requires a Salesforce Support case and potential back-end deployment, it is best to bundle changes to object schemas that require skinny table modifications into your standard release cycles.

Does a skinny table affect my API limits?

No. The use of skinny tables is transparent to the API. It optimizes the retrieval of data, but it does not count toward or against your daily API request limits differently than standard object queries.

Are skinny tables available in all Salesforce environments?

Skinny tables are generally available in most enterprise-level Salesforce editions. However, their availability can depend on your specific environment's infrastructure and the Salesforce data center architecture. Always verify your specific contract and support level with your Salesforce account executive.

Next Steps for Implementation

To determine if your organization is a candidate for skinny tables, start by reviewing your "Top 10" slowest reports. Use the Report Run Time metrics available in the Salesforce Optimizer or the Event Monitoring logs if you have them enabled. If these reports show high processing times due to multi-object joins, document the object schema and the specific fields. Schedule a meeting with your Salesforce technical architect to validate that your query structure is optimal before opening a support case. If you conclude that your architecture is sound and the bottleneck is purely volume-related, submit your request to Salesforce Support with a clear business justification.