ORA-01536: space quota exceeded for tablespace 'TOOLS' [message #245370] |
Sat, 16 June 2007 11:12 |
caprikar
Messages: 226 Registered: March 2007
|
Senior Member |
|
|
Hi,
All our application users are getting
ORA-01536: space quota exceeded for tablespace 'TOOLS'
when I try to run the following statement as sys user
alter user abc quota unlimed on tools;
I'm getting
ORA-00604: error occurred at recursive SQL level 1
ORA-01536: space quota exceeded for tablespace 'TOOLS'
ORA-06512: at line 2
even when I try to run
alter user xyz account unlock; as sys user am getting the same error.
Can anyone tell me what could be the problem is?
|
|
|
Re: ORA-01536: space quota exceeded for tablespace 'TOOLS' [message #245371 is a reply to message #245370] |
Sat, 16 June 2007 11:41 |
|
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
Too bad you chose to not read & follow the posting guidelines as enumerated in the #1 STICKY post at the top of this forum.
Too bad you decided to describe what you did rather than using CUT & PASTE so we could see for ourselves what happened.
>alter user abc quota unlimed on tools;
I seriously doubt that the SQL above produced the results you reported because you should have used UNLIMITED instead of "unlimed".
Please note you missed "it" between the "m" & the "e".
Needless to say it should work, but since it did not I have to believe the problem is PEBKAC induced.
Please post the results from SQL*Plus of the following SQL run as user SYS.
SQL> SHOW USER
SQL> SELECT * FROM DBA_TABLESPACES WHERE TABLESPACE_NAME = 'TOOLS';
[Updated on: Sat, 16 June 2007 11:44] by Moderator Report message to a moderator
|
|
|
Re: ORA-01536: space quota exceeded for tablespace 'TOOLS' [message #245372 is a reply to message #245371] |
Sat, 16 June 2007 11:45 |
caprikar
Messages: 226 Registered: March 2007
|
Senior Member |
|
|
Hi,
That was a typo, let me cut and past the output:
SQL> alter user system quota unlimited on tools;
alter user system quota unlimited on tools
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01536: space quota exceeded for tablespace 'TOOLS'
ORA-06512: at line 2
|
|
|
|
|
|
Re: ORA-01536: space quota exceeded for tablespace 'TOOLS' [message #245380 is a reply to message #245379] |
Sat, 16 June 2007 12:19 |
caprikar
Messages: 226 Registered: March 2007
|
Senior Member |
|
|
Here is the output:
select distinct trigger_type, triggering_event from dba_triggers where owner != 'SYS' order by 1,2
AFTER EACH ROW DELETE
AFTER EACH ROW INSERT
AFTER EACH ROW INSERT OR UPDATE
AFTER EACH ROW INSERT OR UPDATE OR DELETE
AFTER EACH ROW UPDATE
AFTER EVENT DDL
AFTER EVENT LOGON
AFTER STATEMENT INSERT OR UPDATE OR DELETE
AFTER STATEMENT UPDATE
AFTER STATEMENT UPDATE OR DELETE
BEFORE EACH ROW DELETE
BEFORE EACH ROW INSERT
BEFORE EACH ROW INSERT OR UPDATE
BEFORE EACH ROW INSERT OR UPDATE OR DELETE
BEFORE EACH ROW UPDATE
BEFORE EACH ROW UPDATE OR DELETE
BEFORE EVENT DROP OR TRUNCATE
BEFORE STATEMENT INSERT
INSTEAD OF INSERT OR UPDATE OR DELETE
19 rows selected.
|
|
|
|
|
|
Re: ORA-01536: space quota exceeded for tablespace 'TOOLS' [message #245386 is a reply to message #245370] |
Sat, 16 June 2007 12:38 |
caprikar
Messages: 226 Registered: March 2007
|
Senior Member |
|
|
SQL> select distinct trigger_type, triggering_event from dba_triggers where owner != 'SYS' order by 1,2
2 ;
AFTER EACH ROW DELETE
AFTER EACH ROW INSERT
AFTER EACH ROW INSERT OR UPDATE
AFTER EACH ROW INSERT OR UPDATE OR DELETE
AFTER EACH ROW UPDATE
AFTER EVENT DDL
AFTER EVENT LOGON
AFTER STATEMENT INSERT OR UPDATE OR DELETE
AFTER STATEMENT UPDATE
AFTER STATEMENT UPDATE OR DELETE
BEFORE EACH ROW DELETE
BEFORE EACH ROW INSERT
BEFORE EACH ROW INSERT OR UPDATE
BEFORE EACH ROW INSERT OR UPDATE OR DELETE
BEFORE EACH ROW UPDATE
BEFORE EACH ROW UPDATE OR DELETE
BEFORE EVENT DROP OR TRUNCATE
BEFORE STATEMENT INSERT
INSTEAD OF INSERT OR UPDATE OR DELETE
19 rows selected.
1* select distinct trigger_type, triggering_event from dba_triggers where owner = 'SYS' order by 1,2
2 /
AFTER EVENT DROP
AFTER EVENT LOGON
AFTER EVENT STARTUP
BEFORE EVENT ALTER
BEFORE EVENT CREATE
BEFORE EVENT DDL
BEFORE EVENT DROP
BEFORE EVENT SHUTDOWN
8 rows selected.
|
|
|
|
|
|
|
Re: ORA-01536: space quota exceeded for tablespace 'TOOLS' [message #245392 is a reply to message #245388] |
Sat, 16 June 2007 13:23 |
|
Michel Cadot
Messages: 68718 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Please, wait a minute I'm not always in front of my screen.
If you want to know, I took a shower.
Now, going on to my idea post:
select owner, trigger_name, triggering_event from dba_trigges where triggering_event in ('DDL','ALTER') order by 1,2;
Note: this will not prevent from posting what Ana asked you.
Regards
Michel
|
|
|
|
|
|
|
Re: ORA-01536: space quota exceeded for tablespace 'TOOLS' [message #245398 is a reply to message #245394] |
Sat, 16 June 2007 13:39 |
|
Michel Cadot
Messages: 68718 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Ok, my fault, query is:
select owner, trigger_name, triggering_event
from dba_trigges
where triggering_event like 'DDL%'
or triggering_event like 'ALTER%'
order by 1,2;
But if you read what you posted, you should see that.
In addition, put "set head on". I like having column header. Your answer to Ana is ununderstandable without column names.
Regards
Michel
|
|
|
|
Re: ORA-01536: space quota exceeded for tablespace 'TOOLS' [message #245400 is a reply to message #245398] |
Sat, 16 June 2007 13:43 |
caprikar
Messages: 226 Registered: March 2007
|
Senior Member |
|
|
1 select owner, trigger_name, triggering_event
2 from dba_triggers
3 where triggering_event like 'DDL%'
4 or triggering_event like 'ALTER%'
5* order by 1,2
SQL> /
OWNER TRIGGER_NAME TRIGGERING_EVENT
------------------------------ ------------------------------ -------------------
ARAO DDLTRIGGER DDL
SYS NO_VM_ALTER ALTER
SYS TR_DDL_LOCK DDL
SYS TR_DDL_TRACK DDL
[Updated on: Sat, 16 June 2007 14:48] by Moderator Report message to a moderator
|
|
|
Re: ORA-01536: space quota exceeded for tablespace 'TOOLS' [message #245401 is a reply to message #245400] |
Sat, 16 June 2007 13:45 |
caprikar
Messages: 226 Registered: March 2007
|
Senior Member |
|
|
I inclueded STATUS column into it...
1 select owner, trigger_name,status, triggering_event
2 from dba_triggers
3 where triggering_event like 'DDL%'
4 or triggering_event like 'ALTER%'
5* order by 1,2
SQL> /
OWNER TRIGGER_NAME STATUS TRIGGERING_EVENT
------------------------------ ------------------------------ -------- --------------------
ARAO DDLTRIGGER ENABLED DDL
SYS NO_VM_ALTER DISABLED ALTER
SYS TR_DDL_LOCK DISABLED DDL
SYS TR_DDL_TRACK DISABLED DDL
[Updated on: Sat, 16 June 2007 14:49] by Moderator Report message to a moderator
|
|
|
|
Re: ORA-01536: space quota exceeded for tablespace 'TOOLS' [message #245405 is a reply to message #245370] |
Sat, 16 June 2007 13:54 |
caprikar
Messages: 226 Registered: March 2007
|
Senior Member |
|
|
SQL> select trigger_body
from dba_triggers
where owner='ARAO' and trigger_name='DDLTRIGGER';
select bytes, max_bytes
from dba_ts_quotas
where tablespace_name='TOOLS' and username='ARAO'; 2 3 BEGIN
insert into
ARAO.stats$ddl_log
(
user_name,
ddl_date,
ddl_type,
object_type,
owner,
object_name
)
VALUES
(
ora_login_user,
sysdate,
ora_sysevent,
ora_dict_obj_type,
ora_dict_obj_owner,
ora_dict_obj_name
);
END;
|
|
|
|
|
|
|
|
|
|
|