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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T03:56:36+00:00 2026-06-07T03:56:36+00:00

I have done some preliminary reading. Config files vs database tables Type to use

  • 0

I have done some preliminary reading.

Config files vs database tables
Type to use for "Status" columns in a sql table

Tables:


    id
    title
    format_id (foreign key)
    language_id (foreign key)
    aspect_ratio_id (foreign key)

[formats]
    id
    name

[languages]
    id
    name

[aspect_ratios]
    id
    name

The last 3 tables (formats, languages, aspect_ratios) aren’t going to change much (if at all). i.e. I might add a new language when we have support for it.

So is it a good practice to extract those types of tables (references only, hardly any updates/inserts) into a standalone yaml file and have the application logic to deal with the views? Or should I keep everything in the DB to maintain the data & relational integrity at the (small) cost of table joins?

  • 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-07T03:56:37+00:00Added an answer on June 7, 2026 at 3:56 am

    Do you need to enforce the referential integrity (i.e. foreign keys) on these tables? If yes, then keep them in the database and let the DBMS enforce it for you. Ditto for other kinds of integrity.

    Do you intend to JOIN these table with others? If yes, keep them in the database and let the DBMS do the heavy lifting.

    Do you need to update them in a transactional way (albeit rarely)? If yes, then let the DBMS provide ACID for you.

    Do you need to backup this data? If yes, let it happen together with the regular database backup.

    Do you need to ensure this data is same for all clients? If yes, a central location such as database is an obvious candidate.

    Etc, etc…

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

Sidebar

Related Questions

I have done some research and found that I can use: string retUrl =
I have a basic understanding of matrices and have done some quick reading into
Have done some research into this topic, but found no relevant answers. What I
I have done some headings for a web page and I have decided to
I have done some refactoring on a asp.net mvc application already deployed to a
I have done some searching but really haven't found what I'm looking for. What
I have done some computer graphical programming recently, and I have no experience before.
I have done some looking and I can't figure out a good way to
I have done some web based projects, but I don't think too much about
I have done some research on how to check whether a user is within

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.