Analyze and Update

Hi All,
We have a problem with ANALYZE (compute stats) and UPDATE happening concurrently. While ANALYZE is running, if we issue UPDATE, it is stuck. Is this expected ?. I thought that analyze shares locks with DML commands.
Btw the table is IOT and update is issued from PLSQL. Any thoughts are appreciated.
Thanks
Vissu

version = 10.2 RAC
OS = Linux (RH 4)
There are several updates going on at the same time. Each update updates a row in the table and issues commit. Multiple updates may update same row - obviously one after the other. All updates seem to be hung. The only non-update task running in the system is ANALYZE, hence the suspicion.
Updates should finish at some point, I can imagene taking long but not hung.
Thanks for any insight.
Vissu

Similar Messages

  • Analysing and Updating a table

    Hi,
    Can anyone help me on follwing query..
    Can analyse of a table and updation on to same table can happen paralley?
    thank in advance.

    What's your db version? The very first thing is that you should not use the analyze command but dbms_stats package. Now , I am not sure why you want to gather the stats and update the table at the same time? As mentioned by Erica, the update should be followed with the stats gathering. And about the index usage, there are couple of things that can stop index from being used, for example, low selectivity on the column can very well stop the index. Other than that, if you are accessing the column containing the index alone and the column is supposed to contain the null values, oracle would rather use a FTS than using the index which actually makes perfect sense since use of index would result in incorrect data. So there can be couple of htings possible which may stop your index from being used. All what dbms_stats(and even Analyze) command would do , is to make the distribution of the data known tooracle. Having stats alone doesn't guarantee that the index would be used for sure.
    HTH
    Aman....

  • Lookout OPC Client – Asynchronous I/O and Update Rate serious problems (Sequence of data)

    I am using the Lookout OPCClient driver to connect to AB PLCs (EtherNet/IP protocol) and power measurement equipment (Modbus TCP protocol). The OPC server is the NI OPC Servers. The data that are read out from PLCs and PMs are energy meter readings, energy counters, power, voltage, current, frequency, power factor and el. energy quality measurements (THD). That energy meter readings are being stored in SQL database.
    I am experiencing a serious problem regarding the accuracy of the meter readings. Several times per day, randomly, meter readings are losing the time sequence. For example, sequence is: 167, after few seconds 165, 166.  In other words, present value followed by two previous old values. That generates a serious problem in our application that is expecting a naturally rising sequence of counter values.
    Analyzing further, I isolated the problem to the connection between Lookout OPCClient and OPC Server. I made a simple application in Lookout 6.7 (opcproc.lkp, attached) with OPCClient parameters: NIOPCServers, OPC2, Asynchronus I/O, Update rate: 10000, Deadband: 0.0, that is reading just one tag from NI OPC Servers demo application (simdemo.opf).
    By using OPC diagnostic tool from NI OPC Servers I record the sequence of OPC requests and responses.  I found out that OPCClient sends every 2.5 sec “IOPCAsyncIO2::Refresh2()” call that is request for refreshing of all items in one OPC group. Few milliseconds later OPC Sever responds with callback function “IOPCDataCallback:: OnDataChange()(Device Refresh)” that actually refresh the data.
    This periodic sequence is intrinsic to the OPCClient and cannot be disabled or changed (by my knowledge).  This sequence is periodically interrupted by “IOPCDataCallback:: OnDataChange()” caused by update rate parameter of OPCClient (client is subscribed to server for periodic update of changed items).
    In the case of demo application on every 4 refresh callbacks caused by refresh requests (2.5 sec) there is one update subscription callback determined by Update rate (10 sec).
    QUESTION 1:
    What is the purpose of update sequence and update rate when we have every 2.5 sec fresh values?
    PROBLEM
    The problem arises when we have a large number of items in OPC group. In that case the OPC Server starts to queue refresh requests because they cannot be fulfilled in 2.5 sec time because of large number of I/O points that must be scanned. At the same time update subscription callbacks are running at the period determined by Update rate. I observed in my production system that regular update callbacks has higher priority than refresh callbacks from the queue. That causes the loosing of timed sequence of data. After the update callback with fresh data, sometimes follow one or two refresh callbacks from queue with old (invalid) data. By adjusting Update rate parameter (1 hour, 2hours …) I can postpone the collision of data refreshes but I cannot eliminate it. Furthermore, the 2.5 sec automatic refresh are large burden for systems with many I/O points.
    QUESTION 2:
    Is there a way to disable automatic refresh request every 2.5 sec and just use update requests determined by Update rate?
    QUESTION 3:
    Is there a way (or parameter) to change the period of automatic refresh (2.5 sec)?
    This problem is discovered for Lookout 6.5, 6.6 and 6.7 so I could say it is intrinsic to OPCClient. If I use synchronous I/O requests there is not an automatic refresh, but that is not an option for large systems.
    Thanks!
    Alan Vrana
    System engineer
    SCADA Projekt d.o.o.
    Picmanova 2
    10000 ZAGREB
    CROATIA
    T +385 1 6622230
    F +385 1 6683463
    e-mail [email protected]
    Alan Vrana
    SCADA Projekt d.o.o.
    ZAGREB, Croatia
    Attachments:
    opcproc.zip ‏4 KB

    The physical connection from LV to the switch is (I believe) copper crossover to fiber converter into a switch.  Then, fiber from the switch to the end device (relay).  The relay has all of the typical modbus registries and has been verified by inducing signals in to the system and measured/polled in LabVIEW and observed Variable Monitor.  I am working with LV 8.2 and 8.5. 
    An OPC server would only add an additional translation of addressing within the configuration.  The only real draw back would be the network overhead required to do this processing and not being representative of the end design configuration.
    I will reiterated my question in another way:
    I must answer the question to management that relates to data collection, test results and analysis; how often are you polling the client in relation to the outcomes measured?  At this time I can not point at any configuration in the set up and execution that directs the data framing rate.  I only measure the traffic and work with results.  This needs to be clearly identified based on the relay modbus/tcp design capability of supporting an fixed number of client requests per second. 
    For testing purposes, I would like to be able to stress the system to failure and have prove capabilities with measured data.  The present problem is that I have no basis to establish varying polling rates that effect the measured data transmission. 
    This raises another question.  What handles the Variable Monitor data requests and how is this rate determined?
    Thanks for your interest in my efforts.
    Steve

  • Hi, I am trying to update an iPhone 4 from iOS 4.3.3 to iOS 7.0.4, and every time I try to update it comes up with an error message saying that there was a problem because the network connection was reset. Is there any way I can get past this and update?

    The full message said:
    There was a problem downloading the software for the iPhone "Judy's iPhone 4". The network connection was reset.
    Make sure your network settings are correct and your network connection is active, or try again later.
    I am trying to update the iPhone for my grandmother, Judy, as I am leaving for Paris on Wednesday night and we want to have Facetime installed on her iPhone before then, so we can stay in contact with each other. It is the simplest way for this to happen but the program simply will not allow me to update her iPhone.
    Is there any way to get past this error and update her iPhone? Any help will be greatly appreciated.

    Dear Jody..jone5
    Good for you that can't update your iphone because I did it and my iphone dosen't work for example I can't download any app like Wecaht or Twitter..
    Goodluck
    Atousa

  • My new 8th gen iPod nano is 'not recognized' by my computer. My computer runs on Windows 7, and I've installed and updated the latest versions of itunes etc, but still to no avail! I've tried different usb ports, troubleshooting...

    My computer runs on Windows 7, and I've installed and updated the latest versions of itunes etc, but still to no avail! I've tried different usb ports, troubleshooting, etc... But it still says "One of the USB decuces arrached to this omputer has malfunctioned and windows does not recognize it".
    The iPod is brand new, sent to me by Apple as part of the 1st gen replacement programme. I've been using the cable that came with the 1st gen iPod (I bought the first gen second hand) It always worked on my computer with the 1st gen iPod. So I was wondering, do you think I need to replace my cable in order for my PC to recognize my iPod or is it something else?
    Thanks

    Try a different cable. And are you connecting directly to your computer or through a USB hub?

  • Green screen, downlading files and updating programs often stuck at 99%.

    Okey so I have got this problem for a 20 days, since I build my own computer. Some videos on youtube and other video stream sites bug out in the way that the video just goes green, and starts fast forwarding. Then I think streams on twitch.tv for example, I cant watch a stream for longer than 20 second and the video gets frozen and the stream needs to be refreshed. And updating games, downloading files often gets stuck at very end of the progress, and it wont succesfully download or update. Im not sure is it about Flash Player/Shockwave Player but if there doesnt come example green screen it may show something like you are missing add-on Flashplayer but when i refresh the page it may run the video fine for some time.
    The problem rarely happens at youtube but heres one where it happened Crs Piglet (Vayne) first ever NA Penta - YouTube
    Heres video where the video didnt start at all and aswell when it did the screen gone green again and fast forward. (contains adds) http://www.thevideo.me/kmqcwhblzheh
    Heres screenshots and one bad quality phone photo album of these problems, green screens, videos stuck, downloading stuck and updating stuck 99-100%. Imgur
    Heres my computer specs:
    My operating system is:          Microsoft Windows:  8.1 Pro, 64-bit
    Processor:                             Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
    Graphic card:                         Nvidia GeForce GTX 760     Driver updated to: Geforce Game Ready Driver 347.52.
    Memory (ram):                       8GB
    Motherboard:                         MAXIMUS VII RANGER
    Dont know what else info I could put on about my computer really... I have tried to find answer, like disabling hardware acceleration, deleting flashplayer memory file, safe modes and all kind of tips I as able to find from internet.
    And I use mozilla firefox (36.0), but the problems happens aswell in Internet Explorer. I have updated Flash Player (16,0,0,305), my drivers (Geforce Game Ready Driver 347.52), all windows updates, java(1.8.0?), but still cant find the answer why watching videos/streams work well.
    Im sorry if I missed some info but ask if theres something.

    The green screen means that hardware decoding has failed.  It's probably a subtle, intermittent driver bug.
    You can disable hardware acceleration in Flash to avoid this while you wait for updated drivers to become available:
    Video playback issues

  • Hello, i restored and updated my iphone 4 to the latest version of 5.1.1 and after that when i connect my mobile to i tunes all i see is a big rectangle and a apple logo on left and a small lock on right side please help me fix this problem.

    hello,
    i restored and updated my iphone 4 to the latest version of 5.1.1 and after that when i connect my mobile to i tunes all i see is a big rectangle and a apple logo on left and a small lock on right side please help me fix this problem.

    I sloved this issue by resting my phone from settings>general>reset>reset all settings...the problem will be fixed

  • What is difference between modify and update i am using

    hi
    what is difference between mofify and update
    my requiremen is to have three condition checkec while mofifying or updating from a internal table
    the three fields are
    cus no
    status
    date these all are primary key in the database table
    so which sould i use modify or update
    there might be entry already existing in database table or new entry to be created if already existin it should check on the primary keys and updatat if not it should add a record
    pls suggest whihc to use and how to implement the check on teh threee primary key
    like if modify ztable from table it_test
    now where condition ? can be used or not with modify? and if yes how
    if not should i use update will update create a new entry if no entry is there and please give syntex
    regards
    Arora

    Hi Nishant Arora,
    Modify: It works in performing two actions.
    They are: Insert + Update.
    For Example If a record that is exited in database, so you are modifying that record, it updates that particular record.
    Similarly, If the is not existed in the database, you are modifying it, it inserts a new record.
    Update: Update means just it updates the status, I mean it only updates the record. It doesn't inserts any new record if that particular record is not present in the database.
    These are the cases you need to write these statements.
    Syntaxes: :
    Go through this links please.,
    http://help.sap.com/saphelp_nw04/helpdata/en/e7/968aa8b2384dd9835f91e7f8470064/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb35eb358411d1829f0000e829fbfe/content.htm
    Reward points if useful
    Cheers,
    Swamy Kunche
    Edited by: Swamy Kunche on Jun 11, 2008 2:41 PM

  • Lost photos / camera roll after restore and update.

    As the title says , I recently had to restore my iphone 3gs due to having problems with MAIL (problem fixed now.) but after doing a full backup and restore on the phone and update to the iOS 4 ( i think>) , I lost all of the photos that I had in the camera roll album folder , now I have loads of photos there that I do not want to loose ! I know there should be a way of getting them back from the backup but how ? Plus to prove even more that they are still there somwhere , when I connect it to the iTunes on my PC (Windows Vista) , under the yellow section bar it shows there are 315 (1.26 gb) photos on my device...but when I disconnect it and go into the album , there are 0 ! Now I have been reading about this online and people say that you basically take the images off your pc and sync them back onto the phone...but I havent got them saved on my pc anywhere...so where are they? PLEASE HELP me out on this one ,
    thank you in advance.

    The only place they may be is in a previous backup from before the restore. No Apple tool that I know of accesses these files within the backup file. There are reportedly some 3rd party tools that can get to the photos imbeded in the backup. The other option is to restore the old backup and then import the camera roll via iphoto or some other tool.
    If you have no copy of the old backup, I think you are out of luck.
    As you know by now, the iPhone's camera roll is treated as a digital camera, not as part of the sync.
    For the second post, if you'd like Apple to add the import to the sync process, you can request that via the www.apple.com/feedback web site.
    Thanks.

  • Need help to insert and update records in MDM

    Hi ,
    I am trying to develop an webdynpro application which can create and update records in tables of a repository of MDM . For example .. I want to insert values and later update values in Vendor table.
    I am new to webdynpro and MDM. If any one can help step by step or can send a sample code which I can be ready to use that would be great help.
    If anyone can have a sample code .. kindly mail to "[email protected]"
    It is urgent. Please help.
    Regards,
    Niraj
    Edited by: Niraj Kumar on May 23, 2008 6:50 AM

    Hi Niraj,
    Are u going to work with webdynpro Java/ABAP?
    some materials which are found useful are sent.
    Cheers,
    Mary

  • I forgot my password and am trying to reset my ipod,but it won't work. It says that my ipod is in recovery mode and that I must restore it. I click ok, and then restore, and then restore and update. then it says contacting ipod software update server and

    I forgot my password and am trying to reset my ipod, but it won't work.It says that my ipod is in recovery mode and that I must restore it. I click ok, and then click on restore and update. Then it says connecting ipod software update server and a screen pops up with ipod software update on the top and iOS 5.1. It lists a bunch of stuff this update contains and on the bottom it says next, which I click and nothing happens, it just goes back to the ipod restore page. Help, what am I doing wrong?

    This device is not eligible for the requested build (Also sometimes displayed as an "error 3194")
    Update to the latest version of iTunes. Mac OS X 10.5.8 (Leopard) users may need to download iTunes 10.6.3.
    Third-party security software or router security settings can also cause this issue. To resolve this, followTroubleshooting security software issues.
    Downgrading to a previous version of iOS is not supported. If you have installed software to performunauthorized modifications to your iOS device, that software may have redirected connections to the update server (gs.apple.com) within the Hosts file. Uninstall the unauthorized modification software from the computer.
    Edit out the "gs.apple.com" redirect from your hosts file, and then restart the computer for the host file changes to take affect. For steps to edit the Hosts file and allow iTunes to communicate with the update server, see iTunes: Troubleshooting iTunes Store on your computer, iPhone, iPad, or iPod—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > The hosts file may also be blocking the iTunes Store. If you do not uninstall the unauthorized modification software prior to editing the hosts file, that software may automatically modify the hosts file again on restart.
    Avoid using an older or modified .ipsw file. Try moving the current .ipsw file (see Advanced Steps > Rename, move, or delete the iOS software file (.ipsw) below for file locations), or try restoring in a new user to ensure that iTunes downloads a new .ipsw.

  • Difference between Bex Analyzer and Bex WAD

    Hi Every one,
    I am pretty new to SAP, and working on SAP BW Front end.
    I am pretty aware of Bex Analyzer and also Browser, but i always have a doubt about Bex WAD.
    In my present job i talk to the users and take the requirments and create queries in the Bex analyzer which i am comfortable doing it.
    I also know all the features of Analyzer and created quries and also published it on web, and also created workbooks and inserting multiple quries in the workbook etc etc..
    However i have zero knowledge on WAD and how it is useful to me, and as if now i haven't got any requirment from the client for me to create any report in WAD or do some thing in WAD.
    I have gone through SAP SDN help etc but i am not understanding it at all.
    So can any one explain me in a laymans terms what WAD is and how it will be useful to me?
    and also if possible send me link which has got PDF screen shots of what WAD is?
    Points is for sure.
    Regards,
    Ram

    Raj,
    Thanks for the reply, but i still did not get the understanding about WAD. i have studied the link which you sent me.
    I am still not able to understand how it is helpful for people like me,
    See i create my report in Query designer, and i can execute the query in Analyser. and if i want i can execute it in the Web from my query designer, and also i can create chart on the web if i want.And i can Broadcaste it in the Web.
    and also if i want i can create it in the workbook and create chart in that work book.
    Then what is the point of Web Application Designer (WAD).
    See i have created the Query in Designer in Development say Sales report Query on the infoprovider for SD, now what should i do with it in WAD.
    How can i get it in WAD, i went to start> all Programs>Bex> WAD and i logged in to development and a sereen opend. And from here what i can do, i mean how can i open my created query in WAD?
    As you guys know i am new to SAP itself, but i dont see any advantage about WAD, i read all the articals and there i found that i can create Web Items, HTML etc etc, but i already have HTML, when i execute my query from the Designer i get it in Web Browser...
    See my question is simple, i have a query which i have created in the Query Designer, now how can i get it to WAD and after getting it what can i do with it??
    If any one has a screen shots of there pls send me.
    And Sanjeev has sent me a PDF which i saw earlear and i done the same in my WAD but i am not about to get it to work.
    I have given the points to every one but still what i need i did not get yet.
    Regards,
    Ram

  • I have an iPhone 4, My itunes are from two differnt accounts; one from when I was under my dads account, and the other is my own. My question is would I be able to sync and update my itunes on my MacBook without having all the new music erased.

    I have an iPhone 4, My itunes are from two differnt accounts; one from when I was under my dads account when i was younger, and the other is my own which i currently use. My question is would I be able to sync and update my itunes on my MacBook without having all the new music erased. I have the icloud on my phone, but I just want to update my music on my laptop. Just nervous to, because it has happened to me before on a desktop computer  and it *****. Please help! Thanks.

    nevermind, i figuered it out

  • Browse and update database tables

    I'm looking for a tool that will let me connect to an Oracle database, select a table and some fields off the table and build a simple java class to navigate / update the data.
    Essentially, I'm looking for a tool that replicates the way Microsoft Access can build a form for navigation and update of a database table.
    However, I want to use java, not MS Access.
    Any ideas if such a tool is available ?
    Thanks

    http://squirrel-sql.sourceforge.net/

  • I connected my iphone 4s that i unlocked for t-mobile. I plugged it into itunes, and it asked me to update to ios6. I accepted the download and update button. it told me it needed 8 hours. i closed my laptop. not shut down. i opened and it wants restorin?

    I connected my iphone 4s that I unlocked for t-mobile. I plugged it into itunes, and it asked me to update to ios6. I accepted the download and update button. It told me it needed 8 hours. I closed my laptop, not shut down. I re-opened the laptop a few hours later, and it wants restoring?? Whats going on?! i want my iphone back! PLEASE HELP. I'M LOST!!! (I synced my iphone to my computer if that helps at all).

    Yes, and, I try to restore. I have the T-Mobile sim card in it just to clarify. It will not let me get passed that, it does not accept the t-mobile sim card. i tried restoring it using wifi, cellular, and i cant get i tunes. I am scared that if i take the tmobile sim card out and put the at&t one in just to complete the restoration process that the iphone will lock again and not read the tmobile sim card, then all my hard work has gone for nothing. ( this whole process was caused by me trying wanting to empty my pictures onto my computer because i did not have any storage space left). <--- that may not be as important, but i included it just because.

Maybe you are looking for

  • Block internet access in accounts?

    Hi I'm trying to make one account where I can use the web, and one where I can't use the web. But everytime I deactivate the Airport the other account remembers it. Is there a way to make it work?

  • Cross-tenant email and split domains - how to set up?

    I've successfully deployed exchange 2010 sp1 in /hosted mode with multi-tenancy and the install is working great. We are running into a problem configuring the send connectors for inter domain email and split domains. We have several customers wantin

  • Aspect ratio of selection tools locked in CS4

    Suddenly, all tools that produce a marquee during dragging are locked to a 1-1 aspect ratio, as though the shift key were depressed. For example, with the rectangular selection tool, a square marquee is displayed during dragging. However, when I let

  • Sql expressions in Forms 4.5 Record Groups

    I have a record group that was asked to change, and when I change it I get an 'Unhandled exception error in icrg 102' and then a Frm-12001. I've tracked it down to a view that uses a function call to format a address line. If I put the function call

  • Sync key format changed in FF4

    I started using the Firefox Sync add-on when it was just an add-on. I was allow to make my password in the form of "xxxxxxxxxxxx" (letters and numbers were mandatory). Now, since the last few FF4 Betas, when I try to set up sync so I can get all my d