USER I/O Wait (Please help kind of stuck here from long time)

I have a delete statement running from more than 24 hrs now and the session info says its waiting on user I/O. There are no blocking sessions and its doing a full table scan of a table having around 500000 records. I dont understand what exactly its waiting on and how to check that and why it taking more than 24 hrs to FTS of 1 table? Here are some of the statistics:
SQL> select blocking_session, event, wait_class, wait_time, seconds_in_wait, state from v$session where sid=1026;
BLOCKING_SESSION EVENT WAIT_CLASS WAIT_TIME SECONDS_IN_WAIT
STATE
db file scattered read User I/O 0 0
WAITING
SQL> select * from table(dbms_xplan.display_cursor('1g5k0k3qpy8j2'));
PLAN_TABLE_OUTPUT
SQL_ID 1g5k0k3qpy8j2, child number 0
DELETE FROM RX_TX WHERE ID IN (SELECT ID FROM TEMP_PURGE WHERE TABLE_NAME = 'rx_
tx')
Plan hash value: 3126475949
PLAN_TABLE_OUTPUT
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)
| Time |
| 0 | DELETE STATEMENT | | | | | 17239 (100)
| |
| 1 | DELETE | RX_TX | | | |
| |
PLAN_TABLE_OUTPUT
|* 2 | HASH JOIN RIGHT SEMI| | 513K| 123M| 14M| 17239 (2)
| 00:03:27 |
|* 3 | TABLE ACCESS FULL | TEMP_PURGE | 557K| 8717K| | 2789 (2)
| 00:00:34 |
| 4 | TABLE ACCESS FULL | RX_TX | 578K| 130M| | 6918 (2)
| 00:01:24 |
PLAN_TABLE_OUTPUT
Predicate Information (identified by operation id):
2 - access("ID"="ID")
3 - filter("TABLE_NAME"='rx_tx')
22 rows selected.
SQL> select b.name, a.value from v$sesstat a, v$statname b
where a.statistic# = b.statistic#
and a.value > 0 2 3
4 and b.name like '%wait%'
5 and a.sid=1026;
NAME VALUE
concurrency wait time 1615
application wait time 388
user I/O wait time 13403000
enqueue waits 1
shared hash latch upgrades - no wait 7924935
redo log space wait time 2852
6 rows selected.
Any help would be appreciable.
This deletes more that 60% of the records from this table so indexed should be out of question here, i think.
Daljit Singh
Message was edited by:
Daljit

Thanks for replying Reega, here is the required
info:
SQL> select p1text, p1, p2text, p2, p3text, p3 from
v$session where sid=1026;
P1TEXT
1
P2TEXT
2
P3TEXT
3
file#
block#
16937
blocks
6
Actually Reega had a good point, not sure why he didn't go down the route.
You may want to find out what's that table/index your session is waiting from the value, something like
select   owner||'.'||segment_name,  segment_type
from dba_extents
where file_id=4 and (block_id between 116937 and 116937+66)This might be a long run query if you have many objects.
Actually the better view to query is v$session_wait instead of v$session.
Check article you might find useful,
Oracle wait tuning with v$session_wait

Similar Messages

  • Not able drop a user in database.. please help

    Not able drop a user in database.. please help
    SQL> drop user xxx cascade;
    drop user xxx cascade
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [16500], [kqdcru], [D], [2], [74],
    [BIN$gwB1YtUSNkHgQKjAVbQi5w==$0], [], []
    i tried to clear recycle bin .. it went fine as sysdba but not an user
    As sys:
    purge recyclebin;
    Recyclebin purged.
    SQL> conn xxx
    Enter password:
    Connected.
    SQL> purge recyclebin;
    purge recyclebin
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [16500], [kqdcru], [D], [2], [74],
    [BIN$gwB1YtUSNkHgQKjAVbQi5w==$0], [], []
    restart of db not helping out...
    thanks in advance.. help me out..

    You didn't mention your Database and O/S details....
    drop user xxx cascade
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [16500], [kqdcru], [D], [2], [74],
    [BIN$gwB1YtUSNkHgQKjAVbQi5w==$0], [], []
    SQL> purge recyclebin;
    purge recyclebin
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [16500], [kqdcru], [D], [2], [74],
    [BIN$gwB1YtUSNkHgQKjAVbQi5w==$0], [], []You should probably raise a Service Request for ORA-00600 errors, as Oracle Support needs to look at it.
    Regards
    Z.K.

  • The enter key is not working in firefox but it has working fine in chrome and IE so please help me to rid out from this.

    The enter key is not working in firefox but it has working fine in chrome and IE so please help me to rid out from this.

    Hello gokulaan, '''try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • I have an ipod 2g , The keyboard won't work! Or at least some of it's letters and numbers won't. please help i'm stuck with emojis

    i have an ippd touch 2g , a part of my keyboard won't work , i can type letters but i can't type numbers . please help i'm stuck with emojis keyboard

    Try restarting the iPod by holding down the lock and home button together and then slide the power button to turn it off and then wait 10 seconds and start it up again. If it is not a reset issue then it may be a hardware issue. Is your iPod damaged or have you dropped it recently? If it is a hardware problem then you may not be able to fix it. If your iPod has multitasking options like the new iOS devices, close out the app and then try again, it should reset your device to letters instead of emojis.

  • Hi there. Can someone please help me with copying photos from my old iPad to my new one? Thanks.

    Hi there. Can someone please help me with copying photos from my old iPad to my new ipad2? Thanks.

    If you have a pc, when you plug your iPad in you should see the windows pop up window offering to backup the photos. Do that and it will save all your photos and videos to your computer where you can then sync them back to your new one.
    If the pop up doesn't come up, double click on my computer and navigate your way to the iPad. Double cick on it an d navigate to the DCIM folder. Drag your photos and videos to your pc, then sync them back onto your iPad.

  • Please help i bought an iphone from ebay and it is unlocked and refirbished by apple how do i know what sim card to buy for it? iPhone 3GS

    please help i bought an iphone from ebay and it is unlocked and refirbished by apple how do i know what sim card to buy for it? iPhone 3G

    Contact your chosen cellular provider to obtain a compatible SIM card.

  • HT3702 please help to solve the violation from itunes

    please help to solve the violation from itunes

    Sorry, but the minimal amount of information you have provided does not allow us to understand what problem you are having. You will need to post a more complete description of your issue before anyone can even guess at suggestions.
    Regards.

  • I have been backing up  since 2010 but my machine will only go as far back as feb 11 ... why is this? please help i need valueable info from 2010

    i have been backing up  since 2010 but my machine will only go as far back as feb 11 ... why is this? please help i need valueable info from 2010

    Welcome to the discussion area!
    When the Time Capsule disk starts to become full, Time Machine will automatically delete the oldest backups first to make room for new backups.
    For more details, I think you will get a faster and more informed response if you post in the TIme Machine forum for questions like this. We primarily handle configuration set up and networking questons about the Time Capsule as a hardware device on this forum, but it's possible that someone may see your post and respond from here as well.
    Please click the link below and then click the "Refine this list" 'button to see the Time Machine area.
    https://discussions.apple.com/community/mac_os/mac_os_x_v10.6_snow_leopard?categ oryID=263

  • Please help me transfer purchased apps from my current ios6 to new ios7 program.

    Please help me transfer purchased apps from my current ios6 to new ios7 program.

    There is no need to transfer anything.
    Update the device via iTunes or Over the Air... no content on the device should be affected.
    If the device is used as designed and regularly backed up to iCloud or iTunes on the computer, should anything go wrong it can be restored.

  • Please help in unlocking my iPhone3GS from at&t

    please help in unlocking my iPhone3GS from at&t

    Read here:
    http://www.att.com/esupport/article.jsp?sid=KB414532&cv=820&title=What%20are%20t he%20eligibility%20requirements%20for%20unlocking%20iPhone%3F#fbid=q2Tus0RX3ir
    See if you qualify & it so, request AT&T unlock your phone.

  • Good day. as I can do to update my iphone 4 to the latest version of ios 5. whenever you connect to the pc and try to update the waiting time is very long, sometimes up to 12 hours and despite the wait always produce an error message for a long time waiti

    good day. as I can do to update my iphone 4 to the latest version of ios 5. whenever you connect to the pc and try to update the waiting time is very long, sometimes up to 12 hours and despite the wait always produce an error message for a long time waiting

    Disable ALL security software (firewall, antivirus/spyware, etc.) running on your PC while updating.

  • Hello, i bought my iPad3 yesterday and it works fine, but today it request for a system update to the iOS 6, since that al the applications i've tried to download say that they are waiting, please help me, thanks

    The applications say they are waiting, please i need help.

    Thank you very much, i solved the problem rebooting the iPad. :D

  • I just purchased mountain lion and it doesnt load, it says "waiting"  please help

    i just purchased mountain lion and it doesnt load, it says "waiting"  please help

    Welcome to Apple Support Communities
    Open App Store > Purchases, pause and resume OS X. If it doesn't help, press Shift key in boot and download Mountain Lion

  • Please Help! Trouble sending email from Apple Mail to PC-users

    When sending email in RTF format from Mail to PCs, we have som trouble which I havent found out how to solve:
    1) the PC user gets a scrambler email, in which some of the text is like "chinese". Illegible! This seems to happen especialle with PDFs attached.
    2) Graphics or pictures we wish to appear directly in the mail is not visible to the receiver, but is only included as attachments.
    I know most mail encoding problems can be avoided if we send mail i the "old" simple text format. But we wish to send mails in which our company logo appears in the signature, and sometimes we send graphics and pictures that we wish to be seen directly in the mail (and not as attached files only).
    I have set the preferences so that mails as standard are send in RTF format and attachments are send in the "windows friendly" mode.
    What really irritates me is that we have more success sending PC friendly mails from Entourage. But for two other reasons we wish to use Mail instead of Enrourage (Entourage has more crash downs/"broken" database issues. And we use Plaxo which does not sync with Entourage)..
    Could some of you Please help or direct me to helpfull info?
    Sincerely ...Peter and Thomas

    Hello Peter.
    Your OS detail provided indicates you are running 10.3.9 but you posted in the Mail & Address Book - Tiger discussions.
    1) When you say PC user, more than likely the PC users reporting this problem are using Outlook for their email client since Outlook has always had problems with Mail's RTF and sometimes severe problems depending on the version used by the recipient. Using Plain Text for message composition will resolve this but check this link for an alternative.
    http://homepage.mac.com/thgewecke/woutlook.html
    2) All Mail.app versions prior to Tiger Mail (2.x) do not support composing in HTML. RTF with Tiger Mail is HTML but Tiger Mail does not include an HTML composer/editor.
    The Mail.app displays all photo/image and single page PDF attachments inline or viewed in place within the body of the message by default which cannot be turned off. This is not the same as being embedded which cannot be done with any Mail.app version directly regardless. Depending on the recipient's email client and available settings, such attachments may appear inline or viewed in place within the body of the message when the message is opened by the recipient (as when receiving such attachments with the Mail.app) or as attached files only which must be opened separately to be viewed for which the sender has no control over.
    The same in reverse. Photo/image attachments to a Windows Outlook message appear as attached files only when the message is sent but when sent to a Mail.app user, such attachments will appear inline or viewed in place within the body of the message when the message is opened which the Windows Outlook user has no control over.
    The company logo included with your Signature is likely appearing as an attached file to the message only but how the logo appears when opened by the recipient depends on the recipient's email client.
    The only thing the Windows Friendly Attachment option does is remove the Apple resource fork for attached files which are invisible to fellow Mac users.

  • Deleted Microsoft User Data for Entourage- please HELP!!

    I believe I deleted my Microsoft User Data for Entourage. Is there a way for me to get it back? I thought I backed it all up to my MYBOOK, external hard drive, but apparently It only accepted some of the items in the folder! (and not the User Data one!)
    Any way to reverse this or find it after the trash was emptied??
    It has ALL of my emails, contacts, saved emails, etc
    PLEASE HELP
    I will be forever grateful!
    vicki

    Basics of File Recovery
    If you simply put files in the Trash you can restore them by opening the Trash (left-click on the Trash icon) and drag the files from the Trash to your Desktop or other desired location. OS X also provides a short-cut to undo the last item moved to the Trash -press COMMAND-Z.
    If you empty the Trash the files are gone. Recovery is possible but you must not allow any additional writes to the hard drive - shut it down. When you delete files you erase only the directory entries, not the files themselves. However, the space occupied by the files has been returned to the system as available for storage. Writing to the drive will then eventually overwrite the space once occupied by the deleted files in which case the files are lost permanently. Also if you save a file over an existing file of the same name, then the old file is overwritten and cannot be recovered.
    If you stop using the drive it's possible to recover deleted files that have not been overwritten with recovery software such as Data Rescue II, File Salvage or TechTool Pro. Each of the preceding come on bootable CDs to enable usage without risk of writing more data to the hard drive.
    The longer the hard drive remains in use and data are written to it, the greater the risk your deleted files will be overwritten.
    Also visit The XLab FAQs and read the FAQ on Data Recovery.

Maybe you are looking for

  • Family Sharing Ask to Buy Not Working (with exact explanation)

    I see lots of posts on this, so I will try to be very specific in hopes someone can solve this and others can learn from it too. My family has 4 iPhones: my iPhone 6; my sons' two iPhone 6 Plus iPhones; and my daughter's iPhone 5S. All are running th

  • Accessing Data from HTML DB via JDBC

    Hello, I am from Germany so please excuse my following mistakes in english. I built a web-application based on JSP, which connects to a local oracle-database 10g. web-server is tomcat. I use the JDBC-Driver from Oracle. Now I want to connect not to m

  • Writing to JMS-queue of another container

    Hi, is it possible to enqueue/dequeue messages to a jms-queue in another OC4J on the same application server? I can specify the connection factory of OC4J-1 in a java bean, which lives in OC4J-2 but, the bean does not recognize this connection factor

  • 10.4.6 causing multiple restarts

    I just updated two G4 PowerBooks to 10.4.6 using Software Update. After installing, one of them spontaneously restarted three times before reaching a stable desktop. The one restarted itself twice and then presented Mac OS X Setup Assistant, like a n

  • Copying a document, how do I keep it in several colors? I'm in Numbers

    I'm trying to copy a list into Numbers and keep the various colors. Keeps coming out black and white. ?