How To Fix HH021 - Reorganize the specified table


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HH - (Long) text for check tool 'infcfgcheck'

  • Message number: 021

  • Message text: Reorganize the specified table

  • Show details Hide details
  • What causes this issue?

    The number of extents of the specified table is very high.
    The table should be reorganized since the Informix server only
    provides a limited number of extents and this value has nearly been
    reached.

    System Response

    How to fix this error?

    The sapdba tool is a good means of reorganizing a table.
    Also read Note 22941!

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message HH021 - Reorganize the specified table ?

    The SAP error message HH021, which states "Reorganize the specified table," typically indicates that a database table has reached a certain threshold of fragmentation or has accumulated a significant amount of obsolete data. This can lead to performance issues and may prevent further data operations on that table.

    Cause:

    1. Table Fragmentation: Over time, as records are added, modified, or deleted, the physical storage of the table can become fragmented. This can lead to inefficient data access and slower performance.
    2. Obsolete Data: Tables may contain a large amount of obsolete or unnecessary data that needs to be cleaned up.
    3. Database Size Limits: Some databases have size limits for tables, and if a table approaches this limit, it may trigger the need for reorganization.
    4. System Performance: High levels of fragmentation can lead to degraded performance, which may trigger this error.

    Solution:

    To resolve the HH021 error, you can follow these steps:

    1. Reorganize the Table:

      • Use the transaction code SE14 (Database Utility) to reorganize the table.
      • Select the table that is causing the issue and choose the option to "Reorganize."
      • Follow the prompts to complete the reorganization process.
    2. Delete Obsolete Data:

      • If applicable, identify and delete any obsolete or unnecessary data from the table to reduce its size and improve performance.
    3. Schedule Regular Maintenance:

      • Implement a regular maintenance schedule for database tables to prevent fragmentation and accumulation of obsolete data in the future.
    4. Monitor Table Size and Performance:

      • Regularly monitor the size and performance of your tables to identify potential issues before they lead to errors.
    5. Consult SAP Notes:

      • Check for any relevant SAP Notes that may provide additional guidance or specific instructions related to the HH021 error.

    Related Information:

    • Transaction Codes: SE14 (Database Utility), SE11 (Data Dictionary), ST22 (Dump Analysis).
    • Database Administration: Familiarity with database administration tasks can be beneficial, as some issues may require deeper database-level interventions.
    • SAP Support: If the issue persists or if you encounter complications during the reorganization process, consider reaching out to SAP Support for assistance.

    By following these steps, you should be able to resolve the HH021 error and improve the performance of the affected table.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant