{"id":100,"date":"2011-07-02T16:58:30","date_gmt":"2011-07-02T13:58:30","guid":{"rendered":"http:\/\/fatihacar.com\/blog\/?p=100"},"modified":"2011-07-02T17:09:26","modified_gmt":"2011-07-02T14:09:26","slug":"recovery-committed-processing-with-flashback-in-oracle","status":"publish","type":"post","link":"http:\/\/www.fatihacar.com\/blog\/recovery-committed-processing-with-flashback-in-oracle\/","title":{"rendered":"Recovery committed processing with Flashback in Oracle"},"content":{"rendered":"<p>Sometimes we want to recovery committed processing. You can use two methods for this task. <\/p>\n<p>Scenario : We have Countries table. This table has 5 rows. We deleted one row at this table. After we used commit. But we want to take to back. <\/p>\n<p><strong>First Method<\/strong><\/p>\n<blockquote><p>select * from countries as of timestamp sysdate-5\/1440;<br \/>\nThis query gives countries table data five minutes ago. You can update or insert query and where statement has this query.<\/p><\/blockquote>\n<p><strong>Second Method<\/strong><\/p>\n<blockquote><p>alter table countries enable row movement;<br \/>\nflashback table countries to timestamp sysdate-5\/1440;<br \/>\nalter table countries disable row movement;<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes we want to recovery committed processing. You can use two methods for this task. Scenario : We have Countries table. This table has 5 rows. We deleted one row at this table. After we used commit. But we want to take to back. First Method select * from countries as of timestamp sysdate-5\/1440; This&#8230;<\/p>\n","protected":false},"author":37,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9,6],"tags":[92,90,91],"class_list":["post-100","post","type-post","status-publish","format-standard","hentry","category-administration","category-oracle-sql","tag-administration","tag-oracle","tag-oracle-sql"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p39NFI-1C","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"http:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":4,"href":"http:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"predecessor-version":[{"id":105,"href":"http:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/100\/revisions\/105"}],"wp:attachment":[{"href":"http:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/tags?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}