12c里AUDIT_SYS_OPERATIONS参数的缺省值是TRUE, 以前的版本缺省值是FALSE
导致的结果是audit_file_dest目录的aud文件变大,因为很多系统任务的sql写到了aud文件里,
比如收集统计信息的自动任务
db1_j000_16692_20170216234611354372143795.aud
Thu Feb 16 23:46:11 2017 +08:00
LENGTH : '758'
ACTION :[515] 'select /*+ no_parallel(t) no_parallel_index(t) dbms_stats cursor_sharing_exact use_weak_name_resl dynamic_sampling(0) no_monitoring xmlindex_sel_idx_tbl opt_param('optimizer_inmemory_aware' 'false') no_substrb_pad */ substrb(dump("TASK_ID",16,0,64),1,240) val,
rowidtochar(rowid) rwid from "SYS"."WRI$_TOPN_METADATA" t where rowid in (chartorowid('AAABxEAADAAAA5+AAA'),chartorowid('AAABxEAADAAAA5/AAA'),chartorowid('AAABxEAADAAAA5/AAB'),chartorowid('AAABxEAADAAAA59AAA')) order by "TASK_ID"'
DATABASE USER:[3] 'SYS'
PRIVILEGE :[4] 'NONE'
CLIENT USER:[0] ''
CLIENT TERMINAL:[7] 'UNKNOWN'
STATUS:[1] '0'
DBID:[10] '1529967930'
SESSIONID:[6] '360013'
USERHOST:[9] 'ora12cr21'
CLIENT ADDRESS:[0] ''
ACTION NUMBER:[1] '3'
注意清理aud文件
导致的结果是audit_file_dest目录的aud文件变大,因为很多系统任务的sql写到了aud文件里,
比如收集统计信息的自动任务
db1_j000_16692_20170216234611354372143795.aud
Thu Feb 16 23:46:11 2017 +08:00
LENGTH : '758'
ACTION :[515] 'select /*+ no_parallel(t) no_parallel_index(t) dbms_stats cursor_sharing_exact use_weak_name_resl dynamic_sampling(0) no_monitoring xmlindex_sel_idx_tbl opt_param('optimizer_inmemory_aware' 'false') no_substrb_pad */ substrb(dump("TASK_ID",16,0,64),1,240) val,
rowidtochar(rowid) rwid from "SYS"."WRI$_TOPN_METADATA" t where rowid in (chartorowid('AAABxEAADAAAA5+AAA'),chartorowid('AAABxEAADAAAA5/AAA'),chartorowid('AAABxEAADAAAA5/AAB'),chartorowid('AAABxEAADAAAA59AAA')) order by "TASK_ID"'
DATABASE USER:[3] 'SYS'
PRIVILEGE :[4] 'NONE'
CLIENT USER:[0] ''
CLIENT TERMINAL:[7] 'UNKNOWN'
STATUS:[1] '0'
DBID:[10] '1529967930'
SESSIONID:[6] '360013'
USERHOST:[9] 'ora12cr21'
CLIENT ADDRESS:[0] ''
ACTION NUMBER:[1] '3'
注意清理aud文件
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/37279/viewspace-2136443/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/37279/viewspace-2136443/