签到成功

知道了

CNDBA社区CNDBA社区

SQLCODE=-1585

2021-09-29 23:15 1075 0 原创 DB2
作者: hbhe0316

原因为系统临时表空间不足,详见信息中心描述:
https://www.ibm.com/support/pages/node/439759
Troubleshooting

http://www.cndba.cn/hbhe0316/article/4771
http://www.cndba.cn/hbhe0316/article/4771http://www.cndba.cn/hbhe0316/article/4771http://www.cndba.cn/hbhe0316/article/4771

Problem
This DB2 SQL error occurs with Sterling B2B Integrator: SQLCODE: -1585, SQLSTATE: 54048
Symptom
com.sterlingcommerce.woodstock.profile.ProfileFinderException: listAllByEntityName: Finder Exception occurred:
SQLState: 54048
Message: DB2 SQL error: SQLCODE: -1585, SQLSTATE: 54048, SQLERRMC: null
Vendor: -1585
Cause
The DB2 instance did not have all 4 sizes of Temp tablespace defined.
DBA had manually created the Temp tablespaces but only the 8k and 32k size.
Resolving The Problem
The DB2 instance must have all 4 sizes of Temp tablespace created: 4k, 8k, 16k, and 32k.
In addition, these must be set as System Temp tablespaces, and not as User Temp tablespaces.
Historical Number
PRI26178
SCI94737http://www.cndba.cn/hbhe0316/article/4771http://www.cndba.cn/hbhe0316/article/4771

http://www.cndba.cn/hbhe0316/article/4771

解决方案:

http://www.cndba.cn/hbhe0316/article/4771
http://www.cndba.cn/hbhe0316/article/4771http://www.cndba.cn/hbhe0316/article/4771

db2 create bufferpool bp32k  size 1000 automatic pagesize 32k
db2 "create system temporary tablespace TEMPSPACE3 pagesize 32k  bufferpool bp32k"

版权声明:本文为博主原创文章,未经博主允许不得转载。

Linux,oracle

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
hbhe0316

hbhe0316

关注

1.只有承认无知,才能装下新的东西; 2.进步来自一点点滴滴的积累; 3.广博让你更优秀,而专业让你无法替代; 4.挫折和失败能够转换为一种财富。

  • 889
    原创
  • 1
    翻译
  • 13
    转载
  • 24
    评论
  • 访问:1987259次
  • 积分:1523
  • 等级:核心会员
  • 排名:第6名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ