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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T12:03:16+00:00 2026-06-06T12:03:16+00:00

I have a question regarding the table structure of my settings table. I’ve taken

  • 0

I have a question regarding the table structure of my settings table. I’ve taken a look at this question: How should I structure my settings table with mysql? and I see that a lot of CMS systems and forums use this kind of structure for their settings. Selecting settings is very easy then, but how would I update the settings?

Say I have a page with a form with all the settings to change. In the DB, each setting is on an individual row , so if I have 40 settings I would need 40 update queries? If I would use the first approach (all settings in one row) I would only need 1 update query.

Is there something I’m missing here?

Thanks!

  • 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-06T12:03:17+00:00Added an answer on June 6, 2026 at 12:03 pm

    You would need 40 updates, but in reality this is not a problem. How often do people change settings? It’s not a high-transactional-rate operation, so it doesn’t matter. You can even check in your code if a value has changed and only update if it has, if you really care.

    What it comes down to is not whether you want one update or 40, but if you want strongly-typed values in pre-defined columns, or a (possibly) more flexible approach of one-row-per-value.

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

Sidebar

Related Questions

I have a question regarding the design of two tables. Table 1: The main
Just a small question regarding joins. I have a table with around 30 fields
I have a question regarding static function in php. let's assume that I have
This question is regarding the ASP.NET webservice that i am creating using the DAL-BLL
I have a question regarding DataBase design. I have a Entity Table named: CARS
I have a question regarding Foreign Keys in an InnoDB Table. I have 4
This is the edited question with full problem. Following is the table structure. (Only
I have one question regarding trigger. The scenario is like this Create Procedure begin
I have a general question regarding table indices on foreign keys in database modeling.
I have a question regarding to the performance between a lookup table stored in

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.