DROP chunk error.
Posted in 2008
Topics: Storage & Space Management, Error Codes & Troubleshooting, Server Administration
Hi,all
While I want DROP a CHUNK(/usr/informix/disk/wjfl3) from the DBSPACES,I had
drop the tables which in the CHUNK. These have
TBLSPACE TBLSPACE 435002 50
FREE 435052 89235
report from oncheck -pe, So when use "onspaces -d <dbspace> -p <chunkpath> -o
<of> " to drop THE CHUNK,get ISAM error "chunk is not empty!".
HOW/WHY the "TBLSPACE TBLSPACE" occur? AND how to drop the CHUNK?
THANKS!
###############
The onstat -d
IBM Informix Dynamic Server Version 7.31.UD8 -- On-Line -- Up 27 days 21:00:37
-- 454992 Kbytes
Dbspaces
address number flags fchunk nchunks flags owner name
80056150 1 1 1 1 N informix rootdbs
800576c0 2 1 2 8 N informix swdatadbs
80057780 3 1 3 1 N informix llogdbs
80057840 4 1 11 1 N informix plogdbs
80057900 5 1 12 1 N informix tmpdbs
800579c0 6 1 13 3 N informix wjfldbs
6 active, 2047 maximum
Chunks
address chk s offset size free bpages flags pathname
80056210 1 1 256 523904 521187 PO- /usr/informix/disk/rootdbs
800567c0 2 2 0 524287 4 PO- /usr/informix/disk/workdb1
800568c0 3 3 0 524287 399234 PO- /usr/informix/disk ogdbs
800569c0 4 2 0 524287 6 PO- /usr/informix/disk/workdbs2
80056ac0 5 2 0 524287 0 PO- /usr/informix/disk/workdb3
80056bc0 6 2 0 524287 2 PO- /usr/informix/disk/workdbs4
80056cc0 7 2 0 524287 0 PO- /usr/informix/disk/workdbs5
80056dc0 8 2 0 524287 272770 PO- /usr/informix/disk/workdbs6
80056ec0 9 2 0 524287 501324 PO- /usr/informix/disk/workdbs7
80056fc0 10 2 0 524287 524284 PO- /usr/informix/disk/workdbs8
800570c0 11 4 0 262143 12090 PO- /usr/informix/disk/plogdbs
800571c0 12 5 0 131071 131018 PO- /usr/informix/disk/tmpdbs
800572c0 13 6 0 524287 523634 PO- /usr/informix/disk/wjfl1
800573c0 14 6 0 524287 524234 PO- /usr/informix/disk/wjflw
800574c0 15 6 0 524287 524242 PO- /usr/informix/disk/wjfl3
##############################
and oncheck -pe wjfldbs
DBspace Usage Report: wjfldbs Owner: informix Created: 12/20/2007
Chunk: 13 /usr/informix/disk/wjfl1 Size Used Free
524287 653 523634
Disk usage for Chunk 13 Start Length
------------------------------------------- --------- ---------
OTHER RESERVED Pages 0 2
CHUNK FREE LIST PAGE 2 1
TBLSPACE TBLSPACE 3 50
FREE 53 434
TBLSPACE TBLSPACE 487 50
FREE 537 2306
TBLSPACE TBLSPACE 2843 50
FREE 2893 11562
TBLSPACE TBLSPACE 14455 50
FREE 14505 2827
TBLSPACE TBLSPACE 17332 50
FREE 17382 22108
TBLSPACE TBLSPACE 39490 50
FREE 39540 3923
TBLSPACE TBLSPACE 43463 50
FREE 43513 813
TBLSPACE TBLSPACE 44326 50
FREE 44376 171110
TBLSPACE TBLSPACE 215486 50
FREE 215536 38513
TBLSPACE TBLSPACE 254049 50
FREE 254099 9225
TBLSPACE TBLSPACE 263324 50
FREE 263374 802
TBLSPACE TBLSPACE 264176 50
FREE 264226 249319
TBLSPACE TBLSPACE 513545 50
FREE 513595 10692
Chunk: 14 /usr/informix/disk/wjflw Size Used Free
524287 53 524234
Disk usage for Chunk 14 Start Length
------------------------------------------- --------- ---------
OTHER RESERVED Pages 0 2
CHUNK FREE LIST PAGE 2 1
FREE 3 515599
TBLSPACE TBLSPACE 515602 50
FREE 515652 8635
Chunk: 15 /usr/informix/disk/wjfl3 Size Used Free
524287 45 524242
Disk usage for Chunk 15 Start Length
------------------------------------------- --------- ---------
OTHER RESERVED Pages 0 2
CHUNK FREE LIST PAGE 2 1
FREE 3 434999
TBLSPACE TBLSPACE 435002 50
FREE 435052 89235
NETSKY LIAO wrote:
> Hi,all
>
> While I want DROP a CHUNK(/usr/informix/disk/wjfl3) from the DBSPACES,I had
> drop the tables which in the CHUNK. These have
>
> TBLSPACE TBLSPACE 435002 50
>
> FREE 435052 89235
>
> report from oncheck -pe, So when use "onspaces -d <dbspace> -p <chunkpath> -o
> <of> " to drop THE CHUNK,get ISAM error "chunk is not empty!".
>
> HOW/WHY the "TBLSPACE TBLSPACE" occur? AND how to drop the CHUNK?
>
> THANKS!
>
> ###############
> The onstat -d
>
> IBM Informix Dynamic Server Version 7.31.UD8 -- On-Line -- Up 27 days
21:00:37
> -- 454992 Kbytes>
> Dbspaces
> address number flags fchunk nchunks flags owner name
> 80056150 1 1 1 1 N informix rootdbs
> 800576c0 2 1 2 8 N informix swdatadbs
> 80057780 3 1 3 1 N informix llogdbs
> 80057840 4 1 11 1 N informix plogdbs
> 80057900 5 1 12 1 N informix tmpdbs
> 800579c0 6 1 13 3 N informix wjfldbs
> 6 active, 2047 maximum
>
> Chunks
> address chk s offset size free bpages flags pathname
> 80056210 1 1 256 523904 521187 PO- /usr/informix/disk/rootdbs
> 800567c0 2 2 0 524287 4 PO- /usr/informix/disk/workdb1
> 800568c0 3 3 0 524287 399234 PO- /usr/informix/disk ogdbs
> 800569c0 4 2 0 524287 6 PO- /usr/informix/disk/workdbs2
> 80056ac0 5 2 0 524287 0 PO- /usr/informix/disk/workdb3
> 80056bc0 6 2 0 524287 2 PO- /usr/informix/disk/workdbs4
> 80056cc0 7 2 0 524287 0 PO- /usr/informix/disk/workdbs5
> 80056dc0 8 2 0 524287 272770 PO- /usr/informix/disk/workdbs6
> 80056ec0 9 2 0 524287 501324 PO- /usr/informix/disk/workdbs7
> 80056fc0 10 2 0 524287 524284 PO- /usr/informix/disk/workdbs8
> 800570c0 11 4 0 262143 12090 PO- /usr/informix/disk/plogdbs
> 800571c0 12 5 0 131071 131018 PO- /usr/informix/disk/tmpdbs
> 800572c0 13 6 0 524287 523634 PO- /usr/informix/disk/wjfl1
> 800573c0 14 6 0 524287 524234 PO- /usr/informix/disk/wjflw
> 800574c0 15 6 0 524287 524242 PO- /usr/informix/disk/wjfl3
>
> ##############################
> and oncheck -pe wjfldbs
>
> DBspace Usage Report: wjfldbs Owner: informix Created: 12/20/2007
>
> Chunk: 13 /usr/informix/disk/wjfl1 Size Used Free
>
> 524287 653 523634
>
> Disk usage for Chunk 13 Start Length
>
> ------------------------------------------- --------- ---------
>
> OTHER RESERVED Pages 0 2
>
> CHUNK FREE LIST PAGE 2 1
>
> TBLSPACE TBLSPACE 3 50
>
> FREE 53 434
>
> TBLSPACE TBLSPACE 487 50
>
> FREE 537 2306
>
> TBLSPACE TBLSPACE 2843 50
>
> FREE 2893 11562
>
> TBLSPACE TBLSPACE 14455 50
>
> FREE 14505 2827
>
> TBLSPACE TBLSPACE 17332 50
>
> FREE 17382 22108
>
> TBLSPACE TBLSPACE 39490 50
>
> FREE 39540 3923
>
> TBLSPACE TBLSPACE 43463 50
>
> FREE 43513 813
>
> TBLSPACE TBLSPACE 44326 50
>
> FREE 44376 171110
>
> TBLSPACE TBLSPACE 215486 50
>
> FREE 215536 38513
>
> TBLSPACE TBLSPACE 254049 50
>
> FREE 254099 9225
>
> TBLSPACE TBLSPACE 263324 50
>
> FREE 263374 802
>
> TBLSPACE TBLSPACE 264176 50
>
> FREE 264226 249319
>
> TBLSPACE TBLSPACE 513545 50
>
> FREE 513595 10692
>
> Chunk: 14 /usr/informix/disk/wjflw Size Used Free
>
> 524287 53 524234
>
> Disk usage for Chunk 14 Start Length
>
> ------------------------------------------- --------- ---------
>
> OTHER RESERVED Pages 0 2
>
> CHUNK FREE LIST PAGE 2 1
>
> FREE 3 515599
>
> TBLSPACE TBLSPACE 515602 50
>
> FREE 515652 8635
>
> Chunk: 15 /usr/informix/disk/wjfl3 Size Used Free
>
> 524287 45 524242
>
> Disk usage for Chunk 15 Start Length
>
> ------------------------------------------- --------- ---------
>
> OTHER RESERVED Pages 0 2
>
> CHUNK FREE LIST PAGE 2 1
>
> FREE 3 434999
>
> TBLSPACE TBLSPACE 435002 50
>
> FREE 435052 89235
The tablespace tablespace is the on-disk structure that's mirrored by
the SMI/sysmaster table sysptnhdr. It contains the partition header
page for tables, detached indexes, and fragments of these. It looks
like the tablespace tablespace was extended onto this chunk because the
other chunk(s) of the dbspace were full, probably to create the tables
you dropped. However, like all other IDS tables, the tablespace
tablespace is not truncated or compressed when a row is deleted. The
only thing you can do is to dbexport the database and drop it. Then you
can drop the chunk and dbimport the database.
Art S. Kagel
Oninit
================================================================================
===========
Please access the attached hyperlink for an important electronic
communications disclaimer:
http://www.oninit.com/home/disclaimer.php
================================================================================
===========
Hi Netsky,
The tblspace tblspace entries are not tied to databases, but rather
dbspaces. Any database object, for any database in that dbspaces is
represented in the tblspace tblspace. As you get more datbasee objects, you
get more tblspace tblspace entires, which eventually leads to additional
extents like what you showed us below. Since IDS doesn't allow for users
to drop internal system tables, it means that you have to call IBM
Informix Technical support to remove the chunk or the dbspace,
depending on what you want.
It also appears at the moment, that at least by our documentation you
cannot prune the tblspace tblspace table in any version. The good news
though is that beginning in version 10 you can size the tblspace
tblspace table's first extent and next extent. For dbspacess that
expect to have a lot of tables, or detached indices this can really help. To
reference the
manual
You can specify a non-default size for the first and next extents for a
tblspace tblspace in the following ways:
For the root dbspace, set the TBLTBLFIRST and TBLTBLNEXT configuration
parameters.For non-root dbspaces, use the onspaces utility -ef and -en options
when you create
a dbspace.
But again to your original problem, you need to contact Tech Support.
Hope this Helps,
Mark Jamison
----- Original Message ----
From: NETSKY LIAO <liaosnet@126.com>
To: ids@iiug.org
Sent: Monday, January 21, 2008 2:58:14 AM
Subject: DROP chunk error. [11021]
Hi,all
While I want DROP a CHUNK(/usr/informix/disk/wjfl3) from the DBSPACES,I
had
drop the tables which in the CHUNK. These have
TBLSPACE TBLSPACE 435002 50
FREE 435052 89235
report from oncheck -pe, So when use "onspaces -d <dbspace> -p
<chunkpath> -o
<of> " to drop THE CHUNK,get ISAM error "chunk is not empty!".
HOW/WHY the "TBLSPACE TBLSPACE" occur? AND how to drop the CHUNK?
THANKS!
###############
The onstat -d
IBM Informix Dynamic Server Version 7.31.UD8 -- On-Line -- Up 27 days
21:00:37
-- 454992 Kbytes
Dbspaces
address number flags fchunk nchunks flags owner name
80056150 1 1 1 1 N informix rootdbs
800576c0 2 1 2 8 N informix swdatadbs
80057780 3 1 3 1 N informix llogdbs
80057840 4 1 11 1 N informix plogdbs
80057900 5 1 12 1 N informix tmpdbs
800579c0 6 1 13 3 N informix wjfldbs
6 active, 2047 maximum
Chunks
address chk s offset size free bpages flags pathname
80056210 1 1 256 523904 521187 PO- /usr/informix/disk/rootdbs
800567c0 2 2 0 524287 4 PO- /usr/informix/disk/workdb1
800568c0 3 3 0 524287 399234 PO- /usr/informix/disk ogdbs
800569c0 4 2 0 524287 6 PO- /usr/informix/disk/workdbs2
80056ac0 5 2 0 524287 0 PO- /usr/informix/disk/workdb3
80056bc0 6 2 0 524287 2 PO- /usr/informix/disk/workdbs4
80056cc0 7 2 0 524287 0 PO- /usr/informix/disk/workdbs5
80056dc0 8 2 0 524287 272770 PO- /usr/informix/disk/workdbs6
80056ec0 9 2 0 524287 501324 PO- /usr/informix/disk/workdbs7
80056fc0 10 2 0 524287 524284 PO- /usr/informix/disk/workdbs8
800570c0 11 4 0 262143 12090 PO- /usr/informix/disk/plogdbs
800571c0 12 5 0 131071 131018 PO- /usr/informix/disk/tmpdbs
800572c0 13 6 0 524287 523634 PO- /usr/informix/disk/wjfl1
800573c0 14 6 0 524287 524234 PO- /usr/informix/disk/wjflw
800574c0 15 6 0 524287 524242 PO- /usr/informix/disk/wjfl3
##############################
and oncheck -pe wjfldbs
DBspace Usage Report: wjfldbs Owner: informix Created: 12/20/2007
Chunk: 13 /usr/informix/disk/wjfl1 Size Used Free
524287 653 523634
Disk usage for Chunk 13 Start Length
------------------------------------------- --------- ---------
OTHER RESERVED Pages 0 2
CHUNK FREE LIST PAGE 2 1
TBLSPACE TBLSPACE 3 50
FREE 53 434
TBLSPACE TBLSPACE 487 50
FREE 537 2306
TBLSPACE TBLSPACE 2843 50
FREE 2893 11562
TBLSPACE TBLSPACE 14455 50
FREE 14505 2827
TBLSPACE TBLSPACE 17332 50
FREE 17382 22108
TBLSPACE TBLSPACE 39490 50
FREE 39540 3923
TBLSPACE TBLSPACE 43463 50
FREE 43513 813
TBLSPACE TBLSPACE 44326 50
FREE 44376 171110
TBLSPACE TBLSPACE 215486 50
FREE 215536 38513
TBLSPACE TBLSPACE 254049 50
FREE 254099 9225
TBLSPACE TBLSPACE 263324 50
FREE 263374 802
TBLSPACE TBLSPACE 264176 50
FREE 264226 249319
TBLSPACE TBLSPACE 513545 50
FREE 513595 10692
Chunk: 14 /usr/informix/disk/wjflw Size Used Free
524287 53 524234
Disk usage for Chunk 14 Start Length
------------------------------------------- --------- ---------
OTHER RESERVED Pages 0 2
CHUNK FREE LIST PAGE 2 1
FREE 3 515599
TBLSPACE TBLSPACE 515602 50
FREE 515652 8635
Chunk: 15 /usr/informix/disk/wjfl3 Size Used Free
524287 45 524242
Disk usage for Chunk 15 Start Length
------------------------------------------- --------- ---------
OTHER RESERVED Pages 0 2
CHUNK FREE LIST PAGE 2 1
FREE 3 434999
TBLSPACE TBLSPACE 435002 50
FREE 435052 89235
*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.
See you at the IIUG Informix 2008 Conference
The Power Conference for Informix Professionals
April 27 - 30, 2008 Marriott Overland Park (Kansas City), Kansas
http://www.iiug.org/conf
Registration Now Open!!
Thanks all,I get it clear now.:)
Related threads
- IDS 10 table-level restore
- Informix Development Webinar December 11, 2007
- ontape -p/r with changed ROOTPATH
- Migrate from HP PA-RISC to HP ITANIUM by ontape