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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T09:25:11+00:00 2026-06-04T09:25:11+00:00

A DB design question. I need to design an item with multiple versions of

  • 0

A DB design question.

I need to design an item with multiple versions of the same value, like a shoping cart product in a multilingual store.

Say I have a product

CREATE TABLE product 
 id INT,
 name VARCHAR(64),
 description SMALLTEXT,
 whatever BOOL,
 another INT;

and a translation table

CREATE TABLE product_language
 product_id INT,
 language_id INT,
 name VARCHAR(64),
 descripton SMALLTEXT;

Now my question is… is table product sensible or not? Most of the shops will be 1 language only, so does it make sense to keep name and description in default language in product table to avoid JOINs when there is only one language on the system? Or will it give me headaches I can not foresee?

  • 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-04T09:25:12+00:00Added an answer on June 4, 2026 at 9:25 am

    I would say the JOIN to get the product_language would be inconsequential. RDBMs are really good at executing performant joins :). I don’t see any benefit to using a “default” name and description. You’d have to synchronize the value and/or have special handling in your application to show the default name and description if no matching language-specific is available.

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

Sidebar

Related Questions

This is a design question: when do I need to create/use a static method
A design question: I'd like to build a Windows service that executes different commands
Quick design question: I need to implement a form of communication between a client-server
just a general design question that I'd like to hear some of your opinions
This is more or less a design question. we have to process like a
Another 'design' question. (Technologies in use: PHP , MySQL ) I need to allow
Possible Duplicate: Design question regarding Java EE entity with multiple language support I'm working
Small design question here. I'm trying to develop a calculation app in C#. I
OO Design question. I want to inherit singleton functionality into different hierarchies of classes.
This is a design question, I noticed that by time by LINQ-to-SQL Context gets

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.