SQL is running SLOW in group by

Dear Experts,
I have a query which is fetching around 2,603,675 records. When it is running without group clause it is running fine but as soon as Group by claused comes into picture it's dying. I have seent the plan which is correct and hitting to right indexs with right order. We have oracle 11g. Could some one please help me how to get rid of this? Below is the expaling plan for the same. Cost Bytes and Carfinality looks ok to me.
Plan
SELECT STATEMENT  HINT: ALL_ROWSCost: 1,363  Bytes: 304  Cardinality: 1                                                                   
     31 HASH GROUP BY  Cost: 1,363  Bytes: 304  Cardinality: 1                                                              
          30 NESTED LOOPS                                                         
               28 NESTED LOOPS  Cost: 1,362  Bytes: 304  Cardinality: 1                                                    
                    25 NESTED LOOPS OUTER  Cost: 1,360  Bytes: 183  Cardinality: 1                                               
                         22 NESTED LOOPS  Cost: 1,359  Bytes: 168  Cardinality: 1                                          
                              19 NESTED LOOPS  Cost: 1,357  Bytes: 121  Cardinality: 1                                     
                                   16 NESTED LOOPS  Cost: 1,356  Bytes: 107  Cardinality: 1                                
                                        13 NESTED LOOPS  Cost: 1,356  Bytes: 100  Cardinality: 1                           
                                             6 NESTED LOOPS  Cost: 54  Bytes: 2,209  Cardinality: 47                      
                                                  2 TABLE ACCESS BY INDEX ROWID TABLE FDM.WH_SOURCES_D Cost: 2  Bytes: 16  Cardinality: 1                 
                                                       1 INDEX UNIQUE SCAN INDEX (UNIQUE) FDM.WSRC_UK1 Cost: 1  Cardinality: 1            
                                                  5 INLIST ITERATOR                 
                                                       4 TABLE ACCESS BY INDEX ROWID TABLE FDM.WH_ACCOUNTS_D Cost: 52  Bytes: 1,457  Cardinality: 47            
                                                            3 INDEX UNIQUE SCAN INDEX (UNIQUE) FDM.WACC_UK1 Cost: 50  Cardinality: 47       
                                             12 PARTITION RANGE SINGLE  Cost: 1,356  Bytes: 53  Cardinality: 1  Partition #: 15  Partitions accessed #KEY(AP)                    
                                                  11 TABLE ACCESS BY LOCAL INDEX ROWID TABLE FDM.WH_ATM_BALANCES_F Cost: 1,356  Bytes: 53  Cardinality: 1  Partition #: 15  Partitions accessed #KEY(AP)               
                                                       10 BITMAP CONVERSION TO ROWIDS            
                                                            9 BITMAP AND       
                                                                 7 BITMAP INDEX SINGLE VALUE INDEX (BITMAP) FDM.WABF_BM6 Partition #: 15  Partitions accessed #KEY(AP)
                                                                 8 BITMAP INDEX SINGLE VALUE INDEX (BITMAP) FDM.WABF_BM10 Partition #: 15  Partitions accessed #KEY(AP)
                                        15 TABLE ACCESS BY INDEX ROWID TABLE FDM.T_SDM_GLPRODUCT Cost: 0  Bytes: 7  Cardinality: 1                           
                                             14 INDEX UNIQUE SCAN INDEX (UNIQUE) FDM.TSGP_PK Cost: 0  Cardinality: 1                      
                                   18 TABLE ACCESS BY INDEX ROWID TABLE FDM.WH_PRODUCTS_D Cost: 1  Bytes: 14  Cardinality: 1                                
                                        17 INDEX UNIQUE SCAN INDEX (UNIQUE) FDM.WPRD_PK Cost: 0  Cardinality: 1                           
                              21 TABLE ACCESS BY INDEX ROWID TABLE FDM.WH_COMMON_TRADES_D Cost: 2  Bytes: 47  Cardinality: 1                                     
                                   20 INDEX UNIQUE SCAN INDEX (UNIQUE) FDM.WCTD_PK Cost: 1  Cardinality: 1                                
                         24 TABLE ACCESS BY INDEX ROWID TABLE FDM.T_SDM_SECURITYINSTRUMENT Cost: 1  Bytes: 15  Cardinality: 1                                          
                              23 INDEX UNIQUE SCAN INDEX (UNIQUE) FDM.TSSI_PK Cost: 0  Cardinality: 1                                     
                    27 PARTITION RANGE SINGLE  Cost: 1  Cardinality: 1  Partition #: 29  Partitions accessed #KEY(AP)                                             
                         26 INDEX RANGE SCAN INDEX (UNIQUE) FDM.WBKS_UK2 Cost: 1  Cardinality: 1  Partition #: 29  Partitions accessed #KEY(AP)                                        
               29 TABLE ACCESS BY LOCAL INDEX ROWID TABLE FDM.WH_BOOKS_D Cost: 2  Bytes: 121  Cardinality: 1  Partition #: 29  Partitions accessed #1Edited by: BluShadow on 21-Oct-2011 08:57
added {noformat}{noformat} tags. Please read {message:id=9360002} and learn to do this yourself.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

user535789 wrote:
Dear Experts,
I have a query which is fetching around 2,603,675 records. When it is running without group clause it is running fine but as soon as Group by claused comes into picture it's dying. I have seent the plan which is correct and hitting to right indexs with right order. We have oracle 11g. Could some one please help me how to get rid of this? Below is the expaling plan for the same. Cost Bytes and Carfinality looks ok to me.I think you have a common misunderstanding there.
Your original query did run fine fetching 2.6 million records?
Usually such claims are only made when the query just returned the first few records (default 50 for tools like sql deeveloper or toad).
How long did it take till you saw the very last record?
If you add a group by then essentially you tell the database it has to do a sort operation over the whole dataset. Because it might be that the very last record has some information that would influence the first output row that is shown on the screen. Therefore the database has to read all the records including the very last one (no. 2,603,675) before it can show you one single output line. Same goes for all kind of sort operations, but the most typical are "Order by", "distinct", "group by", "union".
My guess is that both queries take approximately the same time. You just don't know whow slow the original query was, becuase you saw some output rows while the query was still running.

Similar Messages

  • SQL Developer running slow, possibly caused by Java Virtual Machine

    Dear all
    I am currently working with SQL Developer 1.5.1, connecting to an Oracle database 10.2.0.2 and it is taking about 10 minutes for SQL Developer to load. I believe the problem may be due to the Java Development kit. I upgraded to the latest version last week.
    The versions running according to Java settings is:
    1.6 1.6.0_15 http://java.sun.com/products/autodl/j2se C:\Program Files\Java\jre6\bin\javaw.exe  true
    1.6 1.6.0_07 http://java.sun.com/products/autodl/j2se C:\Program Files\Java\jre1.6.0_07\bin\javaw.exe  true
    1.4 1.4.2 http://java.sun.com/products/autodl/j2se C:\Program Files\Java\j2re1.4.2\bin\javaw.exe  trueHaving looked at other posts on here I have run SQL Developer with the console and the messages in that are as follows:
    Exception initializing 'oracle.ideimpl.searchbar.SearchBarAddin' in extension 'S
    earch Bar': java.lang.NullPointerException
            at oracle.ideimpl.searchbar.ColorProvider.isFusionLAF(ColorProvider.java
    :29)
            at oracle.ideimpl.searchbar.ColorProvider.updateUIManager(ColorProvider.
    java:35)
            at oracle.ideimpl.searchbar.SearchBarAddin.initialize(SearchBarAddin.jav
    a:37)
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
    rImpl.java:405)
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManag
    erImpl.java:214)
            at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(Ad
    dinManagerImpl.java:128)
            at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1804)
            at oracle.ide.IdeCore.startupImpl(IdeCore.java:1481)
            at oracle.ide.Ide.startup(Ide.java:662)
            at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
            at oracle.ideimpl.Main.start(Main.java:110)
            at oracle.ideimpl.Main.main(Main.java:72)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
            at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
            at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
    190)
            at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
            at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
            at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
            at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
            at oracle.ide.boot.Launcher.launch(Launcher.java:68)
            at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Load: C:\Program Files\sqldeveloper\sqldeveloper\bin\jdev\extensions\GeoRaptorLi
    bs\Settings.xml
    java.io.FileNotFoundException: C:\Program Files\sqldeveloper\sqldeveloper\bin\jd
    ev\extensions\GeoRaptorLibs\Settings.xml (The system cannot find the path specif
    ied)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:106)
            at java.io.FileInputStream.<init>(FileInputStream.java:66)
            at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
    .java:70)
            at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
    nection.java:161)
            at java.net.URL.openStream(URL.java:1007)
            at oracle.xml.parser.v2.XMLReader.openURL(XMLReader.java:2590)
            at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:236)
            at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:208)
            at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
            at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:172)
            at org.GeoRaptor.MainSettings.load(Unknown Source)
            at org.GeoRaptor.PreferenceAddin.initialize(Unknown Source)
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
    rImpl.java:405)
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManag
    erImpl.java:214)
            at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(Ad
    dinManagerImpl.java:128)
            at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1804)
            at oracle.ide.IdeCore.startupImpl(IdeCore.java:1481)
            at oracle.ide.Ide.startup(Ide.java:662)
            at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
            at oracle.ideimpl.Main.start(Main.java:110)
            at oracle.ideimpl.Main.main(Main.java:72)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
            at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
            at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
    190)
            at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
            at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
            at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
            at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
            at oracle.ide.boot.Launcher.launch(Launcher.java:68)
            at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Exception initializing 'org.GeoRaptor.MenuControler' in extension 'GeoRaptor': o
    racle.classloader.util.AnnotatedNoClassDefFoundError:
              Missing class: oracle.jdeveloper.cm.dt.browser.jdbc.TableNode
            Dependent class: org.GeoRaptor.MenuControler
                     Loader: main:11.0
                Code-Source: /C:/Program Files/sqldeveloper/sqldeveloper/extensions/
    org.GeoRaptor.jar
              Configuration: system property C:\Program Files\sqldeveloper\sqldevelo
    per\extensions\org.GeoRaptor.jar
    The missing class is not available from any code-source or loader in the system.
            at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClass
    Loader.java:2176) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by su
    n.misc.Launcher$AppClassLoader@9627532]
            at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLo
    ader.java:1729) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.
    misc.Launcher$AppClassLoader@9627532]
            at oracle.classloader.PolicyClassLoader.access$000 (PolicyClassLoader.ja
    va:143) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Lau
    ncher$AppClassLoader@9627532]
            at oracle.classloader.PolicyClassLoader$LoadClassAction.run (PolicyClass
    Loader.java:331) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun
    .misc.Launcher$AppClassLoader@9627532]
            at java.security.AccessController.doPrivileged (Native method) [unknown,
    by unknown]
            at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1688) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Lau
    ncher$AppClassLoader@9627532]
            at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1670) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Lau
    ncher$AppClassLoader@9627532]
            at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre b
    ootstrap, by jre.bootstrap:1.5.0_06]
            at org.GeoRaptor.MenuControler.initialize (Unknown source file) [/C:/Pro
    gram Files/sqldeveloper/sqldeveloper/extensions/org.GeoRaptor.jar (from system p
    roperty C:\Program Files\sqldeveloper\sqldeveloper\extensions\org.GeoRaptor.jar)
    , by main:11.0]
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin (AddinManag
    erImpl.java:405) [/C:/Program Files/sqldeveloper/ide/lib/ideimpl.jar (from syste
    m property PCLMain.createExtensionManagerLoader()), by main:11.0]
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins (AddinMana
    gerImpl.java:214) [/C:/Program Files/sqldeveloper/ide/lib/ideimpl.jar (from syst
    em property PCLMain.createExtensionManagerLoader()), by main:11.0]
            at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins (A
    ddinManagerImpl.java:128) [/C:/Program Files/sqldeveloper/ide/lib/ideimpl.jar (f
    rom system property PCLMain.createExtensionManagerLoader()), by main:11.0]
            at oracle.ide.IdeCore.initProductAndUserAddins (IdeCore.java:1804) [/C:/
    Program Files/sqldeveloper/ide/extensions/oracle.ide.jar (from system property P
    CLMain.createExtensionManagerLoader()), by main:11.0]
            at oracle.ide.IdeCore.startupImpl (IdeCore.java:1481) [/C:/Program Files
    /sqldeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.create
    ExtensionManagerLoader()), by main:11.0]
            at oracle.ide.Ide.startup (Ide.java:662) [/C:/Program Files/sqldeveloper
    /ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionMana
    gerLoader()), by main:11.0]
            at oracle.ideimpl.DefaultIdeStarter.startIde (DefaultIdeStarter.java:35)
    [/C:/Program Files/sqldeveloper/ide/lib/ideimpl.jar (from system property PCLMa
    in.createExtensionManagerLoader()), by main:11.0]
            at oracle.ideimpl.Main.start (Main.java:110) [/C:/Program Files/sqldevel
    oper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoa
    der()), by main:11.0]
            at oracle.ideimpl.Main.main (Main.java:72) [/C:/Program Files/sqldevelop
    er/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoade
    r()), by main:11.0]
            at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown
    , by unknown]
            at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl
    .java:39) [unknown, by unknown]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcce
    ssorImpl.java:25) [unknown, by unknown]
            at java.lang.reflect.Method.invoke (Method.java:585) [unknown, by unknow
    n]
            at oracle.ide.boot.PCLMain.callMain (PCLMain.java:66) [/C:/Program%20Fil
    es/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@962753
    2]
            at oracle.ide.boot.PCLMain.main (PCLMain.java:58) [/C:/Program%20Files/s
    qldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@9627532]
            at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown
    , by unknown]
            at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl
    .java:39) [unknown, by unknown]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcce
    ssorImpl.java:25) [unknown, by unknown]
            at java.lang.reflect.Method.invoke (Method.java:585) [unknown, by unknow
    n]
            at oracle.classloader.util.MainClass.invoke (MainClass.java:128) [/C:/Pr
    ogram%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Launcher$AppClassL
    oader@9627532]
            at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain (IdeLauncher.java
    :190) [/C:/Program%20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launch
    er$AppClassLoader@9627532]
            at oracle.ide.boot.IdeLauncher.launchImpl (IdeLauncher.java:90) [/C:/Pro
    gram%20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoa
    der@9627532]
            at oracle.ide.boot.IdeLauncher.launch (IdeLauncher.java:66) [/C:/Program
    %20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@
    9627532]
            at oracle.ide.boot.IdeLauncher.main (IdeLauncher.java:55) [/C:/Program%2
    0Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@96
    27532]
            at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown
    , by unknown]
            at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl
    .java:39) [unknown, by unknown]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcce
    ssorImpl.java:25) [unknown, by unknown]
            at java.lang.reflect.Method.invoke (Method.java:585) [unknown, by unknow
    n]
            at oracle.ide.boot.Launcher.invokeMain (Launcher.java:729) [/C:/Program%
    20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@9
    627532]
            at oracle.ide.boot.Launcher.launchImpl (Launcher.java:115) [/C:/Program%
    20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@9
    627532]
            at oracle.ide.boot.Launcher.launch (Launcher.java:68) [/C:/Program%20Fil
    es/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@962753
    2]
            at oracle.ide.boot.Launcher.main (Launcher.java:57) [/C:/Program%20Files
    /sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@9627532]I also use a photo Web Site, which is unrelated to my Oracle work but for it's photo uploader also uses Java, and that is running slow, which is why I think the problem is Java based. I would say the problem occurred within the last couple of months but has got much worse in recently weeks. SQL Developer is also slow at times, mainly when I've used another application and it is just in the background.
    Kind regards
    Tim

    Hi there
    Thank you for taking the time to reply. I use GeoRaptor and for what I use it for, I have not come across any errors whilst using it.
    I had no reference to the JDK in my SQL Developer configuration file. I did a search on my system and could not located a copy of JDK, or one in my programs installed control panel, so I installed it again. However I then found a copy in the sqldeveloper folder. However that wasn't referenced in my control panel.
    However having added a reference to the JDK in my SQL Developer configuration file, pointing to C:\Program Files\Java\jdk1.6.0_16, it seems to be taken even longer to load.
    SQL Developer is using 98,608k once loaded and my system has 1.25GB of memory. Whilst loading I was using 1.38GB. For about a year I've had slightly less memory than I sometimes use. The reason for not having 2GB is due to a previous memory failure. However this did not cause a problem for SQL developer until more recently.
    Would it be worth reinstalling GeoRapter?
    Kind regards
    Tim
    Exception initializing 'oracle.ideimpl.searchbar.SearchBarAddin' in extension 'S
    earch Bar': java.lang.NullPointerException
            at oracle.ideimpl.searchbar.ColorProvider.isFusionLAF(ColorProvider.java
    :29)
            at oracle.ideimpl.searchbar.ColorProvider.updateUIManager(ColorProvider.
    java:35)
            at oracle.ideimpl.searchbar.SearchBarAddin.initialize(SearchBarAddin.jav
    a:37)
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
    rImpl.java:405)
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManag
    erImpl.java:214)
            at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(Ad
    dinManagerImpl.java:128)
            at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1804)
            at oracle.ide.IdeCore.startupImpl(IdeCore.java:1481)
            at oracle.ide.Ide.startup(Ide.java:662)
            at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
            at oracle.ideimpl.Main.start(Main.java:110)
            at oracle.ideimpl.Main.main(Main.java:72)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
            at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
            at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
    190)
            at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
            at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
            at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
            at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
            at oracle.ide.boot.Launcher.launch(Launcher.java:68)
            at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Load: C:\Program Files\sqldeveloper\sqldeveloper\bin\jdev\extensions\GeoRaptorLi
    bs\Settings.xml
    java.io.FileNotFoundException: C:\Program Files\sqldeveloper\sqldeveloper\bin\jd
    ev\extensions\GeoRaptorLibs\Settings.xml (The system cannot find the path specif
    ied)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:106)
            at java.io.FileInputStream.<init>(FileInputStream.java:66)
            at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
    .java:70)
            at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
    nection.java:161)
            at java.net.URL.openStream(URL.java:1010)
            at oracle.xml.parser.v2.XMLReader.openURL(XMLReader.java:2590)
            at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:236)
            at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:208)
            at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
            at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208)
            at org.GeoRaptor.MainSettings.load(Unknown Source)
            at org.GeoRaptor.PreferenceAddin.initialize(Unknown Source)
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
    rImpl.java:405)
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManag
    erImpl.java:214)
            at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(Ad
    dinManagerImpl.java:128)
            at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1804)
            at oracle.ide.IdeCore.startupImpl(IdeCore.java:1481)
            at oracle.ide.Ide.startup(Ide.java:662)
            at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
            at oracle.ideimpl.Main.start(Main.java:110)
            at oracle.ideimpl.Main.main(Main.java:72)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
            at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
            at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
    190)
            at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
            at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
            at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
            at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
            at oracle.ide.boot.Launcher.launch(Launcher.java:68)
            at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Exception initializing 'org.GeoRaptor.MenuControler' in extension 'GeoRaptor': o
    racle.classloader.util.AnnotatedNoClassDefFoundError:
              Missing class: oracle.jdeveloper.cm.dt.browser.jdbc.TableNode
            Dependent class: org.GeoRaptor.MenuControler
                     Loader: main:11.0
                Code-Source: /C:/Program Files/sqldeveloper/sqldeveloper/extensions/
    org.GeoRaptor.jar
              Configuration: system property C:\Program Files\sqldeveloper\sqldevelo
    per\extensions\org.GeoRaptor.jar
    The missing class is not available from any code-source or loader in the system.
            at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClass
    Loader.java:2176) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by su
    n.misc.Launcher$AppClassLoader@4687246]
            at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLo
    ader.java:1729) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.
    misc.Launcher$AppClassLoader@4687246]
            at oracle.classloader.PolicyClassLoader.access$000 (PolicyClassLoader.ja
    va:143) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Lau
    ncher$AppClassLoader@4687246]
            at oracle.classloader.PolicyClassLoader$LoadClassAction.run (PolicyClass
    Loader.java:331) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun
    .misc.Launcher$AppClassLoader@4687246]
            at java.security.AccessController.doPrivileged (Native method) [unknown,
    by unknown]
            at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1688) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Lau
    ncher$AppClassLoader@4687246]
            at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1670) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Lau
    ncher$AppClassLoader@4687246]
            at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:320) [jre b
    ootstrap, by jre.bootstrap:1.6.0_16]
            at org.GeoRaptor.MenuControler.initialize (Unknown source file) [/C:/Pro
    gram Files/sqldeveloper/sqldeveloper/extensions/org.GeoRaptor.jar (from system p
    roperty C:\Program Files\sqldeveloper\sqldeveloper\extensions\org.GeoRaptor.jar)
    , by main:11.0]
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin (AddinManag
    erImpl.java:405) [/C:/Program Files/sqldeveloper/ide/lib/ideimpl.jar (from syste
    m property PCLMain.createExtensionManagerLoader()), by main:11.0]
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins (AddinMana
    gerImpl.java:214) [/C:/Program Files/sqldeveloper/ide/lib/ideimpl.jar (from syst
    em property PCLMain.createExtensionManagerLoader()), by main:11.0]
            at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins (A
    ddinManagerImpl.java:128) [/C:/Program Files/sqldeveloper/ide/lib/ideimpl.jar (f
    rom system property PCLMain.createExtensionManagerLoader()), by main:11.0]
            at oracle.ide.IdeCore.initProductAndUserAddins (IdeCore.java:1804) [/C:/
    Program Files/sqldeveloper/ide/extensions/oracle.ide.jar (from system property P
    CLMain.createExtensionManagerLoader()), by main:11.0]
            at oracle.ide.IdeCore.startupImpl (IdeCore.java:1481) [/C:/Program Files
    /sqldeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.create
    ExtensionManagerLoader()), by main:11.0]
            at oracle.ide.Ide.startup (Ide.java:662) [/C:/Program Files/sqldeveloper
    /ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionMana
    gerLoader()), by main:11.0]
            at oracle.ideimpl.DefaultIdeStarter.startIde (DefaultIdeStarter.java:35)
    [/C:/Program Files/sqldeveloper/ide/lib/ideimpl.jar (from system property PCLMa
    in.createExtensionManagerLoader()), by main:11.0]
            at oracle.ideimpl.Main.start (Main.java:110) [/C:/Program Files/sqldevel
    oper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoa
    der()), by main:11.0]
            at oracle.ideimpl.Main.main (Main.java:72) [/C:/Program Files/sqldevelop
    er/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoade
    r()), by main:11.0]
            at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown
    , by unknown]
            at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl
    .java:39) [unknown, by unknown]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcce
    ssorImpl.java:25) [unknown, by unknown]
            at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknow
    n]
            at oracle.ide.boot.PCLMain.callMain (PCLMain.java:66) [/C:/Program%20Fil
    es/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@468724
    6]
            at oracle.ide.boot.PCLMain.main (PCLMain.java:58) [/C:/Program%20Files/s
    qldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@4687246]
            at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown
    , by unknown]
            at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl
    .java:39) [unknown, by unknown]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcce
    ssorImpl.java:25) [unknown, by unknown]
            at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknow
    n]
            at oracle.classloader.util.MainClass.invoke (MainClass.java:128) [/C:/Pr
    ogram%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Launcher$AppClassL
    oader@4687246]
            at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain (IdeLauncher.java
    :190) [/C:/Program%20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launch
    er$AppClassLoader@4687246]
            at oracle.ide.boot.IdeLauncher.launchImpl (IdeLauncher.java:90) [/C:/Pro
    gram%20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoa
    der@4687246]
            at oracle.ide.boot.IdeLauncher.launch (IdeLauncher.java:66) [/C:/Program
    %20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@
    4687246]
            at oracle.ide.boot.IdeLauncher.main (IdeLauncher.java:55) [/C:/Program%2
    0Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@46
    87246]
            at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown
    , by unknown]
            at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl
    .java:39) [unknown, by unknown]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcce
    ssorImpl.java:25) [unknown, by unknown]
            at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknow
    n]
            at oracle.ide.boot.Launcher.invokeMain (Launcher.java:729) [/C:/Program%
    20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@4
    687246]
            at oracle.ide.boot.Launcher.launchImpl (Launcher.java:115) [/C:/Program%
    20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@4
    687246]
            at oracle.ide.boot.Launcher.launch (Launcher.java:68) [/C:/Program%20Fil
    es/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@468724
    6]
            at oracle.ide.boot.Launcher.main (Launcher.java:57) [/C:/Program%20Files
    /sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@4687246]

  • SQL query running slow

    Hi
    i have a query when i run it for the first time it returs result in 30 mins after few mins (say 2 m ins) if i run the same query it fetches result in 3 mins) can any one hel me to tune the issu
    when i saw AWR report i showed too many disk I/o and sql messege to client wait events
    DB: Oracle 10g
    O/S: Unix
    DB cahce size :1GB
    help Pleae

    PLAN_TABLE_OUTPUT
    Plan hash value: 3961783764
    | Id  | Operation                            | Name                       | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                     |                            |     2 |   390 |   361   (2)| 00:00:05 |
    |   1 |  SORT GROUP BY                       |                            |     2 |   390 |   361   (2)| 00:00:05 |
    |   2 |   VIEW                               |                            |     2 |   390 |   360   (1)| 00:00:05 |
    |   3 |    UNION-ALL                         |                            |       |       |            |          |
    |   4 |     NESTED LOOPS                     |                            |     1 |   297 |   344   (1)| 00:00:05 |
    |*  5 |      HASH JOIN                       |                            |     1 |   231 |   343   (1)| 00:00:05 |
    |   6 |       TABLE ACCESS FULL              | TRAN_VH_INV_SS_PART        |  3634 | 72680 |   213   (0)| 00:00:03 |
    |*  7 |       HASH JOIN                      |                            |  1799 |   370K|   129   (2)| 00:00:02 |
    |   8 |        TABLE ACCESS FULL             | MAST_MF_NAME               |     4 |    84 |     5   (0)| 00:00:01 |
    |*  9 |        HASH JOIN                     |                            |  1799 |   333K|   123   (1)| 00:00:02 |
    |* 10 |         HASH JOIN                    |                            |  1552 |   209K|   120   (1)| 00:00:02 |
    |* 11 |          TABLE ACCESS FULL           | HIST_VH_INV_SS_PART        |  1188 | 62964 |   115   (0)| 00:00:02 |
    |  12 |          NESTED LOOPS                |                            | 24566 |  2039K|     4   (0)| 00:00:01 |
    |  13 |           TABLE ACCESS BY INDEX ROWID| MAST_YM_YARD               |     1 |    29 |     1   (0)| 00:00:01 |
    |* 14 |            INDEX UNIQUE SCAN         | MAST_YM_YARD_01            |     1 |       |     0   (0)| 00:00:01 |
    |  15 |           TABLE ACCESS BY INDEX ROWID| TRAN_VH_INV_SUB_SERVICE    | 24566 |  1343K|     3   (0)| 00:00:01 |
    |* 16 |            INDEX RANGE SCAN          | TRAN_VH_INV_SUB_SERVICE_02 |     1 |       |     2   (0)| 00:00:01 |
    |  17 |         TABLE ACCESS BY INDEX ROWID  | TRAN_VH_INV                |  3863 |   196K|     3   (0)| 00:00:01 |
    |* 18 |          INDEX RANGE SCAN            | TRAN_VH_INV_02             |     1 |       |     2   (0)| 00:00:01 |
    |* 19 |      TABLE ACCESS BY INDEX ROWID     | TRAN_VH_INV_WORKSHEET      |     1 |    66 |     1   (0)| 00:00:01 |
    |* 20 |       INDEX UNIQUE SCAN              | TRAN_VH_INV_WORKSHEET_01   |     1 |       |     0   (0)| 00:00:01 |
    |  21 |     NESTED LOOPS                     |                            |     1 |   297 |    16   (0)| 00:00:01 |
    |  22 |      NESTED LOOPS                    |                            |     1 |   277 |    14   (0)| 00:00:01 |
    |  23 |       NESTED LOOPS                   |                            |     1 |   224 |    10   (0)| 00:00:01 |
    |  24 |        NESTED LOOPS                  |                            |     1 |   203 |     9   (0)| 00:00:01 |
    |  25 |         NESTED LOOPS                 |                            |     1 |   151 |     7   (0)| 00:00:01 |
    |  26 |          NESTED LOOPS                |                            |     1 |    85 |     5   (0)| 00:00:01 |
    |  27 |           TABLE ACCESS BY INDEX ROWID| MAST_YM_YARD               |     1 |    29 |     1   (0)| 00:00:01 |
    |* 28 |            INDEX UNIQUE SCAN         | MAST_YM_YARD_01            |     1 |       |     0   (0)| 00:00:01 |
    |  29 |           TABLE ACCESS BY INDEX ROWID| TRAN_VH_SHP_SUB_SERVICE    |     1 |    56 |     4   (0)| 00:00:01 |
    |* 30 |            INDEX RANGE SCAN          | TRAN_VH_SHP_SUB_SERVICE_02 |     1 |       |     3   (0)| 00:00:01 |
    |* 31 |          TABLE ACCESS BY INDEX ROWID | TRAN_VH_SHP_WORKSHEET      |     1 |    66 |     2   (0)| 00:00:01 |
    |* 32 |           INDEX UNIQUE SCAN          | TRAN_VH_SHP_WORKSHEET_01   |     1 |       |     1   (0)| 00:00:01 |
    |* 33 |         TABLE ACCESS BY INDEX ROWID  | TRAN_VH_SHP                |     1 |    52 |     2   (0)| 00:00:01 |
    |* 34 |          INDEX UNIQUE SCAN           | TRAN_VH_SHP_01             |     1 |       |     1   (0)| 00:00:01 |
    |  35 |        TABLE ACCESS BY INDEX ROWID   | MAST_MF_NAME               |     1 |    21 |     1   (0)| 00:00:01 |
    |* 36 |         INDEX UNIQUE SCAN            | MAST_MF_NAME_01            |     1 |       |     0   (0)| 00:00:01 |
    |* 37 |       TABLE ACCESS BY INDEX ROWID    | HIST_VH_SHP_SS_PART        |     1 |    53 |     4   (0)| 00:00:01 |
    |* 38 |        INDEX RANGE SCAN              | HIST_VH_SHP_SS_PART_01     |     5 |       |     2   (0)| 00:00:01 |
    |* 39 |      TABLE ACCESS BY INDEX ROWID     | TRAN_VH_SHP_SS_PART        |     1 |    20 |     2   (0)| 00:00:01 |
    |* 40 |       INDEX UNIQUE SCAN              | TRAN_VH_SHP_SS_PART_01     |     1 |       |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       5 - access("C"."SUB_SERVICE_SEQ_NUM"="H"."SUB_SERVICE_SEQ_NUM" AND
                  "C"."PDI_PART_ORDER_NUM"="H"."PDI_PART_ORDER_NUM" AND
                  "C"."SUB_SERVICE_PART_SEQ_NUM"="H"."SUB_SERVICE_PART_SEQ_NUM")
       7 - access("D"."MFG_CODE"="E"."MFG_CODE")
       9 - access("D"."YARD_CODE"="A"."YARD_CODE" AND "D"."VIN_NUM"="B"."VIN_NUM" AND
                  "B"."TERMINAL_SEQ_NO"="D"."TERMINAL_SEQ_NO" AND "B"."YARD_CODE"="D"."YARD_CODE")
      10 - access("B"."SUB_SERVICE_SEQ_NUM"="C"."SUB_SERVICE_SEQ_NUM")
      11 - filter("C"."PART_FRANCHISE">=U' ' AND TRUNC(INTERNAL_FUNCTION("C"."ACTUAL_ISSUE_DATE_TIME"))<>TO_DAT
                  E(' 0001-01-01 00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND
                  TRUNC(INTERNAL_FUNCTION("C"."ISSUE_DATE_TIME"))<=TO_DATE(' 2010-06-30 00:00:00', 'syyyy-mm-dd hh24:mi:ss')
                  AND "C"."PART_FRANCHISE"<=U'~')
      14 - access("A"."TERMINAL_SEQ_NO"=1 AND "A"."YARD_CODE"=U'1')
      16 - access("B"."TERMINAL_SEQ_NO"=1 AND "B"."YARD_CODE"=U'1')
      18 - access("D"."TERMINAL_SEQ_NO"=1 AND "D"."YARD_CODE"=U'1')
      19 - filter("G"."YARD_CODE"=U'1' AND TRUNC(INTERNAL_FUNCTION("G"."START_DATE_TIME"))<>TO_DATE('
                  0001-01-01 00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND "G"."TERMINAL_SEQ_NO"=1 AND
                  (TRUNC(INTERNAL_FUNCTION("G"."START_DATE_TIME"))>=TO_DATE(' 2010-06-01 00:00:00', 'syyyy-mm-dd
                  hh24:mi:ss') AND TRUNC(INTERNAL_FUNCTION("G"."START_DATE_TIME"))<=TO_DATE(' 2010-06-30 00:00:00',
                  'syyyy-mm-dd hh24:mi:ss') OR TRUNC(INTERNAL_FUNCTION("G"."START_DATE_TIME"))<TO_DATE(' 2010-06-01
                  00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND (TRUNC(INTERNAL_FUNCTION("G"."END_DATE_TIME"))>=TO_DATE('
                  2010-06-30 00:00:00', 'syyyy-mm-dd hh24:mi:ss') OR TRUNC(INTERNAL_FUNCTION("G"."END_DATE_TIME"))>=TO_DATE(
                   2010-06-01 00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND TRUNC(INTERNAL_FUNCTION("G"."END_DATE_TIME"))<=TO_DAT
    E
                  (' 2010-06-30 00:00:00', 'syyyy-mm-dd hh24:mi:ss') OR
                  TRUNC(INTERNAL_FUNCTION("G"."END_DATE_TIME"))=TO_DATE(' 0001-01-01 00:00:00', 'syyyy-mm-dd hh24:mi:ss'))
                  OR TRUNC(INTERNAL_FUNCTION("C"."ISSUE_DATE_TIME"))>=TO_DATE(' 2010-06-01 00:00:00', 'syyyy-mm-dd
                  hh24:mi:ss') AND TRUNC(INTERNAL_FUNCTION("C"."ISSUE_DATE_TIME"))<=TO_DATE(' 2010-06-30 00:00:00',
                  'syyyy-mm-dd hh24:mi:ss')) AND "G"."VIN_NUM"="D"."VIN_NUM")
      20 - access("G"."WORKSHEET_NUM"="B"."WORKSHEET_NUM")
      28 - access("A"."TERMINAL_SEQ_NO"=1 AND "A"."YARD_CODE"=U'1')
      30 - access("B"."TERMINAL_SEQ_NO"=1 AND "B"."YARD_CODE"=U'1')
      31 - filter("G"."YARD_CODE"=U'1' AND TRUNC(INTERNAL_FUNCTION("G"."START_DATE_TIME"))<>TO_DATE('
                  0001-01-01 00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND "G"."TERMINAL_SEQ_NO"=1)
      32 - access("G"."WORKSHEET_NUM"="B"."WORKSHEET_NUM")
      33 - filter("D"."YARD_CODE"=U'1' AND "D"."TERMINAL_SEQ_NO"=1)
      34 - access("G"."VIN_NUM"="D"."VIN_NUM")
           filter("D"."VIN_NUM"="B"."VIN_NUM")
      36 - access("D"."MFG_CODE"="E"."MFG_CODE")
      37 - filter("C"."PART_FRANCHISE">=U' ' AND TRUNC(INTERNAL_FUNCTION("C"."ACTUAL_ISSUE_DATE_TIME"))<>TO_DAT
                  E(' 0001-01-01 00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND
                  TRUNC(INTERNAL_FUNCTION("C"."ISSUE_DATE_TIME"))<=TO_DATE(' 2010-06-30 00:00:00', 'syyyy-mm-dd hh24:mi:ss')
                  AND "C"."PART_FRANCHISE"<=U'~' AND (TRUNC(INTERNAL_FUNCTION("G"."START_DATE_TIME"))>=TO_DATE(' 2010-06-01
                  00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND TRUNC(INTERNAL_FUNCTION("G"."START_DATE_TIME"))<=TO_DATE('
                  2010-06-30 00:00:00', 'syyyy-mm-dd hh24:mi:ss') OR TRUNC(INTERNAL_FUNCTION("G"."START_DATE_TIME"))<TO_DATE
                  ' 2010-06-01 00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND
                  (TRUNC(INTERNAL_FUNCTION("G"."END_DATE_TIME"))>=TO_DATE(' 2010-06-30 00:00:00', 'syyyy-mm-dd hh24:mi:ss')
                  OR TRUNC(INTERNAL_FUNCTION("G"."END_DATE_TIME"))>=TO_DATE(' 2010-06-01 00:00:00', 'syyyy-mm-dd
                  hh24:mi:ss') AND TRUNC(INTERNAL_FUNCTION("G"."END_DATE_TIME"))<=TO_DATE(' 2010-06-30 00:00:00',
                  'syyyy-mm-dd hh24:mi:ss') OR TRUNC(INTERNAL_FUNCTION("G"."END_DATE_TIME"))=TO_DATE(' 0001-01-01 00:00:00',
                  'syyyy-mm-dd hh24:mi:ss')) OR TRUNC(INTERNAL_FUNCTION("C"."ISSUE_DATE_TIME"))>=TO_DATE(' 2010-06-01
                  00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND TRUNC(INTERNAL_FUNCTION("C"."ISSUE_DATE_TIME"))<=TO_DATE('
                  2010-06-30 00:00:00', 'syyyy-mm-dd hh24:mi:ss')))
      38 - access("B"."SUB_SERVICE_SEQ_NUM"="C"."SUB_SERVICE_SEQ_NUM")
      39 - filter("C"."PDI_PART_ORDER_NUM"="H"."PDI_PART_ORDER_NUM")
      40 - access("C"."SUB_SERVICE_SEQ_NUM"="H"."SUB_SERVICE_SEQ_NUM" AND
    PLAN_TABLE_OUTPUT
                  "C"."SUB_SERVICE_PART_SEQ_NUM"="H"."SUB_SERVICE_PART_SEQ_NUM")
    Note
       - SQL profile "SYS_SQLPROF_014aab7522964001" used for this statementEdited by: user629451 on Sep 22, 2010 12:23 AM
    Edited by: user629451 on Sep 22, 2010 12:25 AM

  • Sql query runs slower from the application

    Hi,
    We are using oracle 9ias on AIX box.The jdk version used: 1.3.1 . From the j2ee application when we perfom a search, the sql query takes for ever to return the results. I know that we are waiting on the database because I can see the query working when I look at TOAD.But if i run the same query on the database server itself, it returns the results in less than a sec. Could you guys throw some light on how we could troubleshoot this problem. Thanks.

    When the results have to travel over the network, it is slow, and when they don't, it is fast.
    That is what you are saying, correct?
    So your approach should be to not bring so much data over the network. Don't select columns you don't need, and don't select rows you don't need.

  • PL/SQL report running slow even with Shared_Servers set to 10

    I am running into a problem with a PL/SQL query that displays in the Report region. I have changed my Shared_Servers parameter and that has not helped. There are less than 10 users on the system. I ran debug and the app is running a long time (10 seconds) in "rows loop: 20 row(s)" where 20 is the number of rows displayed per page. If I run the query in regular SQL, then the results are displayed almost instantaneously. Any ideas?

    I figured out my problem. My statistics were out-of-date on one of my tables. I re-analyzed the table and that solved the problem. Now the results display within milliseconds. What a huge difference that made.

  • Help on SQL Query Running slow -

    Explain plan -
    Explain plan for select is here:
    Execution Plan
    | Id | Operation | Name | Rows |
    Bytes | Cost (%CPU)|
    | 0 | SELECT STATEMENT | | 4589K|
    5497M| 352K (1)|
    | 1 | NESTED LOOPS OUTER | | 4589K|
    5497M| 352K (1)|
    | 2 | NESTED LOOPS OUTER | | 4589K|
    5409M| 214K (1)|
    | 3 | NESTED LOOPS | | 4589K|
    5322M| 168K (1)|
    | 4 | TABLE ACCESS FULL | SERVICE_REQUEST | 4634K|
    1423M| 75254 (2)|
    | 5 | TABLE ACCESS BY INDEX ROWID| S_SRV_REQ | 1 |
    894 | 1 (0)|
    |* 6 | INDEX UNIQUE SCAN | S_SRV_REQ_P1 | 1 |
    | 1 (0)|
    | 7 | TABLE ACCESS BY INDEX ROWID | S_SRV_REGN | 1 |
    20 | 1 (0)|
    |* 8 | INDEX UNIQUE SCAN | S_SRV_REGN_P1 | 1 |
    | 1 (0)|
    | 9 | TABLE ACCESS BY INDEX ROWID | S_SRV_REQ_X | 1 |
    20 | 1 (0)|
    |* 10 | INDEX RANGE SCAN | S_SRV_REQ_X_U1 | 1 |
    | 1 (0)|
    Predicate Information (identified by operation id):
    6 - access("S"."ROW_ID"="SR"."SERVICE_REQUEST_ROW_ID")
    8 - access("S"."SRV_REGN_ID"="R"."ROW_ID"(+))
    10 - access("SRX"."PAR_ROW_ID"(+)="S"."ROW_ID")
    SQL> set autotrace off
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for Solaris: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    SQL> show parameter opt
    NAME TYPE VALUE
    filesystemio_options string asynch
    object_cache_optimal_size integer 102400
    optimizer_dynamic_sampling integer 1
    optimizer_features_enable string 10.2.0.4
    optimizer_index_caching integer 0
    optimizer_index_cost_adj integer 1
    optimizer_mode string ALL_ROWS
    optimizer_secure_view_merging boolean TRUE
    plsql_optimize_level integer 2

    Thanks for the information. As the query is taking huge time to execute I am not able to get the trace of the query. Please suggest for any performance improvements based on the available explain plan details.
    Query -
         SELECT     /*+ FIRST_ROWS */
              s.row_id                    service_request_row_id,
              s.sr_num                    service_req_id,
              s.prdint_id                    product_id,
              s.x_comp_prd_id                    component_id,
              s.cst_ou_id                    account_id,
              s.cst_con_id                    contact_id,
              s.par_sr_id                    parent_service_request_row_id,
              s.agree_id                    entitlement_id,
              s.asset_id                    asset_id,
              s.x_locality                    locality,
              s.resolution_cd                    problem_classification,
              s.x_res_text                    resolution,
              s.post_mortem_rvw_by               front_line_owner_id,
              s.owner_emp_id                    resolution_owner_id,
              s.bu_id                         resolution_group_id,
              s.owner_ou_id                    front_line_workgroup_id,
              s.created_by                    created_by_id,
              sr.created_by_workgroup               created_by_workgroup,
              s.target_con_id                    secondary_contact_id,
              s.created                    time_opened,
              s.x_srvc_restored               time_service_restored,
              s.act_close_dt                    time_closed,
              s.last_upd                    last_updated,
              s.x_last_eservice_upd               last_eservice_update,
              s.x_sr_pref_comms_chnl               preferred_comms_channel,
              s.sr_area                    TYPE,
              s.sr_sub_area                    sub_type,
              s.sr_stat_id                    status,
              s.sr_sub_stat_id               sub_status,
              s.sr_title                    abstract,
              s.desc_text                    description,
              s.exp_close_dt                    response_time,
              s.x_likely_resolution_time          likely_resolution_time,
              s.x_proactive                    proactive_type,
              s.x_market_sector               market_sector,
              s.x_light_sr                    light_sr,
              s.x_esrvc_flg                    eservice,
              s.sr_sev_cd                    severity,
              s.x_urgency_copy               priority,
              s.x_impact                    impact,
              s.x_sr_category                    CATEGORY,
              s.x_generic_identifier               generic_id,
              sr.interface_name               interface_name,
              s.x_referral_target               referral_target,
              s.rtng_dlr_id                    referral_account_id,
              s.x_data_country               data_country,
              s.x_data_exchange               data_exchange,
              s.x_dc_loc                    data_centre_location,
              s.x_data_type                    data_type,
              s.x_data_source                    data_source,
              s.x_db_queried                    database_queried,
              s.x_data_item                    data_item,
              s.x_sr_class_type               classification_type,
              s.x_sr_class_sub_type               classification_sub_type,
              s.x_resolver_grp               ds_resolver_group,
              s.x_sys_subsys                    system_sub_system,
              s.x_assembly                    assembly_sub_assembly,
              s.x_prob_start_time               problem_start_time,
              s.x_prob_stop_time               problem_stop_time,
              s.x_del_infrastructure               delivery_infrastructure,
              s.x_network_srvc               network_service,
              s.x_telco_name                    telco_name,
              s.x_circuit_type               circuit_type,
              s.x_extra_telco_info               additional_circuit_telco_info,
              s.x_security_type               security_type,
              s.resolution_cd                    resolution_code,
              s.x_secondary_cntct               secondary_contact,
              s.sr_os                         operating_system,
              s.ou_addr_id                    service_address_id,
              s.x_external_srvc               external_service,
              s.x_system                    ops_ref_system,
              s.x_sub_system                    ops_ref_sub_system,
              s.x_symptom                    symptom,
              s.x_asset_subcomponent               asset_subcomponent,
              s.x_solution_flg               save_solution,
              s.x_trgt_rstrd_time               target_restoration_time,
              s.x_second_level               second_level,
              r.NAME                         service_region,
              s.x_spec_instrs                    special_instructions,
              s.x_ext_ticket_refno               external_ticket_ref_no,
              sr.original_priority               original_priority,
              sr.original_severity               original_severity,
              sr.originating_comm_type          originating_comm_type,
              sr.fline_owner_timezone_offset          fline_owner_timezone_offset,
              sr.res_owner_timezone_offset          res_owner_timezone_offset,
              sr.fixed_by_workgroup               fixed_by_workgroup          ,
              sr.fixed_by_owner_id               fixed_by_owner_id,
              sr.resolved_by_workgroup          resolved_by_workgroup,
              sr.channel                    channel,
              s.x_orig_commit                    time_of_1st_entitled_response,
              sr.time_of_1st_assignment          time_of_1st_assignment,
              sr.time_of_1st_call_back          time_of_1st_call_back,
              sr.time_of_resolution               time_of_resolution,
              sr.time_of_iface_assignment          time_of_iface_assignment,
              sr.time_to_1st_entitled_resp_24x7     time_to_1st_entitled_resp_24x7     ,
              sr.time_to_1st_assignment_24x7          time_to_1st_assignment_24x7          ,
              sr.time_to_1st_assign_24x7_excl          time_to_1st_assign_24x7_excl,
              sr.TIME_TO_1ST_INFOACT_CONTACT          TIME_TO_1ST_INFOACT_CONTACT,
              sr.TIME_TO_1ST_ENHAACT_CONTACT          TIME_TO_1ST_ENHAACT_CONTACT,
              sr.time_to_1st_call_back_24x7          time_to_1st_call_back_24x7          ,
              sr.time_to_1st_call_bck_24x7_excl     time_to_1st_call_bck_24x7_excl,
              sr.time_to_service_rest_24x7          time_to_service_rest_24x7          ,
              sr.time_to_service_rest_24x7_excl     time_to_service_rest_24x7_excl          ,
              sr.time_to_serv_rest_24x7_excl1          time_to_serv_rest_24x7_excl1,
              sr.time_to_serv_rest_24x7_excl2          time_to_serv_rest_24x7_excl2,
              sr.time_to_resolution_24x7          time_to_resolution_24x7          ,
              sr.time_to_closure_24x7               time_to_closure_24x7               ,
              sr.time_to_closure_24x7_excl          time_to_closure_24x7_excl,
              sr.time_to_iface_assignment_24x7     time_to_iface_assignment_24x7,
              sr.time_to_1st_entitled_resp_24x5     time_to_1st_entitled_resp_24x5     ,
              sr.time_to_1st_assignment_24x5          time_to_1st_assignment_24x5          ,
              sr.time_to_1st_call_back_24x5          time_to_1st_call_back_24x5          ,
              sr.time_to_service_rest_24x5          time_to_service_rest_24x5          ,
              sr.time_to_resolution_24x5          time_to_resolution_24x5          ,
              sr.time_to_closure_24x5               time_to_closure_24x5               ,
              sr.rsh_duration_type               rsh_duration_type               ,
              sr.time_to_1st_entitled_resp_rsh     time_to_1st_entitled_resp_rsh          ,
              sr.time_to_1st_assignment_rsh          time_to_1st_assignment_rsh          ,
              sr.time_to_1st_call_back_rsh          time_to_1st_call_back_rsh          ,
              sr.time_to_service_rest_rsh          time_to_service_rest_rsh          ,
              sr.time_to_resolution_rsh          time_to_resolution_rsh          ,
              sr.time_to_closure_rsh               time_to_closure_rsh               ,
              sr.resolved_within_same_day          resolved_within_same_day,
              sr.resolved_in_one_go               resolved_in_one_go,
              sr.resolved_within_crmc               resolved_within_crmc,
              sr.resolved_with_site_visit          resolved_with_site_visit,
              sr.involved_field_services          involved_field_services,
              sr.involved_data_centre               involved_data_centre,
              sr.involved_rdh                    involved_rdh,
              sr.involved_account_team          involved_account_team,
              sr.latest_parked_status               latest_parked_status,
              sr.num_front_line_owner_changes          num_front_line_owner_changes,
              sr.fs_time_of_1st_fs_activity,
              sr.fs_time_of_1st_dispatch,
              sr.fs_time_of_1st_fs_response,
              sr.fs_time_of_flo_reassign,
              sr.fs_time_to_1st_fs_activity_rsh,
              sr.fs_time_to_1st_dispatch_rsh,
              sr.fs_time_to_1st_fs_response_rsh,
              sr.fs_time_to_flo_reassign_rsh,
              sr.number_activities,
              sr.number_open_activities,
              s.x_prd_version                    product_version,
              s.x_prd_srvc_info               product_service_details,
              s.x_urgency                    notify_level,
              srx.attrib_47                concat_sr_attrib
              FROM     crmrep_rep.crm_s_srv_regn r, crmrep_rep.crm_s_srv_req s, crmrep_rep.SERVICE_REQUEST sr ,crmrep_rep.CRM_S_SRV_REQ_X srx
         WHERE     
         s.row_id = sr.service_request_row_id
         and s.srv_regn_id = r.row_id(+)
         AND srx.par_row_id(+) = s.row_id;
    Explain Plan
    The script for view creation is attached.
    Explain plan for select is here:
    Execution Plan
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
    | 0 | SELECT STATEMENT | | 4589K| 5497M| 352K (1)|
    | 1 | NESTED LOOPS OUTER | | 4589K| 5497M| 352K (1)|
    | 2 | NESTED LOOPS OUTER | | 4589K| 5409M| 214K (1)|
    | 3 | NESTED LOOPS | | 4589K| 5322M| 168K (1)|
    | 4 | TABLE ACCESS FULL | SERVICE_REQUEST | 4634K| 1423M| 75254 (2)|
    | 5 | TABLE ACCESS BY INDEX ROWID| S_SRV_REQ | 1 | 894 | 1 (0)|
    |* 6 | INDEX UNIQUE SCAN | S_SRV_REQ_P1 | 1 | | 1 (0)|
    | 7 | TABLE ACCESS BY INDEX ROWID | S_SRV_REGN | 1 | 20 | 1 (0)|
    |* 8 | INDEX UNIQUE SCAN | S_SRV_REGN_P1 | 1 | | 1 (0)|
    | 9 | TABLE ACCESS BY INDEX ROWID | S_SRV_REQ_X | 1 | 20 | 1 (0)|
    |* 10 | INDEX RANGE SCAN | S_SRV_REQ_X_U1 | 1 | | 1 (0)|
    Predicate Information (identified by operation id):
    6 - access("S"."ROW_ID"="SR"."SERVICE_REQUEST_ROW_ID")
    8 - access("S"."SRV_REGN_ID"="R"."ROW_ID"(+))
    10 - access("SRX"."PAR_ROW_ID"(+)="S"."ROW_ID")
    Note
    - 'PLAN_TABLE' is old version
    Version Information
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for Solaris: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    Optimizer parameters
    filesystemio_options string asynch
    object_cache_optimal_size integer 102400
    optimizer_dynamic_sampling integer 1
    optimizer_features_enable string 10.2.0.4
    optimizer_index_caching integer 0
    optimizer_index_cost_adj integer 1
    optimizer_mode string ALL_ROWS
    optimizer_secure_view_merging boolean TRUE
    plsql_optimize_level integer 2
    Cursor values
    NAME TYPE VALUE
    cursor_sharing string EXACT
    cursor_space_for_time boolean FALSE
    open_cursors integer 1500
    session_cached_cursors integer 200
    Block Details
    db_block_buffers integer 0
    db_block_checking string FALSE
    db_block_checksum string TRUE
    db_block_size integer 8192
    db_file_multiblock_read_count integer 8
    Thanks in advance.

  • SQL: System locks up and runs slow after performing simple DML record insert

    SQL Version:  2008 R2
    I am having a serious problem.  I ran the following code to perform a simple table record insert which ran successfully.  However, after running this code I could no longer access the related table.  I couldn't run a query against it. 
    I tried to delete all the records and that wouldn't work either.  When attempting to run any DML statements (i.e. Select * From vPCCertificateTypes) against this table SQL gets locked up and never returns anything and no error messages.  I have
    to manually stop the query.  Now the entire SQL system is running slow.
    Any help would be greatly appreciated.  The code I ran to originally insert the records is below.
    Regards,
    Bob Sutor
    CODE: 
    Begin TRAN
     INSERT INTO vPCCertificateTypes (VendorGroup, CertificateType, Description, Active, Category)
     SELECT HQCo, 'MBE', 'Minority-owned Business Enterprise', 'Y', 'Affirmative Action' 
     FROM HQCO
     Where HQCo IS NOT NULL
      AND HQCo <> 100
      AND HQCo <> 99
     IF @@ROWCOUNT <> 44 ROLLBACK ELSE COMMIT
    Bob Sutor

    The problem was an open uncommitted transaction against the table as you suspected.  I ran your code and it cleared the transaction.  In the past I would intentionally leave our the Commit statement and then if the transaction ran fine, I would
    simply highlight and run 'COMMIT' and it would close the transaction.  Apparently that is not the correct approach.  I'll use your suggested code from now on.
    Thanks for the help.
    Bob Sutor

  • Logical standby: SQL Apply too slow

    Hi all,
    I have a question regarding SQL Apply performance in logical standby. There are two kind of operations that are remarkably slow when applying them on logical standby. These are "truncate table" and "delete from table" operations.
    When logical standby pick up one of mentioned statements from logs one of appliers start working whereas rest others are waiting. It looks like standby hang and very slow sql apply is moving on gradually and finally when operation completes standby is behind primary for 4 or 5 or even 8 hours.
    What can be done in this regard to speed up sql apply and alleviate this situation?
    Best Regards,
    Alex

    Are you absolutely sure that the truncate is the problem (and deletes). How did you check it?
    You can use LogMiner to check what are most of the commands in the log currently applied. I use this:
    BEGIN
    sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/home/oracle/arc_43547_1_595785865.arc', OPTIONS => sys.DBMS_LOGMNR.ADDFILE);
    END;
    BEGIN
    sys.DBMS_LOGMNR.START_LOGMNR( OPTIONS => sys.DBMS_LOGMNR.DICT_FROM_ONLINE_CATALOG);
    END;
    SELECT seg_owner,seg_name,table_name,operation,COUNT(1) FROM V$LOGMNR_CONTENTS
    GROUP BY seg_owner,seg_name,table_name,operation
    ORDER BY COUNT(1) DESC
    BEGIN
    sys.DBMS_LOGMNR.END_LOGMNR();
    END;
    Most of the times in our cases when SQL Apply is slow is because of high activity on particular object. This can be detected by high number of DMLs for that object using LogMiner. If this object is not needed on the logical standby you can skip it and thus SQL Apply will be faster because it will not apply changes for this particular one. If it's needed and this is not a regular rate, then you can skip it temporarily, turn on SQL Apply , after problematic logs are applied, turn off SQL Apply, instantiate the object and unskip it, turn on sql apply again.
    Another thing that can drastically slowdown SQL Apply is the size of memory available for SQL Apply(Alert log shows that max is ~4.5GB or something like this, I'm not sure )
    You can increase it with something like this:
    ALTER DATABASE STOP LOGICAL STANDBY APPLY;
    BEGIN
    DBMS_LOGSTDBY.APPLY_SET('MAX_SGA', 3000); -- set to 3000 MB
    END;
    ALTER DATABASE START LOGICAL STANDBY APPLY;
    You have to increase it if the following reports:
    SELECT NAME, VALUE FROM V$LOGSTDBY_STATS
    WHERE NAME LIKE '%page%' OR
    NAME LIKE '%uptime%' or name like '%idle%';
    that 'bytes paged out' increases if run every few seconds during slow SQL Apply.
    I hope that it's something that can be fixed using the above info. If no, please comment and share your investigations.
    Thanks

  • Query in PL/SQL code is slower

    I have a very strange issue within my development database, I'm using Oracle 10g.
    I created a query to read some data from a large collection of tables -OFDM tables- I have tested and tuned the performance of the query from (PL/SQL Developer 7 ), it takes only 2 minutes to finish but when I use the same query as a cursor in a database procedure it consume a lot of time around 15 min to get the data.
    Your help is appreciated

    [url http://groups.google.de/group/comp.databases.oracle.server/browse_frm/thread/df893cf9be9b2451/54f9cf0e937d7158?hl=de&tvc=1&q=%22Beautified%22+code+runs+slower#54f9cf0e937d7158]Recently somebody complained about slow performance after code was beatified in PL SQL Developer, after recompilation without flag "Add Debug Information" it run faster...
    (just a guess)
    Best regards
    Maxim

  • Parallel hint causes a query to run slower?

    I have an insert...select query where the select is a join between a table with one billion rows (although there is a where clause on an indexed column that restricts it to "only" 300 million), a table with 30 million rows, and a table with about 100,000 rows, where the result is about 20 rows. When I first ran it, it took about 2 hours. I added a Parallel hint, and explain plan showed that it was being used (and v$session showed that I had about 30 additional connections while it ran). but not it takes four hours.
    Is there a reason parallel processing would cause a query to run slower?
    insert /*+ append */ into employees_by_age_group
      pay_plan
    , age_range
    , pay_level
    , fy
    , employee_count
    select /*+ parallel */
           emp.pay_plan
         , to_char(d.min_age) || '-' || to_char(d.max_age) as age_range
         , emp.pay_level
         , pay.fy
         , count(pay.employee_id) as employee_count
    from
      select /*+ index(pay_info pay_info_index_on_site) */
             employee_id
           , extract(year from (dte_ppe_end + 92)) as fy
           , count(employee_id) as num_recs
      from pay_info
      where extract(month from dte_ppe_end) = 10
      and   extract(day from dte_ppe_end) between 14 and 27
      and   substr(pay_type, 1, 1) IN ('A', 'B', 'C')
      and   site like 'Z%'
      group by employee_id, extract(year from (dte_ppe_end + 92))
    ) pay
    join
      select employee_id
           , pay_plan
           , pay_grade
           , pay_step
           , file_date
      from
        select /*+ index(employee_info employee_info_index_on_site) */
               employee_id
             , pay_level
             , file_date
             , max(file_date)
               over (partition by extract(year from (file_date + 61)))
               as last_file_date
        from employee_info
        where site like 'Z%'
      where file_date = last_file_date
    ) emp
    on (
         emp.employee_id = pay.employee_id
         and extract(year from emp.file_date) = pay.fy - 1
    join (
           select employee_id
                , dob
           from (
                  select employee_id
                       , date_birth
                       , row_number() over (partition by employee_id order by date_file desc) as r
                  from employee_birthdates
                  where site like 'Z%'
           where r = 1
         ) dob
    on dob.employee_id = pay.employee_id
    join
                select 20 as min_age, 24 as max_age from dual
      union all select 25 as min_age, 29 as max_age from dual
      union all select 30 as min_age, 34 as max_age from dual
      union all select 35 as min_age, 39 as max_age from dual
      union all select 40 as min_age, 44 as max_age from dual
      union all select 45 as min_age, 49 as max_age from dual
      union all select 50 as min_age, 54 as max_age from dual
      union all select 55 as min_age, 59 as max_age from dual
      union all select 60 as min_age, 64 as max_age from dual
      union all select 65 as min_age, 69 as max_age from dual
      union all select 70 as min_age, 74 as max_age from dual
      union all select 75 as min_age, 79 as max_age from dual
      union all select 80 as min_age, 84 as max_age from dual
      union all select 85 as min_age, 89 as max_age from dual
      union all select 90 as min_age, 94 as max_age from dual
      union all select 95 as min_age, 99 as max_age from dual
    ) d
    group by emp.pay_plan, d.min_age, d.max_age, emp.pay_level, pay.fy;

    Paul - here are three different explain plans
    First, the original one (without the parallel hint):
    INSERT STATEMENT  ALL_ROWS                                              Cost: 26,684,255  Bytes: 114  Cardinality: 1                     
      35 LOAD AS SELECT EMPLOYEES_BY_AGE_GROUP                  
        34 HASH GROUP BY                                                    Cost: 26,684,255  Bytes: 114  Cardinality: 1                 
          33 NESTED LOOPS                                                   Cost: 26,684,254  Bytes: 114  Cardinality: 1               
            14 HASH JOIN                                                    Cost: 26,684,222  Bytes: 108  Cardinality: 1             
              9 MERGE JOIN                                                  Cost: 4,408,803  Bytes: 8,322  Cardinality: 146           
                3 VIEW DONBOT_DBA.                                          Cost: 114,863  Bytes: 29,625,180  Cardinality: 987,506         
                  2 WINDOW SORT PUSHED RANK                                 Cost: 114,863  Bytes: 35,550,216  Cardinality: 987,506       
                    1 TABLE ACCESS FULL TABLE EMPLOYEE_BIRTHDATES           Cost: 108,983  Bytes: 35,550,216  Cardinality: 987,506     
                8 SORT JOIN                                                 Cost: 4,293,940  Bytes: 3,645  Cardinality: 135         
                  7 VIEW DONBOT_DBA.                                        Cost: 4,293,939  Bytes: 3,645  Cardinality: 135       
                    6 SORT GROUP BY                                         Cost: 4,293,939  Bytes: 4,185  Cardinality: 135     
                      5 TABLE ACCESS BY INDEX ROWID TABLE PAY_INFO          Cost: 4,293,938  Bytes: 4,185  Cardinality: 135   
                        4 INDEX RANGE SCAN INDEX PAY_INFO_INDEX_ON_SITE     Cost: 487,124  Cardinality: 402,683,034 
              13 VIEW DONBOT_DBA                                            Cost: 22,275,300  Bytes: 1,160,143,257  Cardinality: 22,747,907           
                12 WINDOW SORT                                              Cost: 22,275,300  Bytes: 841,672,559  Cardinality: 22,747,907         
                  11 TABLE ACCESS BY INDEX ROWID TABLE EMPLOYEE_INFO        Cost: 22,137,046  Bytes: 841,672,559  Cardinality: 22,747,907       
                    10 INDEX RANGE SCAN INDEX EMPLOYEE_INFO_INDEX_ON_SITE   Cost: 50,419  Cardinality: 38,019,281     
            32 VIEW DONBOT_DBA
              31 UNION-ALL           
                15 FAST DUAL  Cost: 2  Cardinality: 1         
                16 FAST DUAL  Cost: 2  Cardinality: 1         
                17 FAST DUAL  Cost: 2  Cardinality: 1         
                18 FAST DUAL  Cost: 2  Cardinality: 1         
                19 FAST DUAL  Cost: 2  Cardinality: 1         
                20 FAST DUAL  Cost: 2  Cardinality: 1         
                21 FAST DUAL  Cost: 2  Cardinality: 1         
                22 FAST DUAL  Cost: 2  Cardinality: 1         
                23 FAST DUAL  Cost: 2  Cardinality: 1         
                24 FAST DUAL  Cost: 2  Cardinality: 1         
                25 FAST DUAL  Cost: 2  Cardinality: 1         
                26 FAST DUAL  Cost: 2  Cardinality: 1         
                27 FAST DUAL  Cost: 2  Cardinality: 1         
                28 FAST DUAL  Cost: 2  Cardinality: 1         
                29 FAST DUAL  Cost: 2  Cardinality: 1         
                30 FAST DUAL  Cost: 2  Cardinality: 1          Next, one with the parallel hint:
    INSERT STATEMENT  ALL_ROWS                                                                              Cost: 26,507,111  Bytes: 114  Cardinality: 1                                       
      51 LOAD AS SELECT EMPLOYEES_BY_AGE_GROUP
        50 PX COORDINATOR                                          
          49 PX SEND QC (RANDOM) PARALLEL_TO_SERIAL SYS.:TQ10005 :Q1005                                     Cost: 26,507,111  Bytes: 114  Cardinality: 1                                 
            48 HASH GROUP BY PARALLEL_COMBINED_WITH_PARENT :Q1005                                           Cost: 26,507,111  Bytes: 114  Cardinality: 1                               
              47 PX RECEIVE PARALLEL_COMBINED_WITH_PARENT :Q1005                                            Cost: 26,507,111  Bytes: 114  Cardinality: 1                             
                46 PX SEND HASH PARALLEL_TO_PARALLEL SYS.:TQ10004 :Q1004                                    Cost: 26,507,111  Bytes: 114  Cardinality: 1                           
                  45 HASH GROUP BY PARALLEL_COMBINED_WITH_PARENT :Q1004                                     Cost: 26,507,111  Bytes: 114  Cardinality: 1                         
                    44 NESTED LOOPS PARALLEL_COMBINED_WITH_PARENT :Q1004                                    Cost: 26,507,111  Bytes: 114  Cardinality: 1                       
                      25 HASH JOIN PARALLEL_COMBINED_WITH_PARENT :Q1004                                     Cost: 26,507,109  Bytes: 108  Cardinality: 1                     
                        17 PX RECEIVE PARALLEL_COMBINED_WITH_PARENT :Q1004                                  Cost: 4,301,500  Bytes: 4,104  Cardinality: 72                   
                          16 PX SEND HASH PARALLEL_TO_PARALLEL SYS.:TQ10003 :Q1003                          Cost: 4,301,500  Bytes: 4,104  Cardinality: 72                 
                            15 HASH JOIN PARALLEL_COMBINED_WITH_PARENT :Q1003                               Cost: 4,301,500  Bytes: 4,104  Cardinality: 72               
                              7 BUFFER SORT PARALLEL_COMBINED_WITH_CHILD :Q1003           
                                6 PX RECEIVE PARALLEL_COMBINED_WITH_PARENT :Q1003                           Cost: 4,293,939  Bytes: 1,809  Cardinality: 67           
                                  5 PX SEND BROADCAST PARALLEL_FROM_SERIAL SYS.:TQ10000                     Cost: 4,293,939  Bytes: 1,809  Cardinality: 67         
                                    4 VIEW DONBOT_DBA.                                                      Cost: 4,293,939  Bytes: 1,809  Cardinality: 67       
                                      3 SORT GROUP BY                                                       Cost: 4,293,939  Bytes: 2,077  Cardinality: 67     
                                        2 TABLE ACCESS BY INDEX ROWID TABLE PAY_INFO                        Cost: 4,293,938  Bytes: 2,077  Cardinality: 67   
                                          1 INDEX RANGE SCAN INDEX PAY_INFO_INDEX_ON_SITE                   Cost: 487,124  Cardinality: 199,756,151 
                              14 VIEW PARALLEL_COMBINED_WITH_PARENT DONBOT_DBA. :Q1003                      Cost: 7,561  Bytes: 29,625,180  Cardinality: 987,506             
                                13 WINDOW SORT PUSHED RANK PARALLEL_COMBINED_WITH_PARENT :Q1003             Cost: 7,561  Bytes: 35,550,216  Cardinality: 987,506           
                                  12 PX RECEIVE PARALLEL_COMBINED_WITH_PARENT :Q1003                        Cost: 7,561  Bytes: 35,550,216  Cardinality: 987,506         
                                    11 PX SEND HASH PARALLEL_TO_PARALLEL SYS.:TQ10002 :Q1002                Cost: 7,561  Bytes: 35,550,216  Cardinality: 987,506       
                                      10 WINDOW CHILD PUSHED RANK PARALLEL_COMBINED_WITH_PARENT :Q1002      Cost: 7,561  Bytes: 35,550,216  Cardinality: 987,506     
                                        9 PX BLOCK ITERATOR PARALLEL_COMBINED_WITH_CHILD :Q1002             Cost: 7,557  Bytes: 35,550,216  Cardinality: 987,506   
                                          8 TABLE ACCESS FULL TABLE PARALLEL_COMBINED_WITH_PARENT EMPLOYEE_BIRTHDATES :Q1002     Cost: 7,557  Bytes: 35,550,216  Cardinality: 987,506 
                        24 BUFFER SORT PARALLEL_COMBINED_WITH_CHILD :Q1004                 
                          23 PX RECEIVE PARALLEL_COMBINED_WITH_PARENT :Q1004                                Cost: 22,205,605  Bytes: 575,504,145  Cardinality: 11,284,395                 
                            22 PX SEND HASH PARALLEL_FROM_SERIAL SYS.:TQ10001                               Cost: 22,205,605  Bytes: 575,504,145  Cardinality: 11,284,395               
                              21 VIEW DONBOT_DBA.                                                           Cost: 22,205,605  Bytes: 575,504,145  Cardinality: 11,284,395             
                                20 WINDOW SORT                                                              Cost: 22,205,605  Bytes: 417,522,615  Cardinality: 11,284,395           
                                  19 TABLE ACCESS BY INDEX ROWID TABLE EMPLOYEE_INFO                        Cost: 22,137,046  Bytes: 417,522,615  Cardinality: 11,284,395         
                                    18 INDEX RANGE SCAN INDEX EMPLOYEE_INFO_INDEX_ON_SITE                   Cost: 50,419  Cardinality: 18,859,958       
                      43 VIEW PARALLEL_COMBINED_WITH_PARENT DONBOT_DBA. :Q1004                              Cost: 32  Bytes: 6  Cardinality: 1                     
                        42 UNION-ALL PARALLEL_COMBINED_WITH_PARENT :Q1004                 
                          26 FAST DUAL PARALLEL_COMBINED_WITH_PARENT :Q1004         Cost: 2  Cardinality: 1                 
                          27 FAST DUAL PARALLEL_COMBINED_WITH_PARENT :Q1004         Cost: 2  Cardinality: 1                 
                          28 FAST DUAL PARALLEL_COMBINED_WITH_PARENT :Q1004         Cost: 2  Cardinality: 1                 
                          29 FAST DUAL PARALLEL_COMBINED_WITH_PARENT :Q1004         Cost: 2  Cardinality: 1                 
                          30 FAST DUAL PARALLEL_COMBINED_WITH_PARENT :Q1004         Cost: 2  Cardinality: 1                 
                          31 FAST DUAL PARALLEL_COMBINED_WITH_PARENT :Q1004         Cost: 2  Cardinality: 1                 
                          32 FAST DUAL PARALLEL_COMBINED_WITH_PARENT :Q1004         Cost: 2  Cardinality: 1                 
                          33 FAST DUAL PARALLEL_COMBINED_WITH_PARENT :Q1004         Cost: 2  Cardinality: 1                 
                          34 FAST DUAL PARALLEL_COMBINED_WITH_PARENT :Q1004         Cost: 2  Cardinality: 1                 
                          35 FAST DUAL PARALLEL_COMBINED_WITH_PARENT :Q1004         Cost: 2  Cardinality: 1                 
                          36 FAST DUAL PARALLEL_COMBINED_WITH_PARENT :Q1004         Cost: 2  Cardinality: 1                 
                          37 FAST DUAL PARALLEL_COMBINED_WITH_PARENT :Q1004         Cost: 2  Cardinality: 1                 
                          38 FAST DUAL PARALLEL_COMBINED_WITH_PARENT :Q1004         Cost: 2  Cardinality: 1                 
                          39 FAST DUAL PARALLEL_COMBINED_WITH_PARENT :Q1004         Cost: 2  Cardinality: 1                 
                          40 FAST DUAL PARALLEL_COMBINED_WITH_PARENT :Q1004         Cost: 2  Cardinality: 1                 
                          41 FAST DUAL PARALLEL_COMBINED_WITH_PARENT :Q1004         Cost: 2  Cardinality: 1                  Finally, one without the parallel hint, and without the index hint on PAY_TABLE:
    INSERT STATEMENT  ALL_ROWS                                              Cost: 23,348,654  Bytes: 114  Cardinality: 1                   
      34 LOAD AS SELECT ARMYMP.EMPLOYEES_BY_AGE                
        33 HASH GROUP BY                                                    Cost: 23,348,654  Bytes: 114  Cardinality: 1               
          32 NESTED LOOPS                                                   Cost: 23,348,653  Bytes: 114  Cardinality: 1             
            13 HASH JOIN                                                    Cost: 23,348,621  Bytes: 108  Cardinality: 1           
              8 MERGE JOIN                                                  Cost: 1,073,202  Bytes: 8,322  Cardinality: 146         
                3 VIEW DONBOT_DBA.                                          Cost: 114,863  Bytes: 29,625,180  Cardinality: 987,506       
                  2 WINDOW SORT PUSHED RANK                                 Cost: 114,863  Bytes: 35,550,216  Cardinality: 987,506     
                    1 TABLE ACCESS FULL TABLE EMPLOYEE_BIRTHDATES           Cost: 108,983  Bytes: 35,550,216  Cardinality: 987,506   
                7 SORT JOIN                                                 Cost: 958,339  Bytes: 3,645  Cardinality: 135       
                  6 VIEW DONBOT_DBA.                                        Cost: 958,338  Bytes: 3,645  Cardinality: 135     
                    5 SORT GROUP BY                                         Cost: 958,338  Bytes: 4,185  Cardinality: 135   
                      4 TABLE ACCESS FULL TABLE PAY_INFO                    Cost: 958,337  Bytes: 4,185  Cardinality: 135 
              12 VIEW DONBOT_DBA.                                           Cost: 22,275,300  Bytes: 1,160,143,257  Cardinality: 22,747,907         
                11 WINDOW SORT                                              Cost: 22,275,300  Bytes: 841,672,559  Cardinality: 22,747,907       
                  10 TABLE ACCESS BY INDEX ROWID TABLE EMPLOYEE_INFO        Cost: 22,137,046  Bytes: 841,672,559  Cardinality: 22,747,907     
                    9 INDEX RANGE SCAN INDEX EMPLOYEE_INFO_UIC              Cost: 50,419  Cardinality: 38,019,281   
            31 VIEW DONBOT_DBA.                                             Cost: 32  Bytes: 6  Cardinality: 1           
              30 UNION-ALL         
                14 FAST DUAL  Cost: 2  Cardinality: 1       
                15 FAST DUAL  Cost: 2  Cardinality: 1       
                16 FAST DUAL  Cost: 2  Cardinality: 1       
                17 FAST DUAL  Cost: 2  Cardinality: 1       
                18 FAST DUAL  Cost: 2  Cardinality: 1       
                19 FAST DUAL  Cost: 2  Cardinality: 1       
                20 FAST DUAL  Cost: 2  Cardinality: 1       
                21 FAST DUAL  Cost: 2  Cardinality: 1       
                22 FAST DUAL  Cost: 2  Cardinality: 1       
                23 FAST DUAL  Cost: 2  Cardinality: 1       
                24 FAST DUAL  Cost: 2  Cardinality: 1       
                25 FAST DUAL  Cost: 2  Cardinality: 1       
                26 FAST DUAL  Cost: 2  Cardinality: 1       
                27 FAST DUAL  Cost: 2  Cardinality: 1       
                28 FAST DUAL  Cost: 2  Cardinality: 1       
                29 FAST DUAL  Cost: 2  Cardinality: 1        I am surprised the cost without the index is less than the cost with it, considering that it is replacing a Table Access By Index Rowid with a Table Access Full on a table with 1 billion (1000 million) records.
    Igor - two questions:
    One - I cannot find "Materialize" in the hints in the SQL Reference anywhere. What does it do?
    Two - does replacing subqueries with With clauses make that much of a difference?

  • SQL 2012 Always On Availability Groups

    Has anyone configured FIM SYnc, FIM Service and MSF in SQL 2012 Always On Availability groups
    I do not believe we can configure the SQL connection string for FIM Sync or FIM Service to include "multisubnetfailover"
    TIA
    Nigel

    I commented on this here:https://social.technet.microsoft.com/Forums/en-US/64f55628-3b5d-4d16-9044-dcbe7053581d/lack-of-support-for-fim-database-mirroring?forum=ilm2
    Additional comments:
    SQL Server Always On Failover Cluster Instances should be supported just as SQL Clustering is supported.
    SQL Server Always On Availability Groups are not supported, just as Database Mirroring in synchronous mode (which is required for automatic failover) is not supported. I can't find authoritative statements of this on the web. But I know this to be the
    case.
    Ultimately, the reason for lack of support for mirroring (for automatic failover or in synchronous mode) is that the product group has said so (in conferences and webinars). Meaning the product group has not tested it or has and decided that it doesn't
    work or adds risk.
    Possible underlying reasons:
    1) To do automatic failover with mirroring or Availability groups you must edit the connection string. The way FIM builds the connection string out of the components in the registry don't permit this.
    2) Running mirroring in synchronous mode slows down performance in two ways: first is the additional traffic to send it to the mirror partner (or replica), second and most important is that synchronous requires that the primary not truly commit the transaction
    until it has been committed to the secondary which means transactions take longer. For some products this can result in an unacceptable performance degradation.
    Hopefully, MIM will support Availability groups.
    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

  • System freezing/running slower

    I've been having some difficulties with my macbook as of late: in the past three days, chrome has frozen about 7 times and force quitting made the entire screen freeze (so all i could do was using the shut-down button). I've also noticed that the bootup is slower than usual. Generally speaking, the whole thing has been running slower and slower for a while now. i get the rainbow wheel of doom on a frequent basis. (also, my fan is quite loud and i can hear a rattling sound sometimes)
    here is what seems to have happened before everything froze:
    6/20/13 7:46:29.372 AM Google Chrome: Cannot find function pointer SUMCMPluginFactory for factory C1DF11E5-FD12-45AD-BBE4-EE058CB88A16 in CFBundle/CFPlugIn 0x6f556050 </Library/Contextual Menu Items/Sophos Anti-Virus.plugin> (not loaded)
    6/20/13 7:49:03.000 AM kernel: CODE SIGNING: cs_invalid_page(0x1000): p=1195[GoogleSoftwareUp] clearing CS_VALID
    6/20/13 7:49:09.430 AM Google Chrome: Cannot find function pointer SUMCMPluginFactory for factory C1DF11E5-FD12-45AD-BBE4-EE058CB88A16 in CFBundle/CFPlugIn 0x6f556050 </Library/Contextual Menu Items/Sophos Anti-Virus.plugin> (not loaded)
    6/20/13 7:49:31.059 AM Google Chrome: Cannot find function pointer SUMCMPluginFactory for factory C1DF11E5-FD12-45AD-BBE4-EE058CB88A16 in CFBundle/CFPlugIn 0x6f556050 </Library/Contextual Menu Items/Sophos Anti-Virus.plugin> (not loaded)
    6/20/13 7:49:38.059 AM Google Chrome: Cannot find function pointer SUMCMPluginFactory for factory C1DF11E5-FD12-45AD-BBE4-EE058CB88A16 in CFBundle/CFPlugIn 0x6f556050 </Library/Contextual Menu Items/Sophos Anti-Virus.plugin> (not loaded)
    6/20/13 7:50:40.611 AM com.apple.backupd: Starting standard backup
    6/20/13 7:54:34.000 AM bootlog: BOOT_TIME 1371707674 0
    and after booting up
    (i have no idea how these things work, but there are a few errors in the end, i only copied all of it because it's a direct continuation of the above)
    6/20/13 7:54:34.000 AM bootlog: BOOT_TIME 1371707674 0
    6/20/13 7:55:09.000 AM kernel: PMAP: PCID enabled
    6/20/13 7:55:09.000 AM kernel: Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
    6/20/13 7:55:09.000 AM kernel: vm_page_bootstrap: 989983 free pages and 50401 wired pages
    6/20/13 7:55:09.000 AM kernel: kext submap [0xffffff7f80736000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff8000736000]
    6/20/13 7:55:09.000 AM kernel: zone leak detection enabled
    6/20/13 7:55:09.000 AM kernel: standard timeslicing quantum is 10000 us
    6/20/13 7:55:09.000 AM kernel: mig_table_max_displ = 73
    6/20/13 7:55:09.000 AM kernel: TSC Deadline Timer supported and enabled
    6/20/13 7:55:09.000 AM kernel: AppleACPICPU: ProcessorId=1 LocalApicId=0 Enabled
    6/20/13 7:55:09.000 AM kernel: AppleACPICPU: ProcessorId=2 LocalApicId=2 Enabled
    6/20/13 7:55:09.000 AM kernel: AppleACPICPU: ProcessorId=3 LocalApicId=1 Enabled
    6/20/13 7:55:09.000 AM kernel: AppleACPICPU: ProcessorId=4 LocalApicId=3 Enabled
    6/20/13 7:55:09.000 AM kernel: AppleACPICPU: ProcessorId=5 LocalApicId=255 Disabled
    6/20/13 7:55:09.000 AM kernel: AppleACPICPU: ProcessorId=6 LocalApicId=255 Disabled
    6/20/13 7:55:09.000 AM kernel: AppleACPICPU: ProcessorId=7 LocalApicId=255 Disabled
    6/20/13 7:55:09.000 AM kernel: AppleACPICPU: ProcessorId=8 LocalApicId=255 Disabled
    6/20/13 7:55:09.000 AM kernel: calling mpo_policy_init for TMSafetyNet
    6/20/13 7:55:09.000 AM kernel: Security policy loaded: Safety net for Time Machine (TMSafetyNet)
    6/20/13 7:55:09.000 AM kernel: calling mpo_policy_init for Sandbox
    6/20/13 7:55:09.000 AM kernel: Security policy loaded: Seatbelt sandbox policy (Sandbox)
    6/20/13 7:55:09.000 AM kernel: calling mpo_policy_init for Quarantine
    6/20/13 7:55:09.000 AM kernel: Security policy loaded: Quarantine policy (Quarantine)
    6/20/13 7:55:09.000 AM kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993
    6/20/13 7:55:09.000 AM kernel: The Regents of the University of California. All rights reserved.
    6/20/13 7:55:09.000 AM kernel: MAC Framework successfully initialized
    6/20/13 7:55:09.000 AM kernel: using 16384 buffer headers and 10240 cluster IO buffer headers
    6/20/13 7:55:09.000 AM kernel: IOAPIC: Version 0x20 Vectors 64:87
    6/20/13 7:55:09.000 AM kernel: ACPI: System State [S0 S3 S4 S5]
    6/20/13 7:55:09.000 AM kernel: PFM64 (36 cpu) 0xf10000000, 0xf0000000
    6/20/13 7:55:09.000 AM kernel: [ PCI configuration begin ]
    6/20/13 7:55:09.000 AM kernel: AppleIntelCPUPowerManagement: Turbo Ratios 0046
    6/20/13 7:55:09.000 AM kernel: AppleIntelCPUPowerManagement: (built 16:32:09 Aug 23 2012) initialization complete
    6/20/13 7:55:09.000 AM kernel: console relocated to 0xf10000000
    6/20/13 7:55:09.000 AM kernel: PCI configuration changed (bridge=16 device=4 cardbus=0)
    6/20/13 7:55:09.000 AM kernel: [ PCI configuration end, bridges 12 devices 16 ]
    6/20/13 7:55:09.000 AM kernel: FireWire (OHCI) Lucent ID 5901 built-in now active, GUID a4b197fffecec9a4; max speed s800.
    6/20/13 7:55:09.000 AM kernel: mbinit: done [64 MB total pool size, (42/21) split]
    6/20/13 7:55:09.000 AM kernel: Pthread support ABORTS when sync kernel primitives misused
    6/20/13 7:55:09.000 AM kernel: com.apple.AppleFSCompressionTypeZlib kmod start
    6/20/13 7:55:09.000 AM kernel: com.apple.AppleFSCompressionTypeDataless kmod start
    6/20/13 7:55:09.000 AM kernel: com.apple.AppleFSCompressionTypeZlib load succeeded
    6/20/13 7:55:09.000 AM kernel: com.apple.AppleFSCompressionTypeDataless load succeeded
    6/20/13 7:55:09.000 AM kernel: AppleIntelCPUPowerManagementClient: ready
    6/20/13 7:55:09.000 AM kernel: BTCOEXIST off
    6/20/13 7:55:09.000 AM kernel: wl0: Broadcom BCM4331 802.11 Wireless Controller
    6/20/13 7:55:09.000 AM kernel: 5.106.198.19
    6/20/13 7:55:09.000 AM kernel: AppleUSBMultitouchDriver::checkStatus - received Status Packet, Payload 2: device was reinitialized
    6/20/13 7:55:09.000 AM kernel: rooting via boot-uuid from /chosen: BFB31AE9-677F-3E15-9F39-FB336651E30D
    6/20/13 7:55:09.000 AM kernel: Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    6/20/13 7:55:09.000 AM kernel: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPchS eriesAHCI/PRT0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOB lockStorageDriver/TOSHIBA MK5065GSXF Media/IOGUIDPartitionScheme/Customer@2
    6/20/13 7:55:09.000 AM kernel: BSD root: disk0s2, major 14, minor 2
    6/20/13 7:55:09.000 AM kernel: jnl: unknown-dev: replay_journal: from: 17431040 to: 25119232 (joffset 0xe38a000)
    6/20/13 7:55:09.000 AM kernel: [IOBluetoothHCIController::setConfigState] calling registerService
    6/20/13 7:55:09.000 AM kernel: jnl: unknown-dev: journal replay done.
    6/20/13 7:55:09.000 AM kernel: Kernel is LP64
    6/20/13 7:55:09.000 AM kernel: hfs: Removed 45 orphaned / unlinked files and 895 directories
    6/20/13 7:54:57.315 AM fseventsd: event logs in /.fseventsd out of sync with volume.  destroying old logs. (29232 22 29427)
    6/20/13 7:55:07.355 AM fseventsd: implementation_register_rpc: implementation_added_client() => 22
    6/20/13 7:54:41.934 AM com.apple.launchd: *** launchd[1] has started up. ***
    6/20/13 7:54:57.260 AM com.apple.launchd: (com.apple.powerd) Unknown value for key POSIXSpawnType: Interactive
    6/20/13 7:54:57.260 AM com.apple.launchd: (com.apple.sandboxd) Unknown value for key POSIXSpawnType: Interactive
    6/20/13 7:55:09.104 AM com.apple.ucupdate.plist: ucupdate: Checked 1 update, no match found.
    6/20/13 7:55:09.104 AM com.apple.pfctl: No ALTQ support in kernel
    6/20/13 7:55:09.104 AM com.apple.pfctl: ALTQ related functions disabled
    6/20/13 7:55:09.109 AM com.apple.UserEventAgent-System: 2013-06-20 07:55 UserEventAgent[11] (CarbonCore.framework)
    6/20/13 7:55:09.125 AM com.apple.UserEventAgent-System: FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
    6/20/13 7:55:09.253 AM UserEventAgent: starting CaptiveNetworkSupport as SystemEventAgent built May 25 2011 12:27:35
    6/20/13 7:55:09.262 AM UserEventAgent: CaptiveNetworkSupport:CreateInterfaceWatchList:2788 WiFi Devices Found.
    6/20/13 7:55:09.262 AM UserEventAgent: CaptiveNetworkSupport:CaptivePublishState:1211 en1 - PreProbe
    6/20/13 7:55:09.263 AM UserEventAgent: CaptiveNetworkSupport:CaptiveSCRebuildCache:81 Failed to get service order
    6/20/13 7:55:09.263 AM UserEventAgent: CaptiveNetworkSupport:CaptiveSCRebuildCache:81 Failed to get service order
    6/20/13 7:55:09.263 AM UserEventAgent: CaptiveNetworkSupport:CaptivePublishState:1211 en1 - PreProbe
    6/20/13 7:55:09.263 AM UserEventAgent: CaptiveNetworkSupport:CaptiveSCRebuildCache:81 Failed to get service order
    6/20/13 7:55:09.263 AM UserEventAgent: CaptiveNetworkSupport:CaptiveSCRebuildCache:81 Failed to get service order
    6/20/13 7:55:09.267 AM UserEventAgent: CertsKeychainMonitor: configuring
    6/20/13 7:55:10.000 AM kernel: Waiting for DSMOS...
    6/20/13 7:55:10.000 AM kernel: macx_swapon SUCCESS
    6/20/13 7:55:10.000 AM kernel: BCM5701Enet: Ethernet address
    6/20/13 7:55:10.000 AM kernel: AirPort_Brcm4331: Ethernet address
    6/20/13 7:55:10.000 AM kernel: IO80211Controller::dataLinkLayerAttachComplete():  adding AppleEFINVRAM notification
    6/20/13 7:55:10.000 AM kernel: IO80211Interface::efiNVRAMPublished(): 
    6/20/13 7:55:12.000 AM kernel: SMC::smcHandleInterruptEvent WARNING status=0x10 (0x40 not set) notif=0x0
    6/20/13 7:55:12.000 AM kernel: Previous Shutdown Cause: 0
    6/20/13 7:55:12.000 AM kernel: SMC::smcInitHelper ERROR: MMIO regMap == NULL - fall back to old SMC mode
    6/20/13 7:55:12.000 AM kernel: DSMOS has arrived
    6/20/13 7:55:12.473 AM com.apple.usbmuxd: usbmuxd-296.4 on Dec 21 2012 at 16:11:14, running 64 bit
    6/20/13 7:55:12.937 AM mDNSResponder: mDNSResponder mDNSResponder-320.16 (Jul 19 2012 21:07:07) starting OSXVers 11
    6/20/13 7:55:15.214 AM mds: (Normal) FMW: FMW 0 0
    6/20/13 7:55:17.255 AM com.apple.SecurityServer: Session 100000 created
    6/20/13 7:55:17.793 AM mds: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"
    6/20/13 7:55:17.793 AM mds: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"
    6/20/13 7:55:17.876 AM mds: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"
    6/20/13 7:55:24.158 AM fseventsd: implementation_register_rpc: implementation_added_client() => 22
    6/20/13 7:55:24.159 AM com.apple.xpchelper.00000000-0000-0000-0000-000000000000: 2013-06-20 07:55 xpchelper[62] (CarbonCore.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
    6/20/13 7:55:24.191 AM airportd: _processDLILEvent: en1 attached (down)
    6/20/13 7:55:24.000 AM kernel: nspace-handler-set-snapshot-time: 1371707726
    6/20/13 7:55:24.000 AM kernel: in func createVirtualInterface ifRole = 1
    6/20/13 7:55:24.000 AM kernel: Created virtif 0xffffff800aa9c400 p2p0
    6/20/13 7:55:24.205 AM UserEventAgent: CaptiveNetworkSupport:CaptiveSCRebuildCache:81 Failed to get service order
    6/20/13 7:55:24.205 AM UserEventAgent: CaptiveNetworkSupport:CaptiveSCRebuildCache:81 Failed to get service order
    6/20/13 7:55:24.214 AM UserEventAgent: CaptiveNetworkSupport:CaptivePublishState:1211 en1 - PreProbe
    6/20/13 7:55:26.763 AM fseventsd: log dir: /.fseventsd getting new uuid: FDE3AB06-BB0E-4403-A29B-E2552B6D8D06
    6/20/13 7:55:26.000 AM kernel: AirPort: Link Down on en1. Reason 1 (Unspecified).
    6/20/13 7:55:26.960 AM configd: network configuration changed.
    6/20/13 7:55:26.962 AM configd: setting hostname to "name"
    6/20/13 7:55:26.995 AM com.apple.SecurityServer: Entering service
    6/20/13 7:55:27.047 AM systemkeychain: done file: /var/run/systemkeychaincheck.done
    6/20/13 7:55:27.047 AM configd: network configuration changed.
    6/20/13 7:55:27.050 AM mDNSResponder: D2D_IPC: Loaded
    6/20/13 7:55:27.050 AM mDNSResponder: D2DInitialize succeeded
    6/20/13 7:55:27.051 AM configd: network configuration changed.
    6/20/13 7:55:27.188 AM loginwindow: Login Window Application Started
    6/20/13 7:55:27.493 AM UserEventAgent: ServermgrdRegistration cannot load config data
    6/20/13 7:55:27.527 AM UserEventAgent: get_backup_share_points no AFP
    6/20/13 7:55:27.528 AM launchdadd: FAILURE: Could not send MIG reply: 0x10000003
    6/20/13 7:55:27.676 AM netbiosd: Unable to start NetBIOS name service:
    6/20/13 7:55:27.698 AM SophosAutoUpdate: AlreadyRegistered
    6/20/13 7:55:27.808 AM rpcsvchost: sandbox_init: com.apple.msrpc.netlogon.sb succeeded
    6/20/13 7:55:28.000 AM kernel: MacAuthEvent en1   Auth result for: 80:c6:ab:2a:38:40  MAC AUTH succeeded
    6/20/13 7:55:28.000 AM kernel: wlEvent: en1 en1 Link UP virtIf = 0
    6/20/13 7:55:28.000 AM kernel: AirPort: Link Up on en1
    6/20/13 7:55:28.000 AM kernel: en1: BSSID changed to 80:c6:ab:2a:38:40
    6/20/13 7:55:29.000 AM kernel: AirPort: RSN handshake complete on en1
    6/20/13 7:55:29.453 AM ReportCrash: DebugSymbols was unable to start a spotlight query: spotlight is not responding or disabled.
    6/20/13 7:55:29.553 AM airportd: _doAutoJoin: Already associated to “internet”. Bailing on auto-join.
    6/20/13 7:55:31.406 AM loginwindow: **DMPROXY** Found `/System/Library/CoreServices/DMProxy'.
    6/20/13 7:55:31.758 AM configd: network configuration changed.
    6/20/13 7:55:31.775 AM UserEventAgent: CaptiveNetworkSupport:CaptivePublishState:1211 en1 - Probe
    6/20/13 7:55:31.776 AM UserEventAgent: CaptiveNetworkSupport:CNSPreferencesBuildSSIDLookup:278 ssidLookup:
    6/20/13 7:55:31.776 AM UserEventAgent:   <empty>
    6/20/13 7:55:31.781 AM UserEventAgent: CaptiveNetworkSupport:CaptiveStartDetect:2343 Bypassing probe on UPC0043036 because it is protected and not on the exception list
    6/20/13 7:55:31.783 AM UserEventAgent: CaptiveNetworkSupport:CaptivePublishState:1211 en1 - Unknown
    6/20/13 7:55:31.784 AM configd: network configuration changed.
    6/20/13 7:55:32.052 AM ntpd: proto: precision = 1.000 usec
    6/20/13 7:55:32.119 AM com.apple.mtmfs: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T//mtmfsMap35
    6/20/13 7:55:32.730 AM airportd: _doAutoJoin: Already associated to “internet”. Bailing on auto-join.
    6/20/13 7:55:32.736 AM com.apple.launchctl.LoginWindow: com.apple.findmymacmessenger: Already loaded
    6/20/13 7:55:32.780 AM com.apple.SecurityServer: Session 100004 created
    6/20/13 7:55:32.785 AM loginwindow: Login Window Started Security Agent
    6/20/13 7:55:32.868 AM SecurityAgent: Echo enabled
    6/20/13 7:55:32.868 AM SecurityAgent: Echo enabled
    6/20/13 7:55:33.523 AM WindowServer: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    6/20/13 7:55:33.687 AM com.apple.launchd: (com.apple.xprotectupdater[20]) Exited with code: 252
    6/20/13 7:55:35.206 AM com.apple.launchd: (com.apple.crsud[49]) Job appears to have crashed: Bus error: 10
    6/20/13 7:55:35.520 AM ReportCrash: Saved crash report for crsud[49] version ??? (???) to /Library/Logs/DiagnosticReports/crsud_2013-06-20-075535_localhost.crash
    6/20/13 7:55:39.291 AM UserEventAgent: [11] error in getAndLockContext: open returned -1 (errno=2)  file was /private/var/servermgrd//servermgr_certs.lock
    6/20/13 7:55:39.294 AM UserEventAgent: [11] error in getAndLockContext: open returned -1 (errno=2)  file was /private/var/servermgrd//servermgr_certs.lock
    6/20/13 7:55:39.295 AM UserEventAgent: CertsKeychainMonitor: ready to process keychain & timer events
    6/20/13 7:55:41.397 AM SecurityAgent: User info context values set for name
    6/20/13 7:55:41.397 AM SecurityAgent: User info context values set for name
    6/20/13 7:55:41.606 AM authorizationhost: Failed to authenticate user <name> (error: 9).
    6/20/13 7:55:46.911 AM SecurityAgent: User info context values set for name
    6/20/13 7:55:46.911 AM SecurityAgent: User info context values set for name
    6/20/13 7:55:47.623 AM SecurityAgent: Login Window login proceeding
    6/20/13 7:55:47.623 AM SecurityAgent: Login Window login proceeding
    6/20/13 7:55:48.227 AM loginwindow: Login Window - Returned from Security Agent
    6/20/13 7:55:48.255 AM loginwindow: USER_PROCESS: 40 console
    6/20/13 7:55:48.296 AM airportd: _doAutoJoin: Already associated to “internet”. Bailing on auto-join.
    6/20/13 7:55:48.450 AM com.apple.launchd.peruser.501: (com.spotify.webhelper) Unknown key: SpotifyPath
    6/20/13 7:55:48.450 AM com.apple.launchd.peruser.501: (com.apple.AirPortBaseStationAgent) Unknown value for key POSIXSpawnType: Background
    6/20/13 7:55:48.451 AM com.apple.launchd.peruser.501: (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
    6/20/13 7:55:48.454 AM com.apple.launchctl.Aqua: load: option requires an argument -- D
    6/20/13 7:55:48.454 AM com.apple.launchctl.Aqua: usage: launchctl load [-wF] [-D <user|local|network|system|all>] paths...
    6/20/13 7:55:48.807 AM UserEventAgent: CaptiveNetworkSupport:CNSServerRegisterUserAgent:187 new user agent port: 19211
    6/20/13 7:55:48.912 AM com.apple.launchd.peruser.501: (com.apple.launchctl.Aqua[140]) Exited with code: 1
    6/20/13 7:55:50.000 AM kernel: CODE SIGNING: cs_invalid_page(0x1000): p=159[ksadmin] clearing CS_VALID
    6/20/13 7:55:52.279 AM com.apple.dock.extra: 2013-06-20 07:55:52.276 com.apple.dock.extra[166:1a07] Could not connect the action buttonPressed: to target of class NSApplication
    6/20/13 7:55:52.279 AM com.apple.dock.extra: 2013-06-20 07:55:52.278 com.apple.dock.extra[166:1a07] Could not connect the action buttonPressed: to target of class NSApplication
    6/20/13 7:55:52.279 AM com.apple.dock.extra: 2013-06-20 07:55:52.278 com.apple.dock.extra[166:1a07] Could not connect the action buttonPressed: to target of class NSApplication
    6/20/13 7:55:52.280 AM com.apple.dock.extra: 2013-06-20 07:55:52.279 com.apple.dock.extra[166:1a07] Could not connect the action buttonPressed: to target of class NSApplication
    6/20/13 7:55:52.278 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/20/13 7:55:52.278 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/20/13 7:55:52.279 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/20/13 7:55:52.279 AM com.apple.dock.extra: Could not connect the action buttonPressed: to target of class NSApplication
    6/20/13 7:55:54.000 AM kernel: CODE SIGNING: cs_invalid_page(0x1000): p=171[ksadmin] clearing CS_VALID
    6/20/13 7:55:57.450 AM mds: (Error) Server: No store registered for scope "/Library/Application Support/Apple/Fonts"
    6/20/13 7:56:02.313 AM Finder: ISGetIconFamilyFromStorage: seed mismatch for 28540011, actual seed is ded7263
    6/20/13 7:56:02.313 AM Finder: ISGetIconFamilyFromStorage: seed mismatch for 28540011, actual seed is ded7263
    6/20/13 7:56:05.000 AM kernel: CODE SIGNING: cs_invalid_page(0x1000): p=204[GoogleSoftwareUp] clearing CS_VALID
    6/20/13 7:56:05.837 AM mds: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"
    6/20/13 7:56:06.057 AM com.apple.quicklook: invalid stream length 624; should be 596.
    6/20/13 7:56:06.057 AM com.apple.quicklook: invalid stream length 4576; should be 4551.
    6/20/13 7:56:06.057 AM com.apple.quicklook: invalid stream length 2624; should be 2600.
    6/20/13 7:56:06.901 AM com.apple.quicklook: invalid stream length 320; should be 291.
    6/20/13 7:56:06.901 AM com.apple.quicklook: invalid stream length 1792; should be 1772.
    6/20/13 7:56:07.479 AM com.apple.launchd.peruser.501: ([email protected][205]) Exited with code: 1
    6/20/13 7:56:07.826 AM com.apple.launchd.peruser.501: (com.apple.mrt.uiagent[195]) Exited with code: 255
    6/20/13 7:56:08.423 AM com.apple.launchd: (com.apple.coreservices.appleid.authentication[113]) Exit timeout elapsed (20 seconds). Killing
    6/20/13 7:56:16.401 AM [0x0-0x7007].com.google.Chrome: [150:38403:0620/075616:ERROR:backend_impl.cc(1187)] Critical error found -8
    6/20/13 7:56:16.624 AM [0x0-0x7007].com.google.Chrome: [150:38403:0620/075616:ERROR:entry_impl.cc(942)] Failed to save user data
    i've verified disk permissions, verified disk, did a hardware check (everything normal) and reset NVRAM/PRAM. I didn't even know any of these things existed until a few days ago, so if i'm honest i have no idea what i'm doing.
    (also, with disk permissions i got "Permissions differ on “System/Library/PreferencePanes/Displays.prefPane”; should be drwxr-xr-x ; they are lrwxr-xr-x "" and "
    should be drwxr-xr-x ; they are -rw-r--r-". I'm not sure whether that is important.)
    if anyone could tell me what is going on / what i could do to stop my computer from being slow/crashing, i'd be immensely thankful! (it's also a new model; from january 2012)

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    This time you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • MacBook Pro Stalls/Running slow since Mavericks Installation

    On the advice of the more experienced here is a new thread.
    Since installing Mavericks my MBP has gone from pretty much an instant response to requests, to stalling, the spinning pinwheel, longer startup and shutdown times, as well as slower access to websites (Chrome and Safari, though Safari appears slower). 
    I have been advised to run EtreCheck when I first joined a post regarding the same problem.  I posted the results and was advised to work through some of the issues.  This is the initial test result and the very much appreciated advice.
    NOTE - EXTENSIVE TEXT TO FOLLOW.
    I don't have a specific fix from your report, but I can point out what other users have had issues with.
    JonUK_LTD wrote:
    Kernel Extensions:
    com.Cycling74.driver.Soundflower (1.5.1)
    com.paragon-software.filesystems.ntfs (82)
    Problem System Launch Agents:
    [System] com.paragon.NTFS.trial.plist 3rd-Party support link
    [System] com.paragon.NTFS.upd.plist 3rd-Party support link
    Launch Daemons:
    [System] com.adobe.fpsaud.plist 3rd-Party support link
    [System] com.sierrawireless.SwitchTool.plist 3rd-Party support link
    User Launch Agents:
    [not loaded] com.google.keystone.agent.plist 3rd-Party support link
    [not loaded] com.macpaw.CleanMyMac.helperTool.plist 3rd-Party support link
    [not loaded] com.macpaw.CleanMyMac.trashSizeWatcher.plist 3rd-Party support link
    [not loaded] com.macpaw.CleanMyMac.volumeWatcher.plist 3rd-Party support link
    [not loaded] uk.co.markallan.clamxav.freshclam.plist 3rd-Party support link
    User Login Items:
             Clocks
    FaceTab Pro for Facebook
    GrowlTunes
    Yoink
    Dropbox
    SpeechSynthesisServer
    Internet Plug-ins:
    LogMeInSafari64: Version: 1.0.730 3rd-Party support link
    Default Browser: Version: 537 - SDK 10.9
    Flip4Mac WMV Plugin: Version: 2.4.4.2 3rd-Party support link
    OfficeLiveBrowserPlugin: Version: 12.3.6 3rd-Party support link
    AdobePDFViewerNPAPI: Version: 10.1.6 3rd-Party support link
    FlashPlayer-10.6: Version: 12.0.0.70 - SDK 10.6 3rd-Party support link
    LogMeIn: Version: 1.0.730 3rd-Party support link
    Silverlight: Version: 5.1.20913.0 - SDK 10.6 3rd-Party support link
    Flash Player: Version: 12.0.0.70 - SDK 10.6 3rd-Party support link
    LogMeInSafari32: Version: 1.0.730 3rd-Party support link
    iPhotoPhotocast: Version: 7.0
    QuickTime Plugin: Version: 7.7.3
    AdobePDFViewer: Version: 10.1.6 3rd-Party support link
    JavaAppletPlugin: Version: 14.8.0 - SDK 10.9 Outdated! Update
    Safari Extensions:
    Add To Amazon Wish List: Version: 1.4
    User Internet Plug-ins:
    Google Earth Web Plug-in: Version: 7.1 3rd-Party support link
    fbplugin_1_0_1: Version: (null) 3rd-Party support link
    fbplugin_1_0_3: Version: (null) 3rd-Party support link
    3rd Party Preference Panes:
    Connect360  3rd-Party support link
    Flash Player  3rd-Party support link
    Flip4Mac WMV  3rd-Party support link
    Growl  3rd-Party support link
    MacFUSE  3rd-Party support link
    Paragon NTFS for Mac ® OS X 3rd-Party support link
    Old Applications:
    Plex Media Server:          Version: 0.9.3.4 - SDK 10.5 3rd-Party support link
    Plex Plug-in Installer: Version: 1.0 - SDK 10.5 3rd-Party support link
    HyperDesktop:          Version: 1.1 - SDK 10.0 3rd-Party support link
    Top Processes by CPU:
    3%          WindowServer
    2%          mdworker
    2%          MenuTab Pro for Facebook
    1%          EtreCheck
    0%          mds_stores
    Top Processes by Memory:
    176 MB          softwareupdated
    156 MB com.apple.IconServicesAgent
    123 MB          MenuTab Pro for Facebook
    115 MB          Google Chrome
    70 MB          Dropbox
    Red is the items I'd look at these are mostly 'system level' - they can alter a lot in the OS. Check the developers website, update or remove the apps if the developer doesn't say it supports 10.9 or if you can live without them.
    Soundflower is out of date & it is a 'kernel extension', the kernel is the core of the OS - you don't want any old code running here.
    The installer has a removal tool too https://code.google.com/p/soundflower/ so update or remove it if you don't use it.
    Update or remove Paragon's NTFS tool, it is running at a system level & it's background jobs seem to be in a 'problem state', it also has something running in the kernel.
    Adobe has an updater running, try to ensure Adobe's apps are all up to date, just incase they have stopped checking. Repeat with Google's apps, just launch the apps & look in the 'App menu' or the Help menu for updates. These companies tend to reinstall the updaters if you try to delete them, so there it little you can do but keep the apps updated.
    It's odd that all your User Launch Agents: are not loaded, these are background jobs that start on login (if they are in a loaded state). The same principle applies, update or remove the related apps if they are not needed.
    CleanMyMac is a concern - there are lots of posts here claiming it can break the OS - it can help you to remove files that are installed by Apple which is not the best idea. I am unconvinced that running 'maintenance utilities' all the time is a good idea, however the app removal tool may be OK for cases where a developer doesn't have an uninstaller. 'Cleaner apps' use RAM & can spend time scanning files which can slow other tasks. Search here for varied opinions on CleanMyMac. I also use ClamXAV, ensure that is upto date & so check it's engine & rules are current.
    The purple items are 'user level' items (run on login of your account).
    There is a simple way to see if your issues are because of 'user level' items, create a new test user account & login as that user. If the Mac is stable you can assume it is something within your 'user items'.
    Check that you need the Login Items running every time you login. They are listed in System Preferences> Users & groups > select your account… login items tab.
    You appear to have 3 LogMeIn internet plugins installed - is Safari behaving OK or running slow? I would consider removing most plugins & then installing them as you need them. You can look inside /Library/Internet Plug-Ins/ and ~/Library/Internet Plug-Ins/ to remove them manually.
    ~/Library is your 'home library' Use the Finders Go Menu > Open Folder… and enter ~/Library to reveal it. Apple hid this Library folder.
    I'd be tempted to remove the Java applet plugin - old Java is a real secuity risk & Safari has probably disabled this for you already.
    There seems to be 2 Facebook plugins installed (probably inside your ~/Library/Internet Plug-Ins/). Remove the oldest one & look for the newest release. Update the Safari Extension if it needs it too.
    The Preference Panes are installed in /Library/PreferencePanes/ and ~/Library/PreferencePanes/. Open System prefs & launch each third party pref pane (the bottom rows) & check for updates if possible. These also have an ability to modify the OS, so any errors could effect everything. You can usually right click (or ctrl+click) to remove them from the preferences (it removes them from the OS, but may leave any libraries or extra tools behind - see if the developer has removal instructions).
    I see you have Plex installed, does this run very often? I find it can drag a Mac to a slow crawl when it is indexing. I suspect Connect360 may do similar things, but I don't really know for sure what it does .
    MenuTab for Facebook seems to be doing something with RAM & CPU, update or remove if you don't need it.
    That may all be daunting, but it should help. Start with the system level items, and then look at updating the other items. You may find things improve after a cleanup & a reboot.
    This was extremely helpful and I have gone as far as my knowledge will allow for now.  I did make a bootable clone of the main HDD prior to doing anything, and now there seems to be little improvment following the suggestions made.  Also along the way MacFuse was deleted and well as Flip4Mac and NTFS.  
    Things are far from perfect though and the MBP still stalls and is performing very poorly. 
    I have run another EtreCheck, results below;
    Hardware Information:
              MacBook Pro (13-inch, Mid 2009)
              MacBook Pro - model: MacBookPro5,5
              1 2.26 GHz Intel Core 2 Duo CPU: 2 cores
              4 GB RAM
    Video Information:
              NVIDIA GeForce 9400M - VRAM: 256 MB
    System Software:
              OS X 10.9.2 (13C64) - Uptime: 0 days 22:21:3
    Disk Information:
              FUJITSU MJA2250BH FFS G1 disk0 : (250.06 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 249.2 GB (71.96 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              HL-DT-ST DVDRW  GS23N 
    USB Information:
              Apple Inc. Built-in iSight
              Western Digital Ext HDD 1021 2 TB
                        EFI (disk1s1) <not mounted>: 209.7 MB
                        TimeMachine BackUp (disk1s2) /Volumes/TimeMachine BackUp: 265.79 GB (101.83 GB free)
                        MAC OS (disk1s3) /Volumes/MAC OS: 1.22 TB (1.09 TB free)
                        MS DOS (disk1s4) /Volumes/MS DOS: 510.11 GB (509.98 GB free)
              Apple Internal Memory Card Reader
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Computer, Inc. IR Receiver
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
    FireWire Information:
    Thunderbolt Information:
    Problem System Launch Agents:
              [System] com.paragon.NTFS.trial.plist 3rd-Party support link
              [System] com.paragon.NTFS.upd.plist 3rd-Party support link
    Launch Daemons:
              [System] com.adobe.fpsaud.plist 3rd-Party support link
              [System] com.bombich.ccc.plist 3rd-Party support link
              [System] com.sierrawireless.SwitchTool.plist 3rd-Party support link
    User Launch Agents:
              [not loaded] com.adobe.ARM.[...].plist 3rd-Party support link
              [not loaded] com.google.keystone.agent.plist 3rd-Party support link
              [not loaded] com.macpaw.CleanMyMac.helperTool.plist 3rd-Party support link
              [not loaded] com.macpaw.CleanMyMac.trashSizeWatcher.plist 3rd-Party support link
              [not loaded] com.macpaw.CleanMyMac.volumeWatcher.plist 3rd-Party support link
              [not loaded] uk.co.markallan.clamxav.freshclam.plist 3rd-Party support link
    User Login Items:
              FaceTab Pro for Facebook
              Yoink
    Internet Plug-ins:
              FlashPlayer-10.6: Version: 12.0.0.70 - SDK 10.6 3rd-Party support link
              Flash Player: Version: 12.0.0.70 - SDK 10.6 3rd-Party support link
    Safari Extensions:
              Add To Amazon Wish List: Version: 1.4
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              fbplugin_1_0_3: Version: (null) 3rd-Party support link
              Google Earth Web Plug-in: Version: 7.1 3rd-Party support link
    3rd Party Preference Panes:
              Connect360  3rd-Party support link
              Flash Player  3rd-Party support link
              Growl  3rd-Party support link
    Old Applications:
              Microsoft AutoUpdate:          Version: 2.3.6 - SDK 10.4 3rd-Party support link
                        /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
              Epson Printer Utility 4:          Version: 9.17 - SDK 10.5 3rd-Party support link
                        /Library/Printers/EPSON/InkjetPrinter2/Utility/UT4/Epson Printer Utility 4.app
              /Library/Application Support/Microsoft/MERP2.0
                        Microsoft Error Reporting:          Version: 2.2.9 - SDK 10.4 3rd-Party support link
                        Microsoft Ship Asserts:          Version: 1.1.4 - SDK 10.4 3rd-Party support link
              /Users/[redacted]/Library/Application Support/Plex
                        Plex Media Server:          Version: 0.9.3.4 - SDK 10.5 3rd-Party support link
                        Plex Plug-in Installer:          Version: 1.0 - SDK 10.5 3rd-Party support link
              GrowlTunes:          Version: 1.2.2 - SDK 10.5 3rd-Party support link
              WePrint Server:          Version: 2.705 - SDK 10.4 3rd-Party support link
              HyperDesktop:          Version: 1.1 - SDK 10.0 3rd-Party support link
              iCamSource:          Version: 2.4.1 - SDK 10.4 3rd-Party support link
              SLLauncher:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        /Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
    Time Machine:
              Skip System Files: NO
              Mobile backups: ON
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 232.09 GB Disk used: 165.07 GB
              Destinations:
                        TimeMachine BackUp [Local] (Last used)
                        Total size: 247.53 GB
                        Total number of backups: 13
                        Oldest backup: 2014-02-24 19:18:34 +0000
                        Last backup: 2014-03-01 14:13:56 +0000
                        Size of backup disk: Too small
                                  Backup size 247.53 GB < (Disk used 165.07 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                   3%          WindowServer
                   1%          EtreCheck
                   1%          Folder Actions Dispatcher
                   0%          mdworker
                   0%          MenuTab Pro for Facebook
    Top Processes by Memory:
              152 MB          MenuTab Pro for Facebook
              115 MB          com.apple.WebKit.WebContent
              111 MB          mds_stores
              111 MB          Google Chrome
              98 MB          Mail
    Virtual Memory Information:
              1.04 GB          Free RAM
              1.47 GB          Active RAM
              176 MB          Inactive RAM
              660 MB          Wired RAM
              4.08 GB          Page-ins
              21 MB          Page-outs
    Also need to mention that the login items have all been disabled (though showing in these results).
    Any advice on these specific speed related issues and how to return to the "old ways" would be very much appreciated.
    Thanks in advance,
    Jon.

    Myth of the Dirty Mac
    I would un-install CleanMyMac. It has caused problems for others and in some cases has gone so far as to wreck their system.
    CleanMyMac - Uninstall
    CleanMyMac2 Un-install
    Some other things to look at/try.
    Activity Monitor - Mavericks
    Activity Monitor in Mavericks has significant changes
    Performance Guide
    Why is my computer slow
    Why your Mac runs slower than it should
    Slow Mac After Mavericks
    Things you can do to resolve slowdowns  see post by Kappy

  • Mac running slow with Yosemite

    Mac Running slow with Yosemite install.
    report is below.  Now what do I do?   Thanks Stu
    Problem description:
    Mac running very slow after Yosemite install.  Wheel turns almost all the time
    EtreCheck version: 2.0.11 (98)
    Report generated November 7, 2014 at 10:14:41 AM PST
    Hardware Information: ℹ️
      MacBook Pro (13-inch, Early 2011) (Verified)
      MacBook Pro - model: MacBookPro8,1
      1 2.7 GHz Intel Core i7 CPU: 2-core
      4 GB RAM Upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1333 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1333 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 3000 - VRAM: 384 MB
      Color LCD 1280 x 800
    System Software: ℹ️
      OS X 10.10 (14A389) - Uptime: 14:53:8
    Disk Information: ℹ️
      Hitachi HTS547550A9E384 disk0 : (500.11 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      Macintosh HD (disk1) /  [Startup]: 498.88 GB (343.70 GB free)
      Core Storage: disk0s2 499.25 GB Online
      MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /System/Library/Extensions
      [not loaded] com.seagate.driver.PowSecDriverCore (5.2.3 - SDK 10.4) Support
      /System/Library/Extensions/Seagate Storage Driver.kext/Contents/PlugIns
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.3 - SDK 10.4) Support
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.3 - SDK 10.5) Support
      [not loaded] com.seagate.driver.SeagateDriveIcons (5.2.3 - SDK 10.4) Support
    Problem System Launch Agents: ℹ️
      [failed] com.apple.AirPlayUIAgent.plist
      [failed] com.apple.bird.plist
      [failed] com.apple.CallHistoryPluginHelper.plist
      [failed] com.apple.CallHistorySyncHelper.plist
      [failed] com.apple.coreservices.appleid.authentication.plist
      [failed] com.apple.coreservices.uiagent.plist
      [failed] com.apple.EscrowSecurityAlert.plist
      [failed] com.apple.icloud.fmfd.plist
      [failed] com.apple.nsurlsessiond.plist
      [failed] com.apple.pluginkit.pkd.plist
      [failed] com.apple.recentsd.plist
      [failed] com.apple.SafariNotificationAgent.plist
      [failed] com.apple.sbd.plist
      [failed] com.apple.scopedbookmarkagent.xpc.plist
      [failed] com.apple.security.cloudkeychainproxy.plist
      [failed] com.apple.spindump_agent.plist
      [failed] com.apple.syncdefaultsd.plist
      [failed] com.apple.telephonyutilities.callservicesd.plist
    Problem System Launch Daemons: ℹ️
      [failed] com.apple.awdd.plist
      [failed] com.apple.cache_delete.plist
      [failed] com.apple.ctkd.plist
      [failed] com.apple.icloud.findmydeviced.plist
      [failed] com.apple.ifdreader.plist
      [failed] com.apple.MobileFileIntegrity.plist
      [failed] com.apple.nehelper.plist
      [failed] com.apple.nsurlsessiond.plist
      [failed] com.apple.periodic-daily.plist
      [failed] com.apple.periodic-weekly.plist
      [failed] com.apple.smbd.plist
      [failed] com.apple.softwareupdated.plist
      [failed] com.apple.spindump.plist
      [failed] com.apple.tccd.system.plist
      [failed] com.apple.wdhelper.plist
    Launch Agents: ℹ️
      [loaded] com.oracle.java.Java-Updater.plist Support
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist Support
      [loaded] com.oracle.java.Helper-Tool.plist Support
      [loaded] com.oracle.java.JavaUpdateHelper.plist Support
      [loaded] com.sonos.smbbump.plist Support
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist Support
      [loaded] com.google.keystone.agent.plist Support
    User Login Items: ℹ️
      iTunesHelper UNKNOWNHidden (missing value)
      Dropbox Application (/Applications/Dropbox.app)
      AdobeResourceSynchronizer ApplicationHidden (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
    Internet Plug-ins: ℹ️
      Flip4Mac WMV Plugin: Version: 2.4.0.11 Support
      FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
      Default Browser: Version: 600 - SDK 10.10
      AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 Support
      AdobePDFViewer: Version: 11.0.09 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
      QuickTime Plugin: Version: 7.7.3
      Silverlight: Version: 5.1.30514.0 - SDK 10.6 Support
      JavaAppletPlugin: Version: Java 7 Update 71 Check version
    User Internet Plug-ins: ℹ️
      Google Earth Web Plug-in: Version: 7.1 Support
    3rd Party Preference Panes: ℹ️
      Flash Player  Support
      Flip4Mac WMV  Support
      Java  Support
    Time Machine: ℹ️
      Skip System Files: NO
      Mobile backups: ON
      Auto backup: YES
      Volumes being backed up:
      Macintosh HD: Disk size: 498.88 GB Disk used: 155.18 GB
      Destinations:
      Seagate Backup Plus Drive [Local]
      Total size: 3.00 TB
      Total number of backups: 106
      Oldest backup: 2012-07-30 21:42:20 +0000
      Last backup: 2014-11-07 07:42:37 +0000
      Size of backup disk: Excellent
      Backup size 3.00 TB > (Disk size 498.88 GB X 3)
    Top Processes by CPU: ℹ️
          12% mds
          6% WindowServer
          0% Dropbox
          0% AppleSpell
          0% fontd
    Top Processes by Memory: ℹ️
      90 MB Safari
      34 MB WindowServer
      26 MB mds
      26 MB cloudd
      21 MB soagent
    Virtual Memory Information: ℹ️
      64 MB Free RAM
      766 MB Active RAM
      721 MB Inactive RAM
      1.13 GB Wired RAM
      18.26 GB Page-ins
      120 MB Page-outs

    my mac is also running very slowly with that spinning beach ball constantly making its unwanted presence felt. i've tried the following so far:
    - safe boot
    - cleared items from Users / Groups | Login
    - checked Activity Monitor to remove any processes in red
    - run disk verify
    - reinstalled the OS X
    here is the output from my EtreCheck ...
    Problem description:
    mac running very slowly with yosemite
    EtreCheck version: 2.1.8 (121)
    Report generated 8 March 2015 1:41:06 pm AEDT
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        iMac (27-inch, Late 2012) (Technical Specifications)
        iMac - model: iMac13,2
        1 2.9 GHz Intel Core i5 CPU: 4-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1600 MHz ok
            BANK 0/DIMM1
                Empty  
            BANK 1/DIMM1
                Empty  
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        NVIDIA GeForce GTX 660M - VRAM: 512 MB
            iMac 2560 x 1440
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:8:1
    Disk Information: ℹ️
        APPLE HDD ST1000DM003 disk0 : (1 TB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 999.35 GB (737.74 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
        Apogee Duet USB
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. MacBook Air SuperDrive
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/AirParrot.app
        [not loaded]    com.squirrels.airparrot.framebuffer (3 - SDK 10.7) [Click for support]
        [not loaded]    com.squirrels.driver.AirParrotSpeakers (1.7 - SDK 10.7) [Click for support]
            /Library/Extensions
        [not loaded]    com.apogeedigital.kext.ApogeeUSBDuetAudio (1.0.0a1 - SDK 10.9) [Click for support]
            /System/Library/Extensions
        [loaded]    com.Cycling74.driver.Soundflower (1.5.1) [Click for support]
        [not loaded]    com.pctools.iantivirus.kfs (1.0.1) [Click for support]
    Launch Agents: ℹ️
        [running]    com.ApogeePopup.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [running]    com.DuetUSBDaemon.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    jp.co.canon.MasterInstaller.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.facebook.videochat.[redacted].plist [Click for support]
    User Login Items: ℹ️
        None
    Internet Plug-ins: ℹ️
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        JavaAppletPlugin: Version: Java 8 Update 25 Check version
        Default Browser: Version: 600 - SDK 10.10
    Safari Extensions: ℹ️
        "Duplicate Tab" Button
        Exposer
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Java  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: OFF
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 999.35 GB Disk used: 261.60 GB
        Destinations:
            Data [Network]
            Total size: 2.00 TB
            Total number of backups: 53
            Oldest backup: 2014-05-24 09:36:55 +0000
            Last backup: 2015-03-07 02:24:42 +0000
            Size of backup disk: Adequate
                Backup size 2.00 TB > (Disk used 261.60 GB X 3)
    Top Processes by CPU: ℹ️
             9%    cloudd
             2%    WindowServer
             0%    backupd
             0%    cloudpaird
    Top Processes by Memory: ℹ️
        258 MB    Living Earth Desktop
        180 MB    cloudd
        86 MB    Finder
        69 MB    ocspd
        52 MB    Preview
    Virtual Memory Information: ℹ️
        16 MB    Free RAM
        1.67 GB    Active RAM
        6.19 GB    Inactive RAM
        710 MB    Wired RAM
        77.72 GB    Page-ins
        7 MB    Page-outs
    Diagnostics Information: ℹ️
        Mar 8, 2015, 01:25:39 PM    Self test - passed
        Mar 7, 2015, 03:24:57 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/Pages_2015-03-07-152457_[redac ted].crash
        Mar 5, 2015, 10:20:58 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/cloudd_2015-03-05-222058_[reda cted].crash
        Mar 5, 2015, 10:14:51 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/cloudd_2015-03-05-221451_[reda cted].crash
        Mar 5, 2015, 10:14:42 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/cloudd_2015-03-05-221442_[reda cted].crash

  • SQL Worksheet Gets Slower and S.l..o...w....e.....r with Use

    Does anyone else notice the more you use SQL Worksheet, the
    slower it gets? The first time I start it up, it'll run a
    compile on an object super-fast. After running a dozen or more
    compiles and test scripts, I notice it's getting slower.
    Eventually, it's so slow I just kill SQL Worksheet and start it
    right back up. Then it's back to warp speed again!
    I'm on a Win2K machine, running Oracle 8.0.6, with version 1.6.0
    of SQL Worksheet.
    I have 2.1 install disc for Oracle Enterprise Manager, but I'm
    uncertain if I can update what I've got (given the release of
    Oracle I'm on). Any help here would be appreciated, too.

    The box does not reboot itself at 7am every day at the behest of BT that is not normal behaviour.
    I think you really ought to fo  a hard reset and clear everything off your hard drive and see if it solves your problem.
    If it does not then you are I think looking at a slowly dying box which needs to be replaced.
    Factory Reset
    Switch off the Vision+ box at the mains socket
    Hold down the front panel OK and down arrow buttons
    Switch on the power to the Vision+ box
    Allow the box to start up (about 15 seconds)
    Release the OK and down arrow buttons
    The Vision+ box will then contact the servers to get a new copy of its firmware
    This will take around 30 minutes
    Life | 1967 Plus Radio | 1000 Classical Hits | Kafka's World
    Someone Solved Your Question?
    Please let other members know by clicking on ’Mark as Accepted Solution’
    Helpful Post?
    If a post has been helpful, say thanks by clicking the ratings star.

Maybe you are looking for