Updated : 2022-12-06

SQL performance information - NGLS.TRACE Setting

SQL Workspace provides real-time performance information for SQL through
the following environment settings when connecting to an Oracle database.
This installation process is an installation process for NGLS.TRACE PartI
and is a description for the Angelus environment.
(Check the NGLS.TRACE PartII installation help for Angelus6.)

    Settings for using NGLS.TRACE

  • NGLS Create a user
  • NGLS User Authorization
  • Create a directory
  • Create a NGLS.TRACE Package
  • Grant permission to execute NGLS.TRACE packages
  • Check SQL performance information
  • NGLS 사용자 생성

    CREATE USER NGLS PROFILE DEFAULT IDENTIFIED BY {password} ACCOUNT LOCK;

  • NGLS Create a user

    1. 1GRANT ALTER SESSION TO NGLS;
    2. 2GRANT CREATE PROCEDURE TO NGLS;
    3. 3GRANT CREATE ANY CONTEXT TO NGLS;
    4. 4GRANT SELECT ANY DICTIONARY TO NGLS;
    5. 5GRANT EXECUTE ON DBMS_MONITOR TO NGLS;
    6. 6GRANT EXECUTE ON DBMS_SESSION TO NGLS;
    7. 7GRANT EXECUTE ON SYS.UTL_FILE TO NGLS;
    8. 8GRANT CREATE ANY DIRECTORY TO NGLS;
  • Create a directory

    Create the Oracle Diagnostic Trace folder as NGLS_UDUMP.

    CREATE DIRECTORY NGLS_UDUMP AS {diagnostic trace path};

    ex) SELECT VALUE FROM V$DIAG_INFO WHERE NAME = 'Diag Trace';

  • Create a NGLS.TRACE Package

    Create a package using a NGLS.TRACE.PART1.plb file.

    (Provide NGLS.TRACE.PART1.plb files in the DDL folder under the Angelus folder)

  • Grant permission to execute NGLS.TRACE packages

    GRANT EXECUTE ON NGLS.TRACE TO PUBLIC;

  • Check SQL performance information

    1. 1Enter SQL to check performance information.

      SELECT * FROM EMPLOYEE

    2. 2Execute SQL with performance information collection.

      Hold down the Ctrl key and type F5, or click the Functions button on the toolbar.

    3. 3Check the execution performance information along with the execution result of SQL.
      [After checking the performance information when executing SQL, link the detailed analysis screen]

DOSOME soft

www.dosomesoft.com