SP2-0618: The session identifier cannot be found. Enable check PLUSTRACE role Solution

Source: Internet
Author: User


SP2-0618: The session identifier cannot be found. Enable the check PLUSTRACE role solution for the following operations, please use SQL * plus or sqlplus dostool for demonstration, use PLSQL Developer tool seems to have problems. SQL> show user; USER is "OUTLINE" SQL> set autotrace on; SP2-0618: The session identifier cannot be found. Enable exam PLUSTRACE role SP2-0611: An error occurred while enabling STATISTICS reporting www.2cto.com solution: Execute the plustrce. SQL script, create the plustrace role, and assign to public. SQL> conn/as sysdba connected. SQL> @ D: \ dev \ oracle \ product \ 10.2.0 \ db_1 \ sqlplus \ admin \ plustrce. SQL SQL> drop role plustrace; drop role plustrace * row 1st error: ORA-01919: role 'plustrace 'does not exist SQL> create role PLUSTRACE; role created. SQL> grant select on v _ $ sesstat to plustrace; authorization successful. SQL> grant select on v _ $ statname to plustrace; authorization successful. Www.2cto.com SQL> grant select on v _ $ mystat to plustrace; authorization successful. SQL> grant plustrace to dba with admin option; authorization successful. SQL> set echo off; SQL> grant plustrace to public; authorization successful. SQL> conn outline/oracle is connected. SQL> set autotrace on;-Yes
 

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.