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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:43:41+00:00 2026-06-03T06:43:41+00:00

I have a column in a MySQL database for which I want to store

  • 0

I have a column in a MySQL database for which I want to store all the revisions of its value along with the date when they were changed.

Is there any inbuilt mechanism in MySQL that allows me to do this or is there any recommended way of solving this problem?

  • 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-03T06:43:42+00:00Added an answer on June 3, 2026 at 6:43 am

    There is no such feature built in to MySQL. You will need to implement this yourself, depending on what you need to store. You might introduce a layer in your persistence logic that inserts the log data you need into a separate history table.

    Depending on the amount of changes you have, make sure to think about a cleanup strategy, because these histories can get huge over time.

    If you are talking about multiple tables for which such a history is required, you could, depending on the overall amount of changes expected, use either a single history table with an additional column that identifies the table the change belongs to, or a separate history table per data table.

    Also, take a look at the different storage engines available. There is a compressed Archive Storage Engine, which does not allow modifications of data once it has been inserted and there are other limitations, but its storage requirements are lower that e. g. InnoDB’s. It was designed for archival purposes and not for ad-hoc queries, so it might or might not be a good fit for you.

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

Sidebar

Related Questions

i have a large mysql database table in which one column contains values ranging
On my MySQL database, I have a unsigned mediumint column, which I keep incrementing
In mysql database i have this column called: Name: Date Type: datetime I have
suppose i have one column in mysql database which is stated last time one
I have a table in my mysql database which has a column score and
I have a table in MySQL database from which I want to select a
I have a table in a MySQL database from which I want to select
i have a column named name which is present in all tables in mysql
I have a user table in my mysql database that has a password column.
I am using Mysql database. I have 3 table-: table Column tier_price customer_id,sku(Unique),price,website catalog_product

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.