Skip to content

Glossary

Data Engineering

Data Archiving

Data archiving is moving data that is no longer used day to day out of production systems into cheaper long-term storage, where it stays searchable, protected and retrievable for compliance, legal or historical analysis.

Updated · By the VIZIO AI team

What is data archiving?

An archive holds the primary copy of inactive data, which is what separates it from a backup. A data backup is an extra copy of live data kept for restoring after loss; an archive is where old records go to live once they leave the production database.

A working archive has five parts: a policy for what qualifies, a storage tier, an index or catalog so records can be found, retention and deletion rules, and a tested retrieval process. In the data lifecycle it sits between active use and deletion, and its rules come from your data retention policy.

How do you decide what to archive and where to put it?

Archive by access pattern and legal obligation, not by age alone.

  1. Measure access: find tables, folders or mailboxes nobody has read in, say, 12 months.
  2. Check obligations: tax, employment and sector rules set minimum periods, while GDPR’s storage limitation principle (Article 5(1)(e)) caps how long personal data may be kept.
  3. Pick an open format such as Parquet or CSV so the data is readable in ten years without the original application.
  4. Choose a tier: Amazon S3 Glacier Deep Archive, Azure Blob Archive or Google Cloud Archive storage. Retrieval can take hours and minimum storage durations apply.
  5. Add immutability (for example S3 Object Lock) where records must not be altered, such as legal holds.
  6. Record metadata, checksums and location in a catalog.

What does data archiving look like in practice?

The common trigger is a production database slowed down by years of history nobody queries. Picture a 200-person online marketplace whose PostgreSQL orders table has grown to, say, 400 million rows, while support and finance only look at the last three years.

The engineering team partitions the table by month with pg_partman. A nightly job exports partitions older than 36 months to Parquet in S3, verifies row counts and checksums, then drops them from Postgres. An S3 lifecycle rule moves the files to Glacier Deep Archive after 90 days, and a monthly summary table stays in the warehouse for trend reports. A one-page runbook explains how to request a restore and who approves it.

In this example the database shrinks, backups and index maintenance run faster, and an auditor’s request for a 2019 order becomes a documented restore ticket instead of a production query.

What are the risks of data archiving, and when should you not archive?

The biggest risk is an archive you cannot search or read when someone finally needs it. Watch for these failure modes:

  • Dumping files without an index, so finding one record means restoring terabytes.
  • Proprietary formats tied to software you no longer license.
  • Retrieval fees and early-deletion charges on cold tiers that surprise the finance team.
  • Archiving personal data that should have been deleted, which keeps your GDPR exposure alive.
  • Breaking foreign keys so archived orders lose their customers.

Do not archive data that still feeds live models, dashboards or real-time analytics; move it to a cheaper warm tier instead.

How is data archiving different from backup and deletion, and which tools are used?

Backups protect against loss, archives manage inactive data, and deletion ends the record’s life. A backup rotates on a schedule of days or months; an archive is kept for years under policy; deletion is the final, documented step once the retention period ends.

Tooling depends on the data type. Object storage lifecycle rules in AWS, Azure and Google Cloud handle files and exports. pg_partman and native partitioning help with databases. For email and documents, Microsoft Purview retention policies and Google Vault manage holds and retention. A data lake often doubles as the landing zone for archived extracts.

Data archiving vs data backup

Data archiving

Data backup

Purpose

Keep inactive data long term

Restore data after loss or corruption

What it holds

Records moved out of production

Copies of current, active data

Original data

Removed from the live system

Stays in place

Retention

Years, set by policy and law

Days to months, rotated

Access pattern

Occasional search or audit request

Restore during an incident

Typical storage

Cold tiers like Glacier Deep Archive

Snapshots and fast backup storage

How does VIZIO AI handle data archiving?

VIZIO AI’s closest work is separating heavy historical data from fast live views, not building archive tiers. For a UK cybersecurity research organization, Growth Studio built a streaming pipeline into Tableau’s Hyper engine and used Hyper partitioning, indexed views and pre-aggregations so datasets exceeding 500,000 records still rendered key views in under one second, with under 60 seconds of dashboard latency.

That project did not include a cold archive; the overlap is the same principle of keeping history from slowing down the data people use every day. Where to start: list your five largest tables with their last-read dates and the retention rule that applies to each.

logo of Facebook
logo of X
logo of LinkedIn
logo of Reddit
logo of Telegram

Think AI-first.
Move future-fast.

Let’s build what’s next! From product ideas and intelligent workflows to data-driven systems and scalable growth operations.

Book a Strategy Call