{
  "id": 11081007,
  "title": "ORA-01555 Snapshot Too Old: Reproduce It, Then Make It Impossible",
  "url": "https://urgent.news/2026/10/01/ora-01555-snapshot-too-old-reproduce-it-then-make-it-impossible",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-01T01:58:26.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/uptimearchitect/ora-01555-snapshot-too-old-reproduce-it-then-make-it-impossible-167f"
  },
  "original_language": "en",
  "account": "The \"snapshot too old: rollback segment too small\" error in Oracle, represented by ORA-01555, occurs when a long-running query requires undo data that has been recycled due to insufficient undo space. This error is not due to a wrong query but rather insufficient undo configuration. To understand this better, it's essential to know that Oracle provides every query with a read consistency, which reflects a single point in time when the query began. However, if the undo needed to rebuild the older block is no longer available, ORA-01555 is raised instead of returning data from different points in time. This situation typically arises when a long-running query runs concurrent with heavy DML activity, consuming undo tablespace space. The key to resolving this issue lies in ensuring that the undo tablespace is sized appropriately and configured with a retention guarantee, which prevents Oracle from overwriting unexpired undo data, thereby protecting the reader. By adjusting the undo tablespace size and retention settings, the issue can be entirely eliminated, as demonstrated in the lab experiment.",
  "summary": "The nightly report has run for 55 minutes when it dies: ORA-01555: snapshot too old: rollback segment number … too small . You didn't change the query. The data is fine. Run it again at 2 a.m. and it works. So you shrug, add a retry, and move on — until it fails during the quarter-end close and someone asks why. Here's the part that flips the whole problem on its head: ORA-01555 is not your query…",
  "key_points": [
    "ORA-01555 error occurs due to insufficient undo space",
    "Snapshot too old error not caused by wrong query",
    "Resolving issue requires sizing undo tablespace and retention guarantee"
  ],
  "editors_take": "Properly sizing and configuring the undo tablespace with a retention guarantee prevents the ORA-01555 error, ensuring read consistency for long-running queries and eliminating the issue through configuration adjustments.",
  "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."
}