Tempdb won't shrink

SQL 2008 R2
We’ve been on SQL 2008 R2 for about a year and have had zero tempdb problems. 
SQL does a good job of managing its size, until now. 
Tempdb is configured with 8 data files and 1 log file. 
Each data file is 250 mb and the log is 2 gb, for a total/initial size of 4gb. 
In the last week it’s grown to 11 gb and I can’t shrink it. 
There are zero open trans, and dbcc shrinkfile truncateonly and specifying a size do nothing. 
We bounced the server and tempdb came back at the exact 11 gb size. 
Even after the reboot with nothing going on with the server I can’t shrink it. 
No, we’re not having space issues but obviously something is going on that I’d like to get to the bottom of. 
I’ve read kb 307487 several times so I don’t need a link to it, thanks.
Does anyone have any idea why this just happened, and more importantly what to do? 
Is my only option to start SQL in minimal config mode and address it that way? 
Obviously that’s a tough thing to do with a Prod box.
Thanks in advance,
André
André

Hi,
Just to confirm are you checking the file sizes via ssms, looking at the file system or script?
If possible can you run the following to double check.
USE [tempdb]
GO
EXEC sp_spaceused @updateusage = N'TRUE';
GO
EXEC sp_msforeachtable 'EXEC sp_spaceused ''?'''
GO
SELECT
mf.[file_id] [FileID]
,sf.[name] [LogicalName]
,mf.[type_desc] [FileType]
,FILEPROPERTY(sf.[name],'SpaceUsed')*CONVERT(FLOAT,8) [SpaceUsed_KB]
,(sf.[size]-FILEPROPERTY(sf.[name],'SpaceUsed'))*CONVERT(FLOAT,8) [AvailableSpace_KB]
,sf.[size] * CONVERT(FLOAT,8) [Size_KB]
,LTRIM(CASE mf.[is_percent_growth] WHEN 1 THEN STR(mf.[growth]) +' %' ELSE STR(mf.[growth]*CONVERT(FLOAT,8))+' KB' END) [AutoGrowth]
FROM sys.master_files mf
INNER JOIN sys.database_files sf ON mf.[file_id] = sf.[file_id] AND mf.[database_id] = DB_ID()
GO
Jon

Similar Messages

  • Keynote 6. Zooming out in Navigator View pointless because grey surround won't shrink?

    Keynote Navigator View allows zooming out.
    In Keynote 5 this was useful to make more space for Presenter Notes on screen. But zooming out is pointless in Keynote 6 because there is a grey surround which will not shrink. When the slide itself shrinks, more area of screen is given over to grey surround! This is quite simply bad design, unless I am missing some way to solve it. Any suggestions?
    Richard Dawkins

    Again, thank you, but again I'm afraid it doesn't do it. I had already discovered the little arrow thing you mention. The problem is that although it works fine twhen you pull it DOWN to INCREASE the grey area, when you pull it UP it won't DECREASE the grey area higher than a limited point. Try it after setting the zoom to, say 50%.The picture shows the highest point the little arrow thing is allowed to go. All that grey area below the picture is wasted.
    Richard

  • When I open my iPad the page is too big for the screen and won't shrink down. The keypad has also become very 'sticky'

    Recently when I open any apps the pages are too big for the screen. They shrink when pinched but immediately become bigger again. It's very difficult to scroll too. The keypad has become very sticky. Missing letters and spaces when I type and needing to tap the keys much harder than usual

    I have the exact same problem, I think.  I was on my iPad 3's home page swiping R-L to locate a certain icon when all of a sudden the screen appeared to get HUGE.  So big I could only see one or two icons.  I couldn't even turn it off to try a reboot because after I pushed the sleep/wake button, I couldn't find the red slide bar.  I finally just had to wait for the battery to die, then recharge it, and it looked normal again.  I also spoke with several friends who haven either iPads or iPhones, and they've all had this happen to them.  I checked my accessibility settings, and Zoom was already off.  So what is causing this problem for so many people, and what can we do to prevent it?  Please help.

  • Acro 8 Pro won't Shrink or Fit to Printable Area

    I have drawings that originated in AutoCAD that were saved to PDF on 24x36 sheets. I want to shrink or fit them to the printable area on 11x17,but no matter what options I check it prints the upper left portion of the origianl at full scale.
    Using Acrobat 8 Pro to print to an HP 5550dn.
    Printing works as expected when done from a machine with Acrobat 7.
    What the heck is going on?

    I have the same printer, an HP Color Laser Jet 5550dn. I am having the same/similar issue as you are. The shrink to printable area / fit to printable area option does not seem to work. If I manually input a scale that I beleive will work, it prints fine.
    Apparently the options previously mentioned are not being translated to the printer properly.
    For more info on my similar problem, you can read my original thread by searching my user name. I have only one thread posted.
    A quick fix is to input the scale manually, but I'm still searching for a permanent solution.

  • Window expanded, won't shrink

    I clicked on the green expand button on the upper left of my window and the window expanded. Clicking again on the green button again doesn't resize it to normal size. The resize tab on the lower right is now below the bottom of my monitor and I can't reach it. The window won't push up any farther. What's going on? Thanx,
    Ken

    Click on the Window menu and see if there is a Zoom Window menu item; if so, use this option. If not, or if using it didn't work, open the Script Editor in the /Applications/AppleScript/ folder, put the window in the front, and run the following:
    tell application "Finder"
    set bounds of window 1 to {224, 112, 839, 517}
    end tell
    (13664)

  • JSplitPane won't shrink

    I have a simple JSplitPane with a Jtree on one side and a panel on the other. For some reason I cannot ever shrink the panel on the right. If I choose to pull the split towards the tree.. Once I have released it I can never pull it back towards the panel again.
    Any ideas?

    tjacobs01 is right
    By the way I would like to add that if you use one touch expandable you might be able to totally shrink the other panel to nothing but haven't tried it out with a panel that have a minimum/prefered size set
    Thanks
    Joey

  • Why does the text size shrink when I make the window smaller?

    I have some notes in a DOCX page.  I don't want the entire page blocking up the desktop yet I want to see the notes.  When I change the size of the page, the text shrinks too.  How useless is that?
    How to I keep the text normal size and have a smaller page?
    Everything I know I learned from my cat. No matter what the situation is, there is a napp for that.

    Hi,
    When we I change the size of the page manually in Word 2013, the text won’t shrinks. I also resize the window via code below:
    Sub ReSizeWinodw()
    Application.ActiveWindow.WindowState = wdWindowStateNormal
    Application.ActiveWindow.Width = 500
    Application.ActiveWindow.Height = 500
    End Sub
    It won’t shrink the text too. If you are using code to resize the window of Word, would you mind sharing with us some code snippet to help us to troubleshoot this issue?
    If not, I suggest you posting it to
    Word IT Pro Discussions get more effective responses.
    Best regards
    Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Why won't my picture resize when making it a wallpaper?

    My picture I select as my wallpaper won't shrink in size to fit my screen when trying to make it my wallpaper. Apple please fix this issue.

    Most computer USB ports don't have enough power to charge an iPad.  Typically, the iPad can only be charged with the supplied adapter.  If your husband's iPad is actually charging, it's charging very, very slow.
    See p. 33-34 of the User Guide.

  • How to Get HTML5 Slideshow to Shrink in Fluid Grid Layout?

    I am able to insert images in a Fluid Grid Layour Div Tag and it shrinks according to the platform on which it is viewed.
    But I am trying to have the same result with a slideshow. I used CreateJS to convert the slideshow from Flash to HTML5.
    The problem is it won't shrink.
    Here is the URL.
    http://savcp.com/index-fluid-01.html

    Responsive Layouts require responsive slideshows. 
    Cycle2 is responsive.  Copy & Paste this into a New, Blank document.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 with Cycle2</title>
    <!--helpf for older IE browsers-->
    <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    <!--Latest jQuery Core Library-->
    <script src="http://code.jquery.com/jquery-latest.min.js">
    </script>
    <!--Cycle2 Slideshow Plugin-->
    <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/20130409/jquery.cycle2.min.js"></script>
    <style>
    /**Slideshow**/
    .cycle-slideshow {
    max-width:90%;
    margin: 0 auto;
    text-align: center;
    .cycle-slideshow img {max-width:100%}
    /* prev / next links */
    .cycle-prev, .cycle-next {
    position: absolute;
    top: 0;
    width: 30%;
    opacity: 0;
    filter: alpha(opacity=0);
    z-index: 800;
    height: 100%;
    cursor: pointer;
    .cycle-prev {
    left: 0;
    background: url(http://malsup.github.com/images/left.png) 50% 50% no-repeat;
    .cycle-next {
    right: 0;
    background: url(http://malsup.github.com/images/right.png) 50% 50% no-repeat;
    .cycle-prev:hover, .cycle-next:hover {
    opacity: .7;
    filter: alpha(opacity=70)
    /**END SLIDESHOW STYLES**/
    </style>
    </head>
    <body>
    <!--begin slideshow-->
    <div class="cycle-slideshow"
        data-cycle-fx=scrollHorz
        >
    <!-- prev/next links -->
    <div class="cycle-prev"></div>
    <div class="cycle-next"></div>
    <!--insert your images below-->
    <img src="http://jquery.malsup.com/cycle2/images/p1.jpg">
    <img src="http://jquery.malsup.com/cycle2/images/p2.jpg">
    <img src="http://jquery.malsup.com/cycle2/images/p3.jpg">
    <img src="http://jquery.malsup.com/cycle2/images/p4.jpg">
    <p>Mouse over image for previous / next links</p>
    </div><!--end slideshow-->
    </body>
    </html>
    Nancy O.

  • ORA 04030 Out of process memory error

    Dear experts,
    I know there are multiple discussions around this error and I have been reading through most of them in the past one week or so, but looks like we are running out of options or are missing the color altogether. Ok, we are getting ORA-04030 - out of process memory while allocating....while one of our batch process runs in the night. It simply tries to insert/update to a table. Our installation is 11.2.0.1.0 with no RAC configuration and on 64-bit AIX having 6 cores, 12 CPUs and 16 GB memory.
    We have checked the Workarea_Size_Policy is set to be as Auto so Oracle decides how much memory to allocate to PGA automatically on run-time based on the demand. And based on the AWR report it doesnt look like we are anywhere near the country having a PGA-deficit!! I am attaching the AWR report in a word document here for your reference.
    Also attached below are the configurations and the ulimit values.
    IKBTRN1> show parameter workarea;
    NAME                                 TYPE                             VALUE
    workarea_size_policy                 string                           AUTO
    oraipeikbtrn1:/home/oracle-> ulimit -a
    time(seconds)        unlimited
    file(blocks)         unlimited
    data(kbytes)         unlimited
    stack(kbytes)        4194304
    memory(kbytes)       unlimited
    coredump(blocks)     unlimited
    nofiles(descriptors) unlimited
    threads(per process) unlimited
    processes(per user)  unlimited
    Now, nothing seems to have contributed to the out of process memory issue from Oracle standpoint. I would be happy to be proved wrong here, if I am wrong.
    So, whats going wrong here? A possible memory leak which we cannot zero down to, a OS memory limit or something else?
    Seeking expert's advise on this, and also sincerely appreciate your time in looking at this.
    Thanks.
    P.S - I am pasting the whole AWR report since there is no 'upload file' option here that I can see.
    WORKLOAD REPOSITORY report for
    DB Name     DB Id     Instance     Inst num     Startup Time     Release     RAC
    IKBTRN1     54659199     IKBTRN1     1     06-Jun-11 02:06     11.2.0.1.0     NO
    Host Name     Platform     CPUs     Cores     Sockets     Memory (GB)
    oraipeikbtrn1.******.com     AIX-Based Systems (64-bit)     12     6          16.00
         Snap Id     Snap Time     Sessions     Cursors/Session
    Begin Snap:     5952     26-Aug-11 03:00:48     34     2.0
    End Snap:     5953     26-Aug-11 04:00:52     32     1.9
    Elapsed:          60.07 (mins)          
    DB Time:          1.93 (mins)          
    Report Summary
    Cache Sizes
         Begin     End          
    Buffer Cache:     1,056M     704M     Std Block Size:     8K
    Shared Pool Size:     3,456M     3,456M     Log Buffer:     7,184K
    Load Profile
    Load Profile
         Per Second     Per Transaction     Per Exec     Per Call
    DB Time(s):     0.0     2.0     0.02     0.02
    DB CPU(s):     0.0     0.5     0.00     0.00
    Redo size:     556.1     34,554.8          
    Logical reads:     151.4     9,407.6          
    Block changes:     1.9     119.8          
    Physical reads:     14.2     882.6          
    Physical writes:     9.5     590.4          
    User calls:     1.8     112.8          
    Parses:     1.5     93.7          
    Hard parses:     0.1     8.9          
    W/A MB processed:     -0.1     -6.9          
    Logons:     0.0     1.6          
    Executes:     1.9     115.4          
    Rollbacks:     0.0     0.0          
    Transactions:     0.0               
    Instance Efficiency Percentages (Target 100%)
    Buffer Nowait %:     100.00     Redo NoWait %:     100.00
    Buffer Hit %:     96.63     In-memory Sort %:     99.97
    Library Hit %:     95.68     Soft Parse %:     90.49
    Execute to Parse %:     18.74     Latch Hit %:     100.00
    Parse CPU to Parse Elapsd %:     57.23     % Non-Parse CPU:     86.28
    Shared Pool Statistics
         Begin     End
    Memory Usage %:     85.72     85.76
    % SQL with executions>1:     93.91     96.66
    % Memory for SQL w/exec>1:     89.07     87.04
    Top 5 Timed Foreground Events
    Event     Waits     Time(s)     Avg wait (ms)     % DB time     Wait Class
    DB CPU          29          24.66     
    db file scattered read     3,456     17     5     14.92     User I/O
    db file sequential read     4,304     17     4     14.77     User I/O
    direct path read temp     764     17     22     14.31     User I/O
    direct path write temp     259     5     21     4.70     User I/O
    Host CPU (CPUs: 12 Cores: 6 Sockets: )
    Load Average Begin     Load Average End     %User     %System     %WIO     %Idle
    1.39     1.37     0.2     0.2     0.2     99.6
    Instance CPU
    %Total CPU     %Busy CPU     %DB time waiting for CPU (Resource Manager)
    0.1     20.5     0.0
    Memory Statistics
         Begin     End
    Host Mem (MB):     16,384.0     16,384.0
    SGA use (MB):     4,704.0     4,352.0
    PGA use (MB):     196.1     188.4
    % Host Mem used for SGA+PGA:     29.91     27.71
    Main Report
    •     Report Summary
    •     Wait Events Statistics
    •     SQL Statistics
    •     Instance Activity Statistics
    •     IO Stats
    •     Buffer Pool Statistics
    •     Advisory Statistics
    •     Wait Statistics
    •     Undo Statistics
    •     Latch Statistics
    •     Segment Statistics
    •     Dictionary Cache Statistics
    •     Library Cache Statistics
    •     Memory Statistics
    •     Streams Statistics
    •     Resource Limit Statistics
    •     Shared Server Statistics
    •     init.ora Parameters
    Back to Top
    Wait Events Statistics
    •     Time Model Statistics
    •     Operating System Statistics
    •     Operating System Statistics - Detail
    •     Foreground Wait Class
    •     Foreground Wait Events
    •     Background Wait Events
    •     Wait Event Histogram
    •     Wait Event Histogram Detail (64 msec to 2 sec)
    •     Wait Event Histogram Detail (4 sec to 2 min)
    •     Wait Event Histogram Detail (4 min to 1 hr)
    •     Service Statistics
    •     Service Wait Class Stats
    Back to Top
    Time Model Statistics
    •     Total time in database user-calls (DB Time): 115.9s
    •     Statistics including the word "background" measure background process time, and so do not contribute to the DB time statistic
    •     Ordered by % or DB time desc, Statistic name
    Statistic Name     Time (s)     % of DB Time
    sql execute elapsed time     101.69     87.75
    DB CPU     28.58     24.66
    parse time elapsed     10.14     8.75
    hard parse elapsed time     9.92     8.56
    failed parse elapsed time     4.92     4.25
    hard parse (sharing criteria) elapsed time     4.27     3.68
    connection management call elapsed time     0.42     0.36
    PL/SQL compilation elapsed time     0.34     0.30
    PL/SQL execution elapsed time     0.18     0.15
    sequence load elapsed time     0.00     0.00
    repeated bind elapsed time     0.00     0.00
    DB time     115.88     
    background elapsed time     86.01     
    background cpu time     5.06     
    Back to Wait Events Statistics
    Back to Top
    Operating System Statistics
    •     *TIME statistic values are diffed. All others display actual values. End Value is displayed if different
    •     ordered by statistic type (CPU Use, Virtual Memory, Hardware Config), Name
    Statistic     Value     End Value
    NUM_LCPUS     0     
    NUM_VCPUS     0     
    AVG_BUSY_TIME     1,260     
    AVG_IDLE_TIME     360,705     
    AVG_IOWAIT_TIME     534     
    AVG_SYS_TIME     483     
    AVG_USER_TIME     679     
    BUSY_TIME     16,405     
    IDLE_TIME     4,329,811     
    IOWAIT_TIME     7,284     
    SYS_TIME     7,092     
    USER_TIME     9,313     
    LOAD     1     1
    OS_CPU_WAIT_TIME     503,900     
    PHYSICAL_MEMORY_BYTES     17,179,869,184     
    NUM_CPUS     12     
    NUM_CPU_CORES     6     
    GLOBAL_RECEIVE_SIZE_MAX     1,310,720     
    GLOBAL_SEND_SIZE_MAX     1,310,720     
    TCP_RECEIVE_SIZE_DEFAULT     16,384     
    TCP_RECEIVE_SIZE_MAX     9,223,372,036,854,775,807     
    TCP_RECEIVE_SIZE_MIN     4,096     
    TCP_SEND_SIZE_DEFAULT     16,384     
    TCP_SEND_SIZE_MAX     9,223,372,036,854,775,807     
    TCP_SEND_SIZE_MIN     4,096     
    Back to Wait Events Statistics
    Back to Top
    Operating System Statistics - Detail
    Snap Time     Load     %busy     %user     %sys     %idle     %iowait
    26-Aug 03:00:48     1.39                         
    26-Aug 04:00:52     1.37     0.38     0.21     0.16     99.62     0.17
    Back to Wait Events Statistics
    Back to Top
    Foreground Wait Class
    •     s - second, ms - millisecond - 1000th of a second
    •     ordered by wait time desc, waits desc
    •     %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
    •     Captured Time accounts for 78.2% of Total DB time 115.88 (s)
    •     Total FG Wait Time: 62.08 (s) DB CPU time: 28.58 (s)
    Wait Class     Waits     %Time -outs     Total Wait Time (s)     Avg wait (ms)     %DB time
    User I/O     8,949     0     56     6     48.74
    DB CPU               29          24.66
    System I/O     1,916     0     3     1     2.18
    Other     506     88     1     2     0.92
    Configuration     2     50     1     500     0.86
    Commit     37     0     1     18     0.56
    Application     20     0     0     17     0.29
    Network     4,792     0     0     0     0.01
    Concurrency     1     0     0     0     0.00
    Back to Wait Events Statistics
    Back to Top
    Foreground Wait Events
    •     s - second, ms - millisecond - 1000th of a second
    •     Only events with Total Wait Time (s) >= .001 are shown
    •     ordered by wait time desc, waits desc (idle events last)
    •     %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
    Event     Waits     %Time -outs     Total Wait Time (s)     Avg wait (ms)     Waits /txn     % DB time
    db file scattered read     3,456     0     17     5     59.59     14.92
    db file sequential read     4,304     0     17     4     74.21     14.77
    direct path read temp     764     0     17     22     13.17     14.31
    direct path write temp     259     0     5     21     4.47     4.70
    control file sequential read     1,916     0     3     1     33.03     2.18
    ADR block file read     38     0     1     28     0.66     0.92
    log buffer space     2     50     1     500     0.03     0.86
    log file sync     37     0     1     18     0.64     0.56
    enq: RO - fast object reuse     14     0     0     24     0.24     0.29
    local write wait     44     0     0     1     0.76     0.03
    SQL*Net message to client     4,772     0     0     0     82.28     0.01
    Disk file operations I/O     110     0     0     0     1.90     0.00
    ADR block file write     7     0     0     0     0.12     0.00
    SQL*Net message from client     4,773     0     15,396     3226     82.29     
    Streams AQ: waiting for messages in the queue     720     100     3,600     5000     12.41     
    Back to Wait Events Statistics
    Back to Top
    Background Wait Events
    •     ordered by wait time desc, waits desc (idle events last)
    •     Only events with Total Wait Time (s) >= .001 are shown
    •     %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
    Event     Waits     %Time -outs     Total Wait Time (s)     Avg wait (ms)     Waits /txn     % bg time
    control file sequential read     4,950     0     35     7     85.34     40.74
    control file parallel write     1,262     0     31     25     21.76     36.46
    log file parallel write     383     0     4     10     6.60     4.37
    db file parallel write     627     0     2     3     10.81     2.36
    change tracking file synchronous read     56     0     2     34     0.97     2.21
    os thread startup     17     0     1     88     0.29     1.74
    ADR block file read     135     0     1     7     2.33     1.04
    change tracking file synchronous write     56     0     1     15     0.97     0.98
    SGA: allocation forcing component growth     8     100     1     100     0.14     0.93
    db file sequential read     112     0     1     6     1.93     0.75
    process diagnostic dump     94     0     0     1     1.62     0.09
    ADR block file write     92     0     0     1     1.59     0.07
    LGWR wait for redo copy     11     0     0     1     0.19     0.01
    log file sync     2     0     0     3     0.03     0.01
    ADR file lock     92     22     0     0     1.59     0.01
    Parameter File I/O     24     0     0     0     0.41     0.01
    direct path write     6     0     0     1     0.10     0.00
    Disk file operations I/O     54     0     0     0     0.93     0.00
    rdbms ipc message     17,637     97     61,836     3506     304.09     
    Streams AQ: waiting for time management or cleanup tasks     5     60     11,053     2210602     0.09     
    DIAG idle wait     7,203     100     7,203     1000     124.19     
    PX Idle Wait     1,802     100     3,604     2000     31.07     
    pmon timer     1,212     99     3,603     2973     20.90     
    Space Manager: slave idle wait     726     99     3,603     4963     12.52     
    smon timer     12     100     3,600     300004     0.21     
    Streams AQ: qmn slave idle wait     128     0     3,583     27993     2.21     
    Streams AQ: qmn coordinator idle wait     256     50     3,583     13996     4.41     
    SQL*Net message from client     293     0     2     5     5.05     
    Back to Wait Events Statistics
    Back to Top
    Wait Event Histogram
    •     Units for Total Waits column: K is 1000, M is 1000000, G is 1000000000
    •     % of Waits: value of .0 indicates value was <.05%; value of null is truly 0
    •     % of Waits: column heading of <=1s is truly <1024ms, >1s is truly >=1024ms
    •     Ordered by Event (idle events last)
              % of Waits
    Event     Total Waits     <1ms     <2ms     <4ms     <8ms     <16ms     <32ms     <=1s     >1s
    ADR block file read     173     80.3     5.2     2.3     5.8     1.7          4.6     
    ADR block file write     99     96.0     3.0                    1.0          
    ADR file lock     102     100.0                                   
    Disk file operations I/O     165     100.0                                   
    LGWR wait for redo copy     11     90.9               9.1                    
    Parameter File I/O     24     100.0                                   
    SGA: allocation forcing component growth     8                                   100.0     
    SQL*Net break/reset to client     6     100.0                                   
    SQL*Net message to client     4992     100.0                                   
    SQL*Net more data from client     20     100.0                                   
    asynch descriptor resize     541     100.0                                   
    change tracking file synchronous read     56     83.9                         1.8     14.3     
    change tracking file synchronous write     56     80.4     7.1               1.8          10.7     
    control file parallel write     1262     80.3     1.7     .6     .6     .8     1.3     14.7     
    control file sequential read     6866     94.1     .9     .7     .7     .3     .4     2.9     
    db file parallel write     628     94.3     2.1     1.0     .8     .3     .3     1.3     
    db file scattered read     3457     72.6     7.2     5.4     6.9     5.7     .5     1.6     
    db file sequential read     4525     78.7     2.7     1.8     9.6     5.3     .4     1.5     
    direct path read temp     764     40.2     18.6     9.4     6.2     11.0     5.8     8.9     
    direct path sync     1     100.0                                   
    direct path write     6     83.3     16.7                              
    direct path write temp     259     .4          1.2     88.8          .4     9.3     
    enq: RO - fast object reuse     14     42.9     42.9          7.1               7.1     
    latch free     1     100.0                                   
    latch: cache buffers lru chain     2     100.0                                   
    latch: checkpoint queue latch     2     100.0                                   
    latch: messages     2     100.0                                   
    latch: object queue header operation     2     100.0                                   
    latch: redo allocation     1     100.0                                   
    latch: row cache objects     1     100.0                                   
    local write wait     44     100.0                                   
    log buffer space     2     50.0                              50.0     
    log file parallel write     383     92.4     .8          1.0               5.7     
    log file sync     39     82.1     2.6          2.6               12.8     
    os thread startup     17                                   100.0     
    process diagnostic dump     94     34.0     63.8     2.1                         
    reliable message     7     100.0                                   
    utl_file I/O     12     100.0                                   
    DIAG idle wait     7204                                   100.0     
    PX Idle Wait     1802                                        100.0
    SQL*Net message from client     5067     87.1     6.6     1.0     .5     .5     .1     .5     3.7
    Space Manager: slave idle wait     726     .6                                   99.4
    Streams AQ: qmn coordinator idle wait     256     49.2     .8                              50.0
    Streams AQ: qmn slave idle wait     128                                        100.0
    Streams AQ: waiting for messages in the queue     721                                        100.0
    Streams AQ: waiting for time management or cleanup tasks     5     40.0                              20.0     40.0
    class slave wait     17     100.0                                   
    pmon timer     1212     .9                                   99.1
    rdbms ipc message     17.6K     1.8     .4     .2     .2     .1     .1     21.0     76.2
    smon timer     12                                        100.0
    Back to Wait Events Statistics
    Back to Top
    I couldnt add the rest of the report here since it is telling me I have exceeded 30000 characters. If you want to see the full report, please email me at [email protected]

    Unless your database is strictly a DSS-type of database, your AWR report exposes loads of issues with it. And I think none of the time during the AWR window was spent on database. Look at the DB time (with all those multi cores) compared with the elapsed time of the AWR.
    As you are on 11g, why not make use of MEMORY_TARGET (a single parameter to manage both SGA and PGA)? If you are already on it, ignore this as I can't see it anywhere. If not, get rid of SGA_TARGET and PGA_AGGREGATE_TARGET and replace it with a single MEMORY_TARGET parameter. However you may have a minimum threshold set for different SGA pools so that they won't shrink beyond that point.
    Having said that, setting MEMORY_TARGET is not a guarantee to avoid ORA-4030. Just a single bad PL/SQL code could go and exploit the untunable part of your process memory and even go and blow up the physical memory. If you are using FORALL and BULK load, see if you can cut it down into few chunks rather than running as a single process.
    What does your V$PGASTAT say?

  • How to delete the old backup in time machine?

    Hi all,
    As I have use the TM for a year,the backup folder is on a network dirve. HOw can I delete the old backup (eg 6 months ago) in order to release more space?
    Thank you
    Gary

    Hi, and welcome to the forums.
    I'll assume you mean a NAS (Network Attached Storage) device, not a Time Capsule or external HD connected to a Time Capsule or other Mac on your network.
    If so, you can delete individual backups via Time Machine. See #12 in [Time Machine - Frequently Asked Questions|http://web.me.com/pondini/Time_Machine/FAQ.html] (or use the link in *User Tips* at the top of this forum). That may not seem to gain any space, since the backups are in a rather odd container called a +sparse bundle.+ It won't shrink automatically when you delete things, but the space will be reused for new backups.
    You may be able to limit the size of the backups by limiting the amount of space available to Time Machine on the NAS, but you'll have to use whatever facilities the NAS supplies, not OSX. Some allow the disk to be partitioned as on a normal disk, or allocate space to shares.

  • Database Error: DBD::Oracle::db do failed: ORA-04030: out of process memory

    Hi
    I have a stored procedure that uses the XMLQuery function (SELECT XMLQuery( '......' RETURNING CONTENT) FROM dual; ) to extract data from 3 different tables and store the xml file in XML DB. This store procedure was running fine for a long time until 2 weeks ago where I started seeing the following error:
    Database Error: DBD::Oracle::db do failed: ORA-04030: out of process memory when trying to allocate 92 bytes (koh dur heap d,qmxtkWriteXobToOpn:heap)
    Currently I have 16,000 records. I am not sure what is going on, the size of the previous successful output xml file is about 2M. I also noticed when the stored procedure runs with 3G of system memory available, it basically used up all the memory and cpu time. The store proc consistently dies after 3.5 hour and spits out the ORA-04030 out of process memory error.
    Does anyone have any suggestion what to look for or what parameters I need to set? Thanks

    Unless your database is strictly a DSS-type of database, your AWR report exposes loads of issues with it. And I think none of the time during the AWR window was spent on database. Look at the DB time (with all those multi cores) compared with the elapsed time of the AWR.
    As you are on 11g, why not make use of MEMORY_TARGET (a single parameter to manage both SGA and PGA)? If you are already on it, ignore this as I can't see it anywhere. If not, get rid of SGA_TARGET and PGA_AGGREGATE_TARGET and replace it with a single MEMORY_TARGET parameter. However you may have a minimum threshold set for different SGA pools so that they won't shrink beyond that point.
    Having said that, setting MEMORY_TARGET is not a guarantee to avoid ORA-4030. Just a single bad PL/SQL code could go and exploit the untunable part of your process memory and even go and blow up the physical memory. If you are using FORALL and BULK load, see if you can cut it down into few chunks rather than running as a single process.
    What does your V$PGASTAT say?

  • Image Scaling Bug?

    I've been working with flex for a few weeks now, and I've
    come across this odd behavior in the Image class. The livedocs
    state that the default value for the scaleContent property of an
    Image object is 'true'. This is the case, and when setting the
    width or height of my image it scales correctly. The problem is
    that the container that holds the object only scales with the
    explicitly set value and leaves the other as its original size.
    The following code is a small testcase to show the behavior
    in action.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Style>
    .test {
    cornerRadius: 0;
    headerHeight: 0;
    borderThickness: 1;
    dropShadowEnabled: false;
    borderStyle: solid;
    backgroundColor: #333333;
    borderColor: #ff0000;
    titleStyleName: "myTitleStyle";
    </mx:Style>
    <mx:Box styleName="test">
    <mx:Image source="glassdoor.jpg" height="32"/>
    </mx:Box>
    </mx:Application>
    You'll have to replace the image name with one that you
    provide, and set the height to something smaller that the image's
    height to see the effect. The box's red border shows that it
    realizes the image is 32 pixels in height, but doesn't seem to know
    what to do with the implicitly scaled width. Any ideas? Am I doing
    something wrong, or is this a bug? Since the box normally conforms
    to the size of the object inside it, I would have expected it to
    shrink on both parameters to continue hugging the outside of my
    newly-scaled image.

    The problem is that when the Box asks the Image for its size
    it can only report the explicity set height. When the Image tag
    loads its source it scales it to make the size you set (32 high)
    but doesn't change its width - it is the Image and not the Box that
    is causing what you see. The Image won't shrink to fit the image
    loaded. Try adding horizontalAlign="center" to the Image and see if
    the loaded source floats in the middle.
    Using horizontalAlign and verticalAlign on the Image tag
    aligns the actual image within the Image tag space. For example, if
    you have <mx:Image width="100" height="100"
    horizontalAlign="center" verticalAlign="middle" /> and you load
    in a 300x600 image, the image will be scaled to 50x100 and be
    centered within the 100x100 area of the Image tag.
    In general, if you cannot give an explicit size, give a
    minWidth or minHeight, so the measurement phase of the Flex
    component layout cycle has something to work with.

  • Deficit of Customer stock unr. 0.001 CV : MM12345 1000 batch W

    Hi Gurus,
    Created batch upload of consignment sales with auto dr.
    Upon doing pgi; Deficit of Customer stock unr. 1.001 CV : MM12345 1000 batch W.
    My question is. How come this is happening when i have availability check active iand it allocated stocks for these deliveries?
    Thanks in advance!
    -Joker

    Unless your database is strictly a DSS-type of database, your AWR report exposes loads of issues with it. And I think none of the time during the AWR window was spent on database. Look at the DB time (with all those multi cores) compared with the elapsed time of the AWR.
    As you are on 11g, why not make use of MEMORY_TARGET (a single parameter to manage both SGA and PGA)? If you are already on it, ignore this as I can't see it anywhere. If not, get rid of SGA_TARGET and PGA_AGGREGATE_TARGET and replace it with a single MEMORY_TARGET parameter. However you may have a minimum threshold set for different SGA pools so that they won't shrink beyond that point.
    Having said that, setting MEMORY_TARGET is not a guarantee to avoid ORA-4030. Just a single bad PL/SQL code could go and exploit the untunable part of your process memory and even go and blow up the physical memory. If you are using FORALL and BULK load, see if you can cut it down into few chunks rather than running as a single process.
    What does your V$PGASTAT say?

  • Problem creating dmg...

    Hi, All -
    When I try to creat a dmg, using the "Disk image from Folder" command, after I've selected (clicked) on that command, I'm taken to a window titled "Select Folder to Image." After I selec the proper folder, I click the "Image" button and am taken to another "New Image from Folder" window, where I enter the dmg title, destination, choose "compression," select "none" for encryption, and click on the save button.
    Three times, after the resulting progress graph had reached its end, I received an error message, "unable to create ' xxxxx'" (file name) and error 49168. On the 4th attempt, the graph, at about 20%, resulted in a dmg that was already 2.36gb, and still growing, when I finally hit the cancel button. I think I may have select the wrong folder to copy. LOL The folder I was trying to convert to a dmg was only 10.8mb.
    On my next attempt, the result was the same as the first 3 attempts. I HAVE been able been able to create an empty dmg of 15mb, and another of 10mb.
    Help!!!!!!!
    TIA
    Phil

    Hi Phil:
    If you are trying to use a disk image to shrink pdf's, then that is the wrong approach. They won't
    shrink much unless they are optimized. If you have access to adobe acrobat professional, it will
    reduce a non optimized pdf to around 10% of its non optimized size.
    Here is a alternate program that does basically the same thing as adobe:
    PDF Shrink 4.5
    http://www.macupdate.com/info.php/id/9206
    Split and concat can split files files into smaller chunks for reassembly on the receiving end.
    http://www.xs4all.nl/~loekjehe/Split&Concat/
    Stuffit Deluxe will compress files smaller than anything else I have found:
    http://my.smithmicro.com/mac/stuffit/index.html
    Kj
    Message was edited by: KJK555

Maybe you are looking for

  • Not able to use software-update but still connected to the internet

    Hi there , I am currently on 10.5.6 but did this upgrade manually. When I tried to use Software-Update it gave me : Cannot contact the update server. I am connected through Airport Extreme with my Macbook. My IMac is also on this Airport Express and

  • Please confirm wheather the tables changed or obsoleted from 11i to R12.

    All, Can you please let me know whether the following tables are replaced/obsoleted and such information from 11i to R12 as part of upgrade.Please let me know if you need any further information. Just want to know ,the following tables are changed fr

  • Problem in creating UDF to read multiple rows of IDOC segment

    Hi Experts, I am working on IDOC to File scenario, in message mapping i have to read segment of idoc (occurence of this segment is 0..4) and check the key of this segment and accordingly pass the value. I am creating a UDF to send the data in target

  • Partitioning an External HD

    Hello all. My question is not so much about Time Machine as it is about backing up to an external drive. I have an iMac with 500 GB and just ordered an Iomega HD with 1.5 TB of space.I want to partition part of that HD for a bootable clone and the re

  • Grayed out "No Service" on Safari icon sending email link

    Since I upgraded to Yosemite, I get a grayed out "No Service" message when I click on my email icon link (square box with arrow point up) on Safari. I am on a website, say Apple store, and I want to email the page or link to someone to show them a pr