Unix Technical Forum

Invalid state transition while dropping a tablespace

This is a discussion on Invalid state transition while dropping a tablespace within the DB2 forums, part of the Database Server Software category; --> Hello, DB2 V8 FP 10 running Linux RedHat 4.0. I have created a system temporary tablespace and now I ...


Go Back   Unix Technical Forum > Database Server Software > DB2

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 05:21 AM
Michel Esber
 
Posts: n/a
Default Invalid state transition while dropping a tablespace

Hello,

DB2 V8 FP 10 running Linux RedHat 4.0.

I have created a system temporary tablespace and now I want to delete
it. However:

[db2inst1@asset4 extra]$ db2 "drop tablespace reorg"
DB21034E The command was processed as an SQL statement because it was
not a valid Command Line Processor command. During SQL processing it
returned: SQL0291N State transition not allowed on table space.
SQLSTATE=55039

Diag:

2005-11-11-10.28.22.467127-120 I230628531G436 LEVEL: Error
PID : 3100 TID : 3086919360 PROC : db2agent
(RTMDB)
INSTANCE: db2inst1 NODE : 000 DB : RTMDB
APPHDL : 0-2033 APPID: *LOCAL.db2inst1.060129204323
FUNCTION: DB2 UDB, buffer pool services, sqlbDropPool, probe:905
RETCODE : ZRC=0x80020038=-2147352520=SQLB_INVALID_STATE_TRANSITION
"Invalid state transition"


db2 list tablespaces show detail

Tablespace ID = 23
Name = REORG
Type = System managed space
Contents = System Temporary data
State = 0x0000
Detailed explanation:
Normal
Total pages = 1
Useable pages = 1
Used pages = 1
Free pages = Not applicable
High water mark (pages) = Not applicable
Page size (bytes) = 16384
Extent size (pages) = 32
Prefetch size (pages) = 32
Number of containers = 1

I have tried searching the documentation but there is nothing that
pointed me to the right direction. Can anyone suggest anything?

TIA,

Michel.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 05:22 AM
juliane26
 
Posts: n/a
Default Re: Invalid state transition while dropping a tablespace

REORG is a keyword in DB2, I would not use it as a name.

Still, check whether there are any locks on the tablespace (Lock
snapshot), it might be that there is still a connection open (list
applications) and accessing the tablespace.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:01 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com