{"id":982,"date":"2005-03-23T12:00:00","date_gmt":"2005-03-23T12:00:00","guid":{"rendered":"http:\/\/orcldoug.com\/blog\/?p=982"},"modified":"2005-03-23T12:00:00","modified_gmt":"2005-03-23T12:00:00","slug":"system-managed-undo-problem","status":"publish","type":"post","link":"http:\/\/orcldoug.com\/blog\/2005\/03\/23\/system-managed-undo-problem\/","title":{"rendered":"System Managed Undo Problem"},"content":{"rendered":"<p>Tired of trying to fix my daughter&#8217;s PC (that nightmare&#8217;s still ongoing) and dealing with the complex emotions of Oracle professionals (that&#8217;ll be me then), I thought I&#8217;d try to post something potentially useful.<\/p>\n<p>We use System Managed Undo (or Automatic Undo Management &#8211; your choice) on a large number of databases at our site, but have run into a few problems with it on one of our most active mission-critical databases. The last time this happened, we ended up with an undo tablespace that was offline but still had undo segments marked as active in the dictionary and delayed block cleanout would occasionally try to reference these offline\/online and corrupted segments and generate ORA-00600s. On top of that, SMON would unpredictably crash the instance.<\/p>\n<p>One particularly pleasant Saturday afternoon I ran a dictionary query to add some information to the TAR and the instance crashed. Trust me, a two-hour crisis call is not what Saturday afternoons were intended for!<\/p>\n<p>Anyway, when we finally got to deal with an Oracle BDE engineer who knew what he was doing, he suggested that the extensive onlining and offlining of the segments might be part of the problem, causing SMON to crash the instance. I&#8217;d wondered whether all of the offlining messages in the alert log might be significant because they were always there around any problem we had, but this instance is so active that the offline\/online activity is pretty constant anyway.<\/p>\n<p>To cut a long story short, he suggested that we set event 10511 which stops the offline\/online activity. It worked perfectly and the system has been running happily since. We still needed a direct dictionary update to tell Oracle to ignore undo segments in the offlined tablespace (under Oracle&#8217;s instruction of course) but we&#8217;re in a much better state now.<\/p>\n<p>But I reckon the real thing to watch for is this &#8211; the instance is on 9.2.0.2 and I suspect that if we&#8217;d been on a later release we wouldn&#8217;t have hit this problem. I know Oracle *always* tell you to upgrade, but they seemed pretty convinced that this area of functionality has been improved somewhat.<\/p>\n<p>So, should you run into occasional system crashes on a high throughput database and are using SMU, maybe you could ask Oracle Support about setting this event?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tired of trying to fix my daughter&#8217;s PC (that nightmare&#8217;s still ongoing) and dealing with the complex emotions of Oracle professionals (that&#8217;ll be me then), I thought I&#8217;d try to post something potentially useful. We use System Managed Undo (or Automatic Undo Management &#8211; your choice) on a large number of databases at our site,&hellip; <a class=\"more-link\" href=\"http:\/\/orcldoug.com\/blog\/2005\/03\/23\/system-managed-undo-problem\/\">Continue reading <span class=\"screen-reader-text\">System Managed Undo Problem<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-982","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":979,"url":"http:\/\/orcldoug.com\/blog\/2005\/04\/25\/more-on-system-managed-undo\/","url_meta":{"origin":982,"position":0},"title":"More on System Managed Undo","date":"April 25, 2005","format":false,"excerpt":"In an earlier blog entry, I mentioned that we'd run into pretty severe undo segment corruption problems using SMU on a high-throughput database. Whilst looking for something else on Metalink, I noticed Note 301432.1 which says SymptomsSevere database performance slowdown.(Text snipped out here)CauseLarge numbers of Undo Segment onlines are being\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":978,"url":"http:\/\/orcldoug.com\/blog\/2005\/04\/25\/and-theres-more-smu-again\/","url_meta":{"origin":982,"position":1},"title":"And there&#8217;s more &#8230; (SMU again)","date":"April 25, 2005","format":false,"excerpt":"Almost immediately after posting my last comment on SMU, I noticed that the TAR for the original corruption issue has been updated with a root causeOracle Development has found the root cause of the corruption problem which crippled your database. They have reproduced the problem on an in-house database, thereby\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":972,"url":"http:\/\/orcldoug.com\/blog\/2005\/06\/12\/dba_registry\/","url_meta":{"origin":982,"position":2},"title":"dba_registry","date":"June 12, 2005","format":false,"excerpt":"It's true I learn something new all the time. Is it just me? Did everyone know about this?I was talking to one of the other DBAs at work on Friday who was telling me that one of the dbs we've taken over looks like it wasn't upgraded properly. I connected\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1072,"url":"http:\/\/orcldoug.com\/blog\/2006\/08\/31\/if-youre-gonna-screw-up\/","url_meta":{"origin":982,"position":3},"title":"If you&#8217;re gonna screw up &#8230;","date":"August 31, 2006","format":false,"excerpt":"... you should always aim high (or desperately low would be more accurate). I was sitting at my desk today, deleting some old databases (that phrase in itself should be warning enough) when I typed in the followingdunha1e:oracle#rm -fR *I looked down at my notes to have a think about\u2026","rel":"","context":"With 28 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1642,"url":"http:\/\/orcldoug.com\/blog\/2011\/08\/10\/real-time-sql-monitoring-statement-not-appearing\/","url_meta":{"origin":982,"position":4},"title":"Real-Time SQL Monitoring &#8211; Statement Not Appearing","date":"August 10, 2011","format":false,"excerpt":"Like Greg Rahn, I've looked at many SQL Monitoring reports over the past year or two. Possibly not as many as Greg, but it's become my default method of communicating* SQL performance issues to colleagues to the point that some might be finding it irritating by now, whilst others are\u2026","rel":"","context":"With 11 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1422,"url":"http:\/\/orcldoug.com\/blog\/2008\/07\/05\/server-technology-conundrums\/","url_meta":{"origin":982,"position":5},"title":"Server Technology Conundrums","date":"July 5, 2008","format":false,"excerpt":"[The following is a guest blog post courtesy of Peter Robson, prompted by this event that we both attended. Peter's a good friend, I love his writing style and he's expressed similar opinions in the past to me, so I asked if he would write them down for a wider\u2026","rel":"","context":"With 25 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts\/982","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/comments?post=982"}],"version-history":[{"count":0,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts\/982\/revisions"}],"wp:attachment":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/media?parent=982"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/categories?post=982"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/tags?post=982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}