Support Article
Getting SQLSTATE 54010 error while upgrading to Pega 7.1.7
SA-6241
Summary
Administrator was upgrading from PRPC 6.2 SP2 single schema to Pega 7.1.7 split schema in DB2 LUW. Admin user was using the Windows machine for connecting to DB2 DB Server. After running for little over 2 minutes, they got a database error and their database administrator believes its hitting the pagesize limit of 4K and we do not have any control from the script to create/alter tables for a larger values such as 8K, 16K or 32K.
Error Messages
[java] WARNING: Failed to execute SQL in file udb01640.sql
[java] Feb 04, 2015 10:27:09 AM com.pega.pegarules.install.SQLLoader writeMessage
[java] WARNING: Statement: ALTER TABLE DBRE71.pr_index_customfields ADD pxCommitDateTime TIMESTAMP ADD pyGalleryType VARCHAR(64)
[java] com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=4005;BRE_DATA_4K, DRIVER=3.63.75
Steps to Reproduce
Run the Installation and Upgrade Assistant tool by providing all the database connection details.
Root Cause
The reported error indicate an issue with page size -
com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=4005;BRE_DATA_4K, DRIVER=3.63.75
Refer IBM links - http://www-01.ibm.com/support/docview.wss?uid=swg21579325 and http://www.sqlerror.de/db2_sql_error_-670_sqlstate_54010.html
Recommended buffer pool and tablespace page size = 32KB
Resolution
Suggested administrator to move the tablespace to 32K tablespace.
Refer PDN articles - https://pdn.pega.com/documents/pega-717-installation-guide-for-websphere-on-db2-luw and https://pdn.pega.com/documents/pega-717-upgrade-guide
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.