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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:13:47+00:00 2026-05-23T14:13:47+00:00

I have work with a few databases up to now and the philosophys where

  • 0

I have work with a few databases up to now and the philosophys where verry different. It got me wondering,

Is it a good idea to duplicate tables for historic purpose in a business application?

By buisiness application i mean :
a software used by an enterprise to manage all of his data (eg. invoices, clients, stocks [if applicable], etc)

By ‘duplicating tables’ i mean :
when, lets say your invoices, goes out of date (like after one year, after being invoiced and paid, w/e), you can store them into ‘historic’ tables which makes them aviable for consultation but shouldent be modified. Same thing clients inactive for years.

Pros :

Using historic tables can accelerate researches trough actually used data since it make your actually used tables smaller.

Better separation of historic and actual data

Easier to remove data from the database to store it on hard media without affecting your database, (more predictable beacause the data had no chance of being used since it was in an historic table). This often happend after 10 years when you got unused data.

Cons :

Make your database have up to 2 times more tables.

Make your database more complex

Make your program more complex for reports since you sometimes have to import twice the amount of tables.

  • 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-23T14:13:48+00:00Added an answer on May 23, 2026 at 2:13 pm

    Archiving is a key aspect of enterprise applications, but in general, I’d recommend against it unless you really, really need it.

    Archiving means you either accept you can’t get at historical data before a specific date, or that you create some scheme for managing “current” and “historical” data; your solution (archive tables) is one solution to this problem.

    Neither solution is all that nice – archive tables mean lots of duplicated code/data, complex archival procedures (esp. with foreign key relationships), lots of opportunity for errors.

    I do believe the concept of “time” should be baked into the domain and data model for most business applications, along with mutability – you shouldn’t be able to change an order once it’s been confirmed, but you should be able to add products to a new order.

    As for your pros:

    In general, I don’t think you’d notice the performance impact unless you’re talking about very, very large scale businesses. I don’t think – on modern SQL server solutions – you’d notice the speed difference between querying 10.000 customer records or 1.000.000 customer records.

    The definition of “historic” is actually rather tricky – most businesses have to keep historical around for regulatory and tax purposes, often for many years; they’ll probably want to be able to analyse trends over several years, etc. If the business wants to see “how many widgets did we sell per month over the last 5 years”, that means you have to keep 5 years of data around somehow (either “raw” or pre-aggregated).

    Yes, separating out data would be easier. Building a feature today – which you have to maintain every time you change the application – for pay-off in 10 years seems a poor investment to me…

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

Sidebar

Related Questions

At work we have 4 people working together on a few different projects. For
I have been playing with setting up different relationships for a few hours now
I have a few medium-sized Rails apps that I work on routinely, and only
I have written a few MSBuild custom tasks that work well and are use
I have tried quite a few codes but none of them seem to work
I have to work on several VB6 legacy projects and despite some good VB6
I have been playing with nservicebus for a few weeks now and since everything
Okay to keep it short: I have some different websites with tables containing information
Say that I have a few tables that never change, such as a 'State'
This has been stumping me for a few days now. I have a stored

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.