doc-exports/docs/dws/umn/dws_03_0082.html
Lu, Huayi c5fcb46315 DWS UMN 801 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2022-12-13 12:47:57 +00:00

15 lines
1.4 KiB
HTML

<a name="EN-US_TOPIC_0000001192746539"></a><a name="EN-US_TOPIC_0000001192746539"></a>
<h1 class="topictitle1">How Can I View Database Operation Logs?</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001192746539__en-us_topic_0000001098976710_p2081195651515">GaussDB(DWS) allows you to record the audit logs of specific operations, involving audit log retention policies, unauthorized access, as well as DML, DDL, <strong id="EN-US_TOPIC_0000001192746539__b7979231313">SELECT</strong> and <strong id="EN-US_TOPIC_0000001192746539__b59815239112">COPY</strong> operations performed on stored procedures and database objects.</p>
<p id="EN-US_TOPIC_0000001192746539__en-us_topic_0000001098976710_p28155613154">After configuring audit logs, you can query audit information to troubleshoot, or historical operation records for a malfunctioning GaussDB(DWS) cluster.</p>
<p id="EN-US_TOPIC_0000001192746539__en-us_topic_0000001098976710_p239243515165">The audit logs are stored in the database by default. Dump them to OBS to give users who are responsible for monitoring the database easier access.</p>
<p id="EN-US_TOPIC_0000001192746539__en-us_topic_0000001098976710_p132701212152018">For details, see "Audit Logs" in the <em id="EN-US_TOPIC_0000001192746539__i139192422810">Management Guide</em>.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_03_0068.html">Logs</a></div>
</div>
</div>