It Ninja Turtles quota is insufficient solution ORA-01536: space quota exceeded for tablespace

Source: Internet
Author: User
Today, some colleagues reported that data in the past few days could not be found in Oracle. Check TT Error Log display: tt5211: tt5211: Oracle out of resource error in ocistmtexecute (): ORA-01536: space quota exceeded for tablespace 'tbslog' rc =-1 -- file "bdbtblh. C ", lineno 2452, procedure" ttbdbstmtforce ()".
Check Oracle for the obvious insufficient tablespace quota:
SQL> select * From dba_ts_quotas where username = 'username ';
Tablespace_name username bytes max_bytes blocks max_blocks dro
---------------------------------------------------------------------------------------------
Tbslog1 username 6835470336-1 834408-1 NO

The quota of username in table space tbslog1 is unlimited, and no tbslog quota is displayed.
Change quota:
SQL> alter User Username quota unlimited on tbslog;
User altered.

SQL> select * From dba_ts_quotas where username = 'username ';
Tablespace_name username bytes max_bytes blocks max_blocks dro
---------------------------------------------------------------------------------------------
Tbslog username 6835470336-1 834408-1 NO
Tbslog1 username 6835470336-1 834408-1 NO

Max_bytes =-1 indicates that the quota of username on tbslog has been changed to unlimited. Check that the TT synchronization has been back to normal, and the error log does not report the error of insufficient quota.


11g sqlplus error ORA-28002: the password will expire within 5 days Solution


11g adds the logon time limit, which can be found in the default profile, as shown below:
SQL> select * From dba_profiles where profile = 'default' and resource_name = 'password _ life_time ';

Profile resource_name resource limit
--------------------------------------------------------------------------------------------------------------
Default password_life_time password 180

The limit field is displayed for 180 days.
Let's take a look at the 10G value:
SQL> select * From dba_profiles where profile = 'default' and resource_name = 'password _ life_time ';

Profile resource_name resource limit
--------------------------------------------------------------------------------------------------------------
Default password_life_time password Unlimited

Solution:
1. Change the limit value to unlimited. The modification takes effect immediately without restarting the database.
SQL> alter profile default limit password_life_time unlimited;

Profile altered.

SQL> select * From dba_profiles where profile = 'default' and resource_name = 'password _ life_time ';

Profile resource_name resource limit
--------------------------------------------------------------------------------------------------------------
Default password_life_time password Unlimited

2. If an error has been reported, you must change the password once.
SQL> alter user user1 identified by user1;

User altered.

It Ninja Turtles quota is insufficient solution ORA-01536: space quota exceeded for tablespace

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.