Signalled during ORA-1031

Source: Internet
Author: User

Signalled during ORA-1031

Error message: ORA-1031 signalled during: create tablespace name datafile '+ data' size 10 M autoextend on next 5 M maxsize unlimited...

Problem description

In the newly deployed Oracle environment, a designer user needs to call the stored procedure to create a tablespace at every day. This user already has the connect, resource, and dba permissions.

If the tablespace is not created the next day, find alert _ <sid>. log to see the ORA-1031 signalled during: create tablespace name datafile '+ data' size 10 M autoextend on next 5 M maxsize 100M... such prompt information.

It is no problem to copy the tablespace creation statement to the designer user for execution. Then, when you run the job manually, the same message is displayed, and the tablespace is not created successfully. When the stored procedure is called separately, if you forget to set the set serveroutput option, the execution is successful and no prompt is displayed. Finally set serveroutput on to discover a prompt like ora-01031: insufficient privileges. Grant the user the following permissions:

Grant create tablespace to designer;

No error is reported after testing.

However, the question is that the designer user has the DBA permission. the DBA permission also includes the create tablespace permission, and the job and stored procedure are also created under the designer, why do I have to assign the tablespace creation permission to designer separately to create the tablespace successfully?

Related Article

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.