How To Fix DB02122 - shared_pool_size. Size (MB) of the shared pool in the SGA. Default: <50.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: DB02 - For Oracle Component of the Database Monitor

  • Message number: 122

  • Message text: shared_pool_size. Size (MB) of the shared pool in the SGA. Default: <50.

  • 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 DB02122 - shared_pool_size. Size (MB) of the shared pool in the SGA. Default: <50. ?

    The SAP error message DB02122 indicates an issue related to the configuration of the shared pool size in the System Global Area (SGA) of the database. This error typically arises when the shared pool size is set too low, which can lead to performance issues or insufficient memory allocation for the database operations.

    Cause:

    1. Insufficient Shared Pool Size: The shared pool is a memory area that caches various constructs for the database, such as SQL statements, execution plans, and other objects. If the size is set below the recommended threshold, it can lead to performance degradation and errors.
    2. Default Configuration: The default size for the shared pool may not be adequate for the workload or the number of concurrent users in your SAP environment.
    3. Increased Workload: As the number of users or the complexity of the queries increases, the demand for memory in the shared pool also increases.

    Solution:

    1. Increase Shared Pool Size: You need to increase the size of the shared pool in the SGA. This can typically be done by modifying the database configuration parameters. The exact method will depend on the database you are using (e.g., Oracle, SQL Server, etc.).

      • For Oracle databases, you can use the following SQL command:
        ALTER SYSTEM SET shared_pool_size = <new_size_in_bytes> SCOPE=BOTH;
      • Make sure to set the new size to a value that is appropriate for your system's workload. A common recommendation is to set it to at least 100 MB or more, depending on your specific needs.
    2. Monitor Performance: After increasing the shared pool size, monitor the database performance to ensure that the changes have had a positive effect. Use database performance monitoring tools to check for any remaining issues.

    3. Review Database Configuration: Review other memory-related parameters in the SGA to ensure that they are also configured optimally. This includes parameters like large_pool_size, java_pool_size, and streams_pool_size.

    4. Consult Documentation: Refer to the documentation for your specific database system for detailed instructions on configuring memory parameters.

    Related Information:

    • Database Documentation: Always refer to the official documentation for your specific database version for the most accurate and detailed instructions.
    • SAP Notes: Check SAP Notes for any specific recommendations or patches related to this error message.
    • Performance Tuning: Consider engaging in broader performance tuning activities if you frequently encounter memory-related issues.

    By addressing the shared pool size and ensuring it is configured correctly, you can resolve the DB02122 error and improve the overall 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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker