There is not enough memory in the db2 heap to handle the statement.

Source: Internet
Author: User


There is not enough storage in the db2 heap to solve the statement. view the DB2 database parameter command: db2 get db cfg for databasename modify the value of "APP_CTL_HEAP_SZ", www.2cto.com command: db2 update db cfg for databasename using APP_CTL_HEAP_SZ 1000 SQL statements in db2 are too long. To solve this problem, you can use the following statement to adjust the maximum length of the SQL statement: update db cfg for sample using restart theap 20480 restart DB2. The modified value is saved in the temporary value and takes effect after the database is restarted.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.