{
  "id": 19062944,
  "title": "The Four Ghosts in Your Data Warehouse (And How to Evict Them)",
  "url": "https://urgent.news/2026/11/09/the-four-ghosts-in-your-data-warehouse-and-how-to-evict-them",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-09T01:49:35.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/honeykiran/the-four-ghosts-in-your-data-warehouse-and-how-to-evict-them-4866"
  },
  "original_language": "en",
  "account": "The headline reads: The Four Ghosts in Your Data Warehouse (And How to Evict Them).\n\nThe source material explains that a single bad query on Google BigQuery cost $9,847 in just 22 seconds. This happened because BigQuery bills based on the volume of data scanned, not the output shown. The engineer thought a LIMIT clause would save money, but it didn't.\n\nThe source identifies four main culprits for high warehouse bills: forgotten tables, copy sprawl, zombie snapshots, and temporary tables that never expire. Forgotten tables are one-off data pulls, abandoned machine learning experiments, and leftovers from pipelines that were migrated. Copy sprawl involves multiple tables with similar names, created as safety nets during updates. Zombie snapshots are backup table snapshots left untouched indefinitely. Temporary tables that never expire are staging tables created by ETL pipelines without cleanup steps.\n\nThe source provides an SQL query to identify tables that haven't been queried in the last 180 days, helping to find the four ghosts. These forgotten tables, copy sprawl, zombie snapshots, and temporary tables that never expire are all expensive in the long run, even though storage costs are cheap. The source stresses the importance of finding what nobody queries to clean up unused tables and reduce costs.",
  "summary": "Forgotten copies, full price. Pull up a chair, grab some chai, and let me tell you about a quiet disaster waiting in your cloud bill. $9,847. In exactly 22 seconds. That is what running a single bad query three times cost on Google BigQuery (Google’s managed cloud data warehouse—basically a massive analytical database built to crunch terabytes of reporting data in seconds). This was documented…",
  "key_points": [
    "Forgotten tables include abandoned experiments and pipeline leftovers, costing money",
    "SQL query provided to identify tables unqueried in last 180 days, helping find \"ghosts\""
  ],
  "editors_take": "Neglecting to clean up unused tables and unexpired staging data transforms data warehouses into massive cost centers where inefficient query patterns and storage sprawl drive unexpected financial losses.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}