<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ittichaicham.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Automatic_audit_archive_in_11gR1</id>
	<title>Automatic audit archive in 11gR1 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ittichaicham.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Automatic_audit_archive_in_11gR1"/>
	<link rel="alternate" type="text/html" href="https://ittichaicham.com/wiki/index.php?title=Automatic_audit_archive_in_11gR1&amp;action=history"/>
	<updated>2026-06-15T15:44:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://ittichaicham.com/wiki/index.php?title=Automatic_audit_archive_in_11gR1&amp;diff=711&amp;oldid=prev</id>
		<title>Ittichai at 14:35, 23 March 2012</title>
		<link rel="alternate" type="text/html" href="https://ittichaicham.com/wiki/index.php?title=Automatic_audit_archive_in_11gR1&amp;diff=711&amp;oldid=prev"/>
		<updated>2012-03-23T14:35:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 14:35, 23 March 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot; &gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Additional audits can be added.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Additional audits can be added.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Additional audit http://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;download-uk&lt;/del&gt;.oracle.com&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/docs&lt;/del&gt;/cd/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;B19306_01&lt;/del&gt;/server.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;102&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;b14200&lt;/del&gt;/statements_4007.htm&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Additional audit http://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;docs&lt;/ins&gt;.oracle.com/cd/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;E11882_01&lt;/ins&gt;/server.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;112&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;e26088&lt;/ins&gt;/statements_4007.htm&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* To configure AUDIT_TRAIL if it was changed or disabled.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* To configure AUDIT_TRAIL if it was changed or disabled.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ittichai</name></author>
		
	</entry>
	<entry>
		<id>https://ittichaicham.com/wiki/index.php?title=Automatic_audit_archive_in_11gR1&amp;diff=710&amp;oldid=prev</id>
		<title>Ittichai at 13:51, 23 March 2012</title>
		<link rel="alternate" type="text/html" href="https://ittichaicham.com/wiki/index.php?title=Automatic_audit_archive_in_11gR1&amp;diff=710&amp;oldid=prev"/>
		<updated>2012-03-23T13:51:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 13:51, 23 March 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l537&quot; &gt;Line 537:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 537:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|	219	||	ALTER FLASHBACK ARCHIVE	&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|	219	||	ALTER FLASHBACK ARCHIVE	&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|	220	||	DROP FLASHBACK ARCHIVE	|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|	220	||	DROP FLASHBACK ARCHIVE	&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Oracle_11g]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Oracle_11g]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ittichai</name></author>
		
	</entry>
	<entry>
		<id>https://ittichaicham.com/wiki/index.php?title=Automatic_audit_archive_in_11gR1&amp;diff=709&amp;oldid=prev</id>
		<title>Ittichai at 13:50, 23 March 2012</title>
		<link rel="alternate" type="text/html" href="https://ittichaicham.com/wiki/index.php?title=Automatic_audit_archive_in_11gR1&amp;diff=709&amp;oldid=prev"/>
		<updated>2012-03-23T13:50:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;//ittichaicham.com/wiki/index.php?title=Automatic_audit_archive_in_11gR1&amp;amp;diff=709&amp;amp;oldid=708&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Ittichai</name></author>
		
	</entry>
	<entry>
		<id>https://ittichaicham.com/wiki/index.php?title=Automatic_audit_archive_in_11gR1&amp;diff=708&amp;oldid=prev</id>
		<title>Ittichai at 13:33, 23 March 2012</title>
		<link rel="alternate" type="text/html" href="https://ittichaicham.com/wiki/index.php?title=Automatic_audit_archive_in_11gR1&amp;diff=708&amp;oldid=prev"/>
		<updated>2012-03-23T13:33:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 13:33, 23 March 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l184&quot; &gt;Line 184:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 184:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* View Action&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* View Action&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  SELECT * FROM AUDIT_ACTIONS;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  SELECT * FROM &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SYS.&lt;/ins&gt;AUDIT_ACTIONS;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Oracle_11g]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Oracle_11g]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ittichai</name></author>
		
	</entry>
	<entry>
		<id>https://ittichaicham.com/wiki/index.php?title=Automatic_audit_archive_in_11gR1&amp;diff=660&amp;oldid=prev</id>
		<title>Ittichai at 16:48, 3 February 2012</title>
		<link rel="alternate" type="text/html" href="https://ittichaicham.com/wiki/index.php?title=Automatic_audit_archive_in_11gR1&amp;diff=660&amp;oldid=prev"/>
		<updated>2012-02-03T16:48:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 16:48, 3 February 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l185&quot; &gt;Line 185:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 185:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* View Action&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* View Action&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  SELECT * FROM AUDIT_ACTIONS;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  SELECT * FROM AUDIT_ACTIONS;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Oracle_11g]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ittichai</name></author>
		
	</entry>
	<entry>
		<id>https://ittichaicham.com/wiki/index.php?title=Automatic_audit_archive_in_11gR1&amp;diff=659&amp;oldid=prev</id>
		<title>Ittichai: Created page with &quot;== Set up automatic audit archive == * Oracle audits the AUDIT ROLE SQL statement by default (when AUDIT_TRAIL=DB).  &lt;pre&gt; The privileges that are audited by default are as follo...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ittichaicham.com/wiki/index.php?title=Automatic_audit_archive_in_11gR1&amp;diff=659&amp;oldid=prev"/>
		<updated>2012-02-03T16:47:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Set up automatic audit archive == * Oracle audits the AUDIT ROLE SQL statement by default (when AUDIT_TRAIL=DB).  &amp;lt;pre&amp;gt; The privileges that are audited by default are as follo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Set up automatic audit archive ==&lt;br /&gt;
* Oracle audits the AUDIT ROLE SQL statement by default (when AUDIT_TRAIL=DB).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
The privileges that are audited by default are as follows:&lt;br /&gt;
ALTER ANY PROCEDURE 	CREATE ANY JOB 			DROP ANY TABLE&lt;br /&gt;
ALTER ANY TABLE 	CREATE ANY LIBRARY 		DROP PROFILE&lt;br /&gt;
ALTER DATABASE 		CREATE ANY PROCEDURE 	        DROP USER&lt;br /&gt;
ALTER PROFILE 		CREATE ANY TABLE 		EXEMPT ACCESS POLICY&lt;br /&gt;
AUDIT ROLE BY ACCESS 	CREATE EXTERNAL JOB 	        GRANT ANY OBJECT PRIVILEGE&lt;br /&gt;
ALTER SYSTEM 		CREATE PUBLIC DATABASE LINK 	GRANT ANY PRIVILEGE&lt;br /&gt;
ALTER USER 		CREATE SESSION 			GRANT ANY ROLE&lt;br /&gt;
AUDIT SYSTEM 		CREATE USER 	 &lt;br /&gt;
AUDIT SYSTEM BY ACCESS 	DROP ANY PROCEDURE 	 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Reference: (http://download.oracle.com/docs/cd/B28359_01/network.111/b28531/auditing.htm#CEGGCIAE)&lt;br /&gt;
&lt;br /&gt;
* Additional audits can be added.&lt;br /&gt;
Additional audit http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_4007.htm&lt;br /&gt;
&lt;br /&gt;
* To configure AUDIT_TRAIL if it was changed or disabled.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SYS AS SYSDBA&amp;gt; show parameter audit_trail&lt;br /&gt;
&lt;br /&gt;
NAME                                 TYPE        VALUE&lt;br /&gt;
------------------------------------ ----------- ------------------------------&lt;br /&gt;
audit_trail                          string      NONE&lt;br /&gt;
&lt;br /&gt;
SYS AS SYSDBA&amp;gt; alter system set audit_trail=db scope=spfile;&lt;br /&gt;
System altered.&lt;br /&gt;
&lt;br /&gt;
srvctl stop database -d ORA11G&lt;br /&gt;
srvctl start database -d ORA11G&lt;br /&gt;
&lt;br /&gt;
SYS AS SYSDBA&amp;gt; show parameter audit_trail&lt;br /&gt;
&lt;br /&gt;
NAME                                 TYPE        VALUE&lt;br /&gt;
------------------------------------ ----------- ------------------------------&lt;br /&gt;
audit_trail                          string      DB&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The 11gR2 provides better auditing enhancement via DBMS_AUDIT_MGMT. &lt;br /&gt;
This includes&lt;br /&gt;
	- Moving the audit trail to a different tablespace&lt;br /&gt;
	- Automated purging&lt;br /&gt;
	See more details at http://www.oracle-base.com/articles/11g/AuditingEnchancements_11gR2.php&lt;br /&gt;
	&lt;br /&gt;
* Audit data goes into SYS.AUD$ table. Space will keep growing if not regularly removed or archived.&lt;br /&gt;
	&lt;br /&gt;
* To setup Audit Archiving on 11gR1 PRDW environment&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
(1) conn audit_user&lt;br /&gt;
create table SESSION_AUDIT (&lt;br /&gt;
SESSIONID       NUMBER,                                   &lt;br /&gt;
ENTRYID         NUMBER,                                  &lt;br /&gt;
STATEMENT       NUMBER,                                   &lt;br /&gt;
TIMESTAMP#      DATE,        &lt;br /&gt;
USERID          VARCHAR2(30),&lt;br /&gt;
USERHOST        VARCHAR2(128),&lt;br /&gt;
TERMINAL        VARCHAR2(255),                        &lt;br /&gt;
ACTION#         NUMBER,                                   &lt;br /&gt;
RETURNCODE      NUMBER,                                   &lt;br /&gt;
OBJ$CREATOR     VARCHAR2(30), &lt;br /&gt;
OBJ$NAME        VARCHAR2(128),&lt;br /&gt;
AUTH$PRIVILEGES VARCHAR2(16),&lt;br /&gt;
AUTH$GRANTEE    VARCHAR2(30),&lt;br /&gt;
NEW$OWNER       VARCHAR2(30),&lt;br /&gt;
NEW$NAME        VARCHAR2(128),&lt;br /&gt;
SES$ACTIONS     VARCHAR2(19),&lt;br /&gt;
SES$TID         NUMBER,&lt;br /&gt;
LOGOFF$LREAD    NUMBER,&lt;br /&gt;
LOGOFF$PREAD    NUMBER,&lt;br /&gt;
LOGOFF$LWRITE   NUMBER,&lt;br /&gt;
LOGOFF$DEAD     NUMBER,&lt;br /&gt;
LOGOFF$TIME     DATE,&lt;br /&gt;
COMMENT$TEXT    VARCHAR2(4000), &lt;br /&gt;
CLIENTID        VARCHAR2(64),&lt;br /&gt;
SPARE1          VARCHAR2(255),&lt;br /&gt;
SPARE2          NUMBER,&lt;br /&gt;
OBJ$LABEL       RAW(255),&lt;br /&gt;
SES$LABEL       RAW(255),&lt;br /&gt;
PRIV$USED       NUMBER,&lt;br /&gt;
SESSIONCPU      NUMBER,&lt;br /&gt;
NTIMESTAMP#     TIMESTAMP(6),&lt;br /&gt;
PROXY$SID       NUMBER,&lt;br /&gt;
USER$GUID       VARCHAR2(32),&lt;br /&gt;
INSTANCE#       NUMBER,&lt;br /&gt;
PROCESS#        VARCHAR2(16),&lt;br /&gt;
XID             RAW(8),&lt;br /&gt;
AUDITID         VARCHAR2(64),&lt;br /&gt;
SCN             NUMBER,&lt;br /&gt;
DBID            NUMBER,&lt;br /&gt;
SQLBIND         CLOB,&lt;br /&gt;
SQLTEXT         CLOB,&lt;br /&gt;
OBJ$EDITION     VARCHAR2(30) &lt;br /&gt;
)&lt;br /&gt;
PARTITION BY RANGE (NTIMESTAMP#)&lt;br /&gt;
INTERVAL(NUMTOYMINTERVAL(1, &amp;#039;MONTH&amp;#039;))&lt;br /&gt;
( &lt;br /&gt;
   PARTITION p_2010_08 VALUES LESS THAN (TO_DATE(&amp;#039;01-09-2010&amp;#039;, &amp;#039;DD-MM-YYYY&amp;#039;))&lt;br /&gt;
)&lt;br /&gt;
;&lt;br /&gt;
grant INSERT on SESSION_AUDIT to SYS;&lt;br /&gt;
-- Note that we create the interval partition on the audit table for ease of maintenance&lt;br /&gt;
&lt;br /&gt;
--(2)&lt;br /&gt;
-- conn SYS as sysdba&lt;br /&gt;
create or replace procedure pr_purge_audit_trail (days in number) as&lt;br /&gt;
&lt;br /&gt;
-- Script to Purge the Audit Trail data stored in SYS.AUD$ table (enabled by the init parameter AUDIT_TRAIL.&lt;br /&gt;
-- Data will be archived to AUDIT_USER.SESSION_AUDIT (identical structure with SYS.AUD$,&lt;br /&gt;
--       but created with the INTERVAL partition for ease of maintenance)&lt;br /&gt;
--  &lt;br /&gt;
-- Adapted from : Oracle 11g — Audit Enabled by Default, But What About Purging? by Alex Gorbachev&lt;br /&gt;
--   http://www.pythian.com/news/1106/oracle-11g-audit-enabled-by-default-but-what-about-purging/&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
  purge_date date;&lt;br /&gt;
begin&lt;br /&gt;
  purge_date := trunc(sysdate-days);&lt;br /&gt;
  dbms_system.ksdwrt(2,&amp;#039;AUDIT: Purging Audit Trail until &amp;#039; ||&lt;br /&gt;
                        purge_date || &amp;#039; started&amp;#039;);&lt;br /&gt;
  insert into audit_user.SESSION_AUDIT select * from sys.aud$ where ntimestamp# &amp;lt; purge_date;&lt;br /&gt;
  delete from sys.aud$ where ntimestamp# &amp;lt; purge_date;&lt;br /&gt;
  commit;&lt;br /&gt;
  dbms_system.ksdwrt(2,&amp;#039;AUDIT: Purging Audit Trail until &amp;#039; ||&lt;br /&gt;
                        purge_date || &amp;#039; has completed&amp;#039;);&lt;br /&gt;
end;&lt;br /&gt;
/ &lt;br /&gt;
&lt;br /&gt;
--Then let&amp;#039;s schedule a new maintenance job using Job Scheduler. &lt;br /&gt;
--Oracle 11g includes the default maintenance windows group, MAINTENANCE_WINDOW_GROUP, &lt;br /&gt;
-- and we will use that to run the purge.&lt;br /&gt;
&lt;br /&gt;
BEGIN&lt;br /&gt;
  sys.dbms_scheduler.create_job(&lt;br /&gt;
    job_name =&amp;gt; &amp;#039;AUDIT_PURGE&amp;#039;,&lt;br /&gt;
    job_type =&amp;gt; &amp;#039;PLSQL_BLOCK&amp;#039;,&lt;br /&gt;
    job_action =&amp;gt; &amp;#039;begin pr_purge_audit_trail(30); end;&amp;#039;,&lt;br /&gt;
    schedule_name =&amp;gt; &amp;#039;MAINTENANCE_WINDOW_GROUP&amp;#039;,&lt;br /&gt;
    job_class =&amp;gt; &amp;#039;&amp;quot;DEFAULT_JOB_CLASS&amp;quot;&amp;#039;,&lt;br /&gt;
    comments =&amp;gt; &amp;#039;Audit Trail Purge&amp;#039;,&lt;br /&gt;
    auto_drop =&amp;gt; FALSE,&lt;br /&gt;
    enabled =&amp;gt; TRUE);&lt;br /&gt;
END;&lt;br /&gt;
/&lt;br /&gt;
&lt;br /&gt;
-- During the job run you will see the following in the alert.log:&lt;br /&gt;
(A)&lt;br /&gt;
AUDIT: Purging Audit Trail until 27-AUG-10 started&lt;br /&gt;
AUDIT: Purging Audit Trail until 27-AUG-10 has completed&lt;br /&gt;
&lt;br /&gt;
(B) New partition is created automatically with the Interval Partition&lt;br /&gt;
AUDIT: Purging Audit Trail until 24-SEP-10 started&lt;br /&gt;
TABLE AUDIT_USER.SESSION_AUDIT: ADDED INTERVAL PARTITION SYS_P61 (1) VALUES LESS THAN (TIMESTAMP&amp;#039; 2010-10-01 00:00:00&amp;#039;)&lt;br /&gt;
AUDIT: Purging Audit Trail until 24-SEP-10 has completed&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--(3)&lt;br /&gt;
-- To quickly view Audit Data&lt;br /&gt;
-- Less than 30-day data in SYS.AUD$&lt;br /&gt;
-- Greater than 30-day data in AUDIT_USER.SESSION_AUDIT&lt;br /&gt;
SELECT AUD.USERID,&lt;br /&gt;
       AUD.USERHOST,&lt;br /&gt;
       AUD.TERMINAL,&lt;br /&gt;
			 AA.NAME Action_Name,&lt;br /&gt;
			 AUD.SPARE1 OS_user,&lt;br /&gt;
       TO_CHAR(AUD.NTIMESTAMP#, &amp;#039;MM/DD/YYYY HH24:MI&amp;#039;) Audit_Start,&lt;br /&gt;
       TO_CHAR(AUD.LOGOFF$TIME, &amp;#039;MM/DD/YYYY HH24:MI&amp;#039;) Logoff_Time&lt;br /&gt;
  FROM SYS.AUD$ AUD, SYS.AUDIT_ACTIONS AA&lt;br /&gt;
  WHERE AUD.ACTION# = AA.ACTION&lt;br /&gt;
 ORDER BY NTIMESTAMP# DESC;&lt;br /&gt;
 &lt;br /&gt;
   	USERID	USERHOST	TERMINAL	ACTION_NAME	OS_USER	   AUDIT_START	        LOGOFF_TIME &lt;br /&gt;
1	SYSTEM	DS\FSKFJSDF-00	FSKFJSDF-00	LOGOFF	        CHRISCCC   09/26/2010 19:40	09/26/2010 19:40&lt;br /&gt;
2	SYSTEM	DS\FSKFJSDF-00	FSKFJSDF-00	LOGOFF	        CHRISCCC   09/26/2010 19:40	09/26/2010 19:40&lt;br /&gt;
3	SYSTEM	DS\FSKFJSDF-00	FSKFJSDF-00	LOGON	        CHRISCCC   09/26/2010 19:40	&lt;br /&gt;
4	SYSTEM	DS\FSKFJSDF-00	FSKFJSDF-00	LOGON	        CHRISCCC   09/26/2010 19:40	&lt;br /&gt;
5	SYSTEM	DS\FSKFJSDF-00	FSKFJSDF-00	LOGON	        CHRISCCC   09/26/2010 19:26	&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
* Other dictionary views&lt;br /&gt;
http://www.stanford.edu/dept/itss/docs/oracle/10g/network.101/b10773/cfgaudit.htm#1010036&lt;br /&gt;
&lt;br /&gt;
* View Action&lt;br /&gt;
 SELECT * FROM AUDIT_ACTIONS;&lt;/div&gt;</summary>
		<author><name>Ittichai</name></author>
		
	</entry>
</feed>