Show TOC

PartitioningLocate this document in the navigation structure

Use

The database tables that are generated when you create new archive information structures can become extremely large over the duration of their usage. This puts an increased pressure on the database and makes it more difficult to handle the infostructures and tables. To combat this effect, you can use partitioning to divide up the infostructures in such a way that the system distributes the data across several tables instead of writing it into one single table. This facilitates the administration of the database, which is more difficult with large data volumes.

Features

Configuration of Partitioning

You can call partitioning from the Archive Retrieval Configurator (transaction SARJ) by entering an infostructure and choosing Start of the navigation path Goto Next navigation step Partitioning End of the navigation path.

To configure the partitioning function, in the From Date field, enter the date as of which the system is supposed to write the entries for the infostructure into a new table. The date refers to the creation date of the archiving session. If required, you can also enter the name of the table that is to be generated in the Table Name field. If you do not want to specify a name, the system automatically generates a table name that corresponds to the infostructure. The tables are not generated until the first data record is written, which would be either during the delete phase or during the subsequent filling of the infostructure.

Example

The following configuration data has been entered for partitioning:

From Date

Table Name

01.01.0001

01.02.2005

14.04.2005

Based on these entries, the system would generate a separate database table for the following time periods: "Until 01.31.2005", "02.01.2005" until "04.13.2005"and as of "04.14.2005".

For a detailed example of a partitioning scenario, see Example: Partitioning an Infostructure.

Caution

The configuration entries for partitioning logically belong to the infostructure. This means it is cross-client and is transported and shipped together with the infostructure. Changing the configuration settings means a modification of the infostructure. Therefore, never change the partitioning of infostructures that are not part of your namespace. This particularly applies to the SAP infostructures (those shipped by SAP) in customer systems. For more information, see Copying Infostructure Data.

The partitioning concept is so flexible that you do not have to specify that partitioning is to take place from the outset. In the case of large data volumes, rebuilding the infostructure would be very resource intensive. This means that data that has already been built does not need to be changed. All accesses to the Archive Information System remain intact. This applies to the Archive Explorer and to programmed accesses with the function module AS_API_READ or other interfaces to the Archive Information System.

Predefining Tables

In addition to partitioning you also have the option of predefining a table or several tables for a specific infostructure. This has the following advantages:

  • The name of the predefined table is determined when configuration takes place. You can choose a name from within your namespace or a name that matches your requirements. If you do not specify a table name the system automatically generates a name, which you cannot influence.

  • The table you specify is generated in the development or Customizing system and is then transported to the production system. This allows you to still make changes to the table, such as other technical settings or a different short text. In addition, the table has the same name in all systems, which is not the case for the automatically generated AS tables (ZARIX tables). This facilitates the administration of the system landscapes.

When you specify a table in the configuration, the system checks whether this table already exists. If so, it checks whether the table matches the infostructure and rejects the entry you made if necessary. If the table does not exist, the system asks you whether you want to generate the table. If you say yes, the table is generated in such a way that it corresponds to the infostructure.

Note

We recommend that you always instruct the system generate these tables. This means you can be sure that the structure of the table always matches the infostructure. We also recommend that you enter the same data for the object directory entry as that of the infostructure. This is particularly important for package assignments.

Displaying Partitioning

You can use the display function to view the current settings of the partitioning of an infostructure. You can call up the display function from within the status management of the Archive Information System by choosing Start of the navigation path Goto Next navigation step Partitioning End of the navigation path or from within the display of an infostructure in Customizing by choosing Technical Data.

  • Partitioning Configuration

    This area on the display screen shows how partitioning was configured.

  • Current Partitioning

    This area shows which tables the system used during which time periods so far. For the time periods that were entered in the configuration and that appear in this area, the system uses the assigned table also in the future. When the first record for the corresponding interval is written to the infostructure, the system sets the Change On date for that particular table. The entry that does not have a change date contains the table that was generated when the infostructure was first activated (normal AS table). This table only serves as a reference structure for partitioned infostructures.

    Tables that have the G (Generated) indicator, have been generated.

    If an entry only has the indicator N (Read Only) indicator, it means that the Archive Information System does not write any more entries to this table. It only reads from this table. This happens when you change partitioning, by, for example, grouping several time periods together. this is the case, the system sets the tables used up until then for the individual tables to read only mode.

  • Assignment of Tables and Files

    This area shows all the archive files that have entries in the infostructure. It lists the corresponding tables where the entries can be found. This relationship is unique. A table always contains the complete set of entries of an archive file. The system uses this information especially for the deletion of infostructure contents.

See also:

Example: Partitioning an Infostructure