Home / Oracle Errors / ORA-30036

ORA-30036

Unable to extend segment by n in undo tablespace

What it means

The undo tablespace has no room left for a transaction.

Common causes

How to fix it

  1. Find big users: SELECT s.sid,s.username,t.used_ublk FROM v$transaction t JOIN v$session s ON s.taddr=t.addr ORDER BY t.used_ublk DESC;
  2. Add space: ALTER TABLESPACE <undo> ADD DATAFILE SIZE 10G AUTOEXTEND ON;
  3. Break large batch jobs into smaller commits

How to prevent it

Size undo for your biggest batch job and monitor it.

Still stuck? Ask the community in Q&A.

Get the weekly Vismo digestNew Oracle articles and Q&A in your inbox. No spam.

One email a week. Unsubscribe any time.