Performance problem in production; Please help me out

Hi all,

I'd really appreciate if someone can help me with this.

Every night, the server's SWAP, Sysadmin add more space disk swap every night and for the last 4 days.
I run ADDM report from 22:00 to 04:00 (when the server is running out of memory)
I had the problem of performance of this query:
RECOMMENDATION 4: SQL Tuning, 4.9% benefit (1329 seconds)
      ACTION: Investigate the SQL statement with SQL_ID "b7f61g3831mkx" for 
         possible performance improvements.
         RELEVANT OBJECT: SQL statement with SQL_ID b7f61g3831mkx and 
         PLAN_HASH 881601692
I can't find what the problem is and why it is a source of performance problem, could you help me please
*WORKLOAD REPOSITORY SQL Report*

Snapshot Period Summary

DB Name         DB Id      Instance     Inst Num Release     RAC Host        
------------ ----------- ------------ -------- ----------- --- ------------
****       1490223503 ****             1 10.2.0.1.0  NO  ****

              Snap Id      Snap Time      Sessions Curs/Sess
            --------- ------------------- -------- ---------
Begin Snap:      9972 21-Apr-10 23:00:39       106       3.6
  End Snap:      9978 22-Apr-10 05:01:04       102       3.4
   Elapsed:              360.41 (mins)
   DB Time:              451.44 (mins)

SQL Summary                         DB/Inst: ****/****  Snaps: 9972-9978

                Elapsed 
   SQL Id      Time (ms)
------------- ----------
b7f61g3831mkx  1,329,143
Module: DBMS_SCHEDULER
 GATHER_STATS_JOB
select /*+ no_parallel(t) no_parallel_index(t) dbms_stats cursor_sharing_exact u
se_weak_name_resl dynamic_sampling(0) no_monitoring */ count(*),count("P_PRODUCT
_ID"),count(distinct "P_PRODUCT_ID"),count("NAME"),count(distinct "NAME"),count(
"DESCRIPTION"),count(distinct "DESCRIPTION"),count("UPC"),count(distinct "UPC"),

          -------------------------------------------------------------       

SQL ID: b7f61g3831mkx               DB/Inst: ***/***  Snaps: 9972-9978
-> 1st Capture and Last Capture Snap IDs
   refer to Snapshot IDs witin the snapshot range
-> select /*+ no_parallel(t) no_parallel_index(t) dbms_stats cursor_shari...

    Plan Hash           Total Elapsed                 1st Capture   Last Capture
#   Value                    Time(ms)    Executions       Snap ID        Snap ID
--- ---------------- ---------------- ------------- ------------- --------------
1   881601692               1,329,143             1          9973           9974
          -------------------------------------------------------------       


Plan 1(PHV: 881601692)
---------------------- 

Plan Statistics                     DB/Inst: ***/***  Snaps: 9972-9978
-> % Total DB Time is the Elapsed Time of the SQL statement divided 
   into the Total Database Time multiplied by 100

Stat Name                                Statement   Per Execution % Snap 
---------------------------------------- ---------- -------------- -------
Elapsed Time (ms)                         1,329,143    1,329,142.7     4.9
CPU Time (ms)                                26,521       26,521.3     0.7
Executions                                        1            N/A     N/A
Buffer Gets                                 551,644      551,644.0     1.3
Disk Reads                                  235,239      235,239.0     1.5
Parse Calls                                       1            1.0     0.0
Rows                                              1            1.0     N/A
User I/O Wait Time (ms)                     233,212            N/A     N/A
Cluster Wait Time (ms)                            0            N/A     N/A
Application Wait Time (ms)                        0            N/A     N/A
Concurrency Wait Time (ms)                        0            N/A     N/A
Invalidations                                     0            N/A     N/A
Version Count                                     2            N/A     N/A
Sharable Mem(KB)                                 71            N/A     N/A
          -------------------------------------------------------------       

Execution Plan
---------------------------------------------------------------------------------------------------
| Id  | Operation               | Name    | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
---------------------------------------------------------------------------------------------------
|   0 | SELECT STATEMENT        |         |       |       | 24350 (100)|          |       |       |
|   1 |  SORT GROUP BY          |         |     1 |   731 |            |          |       |       |
|   2 |   PARTITION RANGE SINGLE|         |  8892 |  6347K| 24350   (1)| 00:04:53 |   KEY |   KEY |
|   3 |    PARTITION LIST ALL   |         |  8892 |  6347K| 24350   (1)| 00:04:53 |     1 |     5 |
|   4 |     TABLE ACCESS SAMPLE | PRODUCT |  8892 |  6347K| 24350   (1)| 00:04:53 |   KEY |   KEY |
---------------------------------------------------------------------------------------------------
 


Full SQL Text

SQL ID       SQL Text                                                         
------------ -----------------------------------------------------------------
b7f61g3831mk select /*+ no_parallel(t) no_parallel_index(t) dbms_stats cursor_
             _sharing_exact use_weak_name_resl dynamic_sampling(0) no_monitori
             ng */ count(*), count("P_PRODUCT_ID"), count(distinct "P_PRODUCT_
             ID"), count("NAME"), count(distinct "NAME"), count("DESCRIPTION")
             , count(distinct "DESCRIPTION"), count("UPC"), count(distinct "UP
             C"), count("ADV_PRODUCT_URL"), count(distinct "ADV_PRODUCT_URL"),
              count("IMAGE_URL"), count(distinct "IMAGE_URL"), count("SHIPPING
             _COST"), count(distinct "SHIPPING_COST"), sum(sys_op_opnsize("SHI
             PPING_COST")), substrb(dump(min("SHIPPING_COST"), 16, 0, 32), 1, 
             120), substrb(dump(max("SHIPPING_COST"), 16, 0, 32), 1, 120), cou
             nt("SHIPPING_INFO"), count(distinct "SHIPPING_INFO"), sum(sys_op_
             opnsize("SHIPPING_INFO")), substrb(dump(min(substrb("SHIPPING_INF
             O", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("SHIPP
             ING_INFO", 1, 32)), 16, 0, 32), 1, 120), count("P_STATUS"), count
             (distinct "P_STATUS"), sum(sys_op_opnsize("P_STATUS")), substrb(d
             ump(min(substrb("P_STATUS", 1, 32)), 16, 0, 32), 1, 120), substrb
             (dump(max(substrb("P_STATUS", 1, 32)), 16, 0, 32), 1, 120), count
             ("EXTRA_INFO1"), count(distinct "EXTRA_INFO1"), sum(sys_op_opnsiz
             e("EXTRA_INFO1")), substrb(dump(min(substrb("EXTRA_INFO1", 1, 32)
             ), 16, 0, 32), 1, 120), substrb(dump(max(substrb("EXTRA_INFO1", 1
             , 32)), 16, 0, 32), 1, 120), count("EXTRA_INFO2"), count(distinct
              "EXTRA_INFO2"), sum(sys_op_opnsize("EXTRA_INFO2")), substrb(dump
             (min(substrb("EXTRA_INFO2", 1, 32)), 16, 0, 32), 1, 120), substrb
             (dump(max(substrb("EXTRA_INFO2", 1, 32)), 16, 0, 32), 1, 120), co
             unt("ANALISIS_DATE"), count(distinct "ANALISIS_DATE"), substrb(du
             mp(min("ANALISIS_DATE"), 16, 0, 32), 1, 120), substrb(dump(max("A
             NALISIS_DATE"), 16, 0, 32), 1, 120), count("OLD_STATUS"), count(d
             istinct "OLD_STATUS"), sum(sys_op_opnsize("OLD_STATUS")), substrb
             (dump(min("OLD_STATUS"), 16, 0, 32), 1, 120), substrb(dump(max("O
             LD_STATUS"), 16, 0, 32), 1, 120) from "PARTNER_PRODUCTS"."PRODUCT
             " sample ( 12.5975349658) t where TBL$OR$IDX$PART$NUM("PARTNER_PR
             ODUCTS"."PRODUCT", 0, 4, 0, "ROWID") = :objn
             

Dear friend,

Why do you think you have problems with shared pool? In the ASH report you are provided, there was just 2.5 medium active sessions and 170 requests during this period, he is very low with swimming pool shared, problems
you have some queries that use literals, it will be better to replace literals with bind variable if possible, or you can set the init cursor_sharing parameter to force or similar, this is the dynamic parameter.
But it is not so dramatic problem in your case!

From ASHES of your report, we can see that top wait events is "CPU + wait for CPU", "RMAN backup & recovery i/o" and "log file sync" and 65% of your database of waiting time. And even in the background waiting events.
If I understand well report, you have two members in your redo log groups, you have problems with log IO writer speed, check the distribution of files on the disc, newspaper editor is slow causing it to wait for the other sessions. High
processor can be related to rman compression. Best service can we sea GATHER_STATS_JOB consumes 16% of activity 33% consumes rman and only 21% your applications and also there is something running
SQL * more under the sys (?) account. There is from the top of the sql page, this is the sql in your application, if I understand correctly, 'scattered db reading file' event indicates that full scans have a place, is it normal that your application? If Yes, then try using
running in parallel, as we can see in the section "Sessions running PQs Top" your report there is no running in parallel, but as I understand it there are 8 processors, try to use parallel executions or avoid full scans. But consider that
When you do full scans in parallel PGA memory not used CMS, then decrees setting pga_aggregate_target SGA and increase respectively.

Is there another application or a program running on the server except oracle?
Is the performance degradation was strong, I mean yesterday, everything was ok, but today all the evil, or it was good?

Check the reasons for the slow newspaper writer, it can greatly affect performance.
Also of 90% of the performance problems generally because of the poor sql, poor execution plans.
Also if you use automatic memory management, tap Settings, but you must know that in this case the settings will identify the minimum values, this is why define them to lower values in oracle can manage
entirely.
Don't increase your SGA at this stage, get the awr report, use @$ORACLE_HOME/rdbms/admin/awrrpt.sql, check your cover shot.

BUT first, you must change your backup strategy, look at my first post, after that check performance again, before you do that it will be very difficult to help you.

Good luck

Tags: Database

Similar Questions

  • I'm using Dreamweaver CC and tries to install Dw CC (2014) at the first trial, but the problem come when it expired, both my installed dreamweaver has expired, and now I just enjoy the Bill every month without the product, please help me.

    I'm using Dreamweaver CC and tries to install Dw CC (2014) at the first trial, but the problem come when it expired, both my installed dreamweaver has expired, and now I just enjoy the Bill every month without the product, please help me.

    You have more than one Adobe ID and password - for creative cloud and the other for your trial period?

    Nancy O.

  • Keyboard problem Z70-80, please help

    I've had this laptop for months and it started just today. Basically, most of the keys work fine, but a few essential buttons are screwing. Just web browsing, for example space refreshes the current page and the right arrow key opens the search v + b, m and n will also tap the other pressed individually character (by pressing the results either v or b in "vb", even with m and n).

    I use this machine every day and really need the built-in keyboard to work properly, please help me out here .

    As you confirmed with two different operating systems. Its most likely material. I doubt a bios field that would affect it and it might migrate to external keyboard as well.

  • I'm not able to remove my bitlocker to my external hard drive password. Please help me out, it is very important to me...

    I'm not able to remove my bitlocker to my external hard drive password. Please help me out, it is very important to me...

    Hello

    1. what happens when you try to delete the password?

    2. you receive an error message/code?

    3. have you forgot the password?

    The best way to remove the bitlocker password is to follow these steps.

    (a) connect your external hard drive in the computer.

    (b) click Start, click Control Panel.

    (c) while on the Panel, the icon find Bitlocker Drive Encryption , click

    (d) you will see all the partitions on your hard disk and their encryption status, whether encrypted or not.

    (e) on one that is encrypted, you will find an option to turn off bitlocker. Click on it and wait for the machine to decrypt.

    Check out the link:

    Microsoft's strategy concerning lost or forgotten passwords

    http://support.Microsoft.com/kb/189126

    It will be useful.

  • Please help me out here. I want to know if the story of adobe that I use is free or not?

    Please help me out here. I want to know if the story of adobe that I use is free or not?

    In the free version of history, once you log in, you'll notice an "Update now" link in the upper right demand.

  • Hi I HAV a question... I use PS cs6 m having major problem can you please help me... whenever I have use the filter on sumthng Gallery or if I use a Quick Selection over all things low RAm error levonorgestrol tool... Although I have a huge memory?

    Hi I HAV a question... I use PS cs6 m having major problem can you please help me... whenever I have use the filter on sumthng Gallery or if I use a Quick Selection over all things low RAm error levonorgestrol tool... Although I have a huge memory?


  • Sony vaio webcam not detected sve15113enb... is this a hardware problem? SOS please help

    Sony vaio webcam not detected sve15113enb... is this a hardware problem? SOS please help

    the imaging device is not on the list of the Device Manager... so I could not uninstall and reinstall the driver for the webcam.

    Help, please.

    Thank you.

    Hi NIKSY2K2,

    Please try to reinstall the Webcam Companion software by using the button help rebuild drivers for the camera.

    Nick-

  • Missing images in the final product - please help!

    I use Adobe Premiere Pro CS4 to make a video trip to about 18 minutes long. This is my 11th video trip I did and the first time running on this particular problem.

    I have done editing and exported to my usual settings: H.264, 1080 p, VBR 2 Pass audio 320 bit, etc..

    The travel film is 90% video and photos at 10%. In the final product, everything works fine, including audio / music and title stills (above), but SOME shows photo images upward like a blank black screen. Even the video transitions to work, but their transition in a black screen and transitions smoothly into the next video.

    I exported now 5 times total, each time you export taking about 19 to 20 hours. Each time there are DIFFERENT images that are missing. Sometimes the image previously missing will appear in the next export, but the picture that appeared in the previous export is missing in the new. I don't understand why this is happening and I'm beyond frustrated. I'm not about to lose another day without my computer export failure.

    I'm guessing that this has nothing to do with the size of the image, but with the speed/performance of my computer 'old '. I am hoping that there is a way out of this because I spent ten days of working on this video...

    Please help if you know the solution to this problem - maybe I'd appreciate much all tracks!

    > guess that has nothing to do with the size of the image

    Maybe... but try to scaling of images to match your video before importing it

    Photo graduation for video http://forums.adobe.com/thread/450798 can help

    -HiRes images of DVD http://forums.adobe.com/thread/1187937?tstart=0

    -Body Crash http://forums.adobe.com/thread/879967

  • HP starts not problems of serval please help

    Hello, when I try to turn on my computer it shows the following error:
    Windows has encountered a problem communicating with a device connected to your computer, this error can be caused by unplugging a removable storage device, such as a usb external drive when the appliance is used, either by a defective as a hard disk hardware or the cd-rom drive which is a failure. Make sure that all removable storage is properly connected, and then restart your computer. If you continue to receive this error message, contact the manufacturer of the equipment.
    Status: 0xc00000e9
    Info: an unexpected i/o error has occurred

    My laptop is a pavilion dv6
    Please help me because I paid a lot for this laptop

    It will work unless you use HP Recovery Discs to install Windows. For those who use the hard disk must be at least as large a capacity. A retail disk can be used on the ssd.

  • MY GAME WAS RUNNING IN FULL SCREEN IN VISTA AFTER VISTA UPGRADE TO Windows7 (W7), HE EXECUTED IN resolution 640 * 480. PLEASE HELP ME OUT?

    MY GAME WAS being RUN IN FULL SCREEN IN VISTA, AFTER I UPAGRADE VISTA to W7 IN resolution 640 * 480. PLZ HELP me BCz I bought new games and it all running in the same resolution(640*480). my graphics card is ati mobility radeon HD 4330 AND I ALREADY INSTALL ATI CATALYST. BUT NO bcz change, this isn't my windows screen resolution problem, it's game or graphics screen resolution prblm. help, AND I don't want to hear this right click on your desktop and select the option that allows you to adjust your screen resolution. BCZ I already did. Please help me... [sry for my bad English.

    I understand that you have also changed the settings within a game. Desktop resolution settings and the game are two different things.

    Hmm... 640 x 480... It sounds little similar... right click on the file that launches a game > choose Properties > compatibility tab > make sure that in the screen resolution 640 x 40 option is unchecked

    ...

    In addition, if no Vijay and mine tips work... could you tell us what game is it? Maybe he has a known issue with resolution problems.

  • Please help me out on how to activate Windows 7 final, only 4 days left to activate windows

    Hello! hope that your door... ok please help me my problem in my computer how to activate my window 7 ultimate, I've been is stayed for 4 days to activate... before... ok so im waiting for your answer so soon.

    Have you tried re-activation by phone?

    How to activate Windows 7 or Vista manually (activate by phone)
    http://support.Microsoft.com/kb/950929/en-us

    1) click Start and in the search for box type: slui.exe 4
    (2) press the ENTER"" key.
    (3) select your "country" in the list.
    (4) choose the option "activate phone".
    (5) stay on the phone * do not select/press any option * and wait for a person to help you.
    (6) explain your problem clearly to the support person.
    (7) the person must give you a confirmation ID, copy it down on paper,
    (8) check that the ID is correct in reading the support person.
    (9) to enter the ID number, then click 'Next' to complete the activation process.

  • After that I updated my lightroom, it shows the problem in opening, asked permission and I am not able to solve the problem, can u please help me in fixing it

    This morning, I was asked to update the lightroom and photoshop, and after update of applications, photoshop runs correctly, but lightroom is having a problem, when I opened the bright room, a dialog box appears and it says-lightroom doesn't have permission to write to certain folders to standard user. Please click the 'fix to continue' to give permission.

    I tried, but could not solve the problem.

    can u please help me solve the problem.

    Thank you

    Hi rabinp

    You must change the permissions for the folder Adobe.

    Please see the discussions below to fix it.

    Update on CC (for PS, LR and bridge) online and met a permissions problem with LR on three files?

    I've updated to Lightroom cc and now I have problems with permissions... How do I rectify this? I followed the instructions online, but I can't change the preferences folder permission to read and write.

    Doc to help Apple for permission change: OS X El Capitan: set permissions for items on your Mac

    Let us know if that helps.

    Kind regards

    Mohit

  • I need to cancel the order that I did yesterday (11054908559) but it doesn't there is no Cancel option on the Brazilian from ADOBE site, if someone had the same problem I had, please help me, I tried to get on the phone, but no one answered the phone ca

    I need to cancel the order that I did yesterday (11054908559) but it doesn't there is no undo option on the Brazilian Adobe site, if someone had the same problem I had, please don't help me, I tried to get them on the phone, but no one answered phone calls, I m very angry, when we want to buy it is easy When we need to cancel it s very badly and information not clearly. Sorry to bother you with this topic.

    Cancel your membership creative cloud

  • I have adobe first 10 items and I'm having some problems with it please help

    Here are the problems I am having with Adobe Premiere Elements 10:

    1 transitions won't load. The word loading will appear and it will not come to the top.

    2. the videos will not play smoothly. When I press on play skipps in a way he will not play smooth, making it very difficult to change.

    3 keeps closing on me. It will be something that comes up that says "Adobe premiere elements has stopped working and closes in the program. He does constantly.

    Please help me I don't know what's the problem with him.

    The first two numbers sound like a video driver issue.

    What is the make and model of your video/chip card?

    What is the installed video driver number and date?

    For the last number, it could be many things, including the video driver. I look over this ARTICLEand if there is nothing in the first part, then proceed to set up a computer in the second part of the OS. It would probably be a good time to publish the complete specifications. your computer and the images of your project and Source. Finally, the third part covers many of the troubleshooting tips and provides many links.

    Good luck

    Hunt

  • I got an order number, not a serial number! I can't install my Adobe Muse product please help!

    I bought adobe muse because my trial has expired and I really need the program, I got an order number, not a serial number! I can't install my Adobe Muse producto please help! I was more than 5 hours to try! I am tired!

    Remove entries that contain "adobe" to your "hosts" file

Maybe you are looking for

  • Should I keep my iPhone and iPad far in the microwave?

    When in the kitchen, the best take to keep my cost of devices is close to microwave oven. Is this OK to park a bite in the iPhone or iPad in a microwave to work?

  • Reboot and shutdown does not workf

    I've upgraded to el capitan today apparently successful. But on the restart and Shut down everything goes except the "Dock" and the macbook does not stop. I wanted to stop at the Terminal and a key appears in the password and nothing happens. Any hel

  • Configuration of MXL port for PS-M4110 storage array

    Dear all, I have to configure my Force10 MXL GbE 10/40 for PS-M4110 storage array. I have two PS-M4110 connected to ports 0/13 and 0/15. I have configured the following way. FTOS (conf) # don't activate any dcb FTOS (conf) # enable iscsi   Configurin

  • Cannot create the tab menu

    Hello I am trying to create a 'Menu of the tab' as described in http://developer.BlackBerry.com/native/documentation/Cascades/dev/ios_porting/mapping.html I want to hide the tabs and actionbar and try to implement showing on the sliding tab menu to t

  • Latvian language keyboard layout

    I have a new computer with Microsoft 2010.  I just installed the language pack for the Latvian and do not understand the keyboard.  Types of all evil!  For example when I type the letter "n" I see a letter "o".  Help?  I have already used the Tildes