{"id":99,"date":"2017-08-14T00:14:05","date_gmt":"2017-08-14T00:14:05","guid":{"rendered":"http:\/\/www.mrmarkyoung.com\/oracle\/?p=99"},"modified":"2017-08-14T00:14:05","modified_gmt":"2017-08-14T00:14:05","slug":"how-can-i-view-the-number-of-targets-blacked-out-in-the-last-30-days","status":"publish","type":"post","link":"http:\/\/www.mrmarkyoung.com\/oracle\/2017\/08\/14\/how-can-i-view-the-number-of-targets-blacked-out-in-the-last-30-days\/","title":{"rendered":"How can I view the number of targets blacked out in the last 30 days?"},"content":{"rendered":"<p>The MGMT$BLACKOUT_HISTORY file contains an overview of all finished blackouts for each target. To view the number of targets blacked out in the last 30 days, enter the following query:<\/p>\n<pre class=\"lang:default decode:true \" >  SELECT target_type, COUNT (*) cnt\r\n    FROM mgmt$blackout_history\r\n   WHERE start_time &gt; SYSDATE - 30\r\nGROUP BY target_type ;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The MGMT$BLACKOUT_HISTORY file contains an overview of all finished blackouts for each target. To view the number of targets blacked out in the last 30 days, enter the following query: SELECT target_type, COUNT (*) cnt FROM mgmt$blackout_history WHERE start_time &gt; SYSDATE &#8211; 30 GROUP BY target_type ;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[19],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-enterprise-manager","tag-blackouts"],"_links":{"self":[{"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/comments?post=99"}],"version-history":[{"count":1,"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":100,"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/posts\/99\/revisions\/100"}],"wp:attachment":[{"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/media?parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/categories?post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/tags?post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}