Skip to Main Content
  • Questions
  • Unable to add datafile or even create a table to any tablespace

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question.

Asked: September 24, 2015 - 7:44 am UTC

Last updated: September 28, 2015 - 3:38 am UTC

Version: 11.2.0.4

Viewed 1000+ times

You Asked

Hello Tom,

A week back we faced a issue on our production database.
We ran out of space in a goldengate tablespace and when I tried to add a datafile It gave below error.

SQL> alter tablespace GG_TBS add datafile '+disk_group/gg_tbs02.dbf' size 2G autoextend on;

ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01653: unable to extend table GGATE.GGS_MARKER by 8192 in tablespace GG_TBS
ORA-06512: at line 1153
ORA-01653: unable to extend table GGATE.GGS_MARKER by 8192 in tablespace GG_TBS

Users where not able to connect to the database and I tried creating datafile in other tablespaces but got the same error. There is 500G space available on disk.
Here the replication was not up and running due to other reasons. So I stopped the ddl trigger and dropped the objects in that tablespace to release some space. and everything started working fine. I need to find the reason why this had happened.

Can you please help me out.
Database - 11.2.0.4
Architecture - 2-node RAC
OS - windows server 2008 R2 SP1

Regards,
Suchitra

and Chris said...

Where exactly is this 500G of free space?

It looks like you're using ASM (+disk_group). If this is 500G is "normal" disk, then it isn't available. You need to allocate more to ASM.

You can find the available ASM space from the following:

select name, state, total_mb, free_mb from v$asm_diskgroup;


If you want to know more about ASM, read:

http://docs.oracle.com/cd/E11882_01/server.112/e18951/asmcon.htm#OSTMG036

Rating

  (1 rating)

Is this answer out of date? If it is, please let us know via a Comment

Comments

Suchitra, September 26, 2015 - 10:01 am UTC

Hello Chris,

Thanks for the reply.
I had checked the disk space on ASM. There was 500+Gb UsableMB and the diskgroup is External Redundant. All disks and diskgroups are online and mounted resply.

Now I'm able to use the space without any problem. Should I concentrate on ORA-00604 part or do you suspect and other reasons for this behavior?

Regards,
Suchitra

Connor McDonald
September 28, 2015 - 3:38 am UTC

THe 604 just means an error occurred recursively, ie, you tried to do X, to do X we needed to do Y, and Y failed.

So if you are now up and running, then you dont need to worry about it.

More to Explore

PL/SQL demos

Check out more PL/SQL tutorials on our LiveSQL tool.

PL/SQL docs

PL/SQL reference manual from the Oracle documentation library