function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Aiden ByrneAiden Byrne 

Custom settings & record size

If I create custom settings with a text field, and add sample data, it looks like Salesforce calculates the record size based on the max potential size of the text field rather than the number of bytes used.

 

Is this correct? To give a SQL analogy, it looks like text fields are char rather than varchar. If you say you need X characters, you are allocated these whether or not you use them.

 

I'd like to understand this given that the custom sets have hard namespace and size limits.

 

thanks!

Aiden