SQL Developer SQL History no longer working 3.2.20.09.87

Hi guys, The SQL History (F8) option has started to no longer work within my copy of OSD.
it was working at one point but has gone away.
I have confirmed that "Enable Local History" is enabled and has been set for 30 days history and 50 max revisions
I have confirmed that I still have a SqlHistory.xml file located in my user\operator\AppData\Roaming\SQL Developer\ directory with entries in it (6933 rows of data)
This started to happen after I started to play with the Garbage Collection settings to reduce the memory footprint of OSD.
I have since restored all of my backed up delivered settings, rebooted and the SQL History will not show up again.
My snippets and custom reports are working and I can still see the log detail where I used to see log and sql history options at the bottom of OSD.
I'm using Windows 7 and can provide an OSD dump if it helps.
Thanks...
Tom
Edited by: ERPDude on Mar 6, 2013 10:03 AM

Hi Tom,
Be careful about which preference settings relate to the functionality in question.
1. Tools > Preferences > Environment > Local History > Enable relates to a worksheet's History tab when you File > Open
2. Tools > Preferences > Database > Worksheet > SQL History Limit relates to View > SQL History pane.
You do not say how you backed up and restored your settings during all your experimentation, but let's assume whatever you did was valid. Whenever some UI component mysteriously disappears, one thing I always check (usually just delete) is the windowinglayout.xml in system3.2.20.09.87\o.ide.11.1.1.4.37.59.48 of my user settings.
For example, I can use the SQL History pane's tab context menu to Float it, then adjust it's size by dragging it's edges down to a grey square a few pixels wide/high. Close SQL Developer, reopen, View > SQL History. Darn! Where did it go?
Hope this helps,
Gary

Similar Messages

  • Import SQL Developer xml History files to a table

    I'd like to import my SQL Developer xml history files into an Oracle table. What's the best way to do this?

    I had some success in Pages 1, but I've only tried a couple of times so far in Pages 2 without success. The trick was to make sure the table is the exact number of columns wide. It's very "klunky" but I've ended up converting the tab-delimited text to a table in AppleWorks, saving the AppleWorks file with the table as a "floating" object (fixed objects don't translate) & opening the file in Pages. It's quicker & easier for most of what I do to just drag & drop in Pages.
    Peggy

  • Using the equivalent of a BREAK ON command in SQL Developer SQL window

    Folks.
    In SQL*PLUS "BREAK ON Col1 ON Col2;", I can generate a report similar to the following:
    Col1Value1 Col2Value1 Col3Value1
    Col3Value2
    Col3Value3
    Col2Value2 Col3Value1
    Col3Value2
    Col3Value3
    Col1Value2 Col2Value1 Col3Value1
    Col3Value2
    Col3Value3
    Col2Value2 Col3Value1
    Col3Value2
    Col3Value3
    etc.
    I want to be able to do the same thing in my SQL Developer SQL window so that I can export the results to a spreadsheet file.
    Does anyone know if this is possible?
    I've tried using the SQL*PLUS BREAK command in my SQL Developer window but it appears to be ignored. My resultset looks something like
    Col1Value1 Col2Value1 Col3Value1
    Col1Value1 Col2Value1 Col3Value2
    Col1Value1 Col2Value1 Col3Value3
    Col1Value1 Col2Value2 Col3Value1
    Col1Value1 Col2Value2 Col3Value2
    Col1Value1 Col2Value2 Col3Value3
    Col1Value2 Col2Value1 Col3Value1
    Col1Value2 Col2Value1 Col3Value2
    Col1Value2 Col2Value1 Col3Value3
    Col1Value2 Col2Value2 Col3Value1
    Col1Value2 Col2Value2 Col3Value2
    Col1Value2 Col2Value2 Col3Value3
    .

    OK thanks.
    I did get around this by using SQL*PLUS to generate an output file with a separation character between the columns and spooling the SQL*PLUS output to a text file.
    I then open the text file with Excel and specify the same character as a column separator. Seems to load properly into Excel.

  • SQL Developer 2.1 no longer allows to edit another granted schemas

    Hello,
    Just switched from 1.5.5 to 2.1 and going back!
    In 1.5.5 I was able to logon as me (developer) and edit functions of batch schemas. Guess what! Not any more in 2.1!! Even if my priviliges allows me to do this!!
    Any ideas how to bypass this problem?
    I like 2.1, espesially because they fixed a bug with SELECT from the external tables, but editing alone is killing all the advanages!!

    Our batch is running under BATCHADM schema. Every developer can edit this schema in development region and change functions and packages, and then migrate changes to the production.
    When we switch to SQL Developer 2.1 we can see other users, including BATCHADM, open its packages and bring source to the editor. Thats it. You cannot edit it - source code is protected. You cannot add or insert or delete. It looks like editor is opening it in read-only mode. The only source you can edit is under your own schema.
    When you go back to version 1.5.5 everything works like it should be.

  • Links for SQL Developer and Data Modeler not working?

    Hi folks,
    I tried to access the new SQL Developer and Data Modeler links posted in the April 1 message (and on the Oracle site) from a couple of machines with no luck (empty zip files) - is there an update to the links?
    Thanks!
    Tomo

    In Firefox zero length zip. In IE loses connection to downloads.oracle.com.

  • SQL Developer, SQL Server and the ampersand

    Hello,
    I am connected to a SQL Server database (2008) and am having difficulty getting a query to run properly in SQL Developer (3.1.07).
    Simplified Example
    select table_field
    from table
    where table_field <> 'This & That';
    Expected results
    table_field
    Other stuff
    Other stuff
    Other stuff
    Actual results
    table_field
    Other stuff
    This & That
    This & That
    I cannot seem to get SQL Developer to recognize the & as a literal ampersand. I've tried escaping it numerous ways, but it always thinks it is a variable.
    The query works exactly as expected in MS SQL Management Studio and Toad. Of course, I can just run it in one of those but I'd like to try to get this to work in SQL Developer. Suggestions?
    Please let me know if I can provide further information. Thanks.

    Hi,
    SQL Developers worksheet is designed for Oracle, but we allow you to run statements against SQL Server and other non Oracle databases.
    This can lead to some quirks, like the one you experienced.
    Oracles SQL*Plus uses ampersand to define substitution variables.
    Oracle SQL Developer has implemented the same concept.
    Unfortunately this does not make sense when running something against a non Oracle database.
    As a workaround, you can run the following SQL*Plus command in SQL Developer, before your SQL Server query.
    SET DEFINE OFF;
    select 'hello & goodbye';
    The following maybe of some help as well.
    http://dermotoneill.blogspot.com/2010/11/workheet-hints.html
    http://dermotoneill.blogspot.com/2010/12/sql-server-and-sybase-browsing.html
    Regards,
    Dermot.
    SQL Developer Team.

  • I updated to 3.6.1 on 14 Oct 10; bookmarks and history no longer work and when I tried to restore bookmarks it says cannot process thebackup file. WHat can be done?

    I used automatic updater to update to 3.6.1 After the process completed and Firefox restarted, bookmarks no longer works. Attempt to resotre from back ups did not work
    Adding new bookmarks does not work either - when you click done the book mark dont appear anywhere

    See http://kb.mozillazine.org/Locked_or_damaged_places.sqlite

  • Show history no longer works above enable mode

    Somewhere in the 15.2 train I noticed I could no longer see the command history in global config or any other config mode. It only works in enable mode.
    Has anyone else noticed this?
    Do I now have to enable show history for config mode?

    Hi Jason,
    I didn't know so far that the output of "do show history" in config mode shows the config commands too, particulary because the command description only says:
    To list the commands you have entered in the current EXEC session, use the show history command in EXEC mode.
    But your're right, with my 12.4(21) it does:
    R1(config)#do show history int loop0 ip addr 192.168.1.1 255.255.255.0 end
    However, if they've changed that behavior somewhere in 15.2, there's a simple alternative:
    R1#show run | b ^archivearchive     log config      logging enable      hidekeys!R1#show archive log config all idx   sess           user@line      Logged command 1     3        console@console  |interface Loopback0 2     3        console@console  | ip address 192.168.1.1 255.255.255.0
    That's even better because the archive remains after logoff.
    Hope that helps
    Rolf

  • Desc table_name statements no longer running in sql developer

    simple desc statements like desc table_name; used to run in sql developer however they no longer work.
    It was working a few days ago and now the same statements dont return any results. The tables exist as I can run select statements fine just not desc table_name;
    Any ideas how this can be fixed?

    I haven't had problems with the "desc table_name;" functionality for a long time - do you know of anything that has changed since they were working a few days ago?
    If you run the following query with :1 being the table owner and :2 being the table name, do you get the columns listed?SELECT t.column_name "Name",
      DECODE(t.nullable,'Y',NULL,'NOT NULL') "Null",
      UPPER(t.data_type)
      ||
      CASE
        WHEN ( t.data_type = 'VARCHAR' OR t.data_type = 'VARCHAR2' OR t.data_type = 'RAW' OR t.data_type = 'CHAR' )
            AND ( t.data_length != 0 AND NVL(t.data_length,-1) != -1)
        THEN
          CASE
            WHEN(t.char_used = 'C' AND 'BYTE' = (SELECT value FROM nls_session_parameters WHERE PARAMETER = 'NLS_LENGTH_SEMANTICS' ))
            THEN '(' || t.char_length || ' CHAR)'
            WHEN(t.char_used = 'B' AND 'CHAR' = (SELECT value FROM nls_session_parameters WHERE PARAMETER = 'NLS_LENGTH_SEMANTICS' ))
            THEN '(' || t.data_length || ' BYTE)'
            WHEN(t.char_used = 'C' AND 'CHAR' = (SELECT value FROM nls_session_parameters WHERE PARAMETER = 'NLS_LENGTH_SEMANTICS' ))
            THEN '(' || t.char_length || ')'
            WHEN(t.char_used = 'B' AND 'BYTE' = (SELECT value FROM nls_session_parameters WHERE PARAMETER = 'NLS_LENGTH_SEMANTICS' ))
            THEN '(' || t.data_length || ')'
            ELSE '(' || t.data_length || ' BYTE)'
          END
        WHEN (t.data_type = 'NVARCHAR2' OR t.data_type = 'NCHAR')
        THEN '(' || t.data_length/2 || ')'
        WHEN (t.data_type LIKE 'TIMESTAMP%' OR t.data_type LIKE 'INTERVAL DAY%' OR t.data_type LIKE 'INTERVAL YEAR%' OR t.data_type = 'DATE' OR(t.data_type = 'NUMBER' AND (t.data_precision       = 0 OR NVL(t.data_precision,-1) = -1)))
        THEN ''
        WHEN (t.data_scale = 0 OR NVL(t.data_scale,-1) = -1)
        THEN '(' || t.data_precision ||')'
        ELSE '(' || t.data_precision ||',' ||t.data_scale ||')'
      END "Type"
    FROM sys.all_tab_columns t,
      sys.all_col_comments c
    WHERE t.column_name = c.column_name
    AND c.owner         = t.owner
    AND c.table_name    = t.table_name
    AND UPPER(t.owner)  = UPPER(:1)
    AND t.table_name    = :2
    ORDER BY t.column_idtheFurryOne

  • Nothing works in SQL Developer 1.2

    I have been using SQL Developer for quite a long time, and never had any issues - until I downloaded version 1.2. Note, I did not do an upgrade and I did not do a migration from an earlier version. This is a clean install on SQL Developer 1.2 with bundled JRE.
    After I connect to a database I can write SQL statements and get a result. The problems starts if I use the object browser.
    1. Expand Table results in:
    ava.lang.NullPointerException
         at java.lang.System.arraycopy(Native Method)
         at oracle.net.ns.DataPacket.putDataInBuffer(Unknown Source)
         at oracle.net.ns.NetOutputStream.write(Unknown Source)
         at oracle.jdbc.driver.T4CMAREngine.marshalCLR(T4CMAREngine.java:700)
         at oracle.jdbc.driver.T4CTTIrxd.marshal(T4CTTIrxd.java:534)
         at oracle.jdbc.driver.T4C8Oall.marshalBinds(T4C8Oall.java:1499)
         at oracle.jdbc.driver.T4C8Oall.marshalAll(T4C8Oall.java:972)
         at oracle.jdbc.driver.T4C8Oall.marshal(T4C8Oall.java:421)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:201)
         at oracle.jdbc.driver.T4CCallableStatement.executeForDescribe(T4CCallableStatement.java:798)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1036)
         at oracle.jdbc.driver.T4CCallableStatement.executeMaybeDescribe(T4CCallableStatement.java:838)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1131)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3325)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3370)
         at oracle.dbtools.db.DBUtil.executeOracleQuery(DBUtil.java:472)
         at oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:498)
         at oracle.dbtools.raptor.navigator.ObjectQueryInstance.executeQuery(ObjectQueryInstance.java:73)
         at oracle.dbtools.raptor.navigator.xml.XmlFolderInstance.getChildren(XmlFolderInstance.java:121)
         at oracle.dbtools.raptor.navigator.xml.XmlFolderInstance.listChildren(XmlFolderInstance.java:67)
         at oracle.dbtools.raptor.navigator.ObjectFilter$1Loader.doWork(ObjectFilter.java:144)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:553)
         at java.lang.Thread.run(Thread.java:595)
    2. Expand Indexes results in:
    ORA-01460 00000 unimplemented or unreasonable conversion requested
    3. Expand Package, Function, Procedures, Triggers or Types and nothing happens even though I have my schema own such objects.
    4. All the other objects in the object browser reports the same errors as listed above. The only thing that works is the Public Synonyms.
    5. If I encounter any of the above errors I am not able to use the SQL worksheet properly any longer. Any queries (even SELECT * FROM dual) shows nothing in the results window and the status bar says "All rows fetched: 0"
    Help! I miss SQL Developer. Now I am stucked with Toad :/

    Help -> About -> Properties says:
    "XML Editing Framework IDE Extension     oracle.ide.xmlef     11.1.1.0.11.41.91     Missing dependencies: oracle.ide.daf, oracle.ide.palette2"
    But I don't think this is the root cause since this is a clean install, so every download of SQLDeveloper probably miss these dependencies.
    I am pasting my enviroment from Help -> About -> Properties if it helps:
    apple.laf.useScreenMenuBar     true
    awt.toolkit     sun.awt.windows.WToolkit
    class.load.environment     oracle.ide.boot.IdeClassLoadEnvironment
    class.transfer     delegate
    com.apple.macos.smallTabs     true
    com.apple.mrj.application.apple.menu.about.name     "SQL_Developer"
    com.apple.mrj.application.growbox.intrudes     false
    file.encoding     Cp1252
    file.encoding.pkg     sun.io
    file.separator     \
    ice.browser.forcegc     false
    ice.pilots.html4.tileOptThreshold     0
    ide.AssertTracingDisabled     true
    ide.conf     C:\app\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.config_pathname     C:\app\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.extension.search.path     sqldeveloper/extensions:jdev/extensions:ide/extensions
    ide.launcherProcessId     5960
    ide.main.class     oracle.ide.boot.IdeLauncher
    ide.patches.dir     ide/lib/patches
    ide.pref.dir.base     C:\Documents and Settings\wmaunes\Application Data
    ide.product     oracle.sqldeveloper
    ide.shell.enableFileTypeAssociation     C:\app\sqldeveloper\sqldeveloper.exe
    ide.splash.screen     splash.gif
    ide.startingArg0     C:\app\sqldeveloper\sqldeveloper.exe
    ide.startingcwd     C:\app\sqldeveloper
    ide.update.masterserver     http://www.oracle.com/technology/software/products/sql/master.xml
    ide.user.dir.var     IDE_USER_DIR
    ide.work.dir.base     D:\Data\Dokumenter
    java.awt.graphicsenv     sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob     sun.awt.windows.WPrinterJob
    java.class.path     ..\..\ide\lib\ide-boot.jar;..\..\jdev\lib\xmleditor.jar;..\..\ide\lib\oicons.jar;..\..\jlib\jewt4.jar;..\..\jlib\share.jar;..\ide\jlib\xmlef.jar;..\..\sqldeveloper\lib\jle2.jar;..\..\sqldeveloper\lib\oracle.dbtools.logging.jar
    java.class.version     49.0
    java.endorsed.dirs     C:\app\sqldeveloper\jdk\jre\lib\endorsed
    java.ext.dirs     C:\app\sqldeveloper\jdk\jre\lib\ext
    java.home     C:\app\sqldeveloper\jdk\jre
    java.io.tmpdir     C:\DOCUME~1\wmaunes\LOCALS~1\Temp\
    java.library.path     C:\app\sqldeveloper;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\PC Connectivity Solution\;D:\oracle\product\10.1.3\fusion\jdk\bin;D:\oracle\product\10.1.3\fusion\ant\bin;D:\oracle\product\10.1.2\oas\bin;D:\oracle\product\10.1.2\oas\jlib;D:\oracle\product\10.2.0\db_1\bin;C:\java\jdk1.5.0_08\bin;C:\app\Perl\bin\;C:\app\unxutils\usr\local\wbin;C:\Program Files\ThinkPad\Utilities;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\Wireless\Bin\;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\Diskeeper Corporation\Diskeeper\;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Common Files\Lenovo;C:\Program Files\Lenovo\Client Security Solution;C:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\Program Files\ZipGenius 6\;C:\Program Files\Perforce;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\QuickTime\QTSystem\;D:\oracle\product\10.1.3\fusion\MOBILE\sdk\bin;C:\app\ant\bin
    java.naming.factory.initial     oracle.javatools.jndi.LocalInitialContextFactory
    java.runtime.name     Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version     1.5.0_06-b05
    java.specification.name     Java Platform API Specification
    java.specification.vendor     Sun Microsystems Inc.
    java.specification.version     1.5
    java.util.logging.config.file     logging.conf
    java.vendor     Sun Microsystems Inc.
    java.vendor.url     http://java.sun.com/
    java.vendor.url.bug     http://java.sun.com/cgi-bin/bugreport.cgi
    java.version     1.5.0_06
    java.vm.info     mixed mode
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.specification.name     Java Virtual Machine Specification
    java.vm.specification.vendor     Sun Microsystems Inc.
    java.vm.specification.version     1.0
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     1.5.0_06-b05
    jdbc.driver.home     /D:/oracle/product/10.2.0/db_1/
    jdbc.library     /D:/oracle/product/10.2.0/db_1/jdbc/lib/ojdbc14.jar
    line.separator     \r\n
    oracle.home     C:\app\sqldeveloper
    oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG     true
    oracle.jdbc.Trace     true
    oracle.translated.locales     ja
    oracle.xdkjava.compatibility.version     9.0.4
    orai18n.library     /D:/oracle/product/10.2.0/db_1/jlib/orai18n.jar
    os.arch     x86
    os.name     Windows XP
    os.version     5.1
    path.separator     ;
    reserved_filenames     con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
    set.main.as.system.loader     true
    sun.arch.data.model     32
    sun.boot.class.path     C:\app\sqldeveloper\jdk\jre\lib\rt.jar;C:\app\sqldeveloper\jdk\jre\lib\i18n.jar;C:\app\sqldeveloper\jdk\jre\lib\sunrsasign.jar;C:\app\sqldeveloper\jdk\jre\lib\jsse.jar;C:\app\sqldeveloper\jdk\jre\lib\jce.jar;C:\app\sqldeveloper\jdk\jre\lib\charsets.jar;C:\app\sqldeveloper\jdk\jre\classes
    sun.boot.library.path     C:\app\sqldeveloper\jdk\jre\bin
    sun.cpu.endian     little
    sun.cpu.isalist     pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
    sun.desktop     windows
    sun.io.unicode.encoding     UnicodeLittle
    sun.java2d.ddoffscreen     false
    sun.jnu.encoding     Cp1252
    sun.management.compiler     HotSpot Client Compiler
    sun.os.patch.level     Service Pack 2
    user.country     US
    user.dir     C:\app\sqldeveloper\sqldeveloper\bin
    user.home     C:\Documents and Settings\wmaunes
    user.language     en
    user.name     WMAUNES
    user.timezone     Europe/Paris
    user.variant     
    windows.shell.font.languages

  • Sql Developer Launcher Not Working In Linux

    Hello,
    System Details:
    Fedora 19
    Sql Developer Version: Version 4.0.0.12
    Java Version:  OpenJDK 1.7.0-40
    I can launch Sql Developer from the command line successfully.
    /opt/sqldeveloper/sqldeveloper.sh
    But when I attempt to use the launcher icon, I receive a SIGSEGV error.  Here is the top of the hs_error.log file.
    # A fatal error has been detected by the Java Runtime Environment:
    #  SIGSEGV (0xb) at pc=0x000000317a062e00, pid=7680, tid=140636646749952
    # JRE version: OpenJDK Runtime Environment (7.0_40-b60) (build 1.7.0_40-mockbuild_2013_10_02_16_56-b00)
    # Java VM: OpenJDK 64-Bit Server VM (24.0-b56 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    # C  0x000000317a062e00
    The ~/.sqldeveloper/jdk file contains the following:
    /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.2.7.fc19.x86_64
    And my /usr/share/applications/sqldeveloper.desktop file contains the following:
    [Desktop Entry]
    Encoding=UTF-8
    Name=SQL Developer
    Comment=Oracle SQL Developer
    Icon=/opt/sqldeveloper/icon.png
    Exec=/opt/sqldeveloper/sqldeveloper.sh
    Terminal=true
    Type=Application
    Categories=GNOME;Oracle;
    I'm just switching from Ubuntu to Fedora so this has not worked in the past.
    Thank you for any help,
    Ann

    The solution in https://forums.oracle.com/thread/2594033 worked.  I added the 2nd line below to /opt/sqldeveloper/sqldeveloper.sh.
    #!/bin/bash
    unset -v GNOME_DESKTOP_SESSION_ID
    cd "`dirname $0`"/sqldeveloper/bin && bash sqldeveloper $*
    Previously, I incorrectly updated ~/.bashrc to unset GNOME_DESKTOP_SESSION_ID.  That's why running Sql Developer from the command line worked, but not from the launcher.
    Thanks su.

  • How to view execution history for any date in oracle SQL developer tool ?

    hi, i want to view some executed queries(2 months before) in oracle SQL Developer. if i press F8 it shows execution history for only last 30 days. is there any option(query) or something to view execution history for specific date ? i want to see some queries, which is executed before 2 months in my oracle SQL developer tool. Pls help me out.

    sb92075 wrote:
    943838 wrote:
    hi, i want to view some executed queries(2 months before) in oracle SQL Developer. if i press F8 it shows execution history for only last 30 days. is there any option(query) or something to view execution history for specific date ? i want to see some queries, which is executed before 2 months in my oracle SQL developer tool. Pls help me out.it will never occurWhy not? Are you a member of the product team that develops SQL Developer?
    To the OP, there is a forum for SQL Developer
    SQL Developer
    And there's also a sticky on the forum for product enhancement requests
    "Feature Requests, Extensions and General Collateral "
    Cheers,

  • Monitoring sessions invoked by a user SQL Developer

    Hello Everyone ,
    I am a DBA and lot of developers use SQL Developer for their tasks. Off late we have been facing few issues with SQL Developer.
    Developers close the working session by "alt+f4" and strangely their sessions are active in the DB's. What is the cause for this ?
    Rollback of DML statements takes hours for statements submitted by SQL Developer.
    Does OCI driver help in any way ?
    Is there any way that I can allow individual users to monitor their sessions in SQL Developer?
    Suppose a user connects with a generic application username "xyz" , can I allow the user "xyz"  to monitor sessions invoked by him and also provide him privileges to kill his/her own session.
    We are facing lot of performance issues , so help in this regard would be highly appreciated.
    Even pointing me towards appropriate documentation would do.
    Thanks in anticipation.

    1006957 wrote:
    I am a DBA and lot of developers use SQL Developer for their tasks. Off late we have been facing few issues with SQL Developer.
    Developers close the working session by "alt+f4" and strangely their sessions are active in the DB's. What is the cause for this ?
    Rollback of DML statements takes hours for statements submitted by SQL Developer.
    Does OCI driver help in any way ?
    Is there any way that I can allow individual users to monitor their sessions in SQL Developer?
    Suppose a user connects with a generic application username "xyz" , can I allow the user "xyz"  to monitor sessions invoked by him and also provide him privileges to kill his/her own session.
    We are facing lot of performance issues , so help in this regard would be highly appreciated.
    Even pointing me towards appropriate documentation would do.
    Once the DB begins work on a task it will continue that work until: 1) the work is complete, 2) an exception occurs or 3) it discovers that the client is no longer there.
    If you begin a transaction (complex query, sorts, etc) that is lengthy it may be a while before the DB even tries to communicate with the client. Then all of that work must be rolled back and the rollback (e.g. for an update or delete) can take much longer than the query took to begin with. That is just the way Oracle works.
    If a user connects as "xyz" then the only 'sessions invoked by him' are that ONE session. Any other user might also create a session by connecting as "xyz"; Oracle has no way of knowing if ALL sessions connecting as "xyz" belong to the same person or not.
    The ALTER SYSTEM privilege must be granted to allow someone to 'kill his/her own session' but that privilege would allow them to kill any other session, including system sessions.
    You could write a procedure to try to control the privilige, as in the following thread, but that also has risks:
    https://forums.oracle.com/thread/256935
    It is a DBA responsibility to control sessions, not the developers. You should NOT give this ability to the developers IMHO. If your developers are abusing your system it indicates that they need more training in how to prevent runaway queries. A common cause of the problem you describe is when a developer submits a query and then thinks they can just cancel it and start over and they DO NOT UNDERSTAND the first statement I made above: Oracle will keep working.
    The proper solution to your problem is to begin logging your developer's requests for session termination so that you can properly monitor the problem and detect developers that need additional instruction or mentoring to keep the problem from happening. Although anyone, even experts, can accidentally let a query get out of control, your problem doesn't occur very frequently for experienced developers.
    The DISCONNECT option only politely requests Oracle to terminate the session so it make take considerable time to clean everything up.
    If you really need to terminate the session you need to use DISCONNECT IMMEDIATE. See the disconnect session clause of alter system in the sql language doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_2013.htm#sthref4725
    {quote}
    DISCONNECT SESSION Clause
    Use the DISCONNECT SESSION clause to disconnect the current session by destroying the dedicated server process (or virtual circuit if the connection was made by way of a Shared Sever). To use this clause, your instance must have the database open. You must identify the session with both of the following values from the V$SESSION view:
      For integer1, specify the value of the SID column.
      For integer2, specify the value of the SERIAL# column.
    If system parameters are appropriately configured, then application failover will take effect.
      The POST_TRANSACTION setting allows ongoing transactions to complete before the session is disconnected. If the session has no ongoing transactions, then this clause has the same effect described for as KILL SESSION.
      The IMMEDIATE setting disconnects the session and recovers the entire session state immediately, without waiting for ongoing transactions to complete.  If you also specify POST_TRANSACTION and the session has ongoing transactions, then the IMMEDIATE keyword is ignored.
      If you do not specify POST_TRANSACTION, or you specify POST_TRANSACTION but the session has no ongoing transactions, then this clause has the same effect as described for KILL SESSION IMMEDIATE.
    {quote}

  • SQL Developer and Windows XP Profile space

    I work in a secure environment where my laptop is fairly tightly controlled. In particular all laptop users are restricted to a Windows user profile space of 20Mb. This is space in C:\Documents and Settings\<username>\Application Data. This is to stop people building up huge profiles that take an age to download and synchronise with the logon servers.
    SQL Developer writes stuff in this directory (as does the Data Modeler and JDeveloper). In particular windowinglayout.xml is growing and is now 1Mb in size. I am running out of space in my profile and it will not be long before I am at my limit. The size of the file seems mostly to be down to the content of the element /LayoutInfo/clientLayoutData/global/view-data which has grown enormous. Much of the content seems to relate to connections and folders and I have tried to delete some connections but that seems not to have made any difference to the size of the file.
    Can the content of this file be controlled? Is it possible to relocate these files somewhere else so that they don't cause me a problem? Are there other possible solutions?
    Thanks in anticipation.
    Andrew

    Marvellous K, thanks for that. Not only have I done that for SQL Developer but also managed to work out the appropriate files to amend for JDeveloper and SQL Developer Data Modeler. My profile now has a whole 5.5Mb free and my laptop is a happy bunny again.
    Combined with finding where my new 11g database laptop installation has squirrelled away it's alert log I think that's enough productivity for one day; my work here is done.

  • EA3 - SQL Developer EA 4.0.0.13 errors on EBS IBY_EXT_BANK_ACCOUNTS but 3.2.09 does not

    Hello,
    I am using SQL Developer recent release EA 4.0.0.3.2.09 build main 12.84 (and another user on EA 4.0.0.13 build main 13.30) run into this error when query IBY_EXT_BANK_ACCOUNTS in Oracle EBS R12
    ORA-29275: partial multibyte character
    29275. 00000 - "partial multibyte character"
    *Cause: The requested read operation could not complete because a partial
      multibyte character was found at the end of the input.
    *Action: Ensure that the complete multibyte character is sent from the
      remote server and retry the operation. Or read the partial
      multibyte character as RAW.
    The issue appears to be this one:
    ORA-29275: Partial Multibyte Character Querying IBY_EXT_BANK_ACCOUNTS (Doc ID 806024.1)
    However, prior versions of SQL Developer (eg 3.2.09) work fine with the same query so this appears to be a regression in the new version of SQL Developer? I am using the OCI/thick drivers (and the 3.2.09 user is not).
    Query
    select * from apps.IBY_EXT_BANK_ACCOUNTS;
    Jay
    Error Codes
    ORA-29275
    Problem Category/Subcategory
    Oracle SQL Developer Worksheet
    Uploaded Files
    Template Question Responses
    1) ### Client platform/os/version ### _DT-SQLWO_
    Windows 7 professional SP1 64 bit
    2) ### Server platform/os/version ###
    Redhat 4.4.6-3
    Linux XXX.XXXXX.XXX 2.6.39-200.24.1.el6uek.x86_64 #1 SMP Sat Jun 23 02:39:07 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
    Linux version 2.6.39-200.24.1.el6uek.x86_64 ([email protected]) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Sat Jun 23 02:39:07 EDT 2012
    3) ### Database version ###
    11g (11.2.0.3)
    4) ### Java version ###
    java version "1.7.0_25"
    Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
    Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
    5) ### Error Messages ###
    ORA-29275: partial multibyte character
    29275. 00000 - "partial multibyte character"
    *Cause: The requested read operation could not complete because a partial
      multibyte character was found at the end of the input.
    *Action: Ensure that the complete multibyte character is sent from the
      remote server and retry the operation. Or read the partial
      multibyte character as RAW.
    6) ### Failing statement ###
    select * from apps.IBY_EXT_BANK_ACCOUNTS;
    7) ### frequency of the error ###
    Always
    8) ### Reproducible in sqlplus ###
    Yes

    We will try to reproduce your problem in house and come back with any workarounds or suggestions. Thank you for reporting this.
    Prashanth

Maybe you are looking for