Query, stuck on the temp to write direct path after 11.1.0.7 to 11.2.0.4 upgrade

Dear respected community Memebers,

We have upgraded the database to 11.2 and now see some queries stuck on direct way heavy write temp.
We have seen queries is is completed with error after a few hours:
ORA-1652: unable to extend temp by 16 segment in tablespace TEMP1
where files TEMP1 saturates at 32G (which is usually to 10G)

Our parameters of memory are:
whole large pga_aggregate_target 4G
Whole large SGA_TARGET 12G
Whole large SGA_MAX_SIZE 12G

Physical memory to the operating system is 24G.

Impatient he solved.

Thank you.

Ali

This would mean that the execution plan has changed and it uses more temporary space (for example, a hash join).

Look at the execution plan before and after the upgrade and to identify differences.

See if you can adjust the SQL, change the gaskets.

Hemant K Collette

Tags: Database

Similar Questions

  • cursor mouse stuck on the bottom left corner - it started after WinASO registry optimizer.

    Is not the harware problem, I plugged an external mouse, but I still have the prob.

    I know what the problem with the registry, ' coz when I used optimizer registry winASO, I had this prob.

    I restored using WinASO and restarted the laptop.

    I still have the prob.

    Hello

    Please follow the steps listed.

    Method 1:

    Please start the computer in safe mode and check if it works very well.

    Click on the link below.

    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    If it works fine in safe mode, please perform clean boot.

    Click on the link below.

    NOTE: after the troubleshooting steps, please reset the computer to start as usual (see STEP 7 in the article mentioned below)

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

     

    Method 2:

    Uninstall the winASO registry optimizer and check if it works very well.

    http://Windows.Microsoft.com/en-us/Windows-Vista/uninstall-or-change-a-program

    Please see the link below.

    http://Windows.Microsoft.com/en-us/Windows-Vista/are-registry-cleaners-necessary

  • A little stuck on the list view scrolling direction

    I'm probably going crazy or something, but trying to get my item LIstItem to display and scroll from left to right (based on the code Tutorial by Rodger).

    Now, as shown below, it works as expected, scrolling up and down, but once I have change orientation: orientation or LayoutOrientation.LeftToRight: LayoutOrientation.RightToLeft it disappears completely.

                        layout: StackListLayout { orientation: LayoutOrientation.TopToBottom }
    
     Container {
                    property int pageShown
    
                    onCreationCompleted: {
                        listView.scrollToItem([0], ScrollAnimation.Smooth)
                    }
                    opacity: nightMode?0.8:1.0
                    id: tutorialContainer
                    layout: DockLayout {}
                    horizontalAlignment: HorizontalAlignment.Center
                    maxHeight: 500
                    verticalAlignment: VerticalAlignment.Top
                    background: Color.Black
                    ListView {
                        id: listView
    
                        property int deviceWidth:  pixelWidth==""? originalPixelWidth: pixelWidth
                        property int deviceHeight: pixelHeight==""? originalPixelHeight: pixelHeight
    
                        property variant background: tutorialContainer.background
    
                        dataModel:_pinnedVideos.dataModel
                            //XmlDataModel { source: "asset:///streamTutorialModel.xml" }
                        layout: StackListLayout { orientation: LayoutOrientation.TopToBottom }
                        flickMode: FlickMode.SingleItem
    
                        function updatePageShown(page) {
                            tutorialContainer.pageShown = page
                        }
    
                        listItemComponents: [
                            ListItemComponent {
                                type: "item"
                                Container {
                                    id: itemContainer
                                    layout: DockLayout {}
                                    onCreationCompleted: {
                                        console.log("fff" + ListItemData.page)
                                    }
                                    preferredWidth: itemContainer.ListItem.view.deviceWidth
                                    preferredHeight: itemContainer.ListItem.view.deviceHeight
                                    attachedObjects: LayoutUpdateHandler {
                                        id: luhPosition
                                        onLayoutFrameChanged: {
                                            if (luhPosition.layoutFrame.x >= - itemContainer.preferredWidth / 2 && luhPosition.layoutFrame.x <= itemContainer.preferredWidth / 2) {
                                                itemContainer.ListItem.view.updatePageShown(ListItemData.page)
                                            }
                                        }
                                    }
                                    Container {
                                        layout: DockLayout {}
                                        horizontalAlignment: HorizontalAlignment.Fill
                                        verticalAlignment: VerticalAlignment.Fill
                                        ImageView {
                                            imageSource: ListItemData.artWork
                                            horizontalAlignment: HorizontalAlignment.Center
                                            verticalAlignment: VerticalAlignment.Center
                                            maxHeight: itemContainer.ListItem.view.deviceHeight * 0.7
                                            maxWidth: itemContainer.ListItem.view.deviceWidth * 0.7
                                            scalingMethod: ScalingMethod.AspectFit
                                        }
                                        Container {
                                            horizontalAlignment: HorizontalAlignment.Fill
                                            verticalAlignment: VerticalAlignment.Top
                                            opacity: 1
                                            background: itemContainer.ListItem.view.background
                                            Label {
                                                text:ListItemData.videoTitle
                                                multiline: true
                                                horizontalAlignment: HorizontalAlignment.Center
                                                textStyle{
    
                                                    fontSize: FontSize.PointValue
                                                    fontSizeValue: 10
                                                    base: SystemDefaults.TextStyles.TitleText
                                                }
                                            }
                                        }
    
                                    }
                                }
                            }
                        ]
                    }
                }
    

    I never got the hang of things UI in Cascades, any help would be appreciated

    Ah, that explains it.

    I looked at your code, can't really see something that would make a huge difference to my own, it's confusing to me, just completely disappears when I want to use LeftToRight :/

  • BBM stuck to the configuration of opening BBM screen after Dev Alpha updated SDK 10.0.9.1675 gold update

    Just updated to 1675.  Tried to open the BBM and BBM configuration screen flies upwards and the spinner continues to turn for always with the message 'Opening BBM'.

    BBM got working again!

    Go to settings-> Blackberry ID and re-connect with your BBID.  BBM opened again and it associated to your ID Blackberry and everything of fine.

    Thanks to @MyBBOTA on twitter for pointing this origin and retweeting the solution!

    Nick

  • Insert adds parallel sessions expect "direct path read temp".

    Hi all.

    The database is 11.2.0.3 on a linux machine.

    I published the following query, and I found that parallel query sessions were waiting for "direct path read temp.

    And SDPCSM. Table SDP_CHILD_SVC_PROFATTR_HIS does NOT index and is in nologging mode.

    Why the pq sessions expect "direct path read/write temp?
    insert /*+ append parallel (8) */ into SDPCSM.SDP_CHILD_SVC_PROFATTR_HIS
    select /*+ parallel (SDP_CHILD_SVC_PROFATTR_HIS_E, 8) */ * from SDPCSM.SDP_CHILD_SVC_PROFATTR_HIS_E@tb_link;
    Thanks in advance.
    Best regards.

    Please check this blog:
    http://www.Confio.com/blog/Oracle-wait-event-explained-direct-path-read-temp

  • Wait events "direct path write" and "direct path read".

    Hello

    We have a query that takes more than 2 minutes. It's a 9.2.0.7 database. We took the request trace/tkprof and identified there so manay 'direct entry path' and 'direct path read' wait for events in the trace file.

    WAITING #3: nam = "Write" direct path ela = 5 201 p1 = p2 = p3 70710 = 15
    WAITING #3: nam = "direct path read" ela = 170 201 p1 = p2 = 71719 p3 = 15

    In the light of the foregoing, "p1 = 201" is a the file_id, but we could not find any data file, the temporary file, the control file with this id # 201.
    Can you please let us know what "p1 = 201" here, how to identify the file that is causing the problem.

    Thank you
    Sravan

    Whatever it is:

    show parameter db_files
    

    back? I think, is that it returns 200.

    Read the file live and direct file writing events are reads and writes of tablespace TEMP. Wait events, folder # is reported as db_files + id of a temporary file. So, 201 means temp #1 file.

    Now, as to your real performance issue.

    Without seeing the SQL and the corresponding implementation plan, it is impossible to be sure. However, the most frequent causes of temporary entries are the operations of sorting and group by operations.

    If you decide to display your plan and SQL execution, please be sure to make it readable by formatting it. Information on how to do this can be found here.

    Hope that helps,

    -Mark

    Published by: mbobak on May 1st, 2011 01:50

  • Firefox 4 is unable to install add-ons. After download the 'installation' bar stuck in the beginning and never ends.

    Firefox 4 is unable to install add-ons. After download the 'installation' bar stuck in the beginning and never ends.
    After that I updated to 3.6, FF4 to see any of my previous modules.
    When you try to install the new, I see no error dialog box or message, just install bar is not going anywhere.

    To anyone out there yet with this issue.
    The solution that worked for me was to create a new user profile.
    Give it a try, if it works you can just move your settings and other things more.
    Oli

  • HP G6 Windows 8.1 sometimes stuck on the start up repair/diagnostic screen

    I have a Pavilion G6 accompanying win 8 and I've updated to 8.1.   Normally, works very well.  But sometimes if it is not stop properly, or after updates, it gets stuck in the rotating balls forever.   Usually after 3 stops forced, I get repair folollowed preparation of the diagnose sceens pc, and then it works when I select restart.    A few times I had to go through the process several times, but so far, it has always started.

    Any suggestions?

    Thank you.

    Some things you could try for now.

    Make a diagnosis via hard drive BIOS

    Restore the default settings of the BIOS

    http://support.HP.com/us-en/document/c02693833

    Run the Memtest86 to test your RAM from there, not the paid version:

    http://www.Memtest86.com/

    Consider changing your CMOS battery.

  • Redo generation for Direct path Inserts

    Hello, I'm trying to understand some test results confused I see this morning on the generation of redo direct path for the pads. Based on my understanding of Tom to ask several discussions directly inserts path on a set of data to force the record should generate much less remake a traditional insert because the insertion of the direct route does not generate as much cancel which in turn should generate less do on cancellation.

    https://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:5280714813869

    Of course, always connect the actual inserted rows but I expected to the remake was less because less cancel has been generated. Instead the roll forward is actually bigger and I don't know why.

    Here's a test case to prove my example.

    set autotrace traceonly;
    create table test_redo as select * from all_tables where 1=0;
    insert into test_redo select * from all_tables;
    rollback;
    insert /*+ append */ into test_redo select * from all_tables;
    rollback;
    

    Stats without Append Hint
    
    Statistics
    ----------------------------------------------------------
            387  recursive calls
           1275  db block gets
          19604  consistent gets
              9  physical reads
        2409204  redo size
            501  bytes sent via SQL*Net to client
            897  bytes received via SQL*Net from client
              4  SQL*Net roundtrips to/from client
              4  sorts (memory)
              0  sorts (disk)
           9031  rows processed
    
    Stats with Append Hint
    
    Statistics
    ----------------------------------------------------------
             59  recursive calls
            162  db block gets
          18675  consistent gets
              0  physical reads
        2596904  redo size
            490  bytes sent via SQL*Net to client
            911  bytes received via SQL*Net from client
              4  SQL*Net roundtrips to/from client
              2  sorts (memory)
              0  sorts (disk)
           9031  rows processed
    

    Any ideas on what I'm missing?

    Thank you

    The / * + append * / copies all blocks Oracle in roll forward, with a little extra for recording etc. headers.

    The standard insert creates change descriptions which save odd odd little bits of space and adds little bits of information links (as well as some redo to describe a very small amount to cancel)...

    The difference between the two has always been pretty low (assuming that you are running in archivelog mode, or force logging) on a right append.  It is possible that curious little details of efficiencies in future versions of the average of the Oracle that the standard Insert wins a place a bit more efficient - it used to be the other way around in earlier versions.

    Concerning

    Jonathan Lewis

  • With regard to 'Direct Path read' expected

    As we know, the direct path read waits is a new feature of Oracle 11 g. Oracle Documents or other objects, when it's the full table scan, direct path reading took place. But why it happened?  I don't know clearly.

    Here is the description of the Oracle Document:

    http://docs.Oracle.com/CD/E18283_01/server.112/e17110/waitevents003.htm#sthref3849

    During operations of Direct Reading of data asynchronously access path in the database files. At some point, the session must ensure that all the asynchronous i/o in circulation have been realized on the drive. This can also happen if during a direct reading without more slots is available for storing exceptional load requests (a charge application might consist of several e/s).


    Question:

    1 during operations of Direct data asynchronously reading path in database files.  > > this statement means what? What of "asynchronous reading '?

    2 describe above description for me in details.

    3. who can clearly explain "why read direct path wait to happen ' for me?


    Thanks in advance.

    Lonion


    Lonion wrote:

    Question:

    1. to path operations Direct playback of data asynchronously in the database files.  > This statement means what? What of "asynchronous reading '?

    2 describe above description for me in details.

    3. who can clearly explain "why read direct path wait to happen ' for me?

    If you want to get very technical, Frits Hoogland wrote a lot about the implementation:

    http://fritshoogland.WordPress.com/2013/05/09/direct-path-read-and-fast-full-index-scans/

    http://fritshoogland.WordPress.com/2013/01/04/Oracle-11-2-and-the-direct-path-read-event/

    http://fritshoogland.WordPress.com/2012/12/27/Oracle-11-2-0-1-and-the-KFK-async-disk-IO-wait-event/

    http://www.UKOUG.org/what-we-offer/library/about-Multiblock-reads/about-Multiblock-reads.PDF

    Concerning

    Jonathan Lewis

  • Archiving log / nologging / direct path insert

    Could you please confirm if the following are true or correct me if my interpretation is wrong:

    Log mode archive 1) and logging is necessary to deal with the media recovery; It was not necessary for the recovery of the instance.

    (2) IF the insert is no. APPEND mode, redo is generated, even if the table is in nologging mode and database is in log noachive mode. This recovery is necessary for recovery of the instance.

    (3) direct path insert ignore cancel the generation and can jump redo generation if the object is in nologging mode.

    Thank you.

    In case if it is relevant, I'm using Oracle 11.2.0.3.

    (1) Yes, archive logs is required for media recovery.
    2 and 3) even if the table is in nologging mode, it generates little recovery data dictionary and index maintenance. After a reboot of a failure - Oracle reads the online redo logs and replay any what transaction it finds in there. It's the little "roll forward." The binary redo information are used to re-read everything that did not get written to the data files. This review included refreshing the information for CANCELLATION (UNDO is protected by roll forward).

    After the restoration has been applied, the database is generally available for use now - and restore begins. For any transaction that was being processed when the instance failed - we have to revert his changes, roll back. We do this by treating the cancellation of all uncommitted transactions.

    The database is now fully recovered.

    Also read he following link
    http://docs.Oracle.com/CD/B19306_01/server.102/b14220/startup.htm
    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:5280714813869

  • direct path load question

    I do not understand why, in the course of a direct path load insert an exclusive lock on the table is required.

    Suppose I have a T table without any indexes or constraints, why can't update the table in a session and in bulk load in another session above the HWM?

    Thanks in advance

    Claire wrote:
    I do not understand why, in the course of a direct path load insert an exclusive lock on the table is required.

    Suppose I have a T table without any indexes or constraints, why can't update the table in a session and in bulk load in another session above the HWM?

    What would ensue if/when another session DML requiring HWM be triggered BEFORE the completed direct path loading?

  • Insert / * + Append * / and direct-path INSERT

    Hi guys

    Insert / * + Append * / hint cause Oracle 10 G using direct-path INSERT?
    and so insert / * + Append * / suspicion causes an Oracle of using direct-path INSERT, insert / * + Append * / is subject to the same restrictions as direct-path, such as "the target table cannot have any triggers or referential integrity constraints defined on it.»



    Thank you

    How it would be difficult for you to look for the answer in the documentation and do not abuse this forum asking questions doc and flaming posters colleagues?

    ------------
    Sybrand Bakker
    Senior Oracle DBA

  • 6s + guard stuck in the wrong direction when you turn it on?

    My 6s + keeps stuck in the wrong direction when I come out of my pocket and turn it on. When I held vertically, it's very, very often stuck in landscape mode and even when I flip it back, nothing has changed and I need to activate the button and off to change. Is this a common problem? Is there any fix for it?

    Thank you.

    Try force reboot:

    http://support.Apple.com/en-us/HT201559

  • Cannot write to the temp directory

    I have windows vista Ultimate 64-bit, im the admin of my pc also. When I try to install this program I really need * forge his song "I get this error"unable to write to the temp directory in C:\users\name\AppData\Local\Temp\. " Make sure you have write access to this directory. Help me please!

    1. you run this program as an administrator?
    2. the directory in question exist, and it is stated in your environment variables?
    3 are the permissions for the appropriate directory?

Maybe you are looking for