Space Reclaim

When large amount of data from the LIVE database are moved into DLM database, storage space occupied by the moved data will be freed in the LIVE database. This section explains you in detail the best practices to be followed for reclaiming the space freed in Oracle and SQL databases and various space reclamation methods.

Depending on the method used, the live database objects can be fragmented as an aftermath of space reclamation. This section does not include steps to explain the methods for defragmenting the live database objects. You should measure the fragmentation before and after the space reclaim and work on the defragmentation to ensure a good performance.

The following example shows how the space is available in the Temenos Transact data files after the STMT_ENTRY data is moved into the Data Lifecycle Management database. After the data is moved from the Temenos Transact LIVE database to DLM database, that data gets deleted from the LIVE database.

The legend values for the example illustrations are:

http://gva2flare.temenosgroup.com/R20ID/Subsystems/R20TechUG/Subsystems/Data%20Framework/Content/Resources/Images/DLM_SpaceReclaim/Space%20reclaim%20overview_244x73.png

The following illustrations show the Temenos Transact LIVE tablespace before and after the deletion of the STMT_ENTRY table, respectively.

http://gva2flare.temenosgroup.com/R20ID/Subsystems/R20TechUG/Subsystems/Data%20Framework/Content/Resources/Images/DLM_SpaceReclaim/Space%20reclaim%20overview_1_624x97.pnghttp://gva2flare.temenosgroup.com/R20ID/Subsystems/R20TechUG/Subsystems/Data%20Framework/Content/Resources/Images/DLM_SpaceReclaim/Space%20reclaim%20overview_2_624x97.png
NOTE: There are multiple solutions available in the market to reclaim space. The suggested methods are tested and recommended by Temenos. You can also use your own method to reclaim the space available in the LIVE database, if required.

Modes of Space Reclaim

You can reclaim space in using either offline or online mode.

In offline mode, you:

  • Need to plan for a downtime of the database during space reclamation process.
  • Can claim the maximum amount of space

In this mode, database fragmentation can be kept to minimal.

In online mode, you:

  • Need not plan for a downtime of the database as space reclamation process requires minimal or no downtime in this mode
  • Can schedule more tasks to regain the space while the online transaction processing (OLTP) is slow and still running
  • Cannot claim the maximum amount of space

In this mode, database fragmentation is more compared to the offline mode.

Space Reclaim Approach

This section explains the steps involved in the space reclamation process and suggests few alternatives that you can choose based on your business requirements.

Initially, you need to identify the list of tables, which have the space to be reclaimed. This process uses Temenos Transact VOC to identify the DLM tables, which are deleted after the data movement in the LIVE database. The two approaches for space reclamation are as follows.

  • The space reclaimed can be made available back to the same tablespace. When this approach is taken, the space released is available for the future database growth and database need not allocate space for the future growth until all the free space is utilized. You need to check for the fragmentation of the database objects after a space reclamation process.
  • The space reclaimed from the tablespace can be given back to the operating system, thus making the database size smaller. In this approach, the space is freed up in the tablespace and released to the operating system. This reduces the current free space available in the tablespace. A side effect of this approach is that the database need to allocate further space when new data is inserted.

The space reclaim approaches for the various databases are as follows.

Fragmentation Handling

This section provides details about fragmentation handling for different databases.


Bookmark Name Actions
Feedback
x