The cursor movement is very 'slow' or 'inertial'

Hi.
I bought a mac mini with a magic mouse and connected it to a large LCD TV via HDMI (fullHD). Everything is excellent, save for the fact that the cursor movement is very 'slow' or 'inertial'.

Hi,
Whenever you write code, format it to show the scope of BEGIN, LOOP, IF statements, and so on.
Type these 6 characters
{code}
(small letters only, inside curly brackets) before and after the formatted code, to preserve spacing on this site.
You've discovered why the tecnique you're using is called "slow-by-slow" processing.
You don't need a cursor. You may not even need PL/SQL.
Just write an INSERT statement that reference the table from the cursor and the tables from your current INSERT statement.
Here's one way:
INSERT
INTO     t1 (columns)
SELECT         columns
FROM     t2
,     t3
WHERE     ...
AND     (t2.month, t3.sp_name)     IN (
                          SELECT DISTINCT
                               acct_month
                       ,        salesperson_name
                       FROM        period
                       );Depending on the details of your case, there may be a better way, such as a 3-way join.

Similar Messages

  • Web pages slow to load with IE11 and the cursor/mouse is very slow to work until after page loads

    Web pages are very slow to load, I hve run Norton Eraser and found no issues that would cause this

    New HP Pavilion three weeks ago.  After several attempts by the 'experts' I finally got a straight answer from a tech in the Philipines yesterday, 01-29-2015.  HP and Microsoft are working to resolve the issue of slow pages and a dead cursor until the next page finally loads.  You may have discovered that Google Chrome DOES NOT have this issue.  Comments about HP would not be allowed here so I will just say, use Chrome until the issue with IE 11 is resolved.

  • Query within the Cursor loop is very slow

    Hi ,
    I have a stored procedure which has Select/Insert operation which is looped within the cursor. The Select uses variables from the cursor, and inserts the data into the table.
    My problem is the peformance. The stored procedure executes in 2 mins if I hard code the where clause values in the Select. Instead if I use the variables obtained from the cursor, the query takes so long (more than 20 mins) to insert the same no of records into the table.
    Below is the snippet of my code
    create procedure sample is
    declare
    v_acct_month number(2);
    v_sp_name varchar2(30);
    cursor v_cur is Select distinct Acct_Month,salesperson_name from period;
    begin
    open v_cur;
    loop
    fetch v_cur into v_acct_month, v_sp_name;
    exit when v_cur%notfound;
    Insert into T1
    Select * from T2,T3.. Where T2.month=v_acct_month,t3.sp_name=v_sp_name;
    end loop;
    End;
    The query is not using the optimizer when the variables are used.The optimizer is used when I hard code the values in the select.
    Please give me suggestions to make this query faster..
    Thanks,
    Arun
    Edited by: [email protected] on Mar 28, 2009 10:18 AM

    Hi,
    Whenever you write code, format it to show the scope of BEGIN, LOOP, IF statements, and so on.
    Type these 6 characters
    {code}
    (small letters only, inside curly brackets) before and after the formatted code, to preserve spacing on this site.
    You've discovered why the tecnique you're using is called "slow-by-slow" processing.
    You don't need a cursor. You may not even need PL/SQL.
    Just write an INSERT statement that reference the table from the cursor and the tables from your current INSERT statement.
    Here's one way:
    INSERT
    INTO     t1 (columns)
    SELECT         columns
    FROM     t2
    ,     t3
    WHERE     ...
    AND     (t2.month, t3.sp_name)     IN (
                              SELECT DISTINCT
                                   acct_month
                           ,        salesperson_name
                           FROM        period
                           );Depending on the details of your case, there may be a better way, such as a 3-way join.

  • My macbook pro is running very slow with some strange mouse and window movements. The trackpad is very unresponsive and when responding the cursor moves on its own and/or very erratically. When on safari the window suddenly zooms in or highlights words.

    My macbook pro is running very slow with some strange mouse and window movements. The trackpad is very unresponsive and when responding the cursor moves on its own and/or very erratically. When on safari the window suddenly zooms in or highlights words and looks them up via dictionary. I currently have a wireless mouse connected and I am still having the same problems.
    I fee like I may have a virus or my laptop is perhaps being accessed remotely. All of the sharing options are unchecked.
    HELP PLEASE
    Very worried!!

    Try these in order testing your system after each to see if it's back to normal:
    1. a. Resetting your Mac's PRAM and NVRAM
        b. Intel-based Macs: Resetting the System Management Controller (SMC)
    2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
         Boot to the Recovery HD: Restart the computer and after the chime press and hold down the
         COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the computer and
         after the chime press and hold down the OPTION key until the boot manager screen appears.
         Select the Recovery HD and click on the downward pointing arrow button.
    3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
         Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).
    4. Reinstall Lion/Mountain Lion, Mavericks: Reboot from the Recovery HD. Select Reinstall Lion/Mountain Lion, Mavericks from the Utilities menu, and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).

  • A small but very irritating bug in Mail: after pressing the spacebar after typing an apostrophe in a word such as "we're", the cursor moves to the left i.e. backwards, and not to the right, effectively deleting a space and not creating one.

    When composing an email in Mac Mail I've noticed a small but very irritating bug: pressing the spacebar after typing an apostrophe in a word, e.g. "we're", the cursor moves to the left i.e. backwards, and not to the right, effectively deleting a space and not creating one.
    Any ideas?

    I just recreated this problem on my iMac (wired KB, no wireless KB) by changing Mail > Preferences > Composing > Spellcheck from "as I type" to "never". Then type a contraction ending in 're and the space bar causes the cursor to jump back as others have stated, to the spot 'r|e
    Next, I went into System Preferences > Keyboard > Text, and turned off "use smart quotes" and the problem went away again.
    From this point (smart quotes off, spell checking never), if I turn Smart Quotes ON, the problem returns.
    The problem is dependent on the state of both settings.
    The spacebar in Mail "works" if I have either of the following setting combinations:
    Keyboard: smart quotes OFF, Mail: check spelling ANY SETTING
    Keyboard: smart quotes ON, Mail: check spelling AS I TYPE
    Other combinations FAIL
    Keyboard: smart quotes ON, Mail: Check spelling NEVER
    Keyboard: smart quotes ON, Mail: Check Spelling WHEN I CLICK SEND
    Looks to me like there's a bug in Mail > Preferences > Check spelling > NEVER and WHEN I CLICK SEND that interacts badly with Keyboard > Smart quotes ON.
    Thanks.
    Todd Smithgall

  • Hi, I just started a new movie and the program is running very slow. Is there a way to clean up my iMovie program so that it goes faster? Please help.

    Hi, I just started a new movie and the program is running very slow. Is there a way to clean up my iMovie program so that it goes faster? Please help.

    There is nothing you can do with iMovie program itself.  Slow response in usually due to a shortage of system resources (CPU, RAM and disk space).
    How much free disk space do you have on your boot drive and what is the capacity of the drive?
    You can check memory utilization while running iMovie using Activity Monitor (in Applications/Utilities).  What does the Memory tab show for Swap used?
    Are you running many other processor-intensive applications a the same time?
    If you have a lot of events and projects, it will help a bit to hide the ones you are not using by moving them from your iMovie Projects and iMovie Events folders into an enclosing folder so iMovie doesn't load them.
    Geoff.

  • Mac system, When I use shockwave, the response time is very slow. I have updated Shockwave.

    I am running OS X 10.6.8. I am trying to do a jigsaw puzzle, but the cursor movement is slow and erratic. I have updated Adobe Shockwave, but still have the problem. The last time I updated Firefox I had the same problem and went back to the old version. Any help would be greatly appreciated.

    tr3v wrote:
    Thanks for replying.
    1/ No, but I am running Vista, so assume this will be the same? Or should I just look at the tmp and temp environment variables to see what folders are being used?
     In Vista type temp in the Search programs and files box and double click on the temp files icon that appears above. Delete all the files in the folder that you can. It is safe as they are exactly what they are called and that is temporary files. If you haven't done this ever or in quite a while there should be a noticeable increase in the operating system's response time.
    2/ Yes. It completes after a very long time. 
    5/ No - but will try this out too. 
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Populating the screen field when the cursor moves to that field

    hi every one,
    I want to populate the screen field(MODULE POOL) When the cursor moves to that field.
    So can any one help me out with this.
    EXAMPLE..
    I want to populate 'S10_TOT_PRICE' (Total Price). When the fields like 'S10_PIECES' (Number of Pieces) will be entered. I want to populate 'S10_TOT_PRICE'  without pressing any button on the screen nor when enter is hit. When the field 'S10_PIECES''  will be entered with some value and the cursor moves to 'S10_TOT_PRICE' . The Total Price field should be populated. Please help me out with this.
    THANKS & REGARDS.
    Mahanta.
    POINTS WILL BE REWARDED.

    Sorry but look at this SAP documentation <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/54/0608162d0711d295520000e8353423/frameset.htm">User Actions on Screens</a>
    Extract :
    <i>User Actions on Screens
    There are various ways in which users can interact with screens.
    Filling Input Fields
    Users can enter values in any input field on the screen, or change the value using the mouse, in the case of radio buttons and checkboxes. The contents are placed in the corresponding screen field. Filling an input field does not normally trigger the PAI event. Exceptions to this are Checkboxes and Radio Buttons with Function Codes and input fields with Drop Down Boxes.</i>
    So, i fear that you cannot "take hand" when user fill a numerical field to perform calculations and update the screen.
    Regards

  • I have a 27" desktop mac running with OSX 10.6.8.  The bluetooth keyboard started not typing when some of the keys are pressed. Plugged in a wired keyboard, started doing the same thing.  Now the cursor moves but cannot select anything.  Suggestions?

    I have a 27" desktop mac running with OSX 10.6.8.  The bluetooth keyboard started not typing when some of the keys are pressed. Plugged in a wired keyboard, started doing the same thing.  When opening up a browser or application, the cursor moves but cannot select anything.  Suggestions?

    Maybe something in these Apple support articles will help.
    Keyboard Doesn’t Work
    Keyboard Keys Do Not Respond
    Keyboard/Mouse – Troubleshooting Wireless

  • Link aggregated between NAS and a switch: the Mac as a very slow access...

    Hello,
    in my Office we're working with Macs and PCs and all the data is on a NAS.
    Here is our configuration:
    NAS <-link1->Switch<-Link2->Macs or PC.
    Macs are connected with AFP protocol (because SMB is very slow).
    We want to use Link Aggregation between the NAS and the switch (with 802.3ad procotol) but when we do that all the Macs have a very slow access to the NAS. But all is OK with the PCs.
    What can we do? Is there a problem with macOS X and link aggregation?
    Thank you for your help.
    Nicolas

    Sorry, not sure what the question is exactly.
    You must have an Xserve, or Ethernet cards capable of Jumbo Frames for one, I assume the Switch & NAS are capable?
    Possible clues...
    http://docs.info.apple.com/article.html?path=ServerAdmin/10.4/en/c3ha3.html
    http://discussions.apple.com/thread.jspa?threadID=1715388&tstart=0
    http://www.macnn.com/articles/04/06/21/link.aggregation.for.macs/
    http://www.smallnetbuilder.com/content/view/30556/53/
    http://www.afp548.com/forum/viewtopic.php?showtopic=8309

  • Most of the crap ios 7 very slow I want to go back to ios 6.

    Most of the crap ios 7 very slow I want to go back to ios 6.

    Something may have gone amiss in the upgrade to iOS 7 on your iPhone.
    To correct this follow these steps:
    1. Backup your iPhone using iTunes or iCloud.
    2. Use iTunes to completely restore your iPhone as new.
    3. Monitor performance to see if it is normal. If not, you may have a hardware problem - if so, contact Apple support.
    4. Restore your iPhone from your backup above.
    5. Check performance to confirm that it remains normal.

  • My pages stopped scrolling with cursor keys after upgrading to 5.0, the cursor moves WITHIN html documents and "jumps" from frame to frame and character to character within the frame.

    Recently, I noticed that google search pages stopped scrolling. There is an "right arrow" at the beginning of each link. When I press the cursor "up/down" arrow on the keyboard, the cursor jumps from link to link. Also, while on any html webpage, the cursor moves one character at a time (left / right arrow) and one line at a time (up/down arrow) until the end of that frame is reached, it then jumps to the next frame.

    You may have switched on [http://kb.mozillazine.org/accessibility.browsewithcaret caret browsing].
    You can press press F7 (on Mac: fn + F7) to toggle caret browsing on/off.
    * Tools > Options > Advanced : General: Accessibility: [ ] "Always use the cursor keys to navigate within pages"
    * http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
    * http://kb.mozillazine.org/Accessibility_features_of_Firefox

  • Can you help me, i try to import video from my gopro to final cut pro but when i play the video he become very slow and i lose qualiter

    can you help me, i try to import video from my gopro to final cut pro but when i play the video he become very slow and i lose qualiter ???

    Right click one of yur clips in the event browser and choose Transcode Media. Make a test project and playthat clip. See whether that solves your lag.
    Russ

  • I have a problem when i am connecting my mbpr to a monitor , the internet is going very slow when i connect to the monitor plz help me if i buy a vga to minidisplay it will help??

    i have a problem when i am connecting my mbpr to a monitor , the internet is going very slow when i connect to the monitor plz help me if i buy a vga to minidisplay it will help??

    dovdov2,
    are you saying that when you connect your MacBook Pro to a monitor, your Internet connection slows down, but when you disconnect the monitor, it speeds up again, and that this is reproducible from one day to another?
    Does this happen both under OS X and under Windows 7, or only under one of them?
    How are you currently connecting your MacBook Pro to your monitor?

  • Backup to the remote stages is very slow

    Hello!
    I am facing with the following problem for DB Backup to the remote stage.
    If I plan the ALL ONLINE-Backup, then the backup is takes very slow, backups two or more files and aborts.
    I have checked the appropriate  BTC WP and saw that the WP is holding/waitng.
    The reason is RFC.
    How can the problem be solved?
    Thank you very much!
    regards
    Thom

    Without logs of the backups we can just guess, what is wrong.
    Post the log of a failed remote backup here and let´s see then.
    Markus

Maybe you are looking for

  • Why is Premiere Pro CS6 not recognizing my Photohop .PSD files?

    "Photoshop" is not even listed as a supported file in the File Type section. If I select to view all files and then import a PSD file, I recieve the following:  Error Message "File format not supported." This is completely bizarre.  

  • Model 6102b phone wont turn on/ wont charge proble...

    so ive had this phone (6102b) for a few years and its been working fine. a few months ago it turned off and wouldnt charge. Randomly a month later it just started working again. About a week ago the phone died again. When i put the charger in to char

  • Hi, i've a question, how to comunicate from servlet to a JSP and viceversa?

    i would like to know how to do this and if its possible an example i'll appretiate it much. thanks

  • Faces-config.xml !NLS Error

    Message BME-99003: An error occurred, so processing could not continue. Cause The application has tried to de-reference an invalid pointer. This exception should have been dealt with programmatically. The current activity may fail and the system may

  • Download Agent Software Error

    All, I'm stumped. I have upgraded two Grid Control servers to 10.2.0.5 (non-RAC'd) and one of the servers let me download agent software under the Deployments->Download Agent Software page but the other Grid Control server is giving me and error on a