Function runs slower when rows affected are lesser

Dear All,
I have a stored function which accepts about 9 parameters and returns a number (1 or 0)
the function can be executed as a check for security or access control along with any select query from the database
Say i have 4 lakh entries in the database.
if the function returns a 1 for only one row. then the query takes a lot of time to execute( about 5 mins) and results are displayed.
but if the function returns 1 for , say 1 lakh entries . then execution happens in the fraction of a second.
Is the delay die to a full table scan.... how can this be avoided????
i tried using an indexed row in the table as reference and passing it along with the function , but the delay persists....
please help..... looking forward to active response from you guys.

please help..... looking forward to active response from you guys.Sigh. You tell us, obliquely, what the function does, but give us absolutely no clues about teh structure of the query. How the heck are we supposed to provide "active response" when you don't give us the basic information we need to answer your question.
Regards, APC

Similar Messages

  • Mac running slow when cut and paste

    Hi,
    recently I noticed that my mac is running slow when I cut and paste (there is a delay of approx 1-2 secs). I thought it might be some kind of spyware which is trying to steal sensitive information such as passwords, credit cards and others. That would be surprising as I thought those were still rare in Mac. Any thought on this? Suggestions on how to protect my mac from these security issues? Thanks in advance!
    Mauro

    Morning smartasso,
    Thanks for using Apple Support Communities.
    If you find your Mac is running slowly, there are a number of potential causes that you can check.
    For more information on this, take a look at this article:
    OS X Mountain Lion: If your Mac runs slowly
    http://support.apple.com/kb/PH10798
    Best of luck,
    Mario

  • Spark list horizontal scroller doesn't actualize when rows is set lesser than list container

    Hello,
    The size of the Image control is set larger than that of its parent Group  container. By default, the child extends past the boundaries of the parent  container. Rather than allow the child to extend past the boundaries of the  parent container, the Scroller specifies to clip the child to the boundaries and  display scroll bars.
    In the spark list, when I change the list dataProvider and the size of the Image control is set lesser than that of its parent Group  container, the horizontal scroller doesn't actualize.
    thanks.

    <!-- Simple example to demonstrate the Spark List component -->
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" applicationComplete="comp()" width="260" height="400">
        <fx:Script>
            <![CDATA[
        import mx.collections.*;
        public var dpArray:Array;
        [Bindable]
        public var dpCol:ArrayCollection;
        public function handleClick():void {
            dpCol.removeAll();
            dpCol.addItem({ label:"spark test" });
            dpCol.addItem({ label:"spark text" });
        public function comp():void {
            dpCol = new ArrayCollection(dpArray);
            dpCol.addItem({ label:"spark list horizontal scroller doesn't actualize when rows is set lesser than list container" });
            dpCol.addItem({ label:"spark test" });
            dpCol.addItem({ label:"spark text" });
             ]]>
        </fx:Script>
        <s:Panel title="List">
            <s:VGroup left="20" right="20" top="20" bottom="20">
                <s:List width="200" id="lis" dataProvider="{dpCol}" height="120"/>
                <s:Button id="button1" label="Click here!" width="100" fontSize="12" click="handleClick();"/>
            </s:VGroup>
        </s:Panel>
    </s:Application>

  • Macbook running slow when not connected to charger

    My Macbook Pro 13" is running slow when not connected to energy.
    Does anyone know why is that happening, how can I fix it?
    Thank you very much.
    if you have any idea.
    Att
    Raissa
    <Email Edited By Host>

    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".
    Best.

  • Query runs slower when using variables & faster when using hard coded value

    Hi,
    My query runs slower when i use variables but it runs faster when i use hard coded values. Why it is behaving like this ?
    My query is in cursor definition in a procedure. Procedure runs faster when using hard coded valus and slower when using variables.
    Can anybody help me out there?
    Thanks in advance.

    Hi,
    Thanks for ur reply.
    here is my code with Variables:
    Procedure populateCountryTrafficDetails(pWeekStartDate IN Date , pCountry IN d_geography.country_code%TYPE) is
    startdate date;
    AR_OrgId number(10);
    Cursor cTraffic is
    Select
              l.actual_date, nvl(o.city||o.zipcode,'Undefined') Site,
              g.country_code,d.customer_name, d.customer_number,t.contrno bcn,
              nvl(r.dest_level3,'Undefined'),
              Decode(p.Product_code,'820','821','821','821','801') Product_Code ,
              Decode(p.Product_code,'820','Colt Voice Connect','821','Colt Voice Connect','Colt Voice Line') DProduct,
              sum(f.duration),
              sum(f.debamount_eur)
              from d_calendar_date l,
              d_geography g,
              d_customer d, d_contract t, d_subscriber s,
              d_retail_dest r, d_product p,
              CPS_ORDER_DETAILS o,
              f_retail_revenue f
              where
              l.date_key = f.call_date_key and
              g.geography_key = f.geography_key and
              r.dest_key = f.dest_key and
              p.product_key = f.product_key and
              --c.customer_key = f.customer_key and
              d.customer_key = f.customer_key and
              t.contract_key = f.contract_key and
              s.SUBSCRIBER_KEY = f.SUBSCRIBER_KEY and
              o.org_id(+) = AR_OrgId and
              g.country_code = pCountry and
              l.actual_date >= startdate and
              l.actual_date <= (startdate + 90) and
              o.cli(+) = s.area_subno and
              p.product_code in ('800','801','802','804','820','821')
              group by
              l.actual_date,
              o.city||o.zipcode, g.country_code,d.customer_name, d.customer_number,t.contrno,r.dest_level3, p.product_code;
    Type CountryTabType is Table of country_traffic_details.Country%Type index by BINARY_INTEGER;
    Type CallDateTabType is Table of country_traffic_details.CALL_DATE%Type index by BINARY_INTEGER;
    Type CustomerNameTabType is Table of Country_traffic_details.Customer_name%Type index by BINARY_INTEGER;
    Type CustomerNumberTabType is Table of Country_traffic_details.Customer_number%Type index by BINARY_INTEGER;
    Type BcnTabType is Table of Country_traffic_details.Bcn%Type index by BINARY_INTEGER;
    Type DestinationTypeTabType is Table of Country_traffic_details.DESTINATION_TYPE%Type index by BINARY_INTEGER;
    Type ProductCodeTabType is Table of Country_traffic_details.Product_Code%Type index by BINARY_INTEGER;
    Type ProductTabType is Table of Country_traffic_details.Product%Type index by BINARY_INTEGER;
    Type DurationTabType is Table of Country_traffic_details.Duration%Type index by BINARY_INTEGER;
    Type DebamounteurTabType is Table of Country_traffic_details.DEBAMOUNTEUR%Type index by BINARY_INTEGER;
    Type SiteTabType is Table of Country_traffic_details.Site%Type index by BINARY_INTEGER;
    CountryArr CountryTabType;
    CallDateArr CallDateTabType;
    Customer_NameArr CustomerNameTabType;
    CustomerNumberArr CustomerNumberTabType;
    BCNArr BCNTabType;
    DESTINATION_TYPEArr DESTINATIONTYPETabType;
    PRODUCT_CODEArr PRODUCTCODETabType;
    PRODUCTArr PRODUCTTabType;
    DurationArr DurationTabType;
    DebamounteurArr DebamounteurTabType;
    SiteArr SiteTabType;
    Begin
         startdate := (trunc(pWeekStartDate) + 6) - 90;
         Exe_Pos := 1;
         Execute Immediate 'Truncate table country_traffic_details';
         dropIndexes('country_traffic_details');
         Exe_Pos := 2;
         /* Set org ID's as per AR */
         case (pCountry)
         when 'FR' then AR_OrgId := 81;
         when 'AT' then AR_OrgId := 125;
         when 'CH' then AR_OrgId := 126;
         when 'DE' then AR_OrgId := 127;
         when 'ES' then AR_OrgId := 123;
         when 'IT' then AR_OrgId := 122;
         when 'PT' then AR_OrgId := 124;
         when 'BE' then AR_OrgId := 132;
         when 'IE' then AR_OrgId := 128;
         when 'DK' then AR_OrgId := 133;
         when 'NL' then AR_OrgId := 129;
         when 'SE' then AR_OrgId := 130;
         when 'UK' then AR_OrgId := 131;
         else raise_application_error (-20003, 'No such Country Code Exists.');
         end case;
         Exe_Pos := 3;
    dbms_output.put_line('3: '||to_char(sysdate, 'HH24:MI:SS'));
         populateOrderDetails(AR_OrgId);
    dbms_output.put_line('4: '||to_char(sysdate, 'HH24:MI:SS'));
         Exe_Pos := 4;
         Open cTraffic;
         Loop
         Exe_Pos := 5;
         CallDateArr.delete;
    FETCH cTraffic BULK COLLECT
              INTO CallDateArr, SiteArr, CountryArr, Customer_NameArr,CustomerNumberArr,
              BCNArr,DESTINATION_TYPEArr,PRODUCT_CODEArr, PRODUCTArr, DurationArr, DebamounteurArr LIMIT arraySize;
              EXIT WHEN CallDateArr.first IS NULL;
                   Exe_pos := 6;
                        FORALL i IN 1..callDateArr.last
                        insert into country_traffic_details
                        values(CallDateArr(i), CountryArr(i), Customer_NameArr(i),CustomerNumberArr(i),
                        BCNArr(i),DESTINATION_TYPEArr(i),PRODUCT_CODEArr(i), PRODUCTArr(i), DurationArr(i),
                        DebamounteurArr(i), SiteArr(i));
                        Exe_pos := 7;
    dbms_output.put_line('7: '||to_char(sysdate, 'HH24:MI:SS'));
         EXIT WHEN ctraffic%NOTFOUND;
    END LOOP;
         commit;
    Exe_Pos := 8;
              commit;
    dbms_output.put_line('8: '||to_char(sysdate, 'HH24:MI:SS'));
              lSql := 'CREATE INDEX COUNTRY_TRAFFIC_DETAILS_CUSTNO ON country_traffic_details (CUSTOMER_NUMBER)';
              execDDl(lSql);
              lSql := 'CREATE INDEX COUNTRY_TRAFFIC_DETAILS_BCN ON country_traffic_details (BCN)';
              execDDl(lSql);
              lSql := 'CREATE INDEX COUNTRY_TRAFFIC_DETAILS_PRODCD ON country_traffic_details (PRODUCT_CODE)';
              execDDl(lSql);
              lSql := 'CREATE INDEX COUNTRY_TRAFFIC_DETAILS_SITE ON country_traffic_details (SITE)';
              execDDl(lSql);
              lSql := 'CREATE INDEX COUNTRY_TRAFFIC_DETAILS_DESTYP ON country_traffic_details (DESTINATION_TYPE)';
              execDDl(lSql);
              Exe_Pos:= 9;
    dbms_output.put_line('9: '||to_char(sysdate, 'HH24:MI:SS'));
    Exception
         When Others then
         raise_application_error(-20003, 'Error in populateCountryTrafficDetails at Position: '||Exe_Pos||' The Error is '||SQLERRM);
    End populateCountryTrafficDetails;
    In the above procedure if i substitute the values with hard coded values i.e. AR_orgid = 123 & pcountry = 'Austria' then it runs faster.
    Please let me know why it is so ?
    Thanks in advance.

  • My Macbook Pro 2011 runs slower when charger is connected

    idk why but my macbook pro runs slower when its charging for example im in windows 7 using bootcamp playing nintendo ds on it it runs perfectly when the charger is not connected but then the emulator starts running slower when i connect the charger and the computer heads up my computer is on a table so i know my computer ventilation is working normally idk why my computer getting so slow and hot when i connect the charger it gets so hot that it turns off by itself well it goes to sleep mode can anyone tell me why is that thanks in advance.

    Try resetting the SMC and PRAM:
    SMC
    http://support.apple.com/kb/ht3964
    PRAM
    http://support.apple.com/kb/PH14222
    For the SMC, use the method "for a battery you should not remove yourself."

  • Still not able to use fire fox, Fire fox works in safe mode but then it will freeze up and run slow when i try to use a link. All my drivers ect are up to date.

    My Fire Fox will only open in xp sp1 but then it will run slow and freeze up when i try to view a link, i have just about given up with this problem as i have tried every thing that might fix this problem.

    Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    *Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    *In the Firefox options window click the ''Advanced'' tab, then select "General".
    *In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    *Now, restart Firefox and see if the problems persist.
    If this doesnt work, may you please reply and respond with a list of things you have tried.

  • Why does every browser run slow when I am doing something moderately hardware intensive in the background?

    I have looked but I don't even really know what to call this. But I can reproduce it everytime without fail and I don't understand.
    Steps to Reporduce
    Load up Safari (or chrome, whatever it doesn't matter, those two browsers have the excat same problem)
    Do some browsing. Not much just check your email or something (doesn't matter what you do)
    Run a application that uses some CPU. (Go play a game, or run handbreak, open parallells, anything that causes a bit of load)
    Go back to the browser and try to browse. Everything is dog slow and unsuable.
    Exit the application (just showing that the app was running while slow browsing)
    Browse sites at normal speed again
    Intresting facts
    I have been dealing with this for a while. So I have discovered a few things before posting here
    There is plenty of free RAM both Inactive and Unused in Activity monitor is over 1G (I have 8G total)
    There is plenty of CPU "room". Nither core is anywhere near 100%
    The goal is under moderate load, so overloading the computer and trying is not what is happening.
    nice-ing proccesses has no effect
    I notice it most when running games, but it happens at other times too, games are just one of the few things that put any load on this mac.
    Other programs work fine. I have never noticed anyother program running slow ever when this is occuring. This includes programs that include the webkit controll, oddly. Though, to be fair, that may not be accurate as I don't experance that as often.
    I have verified disk (everything is fine)
    I have verified permissions (and repaired them, everything is fine)
    Disk and permissions don't seem to have any effect.
    Network traffic does not seem slow, I can transfer files at the same rate when the browsers are slow, or when theyre runnning fine.
    There is no odd hardware plugged in. I have 1 external USB disk that is always plugged in for timemachine and thats it (thoughI have unplugged that with no effect, and I have added other hardware with no effect)
    The websites/pages/browsers seem to run at a normal speed if you don't have them as the active window. Really hard to say if it's just perception cause I am not watching them, or if there is an actuall effect.
    The site being browsed doesn't seem to matter. Any site regaurdless of complexity seems to be effected. It could be Javascript related though that is really hard to tell, but browsing sites without any javascript or even from the local hardrive (test pages with no JS) still take a very long time to load.
    Average page load time is 15-30 seconds during which the whole browser is unresponcive.
    I am mostly talking about safari here as that is what I would really like to use, but chrome has basically the same effect. For this question I am sticking with fixing safari though.
    What I am looking for:
    A fix would be nice
    But I would settle for an explaniation that I can accept.
    I am running a MBP 17" with 8 gigs of ram and the 2.53 GHZ i5 processor. I am fully up to date with both Lion and Safari.

    Also would like to say DNS resolution is not the problem. I do not use my ISPs DNS servers. I use Google's public DNS servers and a in house caching DNS. DNS resolution is fine, outside the browser and the pages are getting "stuck" while loading not while transfering, or resolving.

  • Project runs slow when it's uploaded to SCORM

    Hi,
    The project runs fine when the reporting is unchecked and I test it online but it runs slow and crashes flash when it's being run in a SCORM system.
    I'm using:
    Mac OSX 10.9.2
    Captivate 7.0.1.237
    About the project:
    70 Slides, 3 videos (streamed via youtube).
    3 sections, a quiz at each section.
    The total packaged file is about 22MB.
    The only quiz I needed graded was the final one but since Captivate can only do one quiz section the last two quizes are both graded.
    About my SCORM settings:
    SCORM 1.2
    Template: SendTrackingDataAtEnd
    Interaction Data is UNCHECKED
    In Advanced Setting:
    Everything is checked EXCEPT "Send Data on Every Slide"
    About the Crashing:
    So at first I thought it was crashing because of the graded quizes because it always crash on that slide. I then removed everything BUT the graded quizes and it worked fine. So then I went back and removed only the graded quizes and it crashed around the same place (roughly slide 40).
    I also went online and tried to lower the duration of my quiz slides, that didn't work. Then reading online some more and people mentioned that the duration can't be too short so I moved it back up.
    I then thought that my problem was with our LMS system. So I created an account on cloud.scorm.com and the project crashed at the same place. I did however get some errors I don't understand on that site. The errors are:
    The external metadata referenced at /courses/NKR8458Z54/SP136621-Sharing-Sponsorship0140bc65-39c6-4ac2-b41a-07fcd096862e/0\me tadata.xml could not be opened. The specific exception was: java.io.FileNotFoundException: /courses/NKR8458Z54/SP136621-Sharing-Sponsorship0140bc65-39c6-4ac2-b41a-07fcd096862e/0 (Is a directory).
    The external metadata referenced at /courses/NKR8458Z54/SP136621-Sharing-Sponsorship0140bc65-39c6-4ac2-b41a-07fcd096862e/0\me tadata.xml could not be opened. The specific exception was: java.io.FileNotFoundException: /courses/NKR8458Z54/SP136621-Sharing-Sponsorship0140bc65-39c6-4ac2-b41a-07fcd096862e/0 (Is a directory).
    The file referenced by the href attribute could not be found. href = SP136621-Sharing-Sponsorship.htm
    The external metadata referenced at /courses/NKR8458Z54/SP136621-Sharing-Sponsorship0140bc65-39c6-4ac2-b41a-07fcd096862e/0\me tadata.xml could not be opened. The specific exception was: java.io.FileNotFoundException: /courses/NKR8458Z54/SP136621-Sharing-Sponsorship0140bc65-39c6-4ac2-b41a-07fcd096862e/0 (Is a directory).
    Any ideas or thoughts would be great. I've spent about 15 hours trying to debug this thing when I thought everything was good to go. ARghhhhh!
    Thanks,
    RD

    Ok.  Here's one I might actually be able to answer.  Rare but I'm happy to contribute.  Check out the Quiz preferences section of this blog post http://www.infosemantics.com.au/adobe-captivate-troubleshooting/how-to-set-up-preferences
    Specifically, try setting the "Template" dropdown to "SendTrackingDataAtEnd" on the Quiz > Reporting section.  You can also deselect "Send Data On Every Slide" in the LMS Advanced Settings window.
    Try those out and read through Mr. Ward's blog post.  You might find something in there that'll help speed you up.

  • UI runs slow when inactive memory is large

    I'm using 10.8.5.
    In fact this happens on every 10.8.x
    I have learnt that the inactive is a way to achive the 'virtual memory' technique which caches the disk into main memory to speed up the loading of recently loaded data or other things.
    But the UI is running slow (eg. the expose gesture & the swich workspace gesture )
    I cannot see the necessity of slowing down UI, or the UI slowed down because of another reason?

    First, back up all data immediately, as your boot drive might be failing.
    Step 1
    This diagnostic procedure will query the system log for messages that may indicate a hardware fault. It changes nothing, and therefore will not, in itself, solve your problem.
    If you have more than one user account, these instructions must be carried out as an administrator. I've tested them only with the Safari web browser. If you use another browser, they may not work as described.
    Triple-click anywhere in the line below on this page to select it:
    syslog -k Sender kernel -k Message CReq 'Channel t|GPU D|I/O|nspace-h|n Cause: -' | tail | open -ef
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V).
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.
    A TextEdit window will open with the output of the command. Normally the command will produce no output, and the window will be empty. If the TextEdit window (not the Terminal window) has anything in it, stop here and post it — the text, please, not a screenshot. The title of the TextEdit window doesn't matter, and you don't need to post that.
    Step 2
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have a portable computer, check the cycle count of the battery. It may be due for replacement.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane. See whether there's any change.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    Boot into Recovery mode, launch Disk Utility, and run Repair Disk.
    If you're booting from an aftermarket SSD, see whether there's a firmware update for it.
    If you have a MacBook Pro with dual graphics, disable automatic graphics switching in the Energy Saverpreference pane for better performance at the cost of shorter battery life.
    Step 3
    When you notice the problem, launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Activity Monitor in the icon grid.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Next, select the Disk Activity tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in and Writes out.)
    Step 4
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • Call Library Function Running slow

    Hi
    I’m using a third party IO board for DAQ experiment. To create a real-time DAQ VI I used the DLL file which’s supplied by the manufacture, I managed to get the VI working to read from the board by using the Call Library function. But the vi running slow, it takes about 10s to get the reading or spot any change, while using Visual basic application any changes are spotted instantly
    Any help will be appreciated
    Marwan
    http://www.geocities.com/marwan_m13/weemee8080.jpg
    Attachments:
    Project[2].vi ‏42 KB

    Just for analysing, where the timeleakage occurs:
    Try to measure the execution time of the library function(s). It whould
    be interesting, if they realy produce the timeleakage or not.
    I modified your project for this (see attachment).
    Attachments:
    Project[2].vi ‏53 KB

  • Mac running slow when plugged to power

    Why does my Mac run very slow when plugged to power and how can i fix it? I have early 2011 MacBook Pro whit i7 procesor.

    see Thread
    https://discussions.apple.com/docs/DOC-3521
    Above explains what to do
    also Check Activity Monitor and quite processess of any using high CPU

  • My macbook air is running slow when playing movies

    anyone! my macbook air is running low when playing movies and I also noticed when opening certain websites, any suggestions on how clean the computer or fix the issue!
    Thank you much

    Hi ana1773gar,
    I understand your MacBook Air is not performing as expected. The following article provides troubleshooting steps which can help with performance issues:
    OS X Yosemite: If your Mac runs slowly
    If you find your Mac is running slowly, there are a number of potential causes that you can check.
    An app you’re using may require more memory than your computer has easily available. To see how much memory your computer has, choose Apple menu > About This Mac, then click Memory. See the help that came with the app to see its system requirements. 
    To find out how to increase your computer’s memory, choose Apple menu > About This Mac, click Memory, then click Memory Upgrade Instructions in the lower-left corner. documentation that came with the app to its system requirements.  
    To see what processor your computer has, choose Apple menu > About This Mac, then click Overview.
    To see what graphics card your computer has, choose Apple menu > About This Mac, then click Displays. The name of the graphics card in your computer is displayed in the middle of the window. 
    Your computer’s startup disk may not have enough free disk space. To make disk space available, move files to another disk, then delete files you no longer need on the startup disk. 
    Quit any apps you’re not using.
    If you have problems with your disk, use Disk Utility to verify and try and fix any issues. 
    Use Activity Monitor to see if a particular app or activity is making a large demand on your Mac.
    Thank you for contributing to Apple Support Communities.
    Take care,
    Bobby_D

  • IMac runs slow when copying through network port

    Ive been noticing an issue with my new iMac where everything I copy through my network to another computer everything starts running slow.  What gives?  How can I correct?

    10.2.0.3? Why? This is software that has been in desupport mode for 2+ years. If nothing else at least patch to 10.2.0.5.
    That said please run this query on each node when it is slow and post the results. You will need to adjust the snap_id to your current AWR snapshot range.
    SELECT dhs.begin_interval_time, b1.instance_number, b2.value RECEIVED,
           b1.value "RECEIVE TIME", ((b1.value/b2.value)*10) "AVG RECEIVE TIME (ms)"
    FROM sys.wrh$_sysstat b1, sys.wrh$_sysstat b2, dba_hist_snapshot dhs
    WHERE b1.stat_id = '1388758753'
    AND b2.stat_id = '326482564'
    AND b1.instance_number = 10
    AND b1.instance_number = b2.instance_number
    AND b1.snap_id >= 23000
    AND b1.snap_id = b2.snap_id
    AND b1.snap_id = dhs.snap_id
    ORDER BY b1.snap_id;
    SELECT dhs.begin_interval_time, b1.instance_number, b2.value RECEIVED,
           b1.value "RECEIVE TIME", ((b1.value/b2.value)*10) "AVG RECEIVE TIME (ms)"
    FROM sys.wrh$_sysstat b1, sys.wrh$_sysstat b2, dba_hist_snapshot dhs
    WHERE b1.stat_id = '1759426133'
    AND b2.stat_id = '2877738702'
    AND b1.instance_number = 10
    AND b1.instance_number = b2.instance_number
    AND b1.snap_id >= 23000
    AND b1.snap_id = b2.snap_id
    AND b1.snap_id = dhs.snap_id
    ORDER BY b1.snap_id;also run these:
    SELECT inst_id , event , total_waits, time_waited
    FROM gv$system_event
    WHERE event IN ('gc buffer busy acquire', 'gc buffer busy release')
    ORDER BY time_waited DESC;
    SELECT inst_id, current_master, previous_master, COUNT(*)
    FROM gv$gcspfmaster_info
    WHERE current_master <> previous_master
    GROUP BY inst_id, current_master, previous_master
    ORDER BY 1,2,3;

  • Process runs faster when executed independently, but runs slower when a parallel big process is running

    Hi,
    The issue is,  a process, say "A" is running fine on certain days. On some days there are additional processes running on the server. When these additional processes are running, "Process A" suffers performance issue.
    Interesting point is that, these additional processes were running since long time. But, earlier "Process A" was running fine even when these additional process were running. Suddenly from past 2 or 3 weeks there is performance issue in "Process
    A", when these additional process run.
    Note: Nothing has been modified for the process A.
    Process A is an SQL job which has SSIS Package and stored proc in different steps
    When multiple parallel processes are running, SSIS Package step suffers around 40% increase in execution time, where as stored procs have only 15-20% increase in execution time
    When Process A is executed while no other big processes are running, it's execution time is fine. From past few days, issue is only when, some other big parallel processes are running.
    Currently below is my analysis:
    Since Process A is running fine when it is executed independently, I assume there is no issue in this process.
    Since issue occurs when some other big process is running, when Process A is running, I believe it is DiskIO issue. Will the issue be resolved if RAM size is increased?
    Is there any way to check if RAM is being fully utilized by the server
    Is there any other possibility why there is a sudden dip in performance when parallel processes are running.
    Is there any possibility of having issues in additional processes. Incase if it has some issues, does it impact "Process A"
    Please let me know if you need any further information. Infact I am not able to diagnose what is the actual root cause for the performance issue in "Process A" as nothing has been modified.
    Also it would be very much helpful, if I get any idea on different ways in reaching the actual root cause of this performance issue.
    NOTE: This is a data warehouse
    Thanks,
    Raksha

    When a query has a parallel plan, it will in general try to grab all cores up to the maxdop setting, but then it often uses them inefficiently. 
    But in that case, there are better odds for the queries not battling on resources with each other!
    What Josh alludes is to the fact that SQL Server needs to partition the data, so that different partitions are processed on different cores. This partitioning is based on statistics, and the statistics may be out of date or not accurate enough. This may
    result in that the data is not partitioned proportionally, and some threads gets very little data to work with. Thus, these CPUs are still idle, so there may still be room for the two processes to run at full speed. (That is, full speed with the given plan,
    which is not the full speed, had the partitioning been accurate.)
    I mention this because you asked about parallelism, and many systems leave maxdop at its default setting of 0 (which means "go ahead and grab everything!") even though Microsoft recommends you set it to a different number depending on this and
    that.
    Since this is a data warehouse, Raksha should not tamper with "max degrees of parallelism", I think.
    Erland Sommarskog, SQL Server MVP, [email protected]

Maybe you are looking for