Slow typing using SQL workspace

I've noticed several people have reported similar problems when typing in the sql workspace the responsive is extremely slow, i've tried the recomendations posted on other messages but to no success.
What i noticed when i look at Help->About->Properties
there a couple that point to network drive which i'm guessing may be used to store temp data and maybe the cause of the problem (i've had similar issues with other applications picking up network drives for some working directories)
The properties in question:
ide.work.dir
ide.work.dir.base
user.home
Anyone know how i can change ide.work.dir and ide.work.dir.base to verify if they are the problem or know if they could potentially be the cause of the slow use of the editor.
thanks
Andrew

Strange it usually works fine for most of the properties, but in this case i guess the path is set somewhere else and cannot be overridden in a config file.
if a developer sees this thread and feels like helping, he may be able to look at the code and tell us how to change this, in the meantime, you can try to meddle with the windows properties themselves by creating a batch file and setting override properties there.
I tried to override the default HOMEPATH and USERPROFILE env variables with little success, but i'm short on time so maybe you can meddle a bit more and get it to work.
to create a batch file with overrides create a "test.bat" file in the SQL Developer install folder where the sqldeveloper.exe file is located and put in there something like:
set HOMEPATH=c:\temp
start sqldeveloper.exe

Similar Messages

  • Slow typing in SQL Developer Worksheet

    I've seen Oracle SQL Developer 2.1 - Slow SQL Worksheet while typing and my setting for >Tools >Preferences >Database >Worksheet >Select default to look for scripts is, and always has been, blank.
    But as soon as I connect to a database the resultant worksheet is showing what Ive typed about 10 seconds after I've typed it. Is there any update on this issue since the post above (I searched but found nothing)?
    I'm on:
    SQL Developer 2.1.1.64.39
    MS Windows XP (Build 2600) Service Pack 3
    Oracle Client Version : 10.2.0.1.0
    Oracle Client DLL : C:\apps\Oracle\product\10.2.0\Client_1\BIN\oci.dll
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
    Solaris server (SunOS 5.10)

    "Timer queue for AWT thread" daemon prio=6 tid=0x34d39800 nid=0xdf4 in Object.wa
    it() [0x353df000..0x353dfa94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x074854f0> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at ice.util.awt.TimedAWTExecutor.nextElem(TimedAWTExecutor.java:108)
    - locked <0x074854f0> (a java.lang.Object)
    at ice.util.awt.TimedAWTExecutor.runScheduler(TimedAWTExecutor.java:130)
    at ice.util.awt.TimedAWTExecutor$1.run(TimedAWTExecutor.java:19)
    "pool-2-thread-1" prio=6 tid=0x349df800 nid=0xb48 waiting on condition [0x35f7f0
    00..0x35f7fc14]
    java.lang.Thread.State: WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for <0x06940d00> (a java.util.concurrent.SynchronousQ
    ueue$TransferStack)
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
    at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(Sync
    hronousQueue.java:422)
    at java.util.concurrent.SynchronousQueue$TransferStack.transfer(Synchron
    ousQueue.java:323)
    at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:857)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.ja
    va:947)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:907)
    at java.lang.Thread.run(Thread.java:619)
    "BaseTreeExplorer.NodeOpeningExecutor" prio=6 tid=0x34c03000 nid=0x948 waiting o
    n condition [0x35e7f000..0x35e7fc94]
    java.lang.Thread.State: WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for <0x06876558> (a java.util.concurrent.locks.Abstra
    ctQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject
    .await(AbstractQueuedSynchronizer.java:1925)
    at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.jav
    a:358)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.ja
    va:947)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:907)
    at java.lang.Thread.run(Thread.java:619)
    "Scheduler" daemon prio=6 tid=0x34c1b000 nid=0xffc in Object.wait() [0x35d7f000.
    .0x35d7fd14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x068766b0> (a oracle.dbtools.raptor.backgroundTask.TaskLi
    nkedList)
    at java.lang.Object.wait(Object.java:485)
    at oracle.dbtools.raptor.backgroundTask.TaskLinkedList.takeNextTask(Task
    LinkedList.java:47)
    - locked <0x068766b0> (a oracle.dbtools.raptor.backgroundTask.TaskLinked
    List)
    at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$SchedulerThrea
    d.run(RaptorTaskManager.java:422)
    "TimerQueue" daemon prio=6 tid=0x34b95c00 nid=0x5a0 in Object.wait() [0x35c7f000
    ..0x35c7fd94]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x06876740> (a javax.swing.TimerQueue)
    at javax.swing.TimerQueue.run(TimerQueue.java:236)
    - locked <0x06876740> (a javax.swing.TimerQueue)
    at java.lang.Thread.run(Thread.java:619)
    "ChangeSetService" prio=2 tid=0x34ac9800 nid=0x2e8 in Object.wait() [0x35a7f000.
    .0x35a7fa94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x067f35c0> (a oracle.jdevimpl.vcs.changeset.ChangeSetServ
    ice)
    at java.lang.Object.wait(Object.java:485)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService.awaitEvents(ChangeSetS
    ervice.java:178)
    - locked <0x067f35c0> (a oracle.jdevimpl.vcs.changeset.ChangeSetService)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService.eventLoop(ChangeSetSer
    vice.java:199)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService.access$200(ChangeSetSe
    rvice.java:56)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService$2.run(ChangeSetService
    .java:138)
    at java.lang.Thread.run(Thread.java:619)
    "TimedCache-Timer" daemon prio=6 tid=0x33aa8000 nid=0x2e0 in Object.wait() [0x34
    62f000..0x3462fc94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x062eed60> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x062eed60> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "JarIndex Timer" daemon prio=6 tid=0x33a5c800 nid=0x48c in Object.wait() [0x3412
    f000..0x3412fd14]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x0626f338> (a java.util.TaskQueue)
    at java.util.TimerThread.mainLoop(Timer.java:509)
    - locked <0x0626f338> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "AWT-EventQueue-0" prio=6 tid=0x33a39000 nid=0x298 runnable [0x33fbf000..0x33fbf
    d94]
    java.lang.Thread.State: RUNNABLE
    at java.io.WinNTFileSystem.getBooleanAttributes(Native Method)
    at java.io.File.exists(File.java:733)
    at oracle.ide.net.FileURLFileSystemHelper.exists(FileURLFileSystemHelper
    .java:326)
    at oracle.ide.net.URLFileSystemHelperDecorator.exists(URLFileSystemHelpe
    rDecorator.java:139)
    at oracle.ide.net.VirtualFileSystemHelper.exists(VirtualFileSystemHelper
    .java:504)
    at oracle.ide.net.URLFileSystemHelperDecorator.exists(URLFileSystemHelpe
    rDecorator.java:139)
    at oracle.ide.net.URLFileSystem.exists(URLFileSystem.java:551)
    at oracle.ide.net.URLFileSystem.isBound(URLFileSystem.java:875)
    at oracle.ide.net.URLFactory.newUniqueURL(URLFactory.java:185)
    at oracle.dbtools.worksheet.editor.Worksheet.getNewURL(Worksheet.java:80
    0)
    at oracle.dbtools.worksheet.editor.Worksheet.getContext(Worksheet.java:7
    90)
    - locked <0x07ea6588> (a oracle.dbtools.worksheet.editor.Worksheet)
    at oracle.ide.view.View.getContext(View.java:149)
    at oracle.ide.controller.IdeAction.updateAction(IdeAction.java:570)
    at oracle.ide.view.View.updateAction(View.java:390)
    at oracle.ide.view.View.updateToolbarActions(View.java:384)
    at oracle.dbtools.worksheet.editor.WorksheetGUI$1.insertUpdate(Worksheet
    GUI.java:521)
    at oracle.javatools.editor.BasicDocument.fireEvent(BasicDocument.java:12
    14)
    at oracle.javatools.editor.BasicDocument.insertUpdate(BasicDocument.java
    :1116)
    at oracle.ide.model.TextNode$FacadeTextBufferListener.insertUpdate(TextN
    ode.java:1540)
    at oracle.javatools.buffer.AbstractTextBuffer.fireInsertUpdate(AbstractT
    extBuffer.java:641)
    at oracle.javatools.buffer.AbstractTextBuffer.normalizedInsert(AbstractT
    extBuffer.java:497)
    at oracle.javatools.buffer.AbstractTextBuffer.insert(AbstractTextBuffer.
    java:405)
    at oracle.ide.model.TextNode$FacadeTextBuffer.insert(TextNode.java:1166)
    at oracle.javatools.editor.BasicDocument.insertString(BasicDocument.java
    :679)
    at oracle.javatools.editor.BasicEditorPane.insertString(BasicEditorPane.
    java:1737)
    at oracle.javatools.editor.BasicEditorKit$DefaultKeyTypedAction.actionPe
    rformed(BasicEditorKit.java:1092)
    at oracle.javatools.editor.BasicAction.actionPerformed(BasicAction.java:
    78)
    at oracle.javatools.editor.BasicWriteAction.actionPerformed(BasicWriteAc
    tion.java:33)
    at oracle.javatools.editor.BasicEditorKit$DefaultKeyTypedAction.actionPe
    rformed(BasicEditorKit.java:967)
    at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)
    at javax.swing.JComponent.processKeyBinding(JComponent.java:2849)
    at javax.swing.JComponent.processKeyBindings(JComponent.java:2884)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2812)
    at java.awt.Component.processEvent(Component.java:5911)
    at java.awt.Container.processEvent(Container.java:2023)
    at java.awt.Component.dispatchEventImpl(Component.java:4501)
    at java.awt.Container.dispatchEventImpl(Container.java:2081)
    at java.awt.Component.dispatchEvent(Component.java:4331)
    at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.ja
    va:1848)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboard
    FocusManager.java:704)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeybo
    ardFocusManager.java:969)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeybo
    ardFocusManager.java:841)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFoc
    usManager.java:668)
    at java.awt.Component.dispatchEventImpl(Component.java:4373)
    at java.awt.Container.dispatchEventImpl(Container.java:2081)
    at java.awt.Window.dispatchEventImpl(Window.java:2458)
    at java.awt.Component.dispatchEvent(Component.java:4331)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    "AWT-Windows" daemon prio=6 tid=0x33a41c00 nid=0x778 runnable [0x33dbf000..0x33d
    bfa94]
    java.lang.Thread.State: RUNNABLE
    at sun.awt.windows.WToolkit.eventLoop(Native Method)
    at sun.awt.windows.WToolkit.run(WToolkit.java:291)
    at java.lang.Thread.run(Thread.java:619)
    "AWT-Shutdown" prio=6 tid=0x33a40800 nid=0x894 in Object.wait() [0x33cbf000..0x3
    3cbfb14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x0626f528> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
    - locked <0x0626f528> (a java.lang.Object)
    at java.lang.Thread.run(Thread.java:619)
    "Java2D Disposer" daemon prio=10 tid=0x33a47c00 nid=0x364 in Object.wait() [0x33
    bbf000..0x33bbfb94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x0626f5b8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x0626f5b8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at sun.java2d.Disposer.run(Disposer.java:125)
    at java.lang.Thread.run(Thread.java:619)
    "Low Memory Detector" daemon prio=6 tid=0x00f65c00 nid=0xa1c runnable [0x0000000
    0..0x00000000]
    java.lang.Thread.State: RUNNABLE
    "CompilerThread0" daemon prio=10 tid=0x00f5f400 nid=0xea0 waiting on condition [
    0x00000000..0x336bf6bc]
    java.lang.Thread.State: RUNNABLE
    "Attach Listener" daemon prio=10 tid=0x00f5dc00 nid=0x78c runnable [0x00000000..
    0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=10 tid=0x00f5c800 nid=0x278 waiting on condition
    [0x00000000..0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=8 tid=0x00f4cc00 nid=0xfe8 in Object.wait() [0x333bf000.
    .0x333bfa94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x061f0298> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x061f0298> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=10 tid=0x00f48400 nid=0x590 in Object.wait() [0x
    332bf000..0x332bfb14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x061f0320> (a java.lang.ref.Reference$Lock)
    at java.lang.Object.wait(Object.java:485)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
    - locked <0x061f0320> (a java.lang.ref.Reference$Lock)
    "main" prio=6 tid=0x00937400 nid=0xee4 waiting on condition [0x00000000..0x0012f
    ae8]
    java.lang.Thread.State: RUNNABLE
    "VM Thread" prio=10 tid=0x00f44c00 nid=0x550 runnable
    "VM Periodic Task Thread" prio=10 tid=0x00f67400 nid=0x288 waiting on condition
    JNI global references: 1780
    Heap
    def new generation total 9216K, used 3020K [0x030c0000, 0x03ab0000, 0x061f000
    0)
    eden space 8256K, 26% used [0x030c0000, 0x032e2710, 0x038d0000)
    from space 960K, 86% used [0x039c0000, 0x03a90b98, 0x03ab0000)
    to space 960K, 0% used [0x038d0000, 0x038d0000, 0x039c0000)
    tenured generation total 121024K, used 30110K [0x061f0000, 0x0d820000, 0x2b0c
    0000)
    the space 121024K, 24% used [0x061f0000, 0x07f57bd8, 0x07f57c00, 0x0d820000)
    compacting perm gen total 48384K, used 48290K [0x2b0c0000, 0x2e000000, 0x330c0
    000)
    the space 48384K, 99% used [0x2b0c0000, 0x2dfe8ac0, 0x2dfe8c00, 0x2e000000)
    No shared spaces configured.
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0

  • Slow Inserts Using IKM SQL to SQL Append

    Hi all.
    I'm in a big, big trouble.
    I have a interface that gets that from the source and insert in the target (obvious)... but the unique way to insert into target is using SQL to SQL Append.
    Unfortunately, the inserts are about 10 rows/sec. Very, very, very slow.
    There are any ways to do the Agent faster than this?
    Regards.
    Luiz Araujo (a.k.a. Buchu_VP)

    My Staging Area is different from the target area, but unfortunately I'm not able to change this 'cause my sources are accessed via DBLink and there are restrictions to it, enabling only the IP and HostName of my ODI database. My target tables are located in a third server, in the same domain as my ODI database, but there are no DBLinks between them so I have to use SQL to SQL Append.
    Thanks in advance.
    Luiz Araujo (a.k.a. Buchu_VP)
    Edited by: Luiz Araujo (a.k.a. Buchu) on Jun 1, 2010 7:38 AM

  • Improve the performance in stored procedure using sql server 2008 - esp where clause in very big table - Urgent

    Hi,
    I am looking for inputs in tuning stored procedure using sql server 2008. l am new to performance tuning in sql,plsql and oracle. currently facing issue in stored procedure - need to increase the performance by code optmization/filtering the records using where clause in larger table., the requirement is Stored procedure generate Audit Report which is accessed by approx. 10 Admin Users typically 2-3 times a day by each Admin users.
    It has got CTE ( common table expression ) which is referred 2  time within SP. This CTE is very big and fetches records from several tables without where clause. This causes several records to be fetched from DB and then needed processing. This stored procedure is running in pre prod server which has 6gb of memory and built on virtual server and the same proc ran good in prod server which has 64gb of ram with physical server (40sec). and the execution time in pre prod is 1min 9seconds which needs to be reduced upto 10secs or so will be the solution. and also the exec time differs from time to time. sometimes it is 50sec and sometimes 1min 9seconds..
    Pl provide what is the best option/practise to use where clause to filter the records and tool to be used to tune the procedure like execution plan, sql profiler?? I am using toad for sqlserver 5.7. Here I see execution plan tab available while running the SP. but when i run it throws an error. Pl help and provide inputs.
    Thanks,
    Viji

    You've asked a SQL Server question in an Oracle forum.  I'm expecting that this will get locked momentarily when a moderator drops by.
    Microsoft has its own forums for SQL Server, you'll have more luck over there.  When you do go there, however, you'll almost certainly get more help if you can pare down the problem (or at least better explain what your code is doing).  Very few people want to read hundreds of lines of code, guess what's it's supposed to do, guess what is slow, and then guess at how to improve things.  Posting query plans, the results of profiling, cutting out any code that is unnecessary to the performance problem, etc. will get you much better answers.
    Justin

  • To use SQL or to not use SQL ..... That is the question

    A couple of posts lately have brought something to my attention that I wanted to discuss between the folks that view this forum because I believe it is important. I highly value the opinions of many of the members here so I think getting your insight would not only benefit me, but many other forum members as well.
    This discussion stems from two posts:
    {message:id=3786432} (Billy)
    ...The question that you need to ask yourself is why use such a technique? For rendering the data a specific way in the client? Well, rendering data is NOT a SQL function and in essence a result of ignorance of how to correctly use client-server. Rendering on the client is dealt with by the client itself. Using SQL to do it.. not only nasty (as many of these examples above are), but also far from optimal and efficient SQL. And in most cases, will not scale. Increase the data volume of the table queried and there will be a hefty performance knock as SQL is incorrectly used.
    ...>
    {message:id=3914362} (Sven W.)
    ...For the Pivot considerations. It is usually much better not to try to do this inside the database. If you think about it. The data itself can be fetch from the database very easily. To do a PIVOT is a kind of GUI/Layout representation for this data. This should be done in the GUI Layer.
    >
    I tried to respond to the thread Billy posted in, so I'll cut and paste my response here:
    Discussion
    Where do we as database developers draw the line between the correct use of SQL or not? Or between rendering on the client and just returning data?
    Now with LISTAGG, PIVOT and UNPIVOT all available to us would these be considered correct uses of SQL?
    Where does this leave the TO_CHAR function? Is this considered rendering?
    I'm fully expecting a fuzzy answer with something along the lines of "do the work where it makes the most sense" from a ease of development and maintainability perspective but I just wanted to ask.
    Hopefully this is a valuable discussion.
    Thanks!

    Let me give a simple example. You can store images in a table as a LOB. You can serve these images to a web browser client via mod_plsql.
    However, the data is static. It requires I/O (and some hefty ones for larger images). What is the biggest performance penalty we have in Oracle? I/O? What is affected by doing I/O to read these images? The buffer cache (which will age out other data in the cache).
    Where else can we store this data? The web server. At what cost to the performance of Oracle? None. Impact on web server? Heck, web servers are designed at their very core to do this!
    So where is the best place to storage static images in this specific case? Not the database, but the web server.
    Now simply extend this concept to the client - where is the best place to render data?
    Should the data be formatted for rendering (e.g. converted into HTML) in the database layer, or should it rather be done in the presentation layer?
    Now I can already hear the argument that the former is exactly what we are doing using APEX. We create dynamic HTML pages on the Oracle server side and then dish that up to the rendering layer to display.
    Two issues that need to be considered. Firstly, this is not done using SQL. This is done using a procedure language called PL/SQL - not using native SQL. PL/SQL in this case is used exactly as Java or PHP or Perl or any other "+app layer+" language would be used. It only happens that PL/SQL resides in the database too. But do not mistake it for what it really is - the application layer.
    The second issue drives home the point that even in 3 tier client server, the application layer is not the best place to do the formatting for the rendering layer. Web 2.0 aka AJAX.. Where the app layer delivers a dynamic rendering engine (as Javascript) to the rendering layer. After which rendering and formatting are done solely inside that rendering layer. And interaction between that and the app layer is requests for new/fresh data to be rendered.
    Why is AJAX becoming so popular? Key issues and concepts like performance, and a rich client interface and so on.
    This all points that the fundamental principle of using the rendering layer to do its thing and using the SQL layer to do its (separate and different) thing, still holds true.
    Yes, we may not always stick to this principle - as we do with doing the rendering (creating HTML) in PL/SQL using APEX for example.. but this is not because the principle is unsound. It is because of technology reasons (different browsers, different behaviour), lack of support for W3C standards (hello IE) and so on.
    It is only recently that these problem areas have been meaningfully addressed.. and why rendering frameworks like extJS is the (rendering layer) future of 3 tier client server.
    If the concept of using SQL to perform rendering and formatting had any substance.. then there would have been a lot of resistance to AJAX for example. The reverse is true.. as we all want to use SQL to do SQL and want the rendering layer to do its thing without us having to code in SQL to specifically support rendering and formatting. It is clunky. It slows down the SQL (every formatting function is a tiny overhead that adds up). It does not bode well for maintenance and changes to the presentation layer. And all those tiny overheads can spell doom for scalability.
    I do not see any gray lines here, or a question of "+opinion+", or "+it depends+". The architecture is clear. The fundamentals are sound.
    The real issue is how we choose to apply these. But (the "+incorrect+") application (of these fundamentals) does not invalidate the fundamentals.

  • Date parameter does not work in SharePoint 2010 report using SQL 2008 Server Reporting Service

    Here is the settings:
    SharePoint 2010 with SQL server 2008 reporting services configured
    When create a report for a SP list using SQL server report builder (3.0) the date parameter does not work.
    The data parameter is set as "date and time" type and field name equals the col name in the SP list
    When run the report, the whatever dates I select, the result is always the same, so the parameters do not take any effect.
    Is any step missing?
    Thanks for any advice !

    Hi ,
    How did you configure you "date and time" type parameter and field name equals the col name in the SP list?
    Have you tested if other type parameter worked?
    Have you tried typing the date format as 20140722 in your date parameter filed before run the report?
    http://whitepages.unlimitedviz.com/2012/02/using-sharepoint-filters-with-reporting-services-parameters-for-personalized-reports/
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • After upgrading from acrobat 9.5 to XI pro my users have complained on slow typing when filling in form that were created in version 9.5?

    After upgrading from acrobat 9.5 to XI pro my users have complained on slow typing when filling in form that were created in version 9.5?
    The issue is they type but there is 2 second delay when it appears in the field.
    Windows 7 64bit

    I see, I misread your reference to Reader 11 to mean you were using Acrobat 11, but it looks like it worked out anyway.
    The base-14 fonts are special in PDF because they are guaranteed to be available even if they are not embedded. If you select a non-base-14 font for use with a form field, the entire font usually gets embedded, since each glyph it contains has to be available for use with the field. This can take up a lot of space if you do this a lot, and the space isn't reduced if you change back to a base-14 font later because the internal reference to it is not removed. This is caused by the bug I mentioned.
    In your case, however, the entire font doesn't get embedded because fonts like it (e.g., large asian fonts with a lot of glyphs, Arial Unicode) would take up too much space if fully embedded. If it did, a 100KB PDF could bloat to 20MB with that one change. Instead, users are expected to have such fonts installed on their system, which is why you were prompted to install the font pack. This despite the fact that the font was not actually used by anything in your document, it was simply the orphaned reference to it that triggered this. This should get fixed in Acrobat eventually so this type of thing doesn't happen again.

  • Need to find the assets associated to a BCC project using SQL query

    Hi,
    Given a BCC project (project_id), I need to find the assets (type of asset, version, status etc) in that project using SQL queries.
    I need this for reporting purpose and cannot do this programatically using any code.
    Surprisingly ATG does not store this association in a direct way. Can someone provide me the query if you have already done this before?
    I tried enabling loggingDebug in PublishingRepository and VersionManagerRepository to get the queries, but I did not get what I want.
    Thanks in advance,
    Gopinath Ramasamy

    UPDATE:
    When a project is selected in BCC, ATG is doing something crazy, as it appears to me, of querying all the tables (ofcourse when there is a cache miss) in all the versioned item descriptor with the workspace id of the project to display the assets contained in it.
    I do not see an easy or direct way of coming up with a query for this requirement.
    Please let me know if anyone has any other idea.
    Thanks,
    Gopinath Ramasamy

  • Information on the "slow typing" issue

    I think I've uncovered a (maybe the) cause of the slow typing complaints that's worthy of a new topic. I had severe problems with the trifold brochure, and found that some other templates also were "slow typing" templates. After reading all the posts here, with at least a dozen different fixes, none of which fixed my particular probelm, I started experimenting. What I found was interesting.
    All my problems with slow typing (seeing the results of key presses show up on-screen seconds after the event) were traced to one single problem - a table format. When text flowed around a table with its Text Fit choice as "Wrap text to follow a square border", typing was slow. With the Text Fit choice changed to "Wrap text to follow the contour", typing was fast. Seems too simple.
    This change made a HUGE difference in the trifold brochure, and a noticeable difference in a couple of the others that I tried. Some tables, especially those with pictures, not text, are disguised and not easy to recognize, so if you're having the notorious "slow typing" problem, look carefully at tables in your document as a possible cause.

    I am a scientist who needs to write grants and papers with long text sections and embedded figures. I LOVE the way Pages handles graphics but even with a 12 page document with 3 small tables and 2 figures I am waiting 10-20 seconds for the typing to catch up (doing all the suggestions in these threads)! Together with the fact that there is no direct link to referencing programs like Endnote (which I am forced to use to interact with PC-based colleagues) makes Pages decidedly less useful than the Phantom Menace - MS Word. That beast uses 1/3 the CPU percentage and works faster in general than this lean, mean, Apple product. NOTE TO APPLE: Please please please bring users like me back from the dark side!!
    eMac G4 1GHz 1 GB RAM   Mac OS X (10.4.4)  

  • Slow typing problem

    I am having a problem where the type on the screen in Pages 2 can't keep up with my typing speed. I only type about 40-40 words per minutes. This was not a problem in Pages 1. Help...

    Hello Appraiser,
    there are a lot of posts about this issue in this forum. To maximize the respond of Pages is to:
    1) Hide the thumbnail view with the menu: "View/Show(Hide) Thumbnails".
    2) If there are a lot of images, shapes or tables, use the wrap option "follow contour" and not "rectangle" in the bottom section of the wrap inspector.
    3) If there are a lot of images, shapes or tables with the fix positioned oprion set, Pages has to recalculate a lot the text positiones, because there is heavy text flow in long sections. Try to avoid that.
    Do a search for "slow typing", there are more advices and suggestions.
    Frank.

  • Creating a DWMQY DIMENSION using Analytic Workspace Manager

    Hi everyone,
    I need some help creating a "time aware" (DAY, WEEK, MONTH, QUARTER, and YEAR) dimension using Analytic Workspace Manager.
    Let me give you some background. I'm coming from a traditional "Oracle Express" OLAP background where all our data is stored in cubes and these are defined, populated and operated on using OLAP DML, there is no SQL or traditional relational tables involved.
    I now want to pull data from relational tables into some OLAP cubes and am using Analytic Workspace Manager to do this (maybe this is not the best way?)
    Let me explain what I'm trying to achieve. In OLAP worksheet I can type the following DML commands:
    DEFINE MY_DAY DIMENSION DAY
    MAINTAIN MY_DAY ADD TODAY '01JAN2011'
    What this will do is create a "day dimension" and will populate it with values for each and every day between 1st Jan 2011 and today. It will be fully "time aware" and thus you can use date functions such as DAYOF to limit the MY_DAY dimension to all the Fridays etc. Similarly if I define a "month dimension" there will be an automatic implicit relationship between these two dimensions, this relationship and time aware cleverness is built into Oracle.
    However, a dimension defined using DML commands (and indeed all objects created using DML language) is not visible in Analytic Workspace Manager (as there is no metadata for them?) and for the life of me I cannot work out how to create such a dimension using AWM. If I create a "Time Dimension" then, as far as I can tell, this is not a proper time dimension but merely a text dimension and I, presume, I have to teach it time awareness.
    Can anyone help me? I have no issues creating, and populating cubes from relational tables using Analytic Workspace Manager, the only issue I have is creating a "proper" time aware dimension.
    Many thanks in anticipation.
    Ian.

    When a dimension is of type "TIME" in AWM, then for each member of that dimension, you need END_DATE and TIMESPAN attributes in addition to the key column and description column.
    So in your case, if there are 5 levels: DAY->WEEK->MONTH->QTR->YEAR
    then you will need atleast 15 columns in your source sql table/view
    or 20 columns if you have separate column for description.
    For example the columns in your source table/view could be:
    DAY_ID,
    DAY_DESC,
    DAY_END_DATE, (which will be that day's date)
    DAY_TIMESPAN, (which will be 1)
    WEEK_ID,
    WEEK_DESC,
    WEEK_END_DATE,
    WEEK_TIMESPAN,
    MONTH_ID,
    MONTH_DESC,
    MONTH_END_DATE,
    MONTH_TIMESPAN,
    QTR_ID,
    QTR_DESC,
    QTR_END_DATE,
    QTR_TIMESPAN,
    YEAR_ID,
    YEAR_DESC,
    YEAR_END_DATE,
    YEAR_TIMESPAN
    Just "map" this table/view to the 5-level time dimension in AWM.
    NOTE that behind-the-scenes lot of useful structures are automatically defined to support time-series measures,
    and there are lot of calculation templates available also.
    Since you came from Express background, I have to say that try to use new OLAP Expression Syntax when creating calculated measures instead of OLAP DML.
    Its very rare these days that we need OLAP DML.
    Edited by: Nasar on Nov 22, 2012 12:11 PM

  • 4 to 4.1 - too slow to use.

    Since upgrading to 4.1 LR has become too slow to use.
    The problem lies primarily, but not restricted to, the noise reduction sliders.  The luminance slider specifically.
    Unless I can fix something I will have to return to an older version, Im actually thinking of going back to 3.6 which worked fine on my machine - AMD E2, Dual Core graphics, 4gm RAM.
    Please help.

    The queries are the same across all three database platforms and have been examined by our dba's and run through SQL Server optimizer to get the access path. All queries are very simple...the system was originally written in Btrieve. It is "record at a time" in nature. The program that does the screen refresh does three seperate queries...all something like, select * from tablename where key = 'abc'. The program then combines the data into a single record and returns the results. Like I said...SQL Server 1 second. Each of the three tables has 30,000 records, all with unique keys. The data returned to the application is probably 50 records, each 200 bytes...all character data. All tests were done with the same workstation on the same LAN....I don't think LAN latency is the problem here. Using other query tools, the response back is good, as expected.
    Another example...at application startup, we load all of the metadata (columns, primary key segments and index segments) into memory using the standard odbc api calls...SQLColumns, SQLPrimaryKeys and SQLStatistics. SQL Server loads this in maybe 8-10 seconds while Oracle loads in 15 minutes at best. These queries we don't control and it is still unbelievably slow. Again, using the ODBCTEST utility, the results for these api's come back pretty quick.
    If it is our application causing the problem in some way then it should be equally slow across all platforms, right?
    By the way, we had one of your Oracle Consultants in house trying to solve the metadata problem and he was unable to find any problem in our application and had no answers for us.
    Thanks for the quick response.
    Lon Diehl

  • Slow query using view on cube

    I have created a cube using Analytic workspace manager (oracle 10G R2) which is to be used (via a view) in OBIEE.
    One of the dimensions (event_dim) is extremely sparse (it has been marked as sparse and is at the appropriate level in the cube's dimensional hierarchy).
    In general, when I query the cube (via the view) at high levels of aggregation, the performance is good, but when I query the cube at the lowest level of granulrity for the event_dim dimension, the performance is extremely poor (more than a minute to return).
    The problem seems to be that the view is returning data for all possible rows in the cube even if most of the measures are NA (i.e null since there is no data present).
    For example if I run a query against the cube with no filter on the measures I get around 20,000 rows returned - obviously this takes a while. If I then put a 'my_measure > 0' clause on the query I get 2 rows back (which is correct). However this still takes more than a minute to return - I assume that this is because the query is having to process the 20,000 rows to find the two that actually have data.
    Is there any way to control this - I never need to see the NA data so would like to be able to disable this in either the cube or the view - and hence improve performance.
    Note: I cannot use the compression option since I need to be able to override the default aggregation plan for certain dimension/measure combinations and it appears that compression and overriding the plan are incompatible (AWM gives the error "Default Aggregation Plan for Cube is required when creating cube with the Compression option").
    Thanks,
    Chris

    I have seen this in some examples/mails. I havent tried it out myself :)
    Try using a OLAP_CONDITION filter with an appropriate entry point option (1) on the OLAP_TABLE based query and achieve the goal of restricting output from query to value with meas > 0. This condition can be added as part of a specific query or as part of the OLAP_TABLE view definition (applicable to all queries). Hopefully this way there is no need to customize the limitmap variable to suit the cube implementation internal details like compression, partitioning, presummarization, global composite etc.
    NOTE1: The olap_condition entry point 1 pushes the measure based dimension filter within the cube before fetching results from cube. Hopefully this will help speed up the retrieval of results. This should work well if we want the restriction to apply across 1 dimension.. Time or Product alone.. only 1 olap_condition is sufficient.
    SELECT ...
    FROM <olap_table_based_view>
    where ...
    and olap_condition(olap_calc, ' limit time KEEP sales_sales > 0', 1)=1
    --and olap_condition(olap_calc, ' limit time KEEP any(sales_sales, product) > 0', 1)=1
    NOTE2:
    For cases where both time and product (and more dimensions) need to be restricted then we can use 2 olap_conditions to restrict data to set of time and products where some data exists but you could still end up with a specific row (cross combination of product and time) with zero value. You may want to bolster the pre-fetch filtering by olap_condition via a regular sql filter referencing the external measure column (and sales_view_col >0) which is applied on to the results after it is fetched from the cube.
    E.g:
    SELECT ...
    FROM <olap_table_based_view>
    where ...
    and olap_condition(olap_calc, ' limit product KEEP any(sales_sales, time) > 0', 1)=1
    and olap_condition(olap_calc, ' limit time KEEP any(sales_sales, product) > 0', 1)=1
    and sales_view_col >0
    HTH
    Shankar

  • Slow typing in twitter, how to fix?

    Super slow typing only on twitter with firefox, IE works just fine. How do I fix?

    See this [https://support.mozilla.com/tiki-view_forum_thread.php?forumId=1&comments_threshold=0&comments_parentId=574376&comments_offset=40&comments_per_page=20&thread_style=commentStyle_plain old forum thread]
    Twitter seems to use JavaScript to calculate the character count and that script is causing problems.
    http://miloping.com/content/2009/05/1/twitters-char-counter-js-obtrusively-slow Twitter's char counter JS is obtrusively slow | Miloping

  • Table Update using SQL Loader

    Hi All,
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    I am working on Loading a file using SQL Loader.
    I have loaded all the records (20Million) in to a table which has 30 columns.
    Issue : Now i got a new layout for same Data file, Which already has 5 new columns at the end which we didn't loaded.
    I have created the CTL file with New columns but can i update only those 5 new columns into the table. Is that Possible?
    Or should i truncate and do it from the scratch....Please suggest me...
    Thanks

    SQL*Loader does not update; It only inserts. You could load the data into a staging table, then use SQL to update, but that would be slower than just starting over. So, you should just reload the whole file, including the new columns, using the REPLACE in the SQL*Loader control file, instead of APPEND. That will overwrite any existing data.

Maybe you are looking for

  • Error-Message when i start LV

    Wenn ich ein VI vom Explorer her öffne (und LV geschlossen war), erhalte ich oft die Fehlermeldung "Die Datei xxx.vi (oder eine ihrer Komponenten) wurde nicht gefunden. Stellen Sie sicher, dass Pfad und Dateiangaben stimmen..." Labview wird trotzdem

  • HP Deskjet 1280 Driver for windows 8.1 Pro

    Hi Team, I have upgraded my compter operating system from windows 7 professional to windows 8.1 pro now, I unable to install  HP deskjet 1280 printer to new operating system.  Can you please send me a link to download the driver. Regards, Umesh

  • I can´t sync apps from iPad Mini 2 (iOS 8.1) to iTunes 12 (Yosemite)

    Hi guys! I have an iPad Mini 2 with 8.1 OS and any apps buy with iPad Store. I want to sync it with iTunes 12.x but I can´t. In iOS have check iTunes options sync and iTunes see my device. In iTunes don´t see Ipad apps and I don´t known who is the pr

  • LinkedList

    Hey! Could anyone help med with this prob: I' m trying to create a linked list. Say I have a list of 5 elements in my linked list, and now I want to add another element in position nr 3 and move the following elements. How do I do? I tried in this wa

  • Mapping PRE to COS

    Hi. Could someone confirm if Mapping from EXP to PRE to COS is automatic in any router? in my case I am ussing an 7600 with SIP-400. In other case I am ussing the same 7600 with a WS card. I am worried about the mapping between PRE to COS. Tranks.