• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            旅途

            如果想飛得高,就該把地平線忘掉

            SQL1043C error when creating databases (error code -289)

            http://www-01.ibm.com/support/docview.wss?uid=swg21232410
             
            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.

            posted on 2009-09-25 00:24 旅途 閱讀(1171) 評論(0)  編輯 收藏 引用 所屬分類: DB2

            狠狠色丁香久久综合五月| 亚洲欧洲久久av| 91精品国产91热久久久久福利| 欧美亚洲国产精品久久蜜芽| 久久93精品国产91久久综合| 伊人情人综合成人久久网小说| 日韩人妻无码精品久久久不卡| 四虎国产永久免费久久| 久久无码专区国产精品发布| 97精品久久天干天天天按摩| 欧美成人免费观看久久| 国产精品久久久久乳精品爆| 色综合久久久久无码专区| 久久久91人妻无码精品蜜桃HD| 伊人久久大香线蕉AV色婷婷色| 久久精品视频91| 久久伊人精品青青草原高清| 热re99久久6国产精品免费| 久久久久久亚洲精品不卡 | 久久亚洲国产精品成人AV秋霞| 国产精品久久久久久一区二区三区| 国产精品久久新婚兰兰| 久久精品成人| 国内精品伊人久久久久影院对白| 久久w5ww成w人免费| 亚洲精品乱码久久久久66| 亚洲伊人久久综合中文成人网| 国产成人精品久久一区二区三区av | 久久精品无码免费不卡| 久久99热狠狠色精品一区| 久久er国产精品免费观看2| 国内精品久久久久影院一蜜桃| 亚洲国产另类久久久精品黑人 | 一本色道久久88加勒比—综合| 波多野结衣中文字幕久久 | 久久99精品国产99久久| 色综合久久综合网观看| 99久久免费只有精品国产| 97超级碰碰碰碰久久久久 | 性欧美大战久久久久久久久| 伊人久久大香线蕉亚洲五月天|