flashbackdataarchive
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| flashbackdataarchive [2015/10/28 11:49] – z0hpvk | flashbackdataarchive [2025/03/08 22:24] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| The user context can now be tracked with FDA and therefore see which user made changes to a table.\\ | The user context can now be tracked with FDA and therefore see which user made changes to a table.\\ | ||
| Use DBMS_FLASHBACK_ARCHIVE.SET_CONTEXT_LEVEL procedure to do this ... | Use DBMS_FLASHBACK_ARCHIVE.SET_CONTEXT_LEVEL procedure to do this ... | ||
| - | * ALL : All contexts from the SYS_CONTEXT function are stored. | + | < |
| - | | + | TYPICAL : Only basic auditing attributes from the USERENV context are stored. |
| - | | + | NONE : No context information is stored. |
| + | |||
| + | EXEC DBMS_FLASHBACK_ARCHIVE.SET_CONTEXT_LEVEL(' | ||
| Use DBMS_FLASHBACK_ARCHIVE.GET_SYS_CONTEXT function to retrieve the data ... | Use DBMS_FLASHBACK_ARCHIVE.GET_SYS_CONTEXT function to retrieve the data ... | ||
| + | < | ||
| + | FROM | ||
| + | | ||
| ==== Database Hardening ==== | ==== Database Hardening ==== | ||
| + | You can now group a set of tables in a Flashback Archive. | ||
| + | These tables are known as Applications. | ||
| + | |||
| + | Create Application ... | ||
| + | < | ||
| + | DBMS_FLASHBACK_ARCHIVE.REGISTER_APPLICATION ( | ||
| + | application_name | ||
| + | flashback_archive_name => ' | ||
| + | END;</ | ||
| + | |||
| + | Add Tables to Application ... | ||
| + | < | ||
| + | DBMS_FLASHBACK_ARCHIVE.ADD_TABLE_TO_APPLICATION ( | ||
| + | application_name => ' | ||
| + | table_name | ||
| + | schema_name | ||
| + | END;</ | ||
| + | |||
| + | Use ENABLE_APPLICATION to enable all tables in application for FDA. | ||
| + | < | ||
| + | DBMS_FLASHBACK_ARCHIVE.ENABLE_APPLICATION (application_name => ' | ||
| + | END;</ | ||
| + | |||
| ==== Import/ | ==== Import/ | ||
| + | The history of tables in a FDA can now be imported or exported. | ||
flashbackdataarchive.1446032994.txt.gz · Last modified: (external edit)
