See how much of your plan's database storage you are using, find the largest tables and reclaim space before you reach your quota.
Each APEX Shared plan includes a fixed amount of tablespace for your data. When it is full, inserts and updates fail with errors such as ORA-01653: unable to extend table or ORA-01654: unable to extend index. Checking usage now and then avoids surprises.
Open Services and select your APEX service. The Database storage tile in the Overview tab shows how many megabytes you have used out of your plan's allowance. It turns amber at 90%, and a warning appears. With more than one workspace, Storage by workspace shows how much each one uses.
Connect with SQL Developer or another tool (see How to connect to your schema with SQL Developer) and run:
SELECT ROUND(SUM(bytes) / 1024 / 1024, 1) AS used_mb
FROM user_segments;
Compare the result with your plan's size in the Database storage tile. If you use additional workspaces, run the query in each of their schemas too — all workspaces on a service share the same tablespace.
To find what is taking up the space:
SELECT segment_name, segment_type,
ROUND(SUM(bytes) / 1024 / 1024, 1) AS size_mb
FROM user_segments
GROUP BY segment_name, segment_type
ORDER BY size_mb DESC
FETCH FIRST 10 ROWS ONLY;
Empty the recycle bin. Dropped tables stay in Oracle's recycle bin and still count against your quota until you purge them:
PURGE RECYCLEBIN;
Delete data you no longer need, such as old log or audit tables. For large tables, TRUNCATE TABLE frees the space immediately, but it cannot be rolled back.
Store large files outside the database where it makes sense, for example on a file or object storage service, and keep only a link in your table.
Note: Deleting rows does not always shrink a table's allocated space straight away. Purging the recycle bin and truncating unused tables are the quickest ways to see the number drop.
Move to a larger plan from the client area: open your APEX service, click Upgrade plan on the Overview tab and choose the plan. The extra space is available within a minute of payment — see Upgrade, renew or cancel a service. Plan sizes are listed on the compare plans page.
Our Oracle APEX specialists are happy to help. Critical issues get a first response within 15 minutes, 24/7.