473,583 Members | 3,420 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DB2 tablespace (USERSPACE1) from Drop Pending to Normal stats?

1 New Member
Can I know how I could change the DB2 tablespace (USERSPACE1) from Drop Pending to Normal stats? And now i have only a single back up file with me. I have run the restore database few time but the status is still same.


D:\IBM\SQLLIB\B IN>db2 list tablespaces

Tablespaces for Current Database

Tablespace ID = 0
Name = SYSCATSPACE
Type = Database managed space
Contents = All permanent data. Regular table space.

State = 0x0000
Detailed explanation:
Normal

Tablespace ID = 1
Name = TEMPSPACE1
Type = System managed space
Contents = System Temporary data
State = 0x0000
Detailed explanation:
Normal

Tablespace ID = 2
Name = USERSPACE1
Type = Database managed space
Contents = All permanent data. Large table space.
State = 0xc000
Detailed explanation:
Offline
Drop Pending

Tablespace ID = 3
Name = ITMREG8K
Type = System managed space
Contents = All permanent data. Regular table space.

State = 0x0000
Detailed explanation:
Normal

Tablespace ID = 4
Name = ITMSYS8K
Type = System managed space
Contents = System Temporary data
State = 0x0000
Detailed explanation:
Normal

Tablespace ID = 5
Name = ITMUSER8K
Type = System managed space
Contents = User Temporary data
State = 0x0000
Detailed explanation:
Normal

Tablespace ID = 6
Name = SYSTOOLSPACE
Type = Database managed space
Contents = All permanent data. Large table space.
State = 0x0000
Detailed explanation:
Normal

Tablespace ID = 7
Name = SYSTOOLSTMPSPAC E
Type = System managed space
Contents = User Temporary data
State = 0x0000
Detailed explanation:
Normal
Dec 23 '11 #1
1 6844
chendan
2 New Member
If a tablespace is placed in drop pending state, you can't changed it back to normal state without help from support. Then only thing you can do is to drop and recreate it. One thing you might want to figure out is why it was in drop pending state. One common case is: the database/tablespace is non-recoverable, and you some how damaged it.
Jan 26 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
5012
by: xixi | last post by:
There is one thing I don't understand, I have default tablespace userspace1 is database managed type, with total freepages 506048. another one called tmpxx is DMS type too, with 525120 free pages. When I create a new table (did not specify on which tablespace), why the table not created on the userspace1 but instead on tmpxx? what is the rule...
1
10695
by: John Gritmon | last post by:
I am executing the following command: db2look -d database -e -l -o database.out and when the create tablespace ddl is generated I get the following which is missing all of the container information. CREATE REGULAR TABLESPACE USERSPACE1 IN NODEGROUP DATA_NODE_9 PAGESIZE 4096 MANAGED BY SYSTEM EXTENTSIZE 16
8
12733
by: Amy DBA | last post by:
OK, I'm stumped now. I need help restoring a tablespace that has been marked offline. Here's a little background on the problem: 1) There was a hardware failure that caused the tablespace to become marked offline: State = 0x4000; Detailed explanation: Offline 2) I tried switching it back online and got this error: DB21034E The...
6
3682
by: hikums | last post by:
How to accomplish a tablespace move from 32K to 4K page size on AIX 5.2, DB2 UDB 8.2? Enable forward recovery, take 32K tablespace backup, drop 32K tablespace, create 4K tablespace, restore to 4K tablespace from the backup, reset back to circular logging. Would this work?
4
7837
by: Buck Turgidson | last post by:
In my haste, I added a datafile to a tablespace, but I got it in the wrong directory. Can I move a datafile of a tablespace?
3
3199
by: hikums | last post by:
Source/Production system: AIX 5.2, DB2 8.2 I have a full backup of sample db taken on 05/01/2006(logs included in backups) I have a tablespace backup of userspace1 taken on 05/03/2006(logs included in backups) There are other tablespaces in this db as well There is retention logging I want to restore the userspace1 tablespace of...
6
6337
by: Frank Fiene | last post by:
How does this work? I have one database SBO_DB (SAP BusinessOne) I want to copy tablespace TS_SEW_ACCESS_DEMO to TS_TEST2. The directory of the database is: F:\DB2\NODE0000\SQL00002 Please help! Frank
7
26041
by: satish mullapudi | last post by:
Hi All, I am using Db2 UDB v 8.2 on RHEL . I have performed a load operation on a table. Now that tablespace has been switched into RESTORE PENDING state. Now I can only read the data in the table. I can't modify the data in the table as it is giving me an error saying "Tablespace Access denied". How can I bring the tablespace out of RESTORE...
1
7394
by: bujjus173 | last post by:
Hi, I need to drop a tablespace, I am unable to drop because it says the containers it uses is inaccessible, because a process deleted the container. the tablespace went into pending state. I just want to drop the table in it and the tablespace. i dont need that. but i need the name of the table it is using. i creted another table in another...
3
2331
by: db2admin | last post by:
Hi, is it possible to have certain user create all table and objects in specific tablespace? i mean , when they create table without specifying any tablespace, their tables should go into say ABC tablespace instead USERSPACE1. is it possible to attached schemas to tablespaces ?
0
7894
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7824
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8176
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8321
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7931
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5370
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3816
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3841
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2331
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.