SELECT query sometimes runs extremely slowly - UNDO question

Hi,
The Background
We have a subpartitioned table:
CREATE TABLE TAB_A
  RUN_ID           NUMBER                       NOT NULL,
  COB_DATE         DATE                         NOT NULL,
  PARTITION_KEY    NUMBER                       NOT NULL,
  DATA_TYPE        VARCHAR2(10),
  START_DATE       DATE,
  END_DATE         DATE,
  VALUE            NUMBER,
  HOLDING_DATE     DATE,
  VALUE_CURRENCY   VARCHAR2(3),
  NAME             VARCHAR2(60),
PARTITION BY RANGE (COB_DATE)
SUBPARTITION BY LIST (PARTITION_KEY)
SUBPARTITION TEMPLATE
  (SUBPARTITION GROUP1 VALUES (1) TABLESPACE BROIL_LARGE_DATA,
   SUBPARTITION GROUP2 VALUES (2) TABLESPACE BROIL_LARGE_DATA,
   SUBPARTITION GROUP3 VALUES (3) TABLESPACE BROIL_LARGE_DATA,
   SUBPARTITION GROUP4 VALUES (4) TABLESPACE BROIL_LARGE_DATA,
   SUBPARTITION GROUP5 VALUES (DEFAULT) TABLESPACE BROIL_LARGE_DATA
  PARTITION PARTNO_03 VALUES LESS THAN
  (TO_DATE(' 2008-07-22 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
  ( SUBPARTITION PARTNO_03_GROUP1 VALUES (1),
    SUBPARTITION PARTNO_03_GROUP2 VALUES (2),
    SUBPARTITION PARTNO_03_GROUP3 VALUES (3),
    SUBPARTITION PARTNO_03_GROUP4 VALUES (4),
    SUBPARTITION PARTNO_03_GROUP5 VALUES (DEFAULT) ), 
  PARTITION PARTNO_01 VALUES LESS THAN
  (TO_DATE(' 2008-07-23 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
  ( SUBPARTITION PARTNO_01_GROUP1 VALUES (1),
    SUBPARTITION PARTNO_01_GROUP2 VALUES (2),
    SUBPARTITION PARTNO_01_GROUP3 VALUES (3),
    SUBPARTITION PARTNO_01_GROUP4 VALUES (4),
    SUBPARTITION PARTNO_01_GROUP5 VALUES (DEFAULT) ), 
  PARTITION PARTNO_02 VALUES LESS THAN
  (TO_DATE(' 2008-07-24 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
  ( SUBPARTITION PARTNO_02_GROUP1 VALUES (1),
    SUBPARTITION PARTNO_02_GROUP2 VALUES (2),
    SUBPARTITION PARTNO_02_GROUP3 VALUES (3),
    SUBPARTITION PARTNO_02_GROUP4 VALUES (4),
    SUBPARTITION PARTNO_02_GROUP5 VALUES (DEFAULT) ), 
  PARTITION PARTNO_OTHER VALUES LESS THAN (MAXVALUE)
  ( SUBPARTITION PARTNO_OTHER_GROUP1 VALUES (1),
    SUBPARTITION PARTNO_OTHER_GROUP2 VALUES (2),
    SUBPARTITION PARTNO_OTHER_GROUP3 VALUES (3),
    SUBPARTITION PARTNO_OTHER_GROUP4 VALUES (4),
    SUBPARTITION PARTNO_OTHER_GROUP5 VALUES (DEFAULT) )
CREATE INDEX TAB_A_IDX ON TAB_A
(RUN_ID, COB_DATE, PARTITION_KEY, DATA_TYPE, VALUE_CURRENCY)
  LOCAL;The table is subpartitioned as each partition typically has 135million rows in it.
Overnight, serveral runs occur that load data into this table (the partitions are rolled over daily, such that the oldest one is dropped and a new one created. Stats are exported from the oldest partition prior to being dropped and imported to the newly created partition. The oldest partition once the partition has been created has it's stats analyzed).
Data loads can load anything from 200 rows to 20million rows into the table, with most of the rows ending up in the Default subpartition. Most of the runs that load a larger set of rows have been set up to add into one of the other 4 subpartitions.
We then run a process to extract data from the table that gets put into a file. This is a two step process (due to Oracle completely picking the wrong execution plan and us not being able to rewrite the query in such a way that it'll pick the right path up by itself!):
1. Identify all the unique currencies
2. Update the (dynamic) sql query to add a CASE clause into the select clause based on the currencies identified in step 1, and run the query.
Step 1 uses this query:
SELECT DISTINCT value_currency
FROM            tab_a
WHERE           run_id = :b3 AND cob_date = :b2 AND partition_key = :b1;and usually finishes this within 20 minutes.
The problem
Occasionally, this simple query runs over 20 minutes (I don't think we've ever seen it run to completion on these occurrences, and I've certainly seen it take over 3 hours before we killed it, for a run where it would normally complete in 2 or 3 minutes), which we've now come to recognise as it "being stuck". The execution path it takes is the same as when it runs normally, there are no unusual wait events, and no unusual wait times. All in all, it looks "normal" except for the fact that it's taking forever (tongue-in-cheek!) to run. When we kill and rerun, the execution time returns to normal. (We've sent system state dumps to Oracle to be analyzed, and they came back with "The database is doing stuff, can't see anything wrong")
We've never been able to come up with any explanation before, but the same run has failed consistently for the last three days, so I managed to wangle a DBA to help me investigate it further.
After looking through the ASH reports, he proposed a theory that the problem was it was having to go to the UNDO to retrieve results, and that this could explain the massive run time of the query.
I looked at the runs and agreed that UNDO might have been used in that particular instance of the query, as another run had loaded data into the table at the same time it was being read.
However, another one of the problematic runs had not had any inserts (or updates/deletes - they don't happen in our process) during the reading of the data, and yet it had taken a long time too. The ASH report showed that it too had read from UNDO.
My question
I understand from this link: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:44798632736844 about how Selects may generate REDO, but I don't see why UNDO would possibly be generated by a select. Does anyone know of a situation where a select would end up looking through UNDO, even though no inserts/updates/deletes had taken place on the table/index it was looking at?
Also, does the theory that having to look through the UNDO (currently UNDO ts is 50000MB, in case that's relevant) causing queries to take an extremely long time hold water? We're on 10.2.0.3
Message was edited by:
Boneist
Ok, having carried on searching t'internet, I can see that it's maybe Delayed Block Cleanout that's causing the UNDO to be referenced. Even taking that into account, I can't see why going back to the UNDO to be told to commit the change to disk could slow the query down that much? What waits would this show up as, if any?

Since you're on 10.2 and I understand that you use
the statistics of the "previous" content for the
partition that you are now loading (am I right?) you
have to be very careful with the 10g optimizer. If
the statistics tell the optimizer that the values
that you're querying for are sufficiently
out-of-range this might change the execution plan
because it estimates that only a few or no rows will
be returned. So if the old statistics do not fit the
new data loaded in terms of column min/max values
then this could be a valid reason for different
execution plans for some executions (depending on the
statistics of the old partition and the current
values used). Your RUN_ID is a good candidate I guess
as it could be ever increasing... If the max value of
the old partition is sufficiently different from the
current value this might be the cause.
Do you actually use bind variables for that
particular statement? Then we have in addition bind
variable peeking and potentially statement re-using
to consider.
I would prefer literals instead of bind variables or
do you encounter parse issues?Yes, that query runs as part of a procedure and uses bind variables (well, pl/sql variables!). We are aware that because of the histograms that get produced, the stats are not as good as we'd like. I'm wondering if analyzing the partition would be the best way to go, only that means analysing the entire partition, not just the subpartition, I guess? But if other inserts are taking place at the same time, having several analyzes taking place won't help the speed of inserting, or won't it matter?
Do you have the "default" 10g statistics gathering
job active? This could also explain why you get
different execution plans at different execution
times. If the job determines that the statistics of
some of your partitions are stale then it will
attempt to gather statistics even if you already have
statistics imported/generated.No, we turned that off. The stats do not change when we rerun the query - we guess there is some sort of contention taking place, possibly when reading from the UNDO, although I would expect that to show up in the waits - it doesn't appear to though.
Data loads can load anything from 200 rows to
20million rows into the table, with most of therows
ending up in the Default subpartition. Most of the
runs that load a larger set of rows have been setup
to add into one of the other 4 subpartitions.
I'm not sure about above description. Do most of the
rows end up in the default subpartition (most rows in
default partition) or do the larger sets load into
the other 4 ones... (most rows in the non-default
partitions)?Sorry, I mean that the loads that load say 20million + rows at a time have a specified subpartition to go into (defined via some config. We had to make up a "partition key" in order to do this as there is nothing in the data that lends itself to the subpartition list, unfortunately - the process determines which subpartition to load to/extract from via a config table), but this applies to not many of the runs. So, the majority of the runs (with fewer rows) go into the default partition.
The query itself scans the index, not the table, doing partition pruning, etc.
The same SQL_ID doesn't mean it's the same plan. So
are you 100% sure that the plans where the same? I
could imagine (see above) that the execution plans
might be different.The DBA looking at it said that the plans were the same, and I have no reason to doubt him. Also, the session browser in Toad shows the same explain plan in the "Current Statement" tab for normal and abnormal runs and is as follows:
Time     IO Cost     CPU Cost     Cardinality     Bytes     Cost     Plan
                         6     SELECT STATEMENT  ALL_ROWS                    
4 1     4 4     4 82,406     4 1     4 20     4 6          4 HASH UNIQUE                 
3 1     3 4     3 28,686     3 1     3 20     3 5               3 PARTITION RANGE SINGLE  Partition #: 2            
2 1     2 4     2 28,686     2 1     2 20     2 5                    2 PARTITION LIST SINGLE  Partition #: 3       
1 1     1 4     1 28,686     1 1     1 20     1 5                         1 INDEX RANGE SCAN INDEX TAB_A_IDX Access Predicates: "RUN_ID"=:B3 AND "COB_DATE"=:B2 AND "PARTITION_KEY"=:B1  Partition #: 3 
How do you perform your INSERTs? Are overlapping
loads and queries actually working on the same
(sub-)partition of the table or in different ones? Do
you use direct-path inserts or parallel dml?
Direct-path inserts as far I know create "clean"
blocks that do not need a delayed block cleanout.We insert using a select from an external table - there's a parallel hint in there, but I think that is often ignored (at least, I've never seen any hint of sessions running in parallel when looking at the session browser, and I've seen it happen in one of our dev databases, so...). As mentioned above, rows could get inserted into different partitions, although the majority of runs load into the default subpartition. In practise, I don't think more than 3 or 4 loads take place at the same time.
If you loading and querying different partitions then
your queries shouldn't have to check for UNDO except
for the delayed block cleanout case.
You should check at least two important things:
- Are the execution plans different for the slow and
normal executions?
- Get the session statistics (logical I/Os, redo
generated) for the normal and slow ones in order to
see and compare the amount of work that they
generate, and to find out how much redo your query
potentially generated due to delayed block cleanout.It's difficult to do a direct comparison that's exact, due to other work going on in the database, and the abnormal query taking far longer than normal, but here is the ASH comparison between a normal run (1st) and our abnormal run (2nd) (both taken over 90 mins, and the first run may well include other runs that use the same query in the results):
              Exec Time of DB    Exec Time (ms)      #Exec/sec   CPU Time (ms)   Physical Reads / Exec  #Rows Processed    
              Time                / Exec             (DB Time)    / Exec                                 / Exec
SQL Id        1st  2nd   Diff    1st     2nd         1st  2nd    1st    2nd      1st       2nd          1st  2nd         Multiple Plans   SQL Text
gpgaxqgnssnvt 3.54 15.76 12.23   223,751 1,720,297   0.00 0.00   11,127 49,095   42,333.00 176,565.00   2.67 4.00        No               SELECT DISTINCT VALUE_CURRENCY...

Similar Messages

  • I have had my macbook pro for 4 months and it is now running extremely slowly

    please can somebody help me, i don't know anything technical about computers. my 15'' macbook pro has overnight started to run extremely slowly, it is now becoming impossible to use my macbook and it is only 4 months old, i have no idea why and the only things i have put on it are the software updates. my macbook came with snow leopard but i got a free copy of lion to put on the very next day and i've never had any problems. i'm desperate to get this sorted as i'm disabled and it is a lifeline to me. thank you in advance to anyone who can help me. lynda.

    i took my macbook to the apple store i bought it from, they checked the memory and hard drive and everything was ok, after a re install of the operating system i still had a problem so apple advised me to back up everything to an external drive the erase everything then reinstall which i've done and am now up and running again, it's like i have a new macbook

  • Macbook Pro 10.6.8 - 4GB started running extremely slowly.

    All of a sudden my Macbook Pro 10.6.8 - 4GB started running extremely slowly. I verified the disk and got an OK.  I have plenty of memory. Any clue?

    I do need to learn how to use the communities...sorry. First time.
    I do have lots of free disk space though.
    The problem seems to be solved, after a whole day searching for help on the net.
    I read somewhere to check my Console.app for repeated information. Then I saw my Mackeeper antivirus was sending the same message every 5 seconds for the last 15 hours. Thousands and thousands of the same message. I turned off the Real-time Protection, restarted the computer and all is fine. Just can't believe it.
    Where I live it is kind of hard to get assistance.
    Tks for your help.

  • Mac is running EXTREMELY slowly

    Hello everyone! I'm new to Macs, and I've been quite satisfied with mine. However, I've run into quite the odd issue. Recently (as of a few months) my Mac has started to run extremely slowly. I've done everything on the Internet until I got massively ****** off and formatted it - this seemed to fix it. That time I thought it was a full HD, as it was indeed quite full and I had several large files. However, as of yesterday, it started getting massively slow AGAIN. This time it was not a full HD as I had only 60gb occupied and +200gb free. Again quite ****** off I am formatting it again - in fact I'm posting this from the iPhone as it formats right now.
    Now this isn't an old Mac - I bought it in 2009 - and I don't think I do anyhing outrageous with it, really, so I'd really like to know what possibly may be happening. Usually when the "snail mode" begins to happen no force seems able to fix it. Repair permissions shows me several wrong permissions but doesn't seem to actually repair them. Cleaning up uselessness with OnyX doesn't seem to solve anything. When it starts to get truly slow nothing short of shutting down and leaving it that way seems to work - and the next day it seems better, just to get slow again. It doesn't seem to be hardware, as formatting sort of worked previously. Even the gray screen when you turn it on and the login screen get slow - even typing the password. This is quite annoying indeed.
    In the last format I moved my iTunes folder to my external HD (which I keep connected; it's a 1TB Samsung formatted to NTSF, and which I used a 3rd party plugin thingy to format and access). Everything other than apps I keep there. The only reasonably heavy apps I had a game (The Sims 3 + all expansion packs) and Photoshop, which I rarely use. This time the slow down began after Sims 3 started crashing so badly I had to forcibly shutdown everything. This happened a few times. I'd understand if the game was slow, but could it have caused such a massive system breakdown?
    My machine is an iMac running Leopard (completely updated). It's 20'', Core 2 Duo, with 2gb RAM. I'll be eternally grateful if someone can help me fix these issues for good.
    Many thanks from Brazil!

     > System Preferences > Account > Log-In Items > Remove your login items
    Also check your Activity Monitor > to see what is running as-well.
    Also based on what you wrote before try repairing the disk.
    Put in the system disks and boot to them. Repair the disk from there.
    Also check out some HDD scanning software, check your HDD for "bad blocks" the SMART scan doesn't usually catch them
    I hope this helps!
    GL!

  • HT201366 Security Update 2013-003 keeps failing to install - 'Unexpected Error occurred' - and now my MacBook Pro is running extremely slowly?

    I have repeatedly tried to update the software 'Security Update 2013-003' on my MacBook Pro OS X Version 10.7.5 but it keeps failing to install, stating that 'an Unexpected Error Occurred'.
    Since the update failed the first time, my MacBook Pro has been running extremely slowly and failing to open basic apps like Mail and Safari at times.
    All other updates have been successful apart from this one. I have made sure that my MacBook isn't full (emptied Trash etc) but it still runs really slowly at times so I think it's linked with the Security Update failure.
    Please help!
    *I have tried installing the update from Support Downloads but it says there isn't space on Macintosh to install it. There is 190 GB of free space on that disk so I don't understand that at all.
    LION system.

    I have tried and it downloads successfully but when I install it, it comes up with this:

  • Since updating to FF 5.0, I can no longer access my MAMP server (Mac/Apache/MySQL/PHP) Wordpress development site on my Localhost computer (MacBook Pro, OSX 10.6.4). Why not? It's running EXTREMELY SLOWLY when I try to access the pages on my site.

    PROBLEM WITH LOCALHOST SITE LOADING VERY SLOWLY (IF AT ALL) AFTER I UPGRADED FIREFOX TO 5.0 FROM 3.6
    I have been successfully running MAMP, a personal Apache server with MySQL, on my MacBook Pro using OSX 10.6.4. This is so I can create a Wordpress blog locally to later upload to my remote website.
    Yesterday, I updated my Firefox browser from 3.6 to 5.0 (and added the following extensions: Better Privacy 1.51, Bloody Vikings! 0.5.3, Copy as HTML Link 2.0, Firebug 1.7.3, Firepicker 1.3.4, NoScript 2.1.1.2, and Ultimate Free Stock Photo Search Add-on 1.0.1, TypeGauge 0.5, and Zotero 2.1.8)
    Now, I'm having trouble: At first, MySQL database server in MAMP wouldn't turn on at all. I restarted both Firefox and MAMP a few times. Finally, MySQL turned on and MAMP started to load into the browser. But it got only as far as the top bar on the MyPHP page, and would not load the rest of the page. Finally, pages do load, but I'm getting a "Waiting for localhost…" message looping at the lower left screen for a VERY LONG TIME (30-60 sec?) before my localhost web page appears (sometimes it says "Read localhost…").
    But even when the localhost pages appears, it continues to run VERY SLOWLY when the browser tries to load the pages (although it runs a little less slowly when I use only the backend Wordpress administration pages). In short, it seems that something is stopping Firefox from accessing the MySQL database properly so that my site can show up as quickly as it did before.
    Since this mess only happened after I upgraded to Firefox 5.0 and added the plugins, and nothing else has changed on my computer, it seems the Firefox 5.0 app and/or an extension is the culprit.
    Can you advise me ASAP about what to do? If not, I'll have to downgrade to 4.0 or something. I've got deadlines to meet.
    Thank you.

    PROBLEM WITH LOCALHOST SITE LOADING VERY SLOWLY (IF AT ALL) AFTER I UPGRADED FIREFOX TO 5.0 FROM 3.6
    I have been successfully running MAMP, a personal Apache server with MySQL, on my MacBook Pro using OSX 10.6.4. This is so I can create a Wordpress blog locally to later upload to my remote website.
    Yesterday, I updated my Firefox browser from 3.6 to 5.0 (and added the following extensions: Better Privacy 1.51, Bloody Vikings! 0.5.3, Copy as HTML Link 2.0, Firebug 1.7.3, Firepicker 1.3.4, NoScript 2.1.1.2, and Ultimate Free Stock Photo Search Add-on 1.0.1, TypeGauge 0.5, and Zotero 2.1.8)
    Now, I'm having trouble: At first, MySQL database server in MAMP wouldn't turn on at all. I restarted both Firefox and MAMP a few times. Finally, MySQL turned on and MAMP started to load into the browser. But it got only as far as the top bar on the MyPHP page, and would not load the rest of the page. Finally, pages do load, but I'm getting a "Waiting for localhost…" message looping at the lower left screen for a VERY LONG TIME (30-60 sec?) before my localhost web page appears (sometimes it says "Read localhost…").
    But even when the localhost pages appears, it continues to run VERY SLOWLY when the browser tries to load the pages (although it runs a little less slowly when I use only the backend Wordpress administration pages). In short, it seems that something is stopping Firefox from accessing the MySQL database properly so that my site can show up as quickly as it did before.
    Since this mess only happened after I upgraded to Firefox 5.0 and added the plugins, and nothing else has changed on my computer, it seems the Firefox 5.0 app and/or an extension is the culprit.
    Can you advise me ASAP about what to do? If not, I'll have to downgrade to 4.0 or something. I've got deadlines to meet.
    Thank you.

  • Why is my iMac running extremely slowly??

    My mid-2010 iMac has been running excrutiatingly slowly over the past few months, with the spinning beachball popping up any time I click on anything at all. I started in SafeMode and the problem disappears, leading me to believe it might be a software issue. I've turned off all startup/login processes but am still having the same problem. I downloaded EtreCheck and the results are below -- can anyone give me any insights?
    Hardware Information:
              iMac (21.5-inch, Mid 2010)
              iMac - model: iMac11,2
              1 3.2 GHz Intel Core i3 CPU: 2 cores
              4 GB RAM
    Video Information:
              ATI Radeon HD 5670 - VRAM: 512 MB
    System Software:
              OS X 10.8.5 (12F45) - Uptime: 0 days 0:25:33
    Disk Information:
              ST31000528AS disk0 : (1 TB)
                        disk0s1 (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) /: 999.35 GB (846.82 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              HL-DT-STDVDRW  GA32N 
    USB Information:
              Apple Computer, Inc. IR Receiver
              Apple Inc. Built-in iSight
              Apple Internal Memory Card Reader
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
    FireWire Information:
    Thunderbolt Information:
    Kernel Extensions:
              com.avast.PacketForwarder          (1.3 - SDK 10.8)
              com.avast.AvastFileShield          (2.0.0 - SDK 10.8)
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist 3rd-Party support link
              [loaded] com.avast.init.plist 3rd-Party support link
              [loaded] com.avast.uninstall.plist 3rd-Party support link
              [loaded] com.carbonite.launchd.carbonitedaemon.plist 3rd-Party support link
              [loaded] com.google.keystone.daemon.plist 3rd-Party support link
              [loaded] com.microsoft.office.licensing.helper.plist 3rd-Party support link
    Launch Agents:
              [loaded] com.avast.userinit.plist 3rd-Party support link
              [loaded] com.carbonite.launchd.carbonitealerts.plist 3rd-Party support link
              [loaded] com.carbonite.launchd.carbonitestatus.plist 3rd-Party support link
              [loaded] com.google.keystone.agent.plist 3rd-Party support link
    User Launch Agents:
              [loaded] com.adobe.ARM.[...].plist 3rd-Party support link
              [loaded] com.avast.home.userinit.plist 3rd-Party support link
              [loaded] com.divx.agent.postinstall.plist 3rd-Party support link
    User Login Items:
              None
    Internet Plug-ins:
              o1dbrowserplugin: Version: 4.9.1.16010 3rd-Party support link
              Google Earth Web Plug-in: Version: 6.0 3rd-Party support link
              OVSHelper: Version: 1.1 3rd-Party support link
              Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 3rd-Party support link
              AdobePDFViewerNPAPI: Version: 10.1.8 3rd-Party support link
              FlashPlayer-10.6: Version: 11.9.900.170 - SDK 10.6 3rd-Party support link
              DivXBrowserPlugin: Version: 2.2 3rd-Party support link
              Silverlight: Version: 4.0.60831.0 3rd-Party support link
              Flash Player: Version: 11.9.900.170 - SDK 10.6 3rd-Party support link
              iPhotoPhotocast: Version: 7.0 - SDK 10.8
              googletalkbrowserplugin: Version: 4.9.1.16010 3rd-Party support link
              npgtpo3dautoplugin: Version: 0.1.44.29 - SDK 10.5 3rd-Party support link
              AdobePDFViewer: Version: 10.1.8 3rd-Party support link
              GarminGpsControl: Version: 4.0.3.0 Release - SDK 10.6 3rd-Party support link
              QuickTime Plugin: Version: 7.7.1
              SharePointBrowserPlugin: Version: 14.3.9 - SDK 10.6 3rd-Party support link
              JavaAppletPlugin: Version: 14.3.0 - SDK 10.8 Outdated! Update
    Audio Plug-ins:
              AirPlay: Version: 1.7 - SDK 10.8
              iSightAudio: Version: 7.7.1 - SDK 10.8
    User Internet Plug-ins:
              Picasa: Version: 1.0 3rd-Party support link
    3rd Party Preference Panes:
              avast! Preferences  3rd-Party support link
              Carbonite  3rd-Party support link
              DivX  3rd-Party support link
              Flash Player  3rd-Party support link
              Flip4Mac WMV  3rd-Party support link
    Bad Fonts:
              None
    Old Applications:
              /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
              SkypeToAddressBook:          Version: 2.0 - SDK 10.0 3rd-Party support link
              Microsoft AutoUpdate:          Version: 2.3.6 - SDK 10.4 3rd-Party support link
                        /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
    Time Machine:
              Mobile backups: OFF
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 930.71 GB Disk used: 142.05 GB
              Destinations:
                        Elements [Local] (Last used)
                        Total size: 465.41 GB
                        Total number of backups: 26
                        Oldest backup: 2014-01-01 00:04:24 +0000
                        Last backup: 2014-01-02 14:51:18 +0000
                        Size of backup disk: Adequate
                                  Backup size 465.41 GB > (Disk used 142.05 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                  24%          WebProcess
                   7%          Safari
                   4%          WindowServer
                   2%          CarboniteDaemon
                   2%          EtreCheck
    Top Processes by Memory:
              220 MB          Safari
              181 MB          WebProcess
              127 MB          Finder
              86 MB          mds
              74 MB          Notes
    Virtual Memory Information:
              630 MB          Free RAM
              1.74 GB          Active RAM
              1.04 GB          Inactive RAM
              612 MB          Wired RAM
              1.27 GB          Page-ins
              0 B          Page-outs

    Thank you for posting the report, my best guess is due to the unnecessary
    com.avast.PacketForwarder (1.3 - SDK 10.8) 
    com.avast.AvastFileShield (2.0.0 - SDK 10.8)
    that you have installed. Please follow the developers instruction for uninstalling Avast and I'm willing to bet your performance will return. Not only is antivirus software for OS X  unnecessary it takes up valualble system resources, tends to create more problems that it solves and hurt the overall performance. The best solution for keeping your system safe from the extremely small amount of Malware out there is to use a small amount of common sense. First is keep your system up-to-date by running Software Update regularly, do not download anyting that says you MUST download it and avoid illegal torrent sites.

  • 2012 MacBook Pro running extremely slowly with constant color wheel

    I have a 2012 MacBrook Pro and yesterday it randomly began to function extremely slowly and has almost a constant color wheel. This does not just happen when on the internet, but happens with any function of my computer. Even the typing is lagging.
    The following information might be helpful in attempting to find a solution:
    -All of my updates are up to date
    -I have tried turning off my computer and restarting it a few times, including trying it in SafeMode and there was no difference.
    -My computer has never done this before.
    -I did not have an abnormal amount of activity happening on my computer when it began to function extremely slowly.
    Anyone have any ideas of what could be happening and how I can fix this?
    Thank you!

    Are these typical problems that happen when there are problems with a startup drive or another hardware component?
    Yes.
    When the slowdown is especially bad, note the exact time: hour, minute, second.  
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
    Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
    Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • My internet has started running extremely slowly for no apparent reason. Please help?

    The internet on my Macbook suddenly started running very slowly, it can take 5-10 minutes to load a page. This isn't a problem with my internet connection as our other devices are working fine. I have tried installing updates but seems to be too slow for them to install and have also reset Safari.
    Appreciate your help!

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • My iMac suddenly started running extremely slowly.  Any ideas as to what might be causing it?

    My iMac has always run like a champ but it suddenly started running very slowly today.  I haven't done anything different.  I'm not running all kinds of programs.  I've restarted several times and it takes about 20 minutes to start up.  The little color wheel starts spinning every time I start to do anything and each task takes 10-20 minutes to complete.  I can't do much in the way of self-diagnosis as it takes too long to do anything.  I'm writing this from another computer.  Any ideas of things to try before I bring it in for repairs?
    Thanks.

    In general you should always have at least  15 - 20% of your hardd rive Free
    No, this is an urban legend; you don't need 15-20% free. You should try to maintain around 30GB free, no matter what the size of your drive--and that's just a very rough ballpark; you may need much less or more,  depending on how you use your computer. But you won't notice slowdowns of this order until you get really close to the edge, much lower than 30GB.
    There are two possible causes for this. One, your drive is failing and you should be sure you have all your data backed up on an external before it dies completely. To check your drive get the free demo of SMART Utility. (But don't even think about doing this until you have a backup in place. That's much more important.)
    http://www.volitans-software.com/smart_utility.php
    The other is you may have exhausted all your available RAM and the the system is writing to the hard disk instead because nothing is left. The drive may be "thrashing" trying to accomplish this. This will make things very slow and eventually may just freeze everything up.
    Open Activity Monitor in Utilities, go to the System Memory tab. How much free memory is showing? What do you see for Page ins, Page outs and Swap used?

  • Using parameters in a select query sometimes not working

    I use parameters throughout my code - usually without problem, but for some reason in one case it does not return a result. When I modify the querystring to contain the value instead of using parameters it works. Is it because I'm secting a clob? or is it because I'm using a 9i ODP.net dll against a 10g database? this is c# 2.0
    here's the source code that does not work for me - REQUEST_DATA is a clob:
        public String loadRequest(String PSRNumber)
            String returnVal = null;
            ConnectionStringSettings connectionInfo = System.Configuration.ConfigurationManager.ConnectionStrings["Scribe"];
            OracleConnection myConnection = new OracleConnection();
            String strSQL = "select PSR, REQUEST_DATA from stats.request where PSR = :PSR";
            try
                myConnection.ConnectionString = connectionInfo.ConnectionString;
                OracleCommand cmd = new OracleCommand(strSQL, myConnection);
                cmd.CommandType = CommandType.Text;
                cmd.Parameters.Add("PSR", OracleDbType.Varchar2).Value = PSRNumber;
                myConnection.Open();
                OracleDataReader dr = cmd.ExecuteReader();
                if (dr.Read())
                    returnVal = dr.GetOracleString(dr.GetOrdinal("REQUEST_DATA")).ToString();
                else
                    returnVal = null;
                dr.Dispose();
                cmd.Dispose();
            catch (OracleException ex)
                printError(ex.Message);
            finally
                myConnection.Close();
                myConnection.Dispose();
            return returnVal;
        }when I replace the line generating the sql, and remove the lines pertaining to parameters it works:
    String strSQL = String.Format("select PSR, REQUEST_DATA from stats.request where PSR = {0}", PSRNumber);
    I'm fine just using this as a workaround, but I need an explanation why the other does not work - I prefer to use parameters.
    Message was edited by:
    user633546

    I figured it out. thank you for your help in pointing me in the right direction.
    the problem was there was a trailing space in the data.
    when the data for that table is numeric for every record, the query allows me to leave out the single quotes. Trailing spaces do not seem to cause the database to see it as non-numeric - leaving out the quote still finds the record even if there is a trailing space.
    but when I put in the quote, it is not an exact string match, so it could not find the record. sometimes this flexibility gets me into trouble :\

  • HELP! Powerbook G4 running extremely slowly!

    Hi all,
    First off, some stats about the computer:
    Powerbook G4 15", 1.33 GHz, 256 Mb DDR SDRAM, running on OSX 10.3.9 (Panther--yes, I got it a few years ago!) and with 3.5 Gb left of my 60 Gb hardrive.
    Now the symptoms:
    I notice that my computer takes extremely long to start up. Additionally, I can barely run two applications concurrently without getting a busy cursor, a frozen computer, or worse, the black screen of death ("You must restart your computer"). Any seemingly simple task(s), especially uploading music files, watching videos on the internet, downloading podcasts, take forever to load. It also tends to warm up quickly and make whirring noises.
    Any solutions on how to fix it? I'm definitely open to buying/installing hardware (I've already replaced the bottom case myself) since I don't have the money to just get a new computer. Do I need more memory? Should I just get a bigger hard drive? Is there something else I need to do?

    Hi,
    There are thousands of websites, dealers and brands of external hard drives to choose from. LaCie by NEC have a long standing affiliation with Macs, although, there are many more. The same goes for RAM, however, your choice of RAM is critical. Ive always suggested going with the original Samsung RAM, but other quality brands include Crucial and Kensington. I've attached a link to one site (Small Dog Electronics) to give you an idea of what you are looking at.
    http://www.smalldog.com/category/x/x/x/Storageand_Backup|External_Hard_Drives|ByConnection|FireWire
    Onyx - I'd suggest running Onyx now, before you do anything else. Run 'Automation'. I usually de-select the font cache cos I have many fonts installed and clearing the font cache causes me to have to run Font Fusion to re-activate all my fonts again, which is a time consuming pain in the bart.

  • How to pull only column names from a SELECT query without running it

    How to pull only column names from a SELECT statement without executing it? It seems there is getMetaData() in Java to pull the column names while sql is being prepared and before it gets executed. I need to get the columns whether we run the sql or not.

    Maybe something like this is what you are looking for or at least will give you some ideas.
            public static DataSet MaterializeDataSet(string _connectionString, string _sqlSelect, bool _returnProviderSpecificTypes, bool _includeSchema, bool _fillTable)
                DataSet ds = null;
                using (OracleConnection _oraconn = new OracleConnection(_connectionString))
                    try
                        _oraconn.Open();
                        using (OracleCommand cmd = new OracleCommand(_sqlSelect, _oraconn))
                            cmd.CommandType = CommandType.Text;
                            using (OracleDataAdapter da = new OracleDataAdapter(cmd))
                                da.ReturnProviderSpecificTypes = _returnProviderSpecificTypes;
                                //da.MissingSchemaAction = MissingSchemaAction.AddWithKey;
                                if (_includeSchema == true)
                                    ds = new DataSet("SCHEMASUPPLIED");
                                    da.FillSchema(ds, SchemaType.Source);
                                    if (_fillTable == true)
                                        da.Fill(ds.Tables[0]);
                                else
                                    ds = new DataSet("SCHEMANOTSUPPLIED");
                                    if (_fillTable == true)
                                        da.Fill(ds);
                                ds.Tables[0].TableName = "Table";
                            }//using da
                        } //using cmd
                    catch (OracleException _oraEx)
                        throw (_oraEx); // Actually rethrow
                    catch (System.Exception _sysEx)
                        throw (_sysEx); // Actually rethrow
                    finally
                        if (_oraconn.State == ConnectionState.Broken || _oraconn.State == ConnectionState.Open)
                            _oraconn.Close();
                }//using oraconn
                if (ds != null)
                    if (ds.Tables != null && ds.Tables[0] != null)
                        return ds;
                    else
                        return null;
                else
                    return null;
            }r,
    dennis

  • Photoshop CS6 running extremely slowly.

    So, I purchased CS6 when it was released and have been dealing with it's ridiculous speed ever since. It's gotten to the point where I can't tolerate it and can get no work done inside of it.
    Basically, the main issue is the menu bar. I'll click on File or Image and have to wait at least 5 seconds for the menu to drop down. In the layer pallette I'll go to Alt Drag a layer and it'll freeze for a good 5-10 seconds, then reset and let me drag at will. Until I want to do another layer...then it does it all over again. Brushing occasionally becomes painfully slow and delayed. I used CS4 for years and never had these problems on the same computer. I work with extremely large files and am only having trouble with them after upgrading to CS6.
    I'm running on Vista, yes I know. 6GB of Ram, so that should not be the issue. I do plan on purchasing a Mac in the next few months, but really need this problem sorted out Asap. I've googled endlessly and cannot find anything that works. I've changed drawing mode to Basic, disabled OpenGL, seemingly all of the obvious fixes, that haven't worked.
    Any help would be awesome. Thanks!

    Windows Vista is not officialy supported by CS6.
    Sure, it will launch and kind of "run" under Vista, but Adobe does not support it:
    http://forums.adobe.com/thread/1008993

  • Safari runs EXTREMELY SLOWLY on Lion Mac OS X 10.7.5

    Does anyone out there know how to fix extremely slow browsing using Safari on Mac OS X 10.7.5?

    Please answer as many of the following questions as you can. You may already have answered some of them.
    1. Have you restarted your router and broadband modem since you first noticed the problem? If the answer is no, do that now and see whether there's any change.
    2. Are any other web browsers installed, and are they the same?
    3. What about other Internet applications, such as iTunes and the App Store?
    4. Are there any other devices on the same network that can browse the Web, and are they affected?
    5. If you can test Safari on another network, is it the same there?
    6. If you connect to your router with Wi-Fi and you can also connect with Ethernet, do that and turn off Wi-Fi. Any difference?

Maybe you are looking for

  • Windows Vista / 7 64 Install Error

    Not sure how many people are having this issue in Windows 7 64 / Vista 64, but I've found a fix. The issue is when you try to install iTunes, you get an error like "Could not open Key: UNKNOWN\Components...blah blah blah. Access is denied." What work

  • Itunes filter prob

    is there any way that i can filter my Libary to display muisc archives instead of podcasting stuff so that i can view all my podcasting in the podciasting section and not the libary part thanx Althon 64 3800+ Windows XP Pro

  • Problem with shared HP930C printer on home network

    We have 2 networked computers at home -- one is Windows XP with an HP930C printer attached, the other is Windows Vista 32-bit with a Canon iP3600 attached.  Both printers are shared across the network.  Both computers will print to the Canon printer.

  • Close-up of my code (to go with my Spry 2.0 post)

    I'm new to this forum, and did not realize that my posted code was going to be so small. So here it is larger: As I wrote in my earlier post a few minutes ago, I don't exactly understand ""file:///MacProG5/..." Thank you.

  • Generate a text .sql  (another question)

    thanks for your script V. garcia about generate a text .sql but, i want to know if i want to generate a text sql with a database but i want to take juste object without row inside. In fact, i want empty base, juste object? Is it possible? thanks for