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