{"id":1534,"date":"2015-06-24T14:29:49","date_gmt":"2015-06-24T19:29:49","guid":{"rendered":"https:\/\/bijoos.com\/oraclenotes\/?p=1534"},"modified":"2026-02-07T15:34:43","modified_gmt":"2026-02-07T21:34:43","slug":"oracle-db12c-new-temp_undo_enabled","status":"publish","type":"post","link":"https:\/\/bijoos.com\/oraclenotes\/2015\/1534\/","title":{"rendered":"Oracle #DB12c New &#8211; TEMP_UNDO_ENABLED"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/bijoos.com\/oraclenotes\/wp-content\/uploads\/2015\/06\/ManyThingsOracle-pic1.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"  wp-image-1537 alignright\" src=\"https:\/\/i0.wp.com\/bijoos.com\/oraclenotes\/wp-content\/uploads\/2015\/06\/ManyThingsOracle-pic1.png?resize=262%2C167&#038;ssl=1\" alt=\"ManyThingsOracle-pic1\" width=\"262\" height=\"167\" \/><\/a>Global temporary table data is stored in the temporary tablespace (where no redo will be generated on the DML operations). When DML operations are performed on global temporary table, for read consistency undo must be generated. Such undo records are written to undo tablespace, and thus redo generated on the undo writes.<\/p>\n<p>If you perform large amounts of DML on temporary tables data, you can reduce the amount of re<img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-1536\" src=\"https:\/\/i0.wp.com\/bijoos.com\/oraclenotes\/wp-content\/uploads\/2015\/06\/ManyThingsOracle-pic2.png?resize=197%2C187&#038;ssl=1\" alt=\"ManyThingsOracle-pic2\" width=\"197\" height=\"187\" \/>do generated from undo operations by having Oracle use\u00a0two undo streams. By setting the TEMP_UNDO_ENABLED to TRUE, a transaction splits the undo &#8211; the undo on the persistent tables will be written to the undo tablespace and undo on temporary tables will be written to temporary tablespace.<\/p>\n<p>The parameter can be set at system level or changed at session level. Once a session started using either persistent undo area or temporary undo area (based on the value of TEMP_UNDO_ENABLED) for temporary tables for the first time, changing the value of the parameter will not have no effect \u2013 no errors will be shown. So, if you want to enable temporary undo for a session, make sure you enable before doing any temporary table DML operations. This may be a parameter you set at instance level and not worry about enabling at session level.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Global temporary table data is stored in the temporary tablespace (where no redo will be generated on the DML operations). When DML operations are performed on global temporary table, for read consistency undo must be generated. Such undo records are written to undo tablespace, and thus redo generated on the undo writes. If you perform &#8230; <a title=\"Oracle #DB12c New &#8211; TEMP_UNDO_ENABLED\" class=\"read-more\" href=\"https:\/\/bijoos.com\/oraclenotes\/2015\/1534\/\" aria-label=\"Read more about Oracle #DB12c New &#8211; TEMP_UNDO_ENABLED\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[133],"tags":[],"class_list":["post-1534","post","type-post","status-publish","format-standard","hentry","category-oracledb"],"acf":[],"jetpack-related-posts":[{"id":1720,"url":"https:\/\/bijoos.com\/oraclenotes\/2016\/1720\/","url_meta":{"origin":1534,"position":0},"title":"Oracle Tidbits &#8211; May 2016","author":"Biju","date":"June 1, 2016","format":false,"excerpt":"\u201cOracle *daily* TidBits\u201d (#oratidbit) published at\u00a0https:\/\/www.facebook.com\/oraclenotes\u00a0on weekdays\u00a0in May\u00a02016. You will also see these tidbits, one tidbit at a time, for each page refresh on the right side of this blog as well\u2026 Hope you find these helpful to learn something new or to remind you of its existence and use\u2026\u2026","rel":"","context":"In &quot;TidBits &amp; Quick Tips&quot;","block_context":{"text":"TidBits &amp; Quick Tips","link":"https:\/\/bijoos.com\/oraclenotes\/category\/tidbits\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1761,"url":"https:\/\/bijoos.com\/oraclenotes\/2016\/1761\/","url_meta":{"origin":1534,"position":1},"title":"Oracle Tidbits &#8211; September 2016","author":"Biju","date":"October 3, 2016","format":false,"excerpt":"\u201cOracle *daily* TidBits\u201d (#oratidbit) published at\u00a0https:\/\/www.facebook.com\/oraclenotes\u00a0on weekdays\u00a0in September\u00a02016. You will also see these tidbits, one tidbit at a time, for each page refresh on the right side of this blog as well\u2026 Hope you find these helpful to learn something new or to remind you of its existence and use\u2026\u2026","rel":"","context":"In &quot;TidBits &amp; Quick Tips&quot;","block_context":{"text":"TidBits &amp; Quick Tips","link":"https:\/\/bijoos.com\/oraclenotes\/category\/tidbits\/"},"img":{"alt_text":"Oracle TidBit","src":"https:\/\/i0.wp.com\/bijoos.com\/oraclenotes\/wp-content\/uploads\/2014\/05\/TidBit.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2027,"url":"https:\/\/bijoos.com\/oraclenotes\/2017\/2027\/","url_meta":{"origin":1534,"position":2},"title":"Oracle Tidbits &#8211; December 2016 #oratidbit","author":"Biju","date":"January 1, 2017","format":false,"excerpt":"\u201cOracle *daily* TidBits\u201d (#oratidbit) published on Facebook, Twitter and Google+\u00a0during weekdays\u00a0in December 2016. You will also see these tidbits, one tidbit at a time, for each page refresh on the right side of this blog as well\u2026 Hope you find these helpful to learn something new or to remind you\u2026","rel":"","context":"In &quot;TidBits &amp; Quick Tips&quot;","block_context":{"text":"TidBits &amp; Quick Tips","link":"https:\/\/bijoos.com\/oraclenotes\/category\/tidbits\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bijoos.com\/oraclenotes\/wp-content\/uploads\/2017\/01\/Happy-New-year-wishes-2017-images-download-1.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2032,"url":"https:\/\/bijoos.com\/oraclenotes\/2017\/2032\/","url_meta":{"origin":1534,"position":3},"title":"Oracle Tidbits &#8211; January 2017 #oratidbit","author":"Biju","date":"February 1, 2017","format":false,"excerpt":"\u201cOracle *daily* TidBits\u201d (#oratidbit) published on Facebook, Twitter and Google+\u00a0during weekdays\u00a0in January 2017. You will also see these tidbits, one tidbit at a time, for each page refresh on the right side of this blog as well\u2026 Hope you find these helpful to learn something new or to remind you\u2026","rel":"","context":"In &quot;TidBits &amp; Quick Tips&quot;","block_context":{"text":"TidBits &amp; Quick Tips","link":"https:\/\/bijoos.com\/oraclenotes\/category\/tidbits\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bijoos.com\/oraclenotes\/wp-content\/uploads\/2017\/02\/oratidbit.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2167,"url":"https:\/\/bijoos.com\/oraclenotes\/2018\/2167\/","url_meta":{"origin":1534,"position":4},"title":"Oracle Tidbits &#8211; March 2018 #oratidbit","author":"biju.thomas","date":"April 1, 2018","format":false,"excerpt":"\u201cOracle *daily* TidBits\u201d (#oratidbit) published on Facebook, Twitter, and Google+\u00a0during weekdays\u00a0in March 2018. You will also see these tidbits on the right side of this blog as well\u2026 Hope you find these helpful to learn something new or to remind you of its existence and use. #oratidbit #db18c SQL*Plus Feature:\u2026","rel":"","context":"In &quot;TidBits &amp; Quick Tips&quot;","block_context":{"text":"TidBits &amp; Quick Tips","link":"https:\/\/bijoos.com\/oraclenotes\/category\/tidbits\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1444,"url":"https:\/\/bijoos.com\/oraclenotes\/2014\/1444\/","url_meta":{"origin":1534,"position":5},"title":"Oracle Tidbits &#8211; August 2014","author":"Biju","date":"September 1, 2014","format":false,"excerpt":"\u201cOracle *daily* TidBits\u201d published at\u00a0https:\/\/www.facebook.com\/oraclenotes\u00a0on all weekdays\u00a0in August\u00a02014. You will also see these tidbits, one tidbit at a time, for each page refresh on the right side of this blog as well\u2026 Hope you find these helpful to learn something new or to remind you of its existence and use...\u2026","rel":"","context":"In &quot;TidBits &amp; Quick Tips&quot;","block_context":{"text":"TidBits &amp; Quick Tips","link":"https:\/\/bijoos.com\/oraclenotes\/category\/tidbits\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/posts\/1534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/comments?post=1534"}],"version-history":[{"count":1,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/posts\/1534\/revisions"}],"predecessor-version":[{"id":3017,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/posts\/1534\/revisions\/3017"}],"wp:attachment":[{"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/media?parent=1534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/categories?post=1534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bijoos.com\/oraclenotes\/wp-json\/wp\/v2\/tags?post=1534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}