Data archiving is a concept for moving a data archive object from the production database to another media. A data archive object consists of one or more database tables that hold transactional data for the same business object e.g. customer order. As of today the data archive object can be moved to another database or to a file with SQL-statements on the database server file system. Data archive orders are also defined to schedule when the data archiving process executes the data archive objects.
Schematic view of the Data Archiving concepts and their relations
The main reason for archiving data is to get rid of unused transactional data in the production database for performance and sizing reasons.
Note: There is no functionality for viewing archived data in the
original client forms within IFS Applications.
As of now custom forms for viewing archived data will have to be created to do
this.
Data archive objects are intended for transactional business objects like customer orders, financial transactions or invoices, that the system can still work without. Data archive objects are not intended for system data like accounts, customers or products. There are some business objects that are between transactional business objects and system data like product structures, organizational hierarchy or sales parts. Data archive objects can be defined for these objects, but it will be of great importance that these objects have some kind of status attribute that shows that they are not in use anymore.
When defining a data archive object it is important that you keep the definition to one business object. For example: if you want to archive a customer and all of its corresponding customer orders, you must do this as two data archiving objects, customer and customer orders. It’s not suitable to archive this in the same data archive object because it becomes too complex.
Before archiving the data archive objects that you have defined you must be sure of that all areas of IFS Applications have finished using the object. It’s also of great importance that all statistics (updates and reports), transformation to data warehouse objects (IAL and cubes) and so on have been done.
A data archive object is a definition of one ore more database tables in a tree structure. The tree structure starts with the parent table called the master table. The master table is the driver for the whole data archiving process. You define a where clause for the master table and the data archiving process fetches each master record that fulfills the where clause. For each master the whole tree structure of tables is processed. For each table you can decide what you shall do with the data:
An example: Lets say that we have an archive object customer order, with three tables: order head, order lines and deliveries and that each order consists of 1 order head, 10 order lines and 10 deliveries per order line. The archiving process will execute the rows like this:
Data archive object code used by the archive process is generated from its definition and stored in the database as a package. The data archive process calls for the generated code when it wants to start.
Follow this link to read about the Data Archive Objects form and the activities you can perform here.
A Data Archive Order defines when and what to archive in one execution. It contains a scheduling information record and a collection of objects to be archived at the same time.
The scheduling information defines when the order shall execute next time and how to schedule future executions.
Each order consists of one or more data archive objects to be executed, called Data Archive Executions. Each execution can have specific parameters values which affect the master table's where clause.
The intention with orders and executions is that it should be possible to archive for example, five archive objects in a specific order, for one specific company on Mondays and schedule the same operation on Tuesdays for another company.
Follow this link to read about the Data Archive Orders form and the activities you can perform here.
The data archive process is the process that executes all archiving.
Follow this link to read about the How to Setup Data Archiving and what parameters control the process.
The data archive packages are generated PL/SQL packages that retrieve and archive data when data archive orders are executed.
The target for the archived data, may be tables or files.
The log keeps information about and status of the executions of the archive orders.