How To Fix DB11062 - Days since last successful update statistics


SAP Error Message - Details

  • Message type: E = Error

  • Message class: DB11 - Oracle Monitor: messages

  • Message number: 062

  • Message text: Days since last successful update statistics

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message DB11062 - Days since last successful update statistics ?

    The SAP error message DB11062 indicates that the database statistics for a particular table or index have not been updated for a specified number of days. This can lead to suboptimal query performance because the database optimizer relies on accurate statistics to make informed decisions about how to execute queries efficiently.

    Cause:

    The primary cause of this error is that the database statistics have not been updated for a long time. This can happen due to:

    • Lack of regular maintenance jobs that update statistics.
    • Changes in the data distribution that have not been reflected in the statistics.
    • Manual changes to the database that bypass automatic statistics updates.

    Solution:

    To resolve the DB11062 error, you should take the following steps:

    1. Update Statistics:

      • You can manually update the statistics for the affected tables or indexes. This can typically be done using database-specific commands or through the SAP transaction codes.
      • For example, in SAP, you can use transaction code DBACOCKPIT or ST03N to analyze and update statistics.
    2. Schedule Regular Maintenance:

      • Set up a regular maintenance job to automatically update statistics. This can be done using the database's built-in scheduling tools or through SAP's background job scheduling.
      • Ensure that the frequency of updates is appropriate for your data change patterns.
    3. Monitor and Analyze:

      • Regularly monitor the database for any warnings or errors related to statistics.
      • Use tools like the SAP EarlyWatch Alert or database-specific monitoring tools to keep track of performance and statistics.
    4. Check Database Configuration:

      • Ensure that the database is configured to automatically update statistics when a certain threshold of changes is reached. This may vary depending on the database system you are using (e.g., Oracle, SQL Server, HANA).
    5. Consult Documentation:

      • Refer to the specific database documentation for commands and best practices related to updating statistics.

    Related Information:

    • Performance Impact: Outdated statistics can lead to inefficient query plans, resulting in slower performance for database operations.
    • Database-Specific Commands: The method to update statistics can vary based on the database system (e.g., ANALYZE TABLE in Oracle, UPDATE STATISTICS in SQL Server).
    • SAP Notes: Check SAP Notes for any specific recommendations or patches related to this error message. SAP Notes can provide additional context and solutions tailored to your version of SAP and database.

    By following these steps, you should be able to resolve the DB11062 error and improve the performance of your SAP system.

    • 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