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 1009587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:57:06+00:00 2026-05-16T08:57:06+00:00

I have a database where several tables have a column email for storing email

  • 0

I have a database where several tables have a column email for storing email address. Because this is for surveys, a lot of values will be identical, more likely identical over names, addresses, etc.

Should I just have a master Emails table, and then an email_id column? That way I’m only storing email strings once, instead of multiple times in tables. But if I wanted to be sure that I was only storing unique emails, isn’t there some limitation to the length that the index will check a string for uniqueness, therefore I could be storing multiple copies of long email addresses?

In the survey database, we store the email address they submit. If they choose to join a mailing list, we store those uniquely (one email per membership) in a mailing list membership table, so there could be multiple of the same addresses in that table, depending on how many clubs they join. Now I’m adding a table to track bounceback emails, because that’s a property of the email address, not the survey or mailing list membership. And I’m thinking, “This is a lot of string joins!”

Is this a form of the “One True Lookup Table”?

  • 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-05-16T08:57:07+00:00Added an answer on May 16, 2026 at 8:57 am

    Should I just have a master Emails table, and then an email_id column?

    It doesn’t actually matter very much.

    isn’t there some limitation to the length that the index will check a string for uniqueness, therefore I could be storing multiple copies of long email addresses?

    No. There’s no limitation. Unique means unique, not “unique to some random limit”.

    And I’m thinking, “This is a lot of string joins!”

    So? String joins aren’t horribly slow. If you can prove that these string joins are the worst bottleneck in your application, then replacing string joins with integer FK’s might speed things up.

    Until you can prove that these string joins are your worst problem, don’t worry about them.

    Worry about getting the business rules right for how an email address is used. Don’t optimize until you can prove you have a problem.

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

Sidebar

Related Questions

I have a SQL Mobile database with one table. It has several columns with
I have several objects in the database. Url to edit an object using the
There have been several questions recently about database indexing and clustered indexing and it
I have mapped several java classes like Customer, Assessment, Rating, ... to a database
We are moving our database server to a bigger box. I have several databases
I have database with many tables. In the first table, I have a field
I have several databases where the transaction log (.LDF) is many times larger than
I have a ~23000 line SQL dump containing several databases worth of data. I
In my application I have several DataContexts that connects to different databases with different
I have a database that contains a date and we are using the MaskedEditExtender

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.