Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9083825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T20:51:49+00:00 2026-06-16T20:51:49+00:00

I need to add an array of strings (approximately 1-5 strings 10-30 characters long)

  • 0

I need to add an array of strings (approximately 1-5 strings 10-30 characters long) to one of my custom objects.

From what I’ve read, Salesforce multiplies the total number of objects in your Org by 2Kb (regardless of actual size) to calculate your total data storage.

This makes me think I should just create additional custom fields on the parent object instead of creating a new custom object and pairing it with a master-detail relationship.

Example:
A club that only sells family memberships. The parents pay a fixed membership fee and all of their kids can visit the club. The club doesn’t care how many kids you have. It’s extremely rare that a family has more than 6 kids. The club wants to keep track of the kids’ names but absolutely nothing else about them.

Should I do option 1:

Family__c paired via master-detail to many Child__c objects

Which would produce 6 records totaling 12Kb for a family of 5 kids.

or option 2:

Family__c has 6 custom fields called 
    Child01__c, Child02__c, Child03__c, Child04__c, Child05__c, and Child06__c

Which would produce 1 record totaling 2Kb for a family of 5 kids.

Is it true that Salesforce calculates data storage based solely on number of records?

When designing custom objects, should I focus on a design that aims to minimize the number of total records instead of a traditional relational database design? (because of the 1Gb limit on data)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T20:51:50+00:00Added an answer on June 16, 2026 at 8:51 pm

    Option 2 is the better choice for the very reason you specify. You are correct that Salesforce.com will consume 2kb per row of your custom object, regardless of how many fields it actually contains. Also, in general, if you’re going to have a 1-to-1 object like this one, you’re better off just putting it in fields on the main object anyway; it saves you a lookup and makes things like reporting and list views easier.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to add values received from MySQL into an array (PHP). Here is
I have a Java array of strings. I need to add some text before
I have an array of strings that has been read from a file. At
I need to add authentication to this function: function multiRequest($data, $options = array()) {
I need to create an array of strings, easy enough... the only problem is
I have a utility method from which I need to return set of strings
I need to find if a char array starts with ADD. I know to
I would like to return an array of strings from C to Java using
I need to save NSStrings from an array into a .csv file in my
I need to search an array of c-strings for a substring. I created what

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.