Can't Move FGA_LOG$/AUD$ using DBMS_AUDIT_MGMT.SET_AUDIT_TRAIL_LOCATION errors with ORA-01422
Last updated on APRIL 09, 2018
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 and later
Information in this document applies to any platform.
We implemented Fine Grained Auditing in one of our product instances. While configuring FGA I tried to move the FGA_LOG$-Table into an other tablespace. I did with:
audit_trail_type => DBMS_AUDIT_MGMT.AUDIT_TRAIL_FGA_STD,
audit_trail_location_value => 'DAT_AUDIT');
(DAT_AUDIT is the new tablespace-name).
But instead of moving the tablespace i get an error:
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "SYS.DBMS_AUDIT_MGMT", line 2737
ORA-06512: at "SYS.DBMS_AUDIT_MGMT", line 677
ORA-06512: at line 2
In our test-Environment, the movement was successful.
DB: Oracle 220.127.116.11.161018 (Test + Prod)
OS: Linux SLES 11 SP4
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms