`
guoyanxi
  • 浏览: 275743 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

SQL1043C Database Services could not initialize the system catalogs. Error

    博客分类:
  • db2
阅读更多

如果CATALOG TABLESPACE使用SMS的话就不会出现这个问题,使用DMS就有可能出现

原因很可能是设置的CATALOG TABLESPACE 的大小不足

贴上原文:

 

Question
This document provides troubleshooting advice for situations where an attempt to create a database fails with the error message SQL1043C: "The database manager could not initialize the system catalogs. Error '-289' was returned".
 
 
Cause
As described in the Messages Reference, SQL1043C indicates that the CREATE DATABASE command failed while initializing the system catalogs. Error "-289" maps to SQL0289N, which in turn means "Unable to allocate new pages in table space...".

You may also see in the db2diag.log the following error messages when you create a database with the catalog tablespace in DMS and the size specified for the containers is not enough:

2007-04-11-09.50.23.928002+180 E23114C1031        LEVEL: Error
PID     : 20522                TID  : 1           PROC : db2agent (instance) 0
INSTANCE: db2inst1             NODE : 000
APPHDL  : 0-235                APPID: *LOCAL.db2inst1.070411064735
FUNCTION: DB2 UDB, buffer pool services, sqlbAllocateExtent, probe:830
MESSAGE : ADM6044E  The DMS table space "SYSCATSPACE" (ID "0") is full.  If this is an autoresize or automatic storage DMS tablespace, the maximum table space size may have been reached or the existing containers or storage paths cannot grow any more. Additional space can be added to the table space by either adding new containers or extending existing ones using the ALTER TABLESPACE SQL statement. If this is an autoresize or automatic storage DMS table space, additional space can be added by adding containers to an autoresize table space or by adding new storage paths to an automatic storage database.

2007-04-11-09.50.23.929462+180 I24146C879         LEVEL: Warning
PID     : 20522                TID  : 1           PROC : db2agent (instance) 0
INSTANCE: db2inst1             NODE : 000
APPHDL  : 0-235                APPID: *LOCAL.db2inst1.070411064735
FUNCTION: DB2 UDB, buffer pool services, sqlbObtainDataExtent, probe:800
MESSAGE : ZRC=0x85020021=-2063466463=SQLB_END_OF_CONTAINER "DMS Container space full"
DATA #1 : Object descriptor, PD_TYPE_SQLB_OBJECT_DESC, 68 bytes
Obj: {pool:0;obj:14;type:3} Parent={0;14}
lifeLSN:       000000026069  tid:       0 0  1
extentAnchor:        1920  initEmpPages:           0
poolPage0:              0  poolflags:     0x00000102
objectState:   0x00030025  lastSMP:               32
pageSize:           4096  extentSize:           32
bufferPoolID:          1  partialHash:    51249152
bufferPool:   0x14355650

This error message (SQL0289N) is most often received when you issue the CREATE DATABASE command and specify a database managed space (DMS) for the system catalog table space.

 

In most cases, you should use system managed space (SMS) table spaces for the system catalog table space, as well as for temporary table spaces. When using SMS table spaces, space is not allocated by the system until it is required. Space for the system catalog tables is only allocated as the space is needed. Refer to "System managed space" in the Related Information for more details.


When using DMS table spaces, the space is pre-allocated which means that the space must be available on the containers before the table space can be created. If you choose to create the system catalog table space as a DMS table space, be aware that:

  • The minimum size of a DMS table space is five extents: three are reserved for overhead; the other extents are to store user data.
  • The extent size is defined as the number of continuous pages. An extent is the unit of space allocation within a table space.
  • Page size affects the space available; the number of pages also affects the space available.
  • In a partitioned database environment, the system catalog table space is only created on the database partition on which the CREATE DATABASE command is issued.
    •  
      •  
        •  
          •  
            •  
              •  
 
 
Answer
If you plan to use a DMS for the system catalog table space, ensure that your containers have sufficient space available to be pre-allocated.
To correct the error, choose one of the following alternatives:
  1. Increase the number of pages specified for the DMS table space by using the ALTER TABLESPACE statement. This will result in a larger allocated disk space the next time the database is started. Since the space is pre-allocated for the database, some space may be wasted for the system catalogs.
  2. Use a smaller extent size (of 2 or 4 pages), in order to allocate fewer pages for the system catalog. Since the extent size is specified only when the table space is created, however, you will need to recreate the database. Moving data from the current database to the new database must also be considered.
  3. Recreate the database using SMS table spaces for the catalog table space. The space needed by the system catalog table space is only allocated as needed. (The space to be allocated must be available on the container.) Moving data from the current database to the new database must also be considered.
分享到:
评论

相关推荐

    Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser

    标题 "Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser" 提示了一个Java运行时错误,这通常意味着在尝试加载或初始化`JRStyledTextParser`类时遇到了问题。`JRStyledTextParser`是...

    Plsql 12连接Oracle时出现Could not initialize oci.dll解决方案 oracle 客户端

    在使用PL/SQL Developer 12连接Oracle数据库时,可能会遇到“Could not initialize oci.dll”这样的错误提示。这个错误通常表明系统无法找到或正确加载Oracle客户端的oci.dll库文件,这是Oracle Instant Client的一...

    java串口所需依赖dll文件合集

    监听COM口启动程序报错 Could not initialize class gnu.io.RXTXCommDriver异常 是因为需要在%JAVA_HOME%/jre/bin目录中添加rxtxParallel.dll、rxtxSerial.dll文件

    解决hbase client在windows环境下报NoClassDefFound问题

    解决hbase client在windows环境下报Could not initialize class org.fusesource.jansi.internal.Kernel32的问题,把jar包放入hbase client的lib包下,重新运行hbase.cmd shell即可

    linux上实现视频截图

    JavaCPP是一个强大的Java库,它允许Java程序员无缝地访问C和C++的原生库。它的核心功能是通过动态生成Java绑定,使得Java代码可以直接调用C/C++的函数,极大地提高了性能和灵活性。在视频截图的场景中,JavaCPP可以...

    jacob_1.14.3.rar

    内涵jacob_1.14.3-x64.dll;jacob_1.14.3-64.jdk(maven地址);解决方法:Could not initialize class com.jacob.com.ComThread

    derby.jar 。。

    java.lang.NoClassDefFoundError: Could not initialize class org.apache.derby.jdbc.AutoloadedDriver40 导致的原因: 在azkaban的server和executor中缺少一个叫derby.jar的包

    ezmorph-1.0.6.jar

    缺少这个包可能导致Could not initialize class net.sf.json.JsonConfig 使用json时候将会用到的一个jar包,发现这个包在网上提供的比较少.缺少这个包可能导致Could not initialize class net.sf.json.JsonConfig ...

    Plsql Developer连接Oracle时出现Could not initialize oci.dll解决方案

    在使用PL/SQL Developer这款强大的Oracle数据库管理工具时,有时可能会遇到“Could not initialize oci.dll”的错误提示,这通常是由于应用程序与Oracle客户端组件之间的兼容性问题导致的。本文将详细介绍如何解决这...

    oracle_plsql连服务端时 Initialization error could initialize错误处理方法

    解决:oracle_plsql连服务端时 Initialization error could initialize错误处理方法

    gnu.io.rar_android_gnu.io _librxtxSerial_librxtxSerial._librxtxS

    `librxtxSerial.so`是一个动态链接库,它是RXTX库在Android系统上的本地实现,因为Java层无法直接访问硬件,所以需要通过JNI(Java Native Interface)来调用这个C或C++编写的库,实现对硬件串口的访问。将此源码...

    jasperreport maven打包后找不到字体解决方案

    jasperreport 用maven打包后找不到字体解决方案 net.sf.jasperreports.engine.JRRuntimeException: Could not load the following font

    json-lib-2.1 2.2 2.3 2.4-jdk15

    JSONArray.fromObject(map)报错:Could not initialize class net.sf.json.JsonConfig。ireport 需要高于2.1版本的包。于是就找了这些包。最后2.2.2适合

    instantclient_11_2.zip

    Could not initialize "D:\app\Happy\product\11.2.0\dbhome_1\bin\oci.dll" Make sure you have the 32 bits Oracle Client installed. OracleHomeKey: OracleHomeDir: D:\app\Happy\product\11.2.0\dbhome_1 ...

    jacob Hiding the application window is not allowed

    设置隐试打开PPT报错 Hiding the application window is not allowed

    derby_ui_plugin_1.1.1

    - **SQL查询执行**:提供一个直观的界面来输入和执行SQL语句,查看结果集。 - **表和视图管理**:创建、修改和删除数据库中的表格和视图。 - **索引和约束管理**:处理数据库的索引和约束,以优化查询性能和数据完整...

    LoadRunner11回放脚本出现“Vuser failed to initialize extension LrXml.dll”提示的解决方法

    ### LoadRunner11回放脚本出现“Vuser failed to initialize extension LrXml.dll”提示的解决方法 #### 问题背景 在使用LoadRunner11进行性能测试的过程中,尤其是在Windows XP系统环境下,用户可能会遇到一个...

    C#+sql宿舍管理系统

    using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Data.OleDb; namespace DormMIS { /// /// Form1...

    Maven常见问题解答

    3. **Maven构建提示`Could not initialize class org.apache.maven.plugin.war.util.WebappStructureSerializer`**:这个问题通常意味着`maven-war-plugin`插件的版本太低,无法与当前Maven环境兼容。解决方法是在`...

Global site tag (gtag.js) - Google Analytics