How to do profiling in sql developer?

how to do profiling in sql developer?
also-can somebody plz suggest a gud site for information on pl/sql code profiling.

You might want to ask your SQL Developer-related question in the SQL Developer forum: SQL Developer
gud site for information on pl/sql code profiling.Online Oracle Documentation:
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/tuning.htm#LNPLS01214
and/or
http://www.oracle-base.com/articles/9i/DBMS_PROFILER.php
Edited by: hoek on May 19, 2010 12:55 PM

Similar Messages

  • Profiler in SQL Developer not working

    When I run the profiler in SQL developer , I get the following error.
    "Directory exists; check if /tmp exists on file system, and oracle has permission to write there. "
    This error sounds like an UNIX error but I am running SQL developer on Windows 7 (64) OS. Has anyone seen this or knows how to get around it.
    Thanks so much..

    Hi,
    According to the SQL Developer 3.1.04.72 documentation, the "get" command (among others) is not supported:
    Help|Table of Contents|SQL Developer Concepts and Usage|Using the SQL Worksheet|SQL*Plus Statement Supported and Not Supported...
    so options are limited. If sqlplus is accessible and using it as an "external tool" won't conflict entirely with local policy, these links might interest you:
    Re: sqlplus vs sqldeveloper
    Easy Connect and sqldev.conn issues
    Otherwise you may add a feature request for this on the SQL Developer and see if such an enhancement is a priority for the community.
    Regards,
    Gary
    SQL Developer Team

  • How to start listener in sql developer for remote debug

    how to start listener in sql developer for remote debug ? Since the new version 1.1.0.23 is different with the old version for remote debug, I don't know how to start the listener on the new version for remote debug.
    even follow the user guide below and not work . Experts on sql developer please help me with this.
    Remote Debugging
    To debug a procedure or function for a connection where the database is on a different host than the one on which you are
    running SQL Developer, you can perform remote debugging.
    Remote debugging involves many of the steps as for local debugging; however, do the
    following before you start the remote debugging: Use an Oracle client such as SQL*Plus to issue the debugger connection command. Whatever
    client you use, make sure that the session which issues the debugger connection commands is the same session which executes your PL/SQL
    program containing the breakpoints.
    For example, if the name of the remote system is remote1, use the following SQL*Plus command to open a
    TCP/IP connection to that system and the port for the JDWP session:
    EXEC DBMS_DEBUG_JDWP.CONNECT_TCP('remote1', '4000'); The first parameter
    is the IP address or host name of the remote system, and the second parameter is the port number on that remote system on which the debugger
    is listening.
    Right-click the connection for the remote database, select Remote Debug, and complete the information in the Debugger - Attach
    to JPDA dialog box. Then, follow the steps that you would for local debugging (for example, see Debugging a PL/SQL Procedure).
    Debugger - Attach to JPDA This dialog box is displayed when you right-click a database connection name and select Remote Debug.
    Use this
    dialog box if you are using the Sun Microsystem's Java Platform Debugger Architecture (JPDA) and you would like the debugger to listen so
    that a debuggee can attach to the debugger.
    For more information about remote debugging, see Remote Debugging.
    Host: Name or IP address of
    the remote host on which SQL Developer should listen for the database to connect.
    Port: Listening port number on the remote host. You can
    choose any valid port number that is not in use by another process.
    Timeout: The number of seconds that SQL Developer will wait for the
    remote database to make a debugging connection. Don't Show Dialog Box Before Connecting: If this option is checked, this dialog box will not
    be displayed before future connections for remote debugging

    You're not the only one:
    Not able to start remote debug listener
    Re: remote debug question at version 1.1.0.23 64

  • How input korea in pl/sql developer

    I input korea in "the sql edit windows" of pl/sql developer 7 ,but it show "??"
    Could you tell me how to resovle this problem
    my os is windows XP ,oracle is 10.2.0.3
    my NLS_LANG=ZHS16CGB231280
    it should be store korea character.

    I had never heard of this either, but I think this is the web site: http://www.allroundautomations.nl/plsqldev.html.
    Perhaps you should review the product docs or contact support.
    Greg

  • Two user profiles in SQL Developer

    Hello,
    is it possible to start 2 instances of SQL Developer on Windows with 2 different user profiles at the same time? I like to have one instance with a set of connections and one instance with another set of connections. Maybe it is also possible to color the connections with a different color (like TOAD) at this possibility I don't need 2 different profiles. I need for better overview which project I'm working on. Ok, I can name my connection with prefixes for example, but when many SQL windows are opened, the differences are not so clear.
    I'm also happy for different solutions.
    Best regards
    Carsten

    Mmm, yes, but you could mix up a batch file for using one file or the other.
    And this is really just a Java parameter, so you should be able to just pass it as command line parameter to the executable, like:
    sqldeveloper -J-Dide.user.dir="%SQLDEVELOPER_USER_DIR%"Hope that helps,
    K.
    Edited by: -K- on 07/11/2011 14:27

  • How create new user in sql developer?

    so i tried creating a new user in SQL developer, under the worksheet section,  for a 12c database
    create user Hares1
    identified by book;
    but I get this error
    SQL Error: ORA-65096: invalid common user or role name
    Sorry I know this is a generalized question. I only learned how to actually connect today - any help of a next step would be appreciated.

    so i tried creating a new user in SQL developer, under the worksheet section,  for a 12c database
    create user Hares1
    identified by book;
    but I get this error
    SQL Error: ORA-65096: invalid common user or role name
    The 'next step' is RTFM. Sorry but for 12c multitenant you simply MUST read the documentation about the new multitenant architecture.
    Your 'problem' is not creating a user with sql developer - it is how to create users in 12c.
    See my extended comments and reply in this thread (and several other threads I reference there) which addresses your exact problem
    12c: ORA-65049: creation of local user or role is not allowed in CDB$ROOT
    http://www.oracle.com/pls/db121/homepage
    I suggest you first read chapters 17 and 18 of the Concepts doc about the new multitenant architecture of 12c.
    http://docs.oracle.com/cd/E16655_01/server.121/e17633/part_consol.htm#CHDGDBHJ
    The 'Common Users in a CDB section answers your question
    >
    The name of every user-created common user must begin with the characters c## or C##. (Oracle-supplied common user names do not have this restriction.)
    >
    There are two types of users in 12c: common and local. You need to understand the difference between them.
    Until you read those doc chapters you won't understand these terms: common user, local user, CDB, PDB, root container, and many others.
    As I said in that other thread:
    You will NOT be successful working with 12c unless you have read and understand the new multitenant architecture that it uses. There are very simple things (connecting, startup/shutdown, creation of users, grants to users, etc) that just don't work the same old way anymore.
    If you try to just 'plow through it' without reading about it you will likely get an exception that you won't understand and it will likely use a term (CDB$ROOT) that you won't understand. Then you will hunt all over (or worse, ask in the forums) to find out about that term.
    Yes - I know how adverse some people are to RTFM replies. But for 12c multitenant it is mandatory to read the docs no matter how expert you may be in previous Oracle versions.

  • How to connect from oracle sql developer ?

    I've made one java class, to access UserRecord Data Base from sql developer.
    My class file is :-
    import java.sql.*;
    import java.io.*;
    public class SelectData{
    public SelectData(){}
    public void selectData(){
              String url="jdbc:oracle:thin:@10.1.236.10:1521:dev92i";//connection url
         Connection con= null; //connection create
              Statement stat = null; //prepared statement create
              ResultSet rs=null; //result set to hold result
              try{
              Class.forName("oracle.jdbc.driver.OracleDriver");
              con = DriverManager.getConnection(url,"scott","tiger");
              stat = con.createStatement();
              rs = stat.executeQuery("select Name from UserRecord");
              while (rs.next()) {               // Position the cursor                 
                        // Retrieve the first column value
                        System.err.println("Name= " +rs.getString("Name"));
                        // Retrieve the first column value
                        System.err.println("Pswd= " +rs.getString("Password"));
              rs.close();
              catch(SQLException e){
                   System.err.println(e.getMessage());
              catch(ClassNotFoundException e){
                   System.err.println(e.getMessage());
              catch(Exception e){
                   System.err.println(e.getMessage());
              finally{     
                        try{
                        if(con!=null)
                             con.close();
                        catch(Exception e){
                             System.err.println(e.getMessage());
    public static void main(String args[]){
         SelectData sd=new SelectData();
         sd.selectData();
    When i run this class file it gives error :-
    "oracle.jdbc.driver.OracleDriver"
    Plz help me out from this problem and suggest any configuration if required in oracle sql developer to run my programs.

    {color:#0000ff}hi,
    add the jar for oracle jdbc to the libraries.
    if you are using any IDE then just change the project properties adding the jar file.
    if not edit the classpath of the envoirnment variables.
    {color}{color:#ff0000}*manik*{color}

  • How to re connect on SQL developer

    i am using SQL Developer 2.1.1.64 on a Windows.
    From time to time, the connection to the Oracle server will be reset.
    Is there a quick way to re establish the connection from the tab where I've the SQL statements?
    on SSMS, i would right click and pick connect on pop up.
    is there something simple like that in SQL devleoper?
    thanks.

    No. iWeb has no import function.
    iWeb stores all files under the domain.sites file found under User/Library/Application Support/iWeb/domain.sites. If you can't find this file and you never saved it then you will have to re-build your site from scratch in iWeb again, using your published site to cut and paste from.
    Remember to backup your domain file next time.
    Once you have done this, you won't make the same mistake twice.

  • How to show alerts in sql developer?

    hi all
    I want to display a message box in backend( sql developer). Every day open the sql developer, i want to see some mesage from table data. can u plz sample code of this requirement.
    plz reply

    SQL Developer is not a monitoring solution, which is generally what one is asking for when the word 'alerts' is used. Perhaps you need something along the lines of Oracle Enterprise Manager ?

  • How to debug package in sql developer?

    Hi,
    I need to debug one of procedures in my package in sql developer version 1.5.5. In Debugging log, I got the following:
    Connecting to the database <databasename>.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '127.0.0.1', '2754' )
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    This session requires DEBUG CONNECT SESSION and DEBUG ANY PROCEDURE user privileges.
    Process exited.
    Disconnecting from the database <databasename>.
    I have granted both DEBUG CONNECT SESSION and DEBUG ANY PROCEDURE user privileges from SYS as the following:
    GRANT DEBUG ANY PROCEDURE TO ESM_OWNER;
    grant DEBUG CONNECT SESSION to ESM_OWNER;
    However, I still get the same error. What did I do wrong? I really appreciate any help to solve my problem.
    Thanks in advance!!!
    Cindy

    I logged in as ESM_Owner. Now I got the following errors:
    Connecting to the database <databasename>.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '127.0.0.1', '1131' )
    ORA-30683: failure establishing connection to debugger
    ORA-12541: TNS:no listener
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    Process exited.
    Disconnecting from the database <databasename>.
    Edited by: user13375135 on Sep 22, 2010 1:31 PM

  • How stop case changing in SQL developer editor

    Dear Friends,
    When I start editing in SQL developer(version 1.6), case i.e. formatting of words gets changed automatically.
    Is there any option to stop case changing.
    Thanking in advance
    Sanjeev

    Assuming you are on SQL Developer 2.1.X try unsetting
    Tools -> Preferences -> Code Editor -> Completion Insight -> change case as you type

  • How to get the exact sql developer which used for data migration?

    Hi all,
    Hope doing well,
    Sir i seen a link for data migration that is : http://www.oracle.com/technetwork/developer-tools/sql-developer/sql-server-connection-viewlet-swf-089886.html
    in this link when they are connecting to sql database so after clicking on new connection four tab is showing that is oracle, access, my sql, sql server.
    i downloaded latest version of sql developer which version is: 3.02.09.30 when i opened this i am not getting those option.
    and one more thing i am not getting miragation menu name in menu items.
    please help me.
    thanks and regards

    Hi,
    To connect to non-Oracle databases from SQL*Developer youneed to download the relevant JDBC driver.
    This is detailed in the documentation in the User Guide -
    http://docs.oracle.com/cd/E35137_01/appdev.32/e35117.pdf
    in the section -
    Database: Third Party JDBC Drivers
    The Third Party JDBC Drivers pane specifies drivers to be used for connections to third-party (non-Oracle) databases, such as IBM DB2, MySQL, Microsoft SQL Server, or Sybase Adaptive Server. (You do not need to add a driver for connections to Microsoft Access databases.) To add a driver, click Add Entry and select the path for the driver:
    ■For IBM DB2: the db2jcc.jar and db2jcc_license_cu.jar files, which are available from IBM
    ■For MySQL: a file with a name similar to mysql-connector-java-5.0.4-bin.jar, in a directory under the one into which you unzipped the download for the MySQL driver
    ■For Microsoft SQL Server or Sybase Adaptive Server: jtds-1.2.jar, which is included in the jtds-1.2-dist.zip download
    ■For Teradata: tdgssconfig.jar and terajdbc4.jar, which are included (along with a readme.txt file) in the TeraJDBC__indep_indep.12.00.00.110.zip or TeraJDBC__indep_indep.12.00.00.110.tar download
    To find a specific third-party JDBC driver, see the appropriate website (for example, http://www.mysql.com for the MySQL Connector/J JDBC driver for MySQL, http://jtds.sourceforge.net/ for the jTDS driver for Microsoft SQL Server and Sybase Adaptive Server, or search at http://www.teradata.com/ for the JDBC driver for Teradata). For MySQL, use the MySQL 5.0 driver, not 5.1 or later, with SQL Developer release 1.5.
    You must specify a third-party JDBC driver or install a driver using the Check for Updates feature before you can create a database connection to a third-party database of that associated type. (See the tabs for creating connections to third-party databases in the Create/Edit/Select Database Connection dialog box.)
    Regards,
    Mike

  • How to view warning in SQL developer

    Dear experts,
    After I executed a script, in the output I got the following message:
    Warning: execution completed with warning
    How can I view the warning?
    Pardon my ignorance, regards,
    Valerie

    What are the contents of the script?
    If you're compiling PL/SQL, you should work through the PL/SQL Editor for getting the best results ("Edit" in the context menu of the object in the navigator).
    If you must work with scripts, you can always issue "SHOW ERRORS" at the end.
    Have fun,
    K.

  • How to pass parameter in sql developer for debubing record type

    DECLARE
      IB_BP_BANK_ACCOUNT_BUF PL/SQL RECORD;  ---record type
      IP_BP_ID NUMBER;
      IOP_ACC_SEQ_NO NUMBER;
      OP_ERROR VARCHAR2(200);
    BEGIN
      IB_BP_BANK_ACCOUNT_BUF := NULL;
      IP_BP_ID := NULL;
      IOP_ACC_SEQ_NO := NULL;
      ORAGTW11.MAINTAIN_BP_BANK(
        IB_BP_BANK_ACCOUNT_BUF => IB_BP_BANK_ACCOUNT_BUF,
        IP_BP_ID => IP_BP_ID,
        IOP_ACC_SEQ_NO => IOP_ACC_SEQ_NO,
        OP_ERROR => OP_ERROR
      /* Legacy output:
    DBMS_OUTPUT.PUT_LINE('IOP_ACC_SEQ_NO = ' || IOP_ACC_SEQ_NO);
      :IOP_ACC_SEQ_NO := IOP_ACC_SEQ_NO;
      /* Legacy output:
    DBMS_OUTPUT.PUT_LINE('OP_ERROR = ' || OP_ERROR);
      :OP_ERROR := OP_ERROR;
    END;

    Something like this:
    Assuming you have a procedure like this:
    CREATE OR REPLACE PROCEDURE abc (p_emp emp%ROWTYPE)
    IS
    BEGIN
       DBMS_OUTPUT.put_line (p_emp.empno);
    END;
    Then you have to call it from a PL/SQL Block in this way i.e.:
    DECLARE
      v_emp emp%ROWTYPE;
    BEGIN
      SELECT *
        INTO v_emp
        FROM emp
       WHERE ROWNUM<=1;
       abc(v_emp);
    END;
    Regards.
    Al

  • How to workstation call Oracle SQL Developer tools  from a remote server

    Respected All,
    I have installed Oracle 11g on Microsoft Windows Server 2003. I want to access Oracle Developer Tools from server to different client machine which are connected with server through LAN.
    regards,
    pkj

    user10683742 wrote:
    Dont think i have DBA access..It gives the following error
    ORA-00942: table or view does not exist
    00942. 00000 - "table or view does not exist"You don't have to have 'dba' access, per se. You just have to have SELECT ALL TABLES privilege. when you use a db_link, you are connecting to the remote db with the user defined in the link, and .. on that db .. you will have the privileges of the user defined in the db link. Exactly as if you had used sqlplus to connect to that db with that user.

Maybe you are looking for

  • "No direct posting can be made to G/L account 140000 in cocode GBTS

    hello gurus  below is the problem i asked earlier iam creating PO with account assignment category 'K' . I have been cncountered with a probklem "No direct posting can be made to G/L account 140000 in cocode GBTS Diagnosis G/L account entered is a co

  • What is Business flow & Business Methodology

    Hi Guru's I hope all are doing well in your jobs. I am in job Hunting. Can someone explain me on above said topic. Its bit confusing. And also provide me the difference between these two. Thanks in advance for your valuable time spending and answers

  • Regarding configuration in STO

    Hi all, I am creating STO for a configurable material. But once STO is saved its not allowing to change the configuration. Is there any user exit or else to do it? Regards, Yogesh

  • Can I /dev/null my access log while running?

    I have a Directory Server 5.2 system running on Linux Red Hat. My access log is huge - 1.7 G in 2 days, using default logging. Can I manage this by copying the access log to another directory, then cat /dev/null > /sunusr/slapd-xxxx/access w/o negati

  • Ipad screen broken. buyed my ipad in january 2014.

    Someone can tell me, if I have to change my ipad, find the prices of new screens OR because I buyed my ipad in january 2014, my warranty include new screen????? Please, answer soon.... thanks.