首页 > 数据库 >SQL0289N Unable to allocate new pages in table space

SQL0289N Unable to allocate new pages in table space

时间:2022-12-21 17:31:37浏览次数:58  
标签:SQL0289N space 90000 Unable 空间 table db2

db2 -tvf zhangsan.sql
报错:
"SQL0289N Unable to allocate new pages in table space "USERSPACE1".SQLSTATE=57011"
表空间大小不够了

可以在备份库下执行
db2 list tablespaces show detail 看看现有表空间大小
然后修改新表空间
db2 "alter tablespace USERSPACE1 extend(all 90000)" 此处比原备份库的表空间大一点


或者创建表空间的时候设置大点
db2 create BUFFERPOOL bigbuffer SIZE 4000 PAGESIZE 32K
db2 "CREATE TABLESPACE INXTB PAGESIZE 32k MANAGED by DATABASE USING
('/home/db2inst1/SAMPLE/T0000001/test.TMP' 90000) BUFFERPOOL bigbuffer"


标签:SQL0289N,space,90000,Unable,空间,table,db2
From: https://blog.51cto.com/u_13236892/5960027

相关文章