forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
521 lines
74 KiB
HTML
521 lines
74 KiB
HTML
<a name="EN-US_TOPIC_0000001658895326"></a><a name="EN-US_TOPIC_0000001658895326"></a>
|
|
|
|
<h1 class="topictitle1">Dumping the Database Audit Logs</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001145696613_p5731438102">GaussDB(DWS) records information (audit logs) about connections and user activities in your database. The audit logs help you monitor the database to ensure security, rectify faults, and locate historical operation records. GaussDB(DWS) audit logs are stored in the database by default. You can dump the audit logs to OBS so that users who monitor database activities can view the logs.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_note1692710015269"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_ul19397141904413"><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_li17397141910442">This function cannot be used if OBS is not available.</li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_li2650921124416">Data may during cluster specifications change, CN addition, or CN deletion. You are advised to disable audit log dump during these operations.</li><li id="EN-US_TOPIC_0000001658895326__li02521834428">After audit log dumping is enabled, audit logs will be dumped if the size of saved audit logs exceeds 1 GB. This may cause abnormal query results. Exercise caution when performing this operation.</li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_li518518106537">If a CN node is faulty, data on the CN node may be lost.</li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_li22901217195113">Version support for the audit log dump directory partition is as follows:<ul id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_ul11964834145118"><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_li4771738195012">For 8.1.3.x clusters, only 8.1.3.322 and later versions support this feature. For 8.2.0.x clusters, only 8.2.0.106 and later versions support this feature. By default, the audit log dump directory partition is enabled and cannot be disabled.</li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_li1447031115113">To use this feature in earlier versions, contact technical support to upgrade your cluster first. Manually enable this feature after the upgrade.</li></ul>
|
|
</li></ul>
|
|
</div></div>
|
|
<div class="section" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_section1221633510497"><h4 class="sectiontitle">Prerequisites</h4><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1152613468492">After a GaussDB(DWS) cluster is created, you can enable log dump for it to dump audit logs to OBS. <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b13762115216155">Before enabling audit log dump, ensure the following conditions are met:</strong></p>
|
|
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_section8182105814130"><a name="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_section8182105814130"></a><a name="en-us_topic_0000001372520098_en-us_topic_0000001145696613_section8182105814130"></a><h4 class="sectiontitle">Enabling Audit Log Dumps</h4><ol id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_ol123296386258"><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li6029015714233"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li5247206216936"><span>In the navigation pane on the left, choose <span class="uicontrol" id="EN-US_TOPIC_0000001658895326__uicontrol771741314151"><b>Clusters</b></span> > <strong id="EN-US_TOPIC_0000001658895326__b271761312153">Dedicated Clusters</strong>.</span></li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li56042532161016"><span>In the cluster list, click the name of the cluster for which you want to enable audit log dump. In the navigation pane, choose <span class="uicontrol" id="EN-US_TOPIC_0000001658895326__uicontrol3362116121515"><b>Security Settings</b></span>.</span></li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li12293959114958"><span>In the <span class="parmname" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_parmname145007993117200"><b>Audit Settings</b></span> area, enable <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_b208012394311">Audit Log Dump</strong>.</span><p><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_p3011134115836"><span><img id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_image1392413395288" src="figure/en-us_image_0000001711660536.png"></span> indicates that the function is enabled. <span><img id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_image989795295018" src="figure/en-us_image_0000001759419645.jpg"></span> indicates that the function is disabled.</p>
|
|
<p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_p722531519111">When you enable audit log dump for a project in a region for the first time, the system prompts you to create an agency named <strong id="EN-US_TOPIC_0000001658895326__b532911921514">DWSAccessOBS</strong>. After the agency is created, GaussDB(DWS) can dump audit logs to OBS.</p>
|
|
<p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p176315435343">By default, only cloud accounts or users with Security Administrator permissions can query and create agencies. IAM users under an account do not have the permission to query or create agencies by default. Contact a user with that permission and complete the authorization on the current page.</p>
|
|
<ul id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_ul2720172110010"><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_li39101435495"><strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b16722191920119">OBS Foreign Table</strong>: Audit logs can be read using OBS foreign tables during dumping. Audit logs are stored in CSV format and compressed in GZ format.</li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li1272016211303"><strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_b1722210273513">OBS Bucket</strong>: Name of the OBS bucket used to store the audit data. If no OBS bucket is available, click <span class="uicontrol" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_uicontrol16656163194"><b>View OBS Bucket</b></span> to access the OBS console and create one. For details, see <span class="filepath" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_filepath14719113081913"><b>Console Operation Guide > Managing Buckets > Creating a Bucket</b></span> in the <em id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_i672119305195">Object Storage Service User Guide</em>.</li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li97204217012"><strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_b33113311720">OBS Path</strong>: User-defined directory on OBS for storing audit files. Different directory levels are separated by forward slashes (/). The value is a string containing 1 to 50 characters, which cannot start with a forward slash (/). If the entered OBS path does not exist, the system creates one and dumps data to it.</li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li1272020211404"><strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_b1499113281914">Dump Interval (Minute)</strong>: Interval based on which GaussDB(DWS) periodically dumps data to OBS. The value range is 5 to 43200. The unit is minute.</li></ul>
|
|
</p></li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li24595536115725"><span>Click <span class="uicontrol" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001098656870_uicontrol49492823153122"><b>Apply</b></span>.</span><p><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_p42782223153122">If <span class="parmname" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_parmname5697193261110"><b>Configuration Status</b></span> is <span class="parmvalue" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_parmvalue156978324119"><b>Applying</b></span>, the system is saving the settings. </p>
|
|
<p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_p44896892153122">When the status changes to <span class="parmvalue" id="EN-US_TOPIC_0000001658895326__parmvalue165004817151"><b>Synchronized</b></span>, the configurations are saved and take effect.</p>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_section097518211410"><h4 class="sectiontitle">Modifying Audit Log Dump Configurations</h4><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001145696613_p15421045175218">After audit log dump is enabled, you can modify the dump configuration. For example, you can modify the OBS bucket and path for storing logs and the dump period.</p>
|
|
<p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_p049019533568">The procedure is as follows:</p>
|
|
<ol id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_ol1249019532567"><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li849055365613"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li4490125345620"><span>In the navigation pane on the left, choose <span class="uicontrol" id="EN-US_TOPIC_0000001658895326__uicontrol19650133114152"><b>Clusters</b></span> > <strong id="EN-US_TOPIC_0000001658895326__b1650163131511">Dedicated Clusters</strong>.</span></li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li649175313564"><span>In the cluster list, click the name of the cluster for which you want to modify the audit log dump configurations. In the navigation pane, choose <span class="uicontrol" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_uicontrol274318119215"><b>Security</b></span>.</span></li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li11491653175618"><span>In the <span class="parmname" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_parmname1286042401313"><b>Audit Settings</b></span> area, modify the <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_b1844110406433">Audit Log Dump</strong> configurations.</span></li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li8689931135816"><span>Click <span class="uicontrol" id="EN-US_TOPIC_0000001658895326__uicontrol1064397269"><b>Apply</b></span>.</span><p><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_p1768993114586">If <span class="parmname" id="EN-US_TOPIC_0000001658895326__parmname130380168"><b>Configuration Status</b></span> is <span class="parmvalue" id="EN-US_TOPIC_0000001658895326__parmvalue2109377971"><b>Applying</b></span>, the system is saving the settings. </p>
|
|
<p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_p10690133120588">When the status changes to <span class="parmvalue" id="EN-US_TOPIC_0000001658895326__parmvalue353783137"><b>Synchronized</b></span>, the configurations are saved and take effect.</p>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_section1227433741613"><a name="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_section1227433741613"></a><a name="en-us_topic_0000001372520098_en-us_topic_0000001145696613_section1227433741613"></a><h4 class="sectiontitle">Viewing Audit Log Dumps</h4><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_p11787123916164">After audit log dump is enabled, you can view the dumped audit logs on OBS.</p>
|
|
<p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_p12787163915167">The procedure is as follows:</p>
|
|
</div>
|
|
<ol id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_ol1478793901616"><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li878716394163"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li157871939131616"><span>In the navigation pane on the left, choose <span class="uicontrol" id="EN-US_TOPIC_0000001658895326__uicontrol763323819158"><b>Clusters</b></span> > <strong id="EN-US_TOPIC_0000001658895326__b16332385150">Dedicated Clusters</strong>.</span></li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li67889397164"><span>In the cluster list, click the name of the target cluster for which you want to view the log dump history. In the navigation pane, choose <span class="uicontrol" id="EN-US_TOPIC_0000001658895326__uicontrol921920411151"><b>Security</b></span>.</span></li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li19788439111612"><span>In the <span class="parmname" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_parmname1210456157"><b>Audit Settings</b></span> area, click <span class="uicontrol" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_uicontrol12736023142920"><b>View Dump Record</b></span>.</span></li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li177315213204"><span>In the <span class="wintitle" id="EN-US_TOPIC_0000001658895326__wintitle8842545101520"><b>Audit Log Dump Records</b></span> dialog box, click <span class="uicontrol" id="EN-US_TOPIC_0000001658895326__uicontrol20843174521512"><b>View OBS Bucket</b></span>. The OBS console page is displayed.</span></li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li1555171352219"><span>Select the OBS bucket and folder where the logs are stored to view the log files.</span><p><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_p1442612492410">You can download and decompress the files to view. The fields of audit log files are described as follows:</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_table25973196913" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Log file fields</caption><thead align="left"><tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row125641477247"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.7.6.2.2.2.4.1.1"><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p95642710243">Field</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.7.6.2.2.2.4.1.2"><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p11564197132411">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.7.6.2.2.2.4.1.3"><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p145649712410">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row1956420702418"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p656414782414">begintime</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p156487132415">timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.6.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p25642713244">Operation start time</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row205640732410"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p7564178244">endtime</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p11564673242">timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.6.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1356411742415">Operation end time</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row115648762414"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p256517782414">operation_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p556527122415">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.6.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1556514782411">Operation type. For details, see <a href="#EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_table821083765411">Table 2</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row1856510752416"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p6565187162420">audit_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p65652752412">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.6.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p13565574248">Audit type. For details, see <a href="#EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_table1393124165612">Table 3</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row3565187102414"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p13565279246">result</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p10565187142417">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.6.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1556517182413">Operation result</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row5565372248"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1956517742412">username</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p175663720240">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.6.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p05664712418">Name of the user who performs the operation</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row856614742413"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p165669720242">database</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1756637152418">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.6.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p18566379240">Database name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row15566579243"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1356667122415">client_conninfo</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1456677142410">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.6.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p35669715247">Client connection information, that is, gsql, JDBC, or ODBC.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row85661877245"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1556618772416">object_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p456616718245">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.6.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p156697182414">Object name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row175668752418"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p656616782412">command_text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p95676722410">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.6.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p156710714241">Command used to perform the operation</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row1656727192416"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p15671375243">detail_info</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p55675715246">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.6.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1756713711241">Operation details</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row20567127102415"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p12567157182410">transaction_xid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1556718782416">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.6.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p856719711248">Transaction ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row2056717172417"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p35677762413">query_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p356713752415">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.6.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p4567137122413">Query ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row356710742411"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p35682713244">node_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1056818732412">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.6.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p656857172412">Node name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row2056867112416"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p656867162416">thread_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p35689742410">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.6.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p145681742415">Thread ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row19568477247"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1856813718242">local_port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p195684792417">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.6.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p165681470245">Local port</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row956818732415"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p2056818713240">remote_port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.6.2.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p9568147172415">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.6.2.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p165686716242">Remote port</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_table821083765411"></a><a name="en-us_topic_0000001372520098_table821083765411"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_table821083765411" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Operation types</caption><thead align="left"><tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row144451419132415"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.7.6.2.3.2.3.1.1"><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p18445719192411">Operation Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="70%" id="mcps1.3.7.6.2.3.2.3.1.2"><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p34451919172418">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row954075911496"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p4151165315219">audit_switch</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p20598251437">Indicates that the operations of enabling and disabling the audit log function are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row6445141922410"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p13446111918243">login_logout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p104461919152411">Indicates that user login and log-out operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row122401116133211"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1424115166324">system</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p72411016133218">Indicates that the system startup, shutdown, and instance switchover operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row2738131795115"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p127391178514">sql_parse</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p17739131725119">Indicates that SQL statement parsing operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row544617196247"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p4446121912248">user_lock</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p17446141992418">Indicates that user locking and unlocking operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row1446111982415"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p444721972411">grant_revoke</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p44471219122416">Indicates that user permission granting and revoking operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row87085912220"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p555317201922">violation</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p45534203219">Indicates that user's access violation operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row14477192247"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p164473192242">ddl</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p144714198247">Indicates that DDL operations are audited. DDL operations are controlled at a fine granularity based on operation objects. Therefore, <strong id="EN-US_TOPIC_0000001658895326__b1264018331726">audit_system_object</strong> is used to control the objects whose DDL operations are to be audited. (The audit function takes effect as long as <strong id="EN-US_TOPIC_0000001658895326__b15640193314211">audit_system_object</strong> is configured, no matter whether <strong id="EN-US_TOPIC_0000001658895326__b13640183315219">ddl</strong> is set.)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row2674134616213"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1686135612219">dml</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p186861656626">Indicates that the DML operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row344751952412"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p15447131911249">select</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p6447201912245">Indicates that the <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b66567010143021">SELECT</strong> operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row1222193843517"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p422143823515">internal_event</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p172373893516">Indicates that internal incident operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row1826217462916"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p9238102111010">user_func</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p12877185717911">Indicates that operations related to user-defined functions, stored procedures, and anonymous blocks are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row159657501496"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p387815714918">special_func</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p887814571596">Indicates that special function invoking operations are audited. Special functions include <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b43070383643021">pg_terminate_backend</strong> and <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b53764300843021">pg_cancel_backend</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row1418153141116"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p14478197249">copy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1344761918249">Indicates that the <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b209571198943021">COPY</strong> operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row644711952417"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p144814193247">set</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p0448161992411">Indicates that the <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b43788828443021">SET</strong> operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row444841918243"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p24481819152412">transaction</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p17448151962418">Indicates that transaction operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row194481019182411"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p2448121912243">vacuum</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1144801917246">Indicates that the <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b110252054043021">VACUUM </strong>operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row744818199247"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p10448319152414">analyze</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1844861913249">Indicates that the <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b97061286843021">ANALYZE</strong> operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row05771351191116"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p5452101914246">cursor</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p124521019162420">Indicates that cursor operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row10427171331319"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1342881331312">anonymous_block</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p8428141311132">Indicates that the anonymous block operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row644818190248"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p8448161962415">explain</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1744861962417">Indicates that the <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b128727421643021">EXPLAIN</strong> operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row16450819102414"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p4450111915247">show</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1245016197243">Indicates that the <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b180788933143021">SHOW</strong> operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row55788444148"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p2057917446142">lock_table</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1579174411411">Indicates that table lock operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row117537227153"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p157621260154">comment</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p14762142641519">Indicates that the <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b395762043021">COMMENT</strong> operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row172431755167"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1724313521610">preparestmt</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p7866114441612">Indicates that the <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b54186204843021">PREPARE,</strong> <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b173894730743021">EXECUTE</strong>, and <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b56713673743021">DEALLOCATE </strong>operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row8139845121916"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p9951750101913">cluster</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p5951195041919">Indicates that the <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b78823336543021">CLUSTER</strong> operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row14791223191814"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p20593527191811">constraints</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p17593227191819">Indicates that the <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b186459519143021">CONSTRAINTS</strong> operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row1745019195244"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p184504195242">checkpoint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p24501719162410">Indicates that the <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b48854807343021">CHECKPOINT</strong> operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row11450121922417"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1045011942416">barrier</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p64502197240">Indicates that the <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b49386196343021">BARRIER</strong> operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row204511019202410"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p1545113192247">cleanconn</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p15451181911249">Indicates that the <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b37124153443021">CLEAN CONNECTION</strong> operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row10452919102419"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p128107453113">seclabel</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p88464815229">Indicates that security label operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row15558103932010"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p355813912017">notify</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p108471683224">Indicates that the notification operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_row107861220344"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.6.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p18705516921">load</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.6.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_p38470812210">Indicates that the loading operations are audited.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_table1393124165612"></a><a name="en-us_topic_0000001372520098_table1393124165612"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_table1393124165612" frame="border" border="1" rules="all"><caption><b>Table 3 </b>audit_type parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row760113661818"><th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.7.6.2.4.2.3.1.1"><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p86013631812">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.7.6.2.4.2.3.1.2"><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p7609366188">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row46133614189"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p741464135718">audit_open/audit_close</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p206153614187">Indicates that the audit type is operations enabling or disabling audit logs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row146103611814"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p183708268314">user_login/user_logout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p156123620181">Indicates that the audit type is operations and users with successful login/logout.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row76123619182"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p15611367187">system_start/system_stop/system_recover/system_switch</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p961163641818">Indicates that the audit type is system startup, shutdown, and instance switchover.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row361173614182"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p9621362188">sql_wait/sql_parse</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p106243611818">Indicates that the audit type is SQL statement parsing.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row1262143621812"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p7144204021419">lock_user/unlock_user</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p146218367181">Indicates that the audit type is successful user locking and unlocking.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row662123671817"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p136263661813">grant_role/revoke__role</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_li19689410112617p0">Indicates that the audit type is user permission granting and revoking.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row86211364186"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p1962113611188">user_violation</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_li933817239206p0">Indicates that the audit type is unauthorized user access operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row230220453218"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p730374572117">ddl_<em id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_i81090433343021">database_object</em></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p156507179184">Indicates that successful DDL operations are audited. DDL operations are controlled at a fine granularity based on operation objects. So, <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b120224273543021">audit_system_object</strong> is used to control the objects whose DDL operations are to be audited. (The audit function takes effect as long as <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b146846048443021">audit_system_object</strong> is configured, no matter whether <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b92820821443021">ddl</strong> is set.)</p>
|
|
<p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p1552616209575">For example, <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b139450052343021">ddl_sequence</strong> indicates that the audit type is sequence-related operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row3466453102119"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p17461258104812">dml_action_insert/dml_action_delete/dml_action_update/dml_action_merge/dml_action_select</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p1466453192116">Indicates that the audit type is DML operations such as <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b94057272043021">INSERT</strong>, <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b41692709943021">DELETE</strong>, <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b163122226143021">UPDATE</strong>, and <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b122527777943021">MERGE</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row134981858122110"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p1865021711811">internal_event</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p1549811589213">Indicates that the audit type is internal events.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row10812123172217"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p3650417161811">user_func</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_li78008502277p0">Indicates that the audit type is user-defined functions, stored procedures, or anonymous block operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row128121038229"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p19650817141810">special_func</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p78131362210">Indicates that the audit type is special function invocation. Special functions include <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b148170744443021">pg_terminate_backend</strong> and <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b3055450243021">pg_cancel_backend</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row145158852211"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p1965071721817">copy_to/copy_from</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p1419551712302">Indicates that the audit type is <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b133052508443021">COPY</strong> operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row57341479242"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p14446152151113">set_parameter</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p4257122117302">Indicates that the audit type is <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b57715520743021">SET</strong> operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row1735347132412"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p1065019170185">trans_begin/trans_commit/trans_prepare/trans_rollback_to/trans_release/trans_savepoint/trans_commit_prepare/trans_rollback_prepare/trans_rollback</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p8613256303">Indicates that the audit type is transaction-related operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row16735104782416"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p1565016171181">vacuum/vacuum_full/vacuum_merge</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p2338202973010">Indicates that the audit type is <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b147301953043021">VACUUM</strong> operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row3669155319248"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p1165091714180">analyze/analyze_verify</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p13723173318306">Indicates that the audit type is <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b103967894843021">ANALYZE</strong> operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row167018536249"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p2707429183815">cursor_declare/cursor_move/cursor_fetch/cursor_close</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p114904387301">Indicates that the audit type is cursor-related operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row367045314243"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p179781345183418">codeblock_execute</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p2049131183117">Indicates that the audit type is anonymous blocks.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row46711753122412"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p166501917201819">explain</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p23923252314">Indicates that the audit type is <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b197694676143021">EXPLAIN</strong> operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row11671153142419"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p19650171716180">show</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p0177290316">Indicates that the audit type is <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b25772569543021">SHOW</strong> operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row1551616810227"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p265081791816">lock_table</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p11427203212313">Indicates that the audit type is table locking operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row951678202215"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p16650317171812">comment</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p10401173633118">Indicates that the audit type is <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b141947140743021">COMMENT</strong> operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row8516118172216"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p19650171731817">prepare/execute/deallocate</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p1068813403315">Indicates that the audit type is <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b146031583943021">PREPARE</strong>, <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b70717054043021">EXECUTE</strong>, or <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b161368399643021">DEALLOCATE</strong> operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row447983002320"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p2650171711186">cluster</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p8603114723119">Indicates that the audit type is <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b152489520743021">CLUSTER</strong> operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row04809301238"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p26501617151819">constraints</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p10511752123120">Indicates that the audit type is <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b82748327043021">CONSTRAINTS</strong> operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row14481430122310"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p1651191713186">checkpoint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p15234135615319">Indicates that the audit type is <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b163905008743021">CHECKPOINT</strong> operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row1481183011235"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p15651151710185">barrier</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p12853120123215">Indicates that the audit type is <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b108774917543021">BARRIER</strong> operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row54821830112319"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p655181172614">cleanconn</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p195270718325">Indicates that the audit type is <strong id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_b75558937843021">CLEAN CONNECTION</strong> operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row1055714814268"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p765114175181">seclabel</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p1932913157815">Indicates that the audit type is security label operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row12557164822619"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p76511717131814">notify</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p55571348182611">Indicates that the audit type is notification operations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_row255794872616"><td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.7.6.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p9651317181810">load</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.6.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145910711_p655884842615">Indicates that the audit type is loading operations.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</p></li></ol>
|
|
<div class="section" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_section156597111415"><h4 class="sectiontitle">Disabling Audit Log Dumps</h4><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_p532325411015">You can disable the audit log dump function if you do not want to dump audit logs to OBS.</p>
|
|
<p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_p12270144635818">The procedure is as follows:</p>
|
|
</div>
|
|
<ol id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_ol12705466589"><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li72701046125815"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li12270246135810"><span>In the navigation pane on the left, choose <span class="uicontrol" id="EN-US_TOPIC_0000001658895326__uicontrol1548418553158"><b>Clusters</b></span> > <strong id="EN-US_TOPIC_0000001658895326__b1548485521517">Dedicated Clusters</strong>.</span></li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li227117467588"><span>In the cluster list, click the name of the cluster for which you want to disable audit log dump. In the navigation pane, choose <span class="uicontrol" id="EN-US_TOPIC_0000001658895326__uicontrol095325741518"><b>Security Settings</b></span>.</span></li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li6271646155814"><span>In the <span class="parmname" id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_parmname1195403132313"><b>Audit Settings</b></span> area, disable audit log dump.</span><p><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_p718418401906"><span><img id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_image870710181439" src="figure/en-us_image_0000001759419649.jpg"></span> indicates that the function is disabled.</p>
|
|
</p></li><li id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_li12271184618588"><span>Click <span class="uicontrol" id="EN-US_TOPIC_0000001658895326__uicontrol1784682388"><b>Apply</b></span>.</span><p><p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_p13271446115818">If <span class="parmname" id="EN-US_TOPIC_0000001658895326__parmname1052219909"><b>Configuration Status</b></span> is <span class="parmvalue" id="EN-US_TOPIC_0000001658895326__parmvalue1388815753"><b>Applying</b></span>, the system is saving the settings. </p>
|
|
<p id="EN-US_TOPIC_0000001658895326__en-us_topic_0000001372520098_en-us_topic_0000001145696613_p10272646125811">When the status changes to <span class="parmvalue" id="EN-US_TOPIC_0000001658895326__parmvalue778989780"><b>Synchronized</b></span>, the configurations are saved and take effect.</p>
|
|
</p></li></ol>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_01_0184.html">Database Audit Logs</a></div>
|
|
</div>
|
|
</div>
|
|
|