473,395 Members | 1,658 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

tablespace queisced after load fail in partioned db

Hi.

I'm on DB2 9.5.0.1 on Linux AMD 64 and the database has four
partitions
where catalog is on partion 0 and user data on 1 thru 3.

After a load failure (path to load file was wrong) I cannot access the
tables, even though the loads have been rerun with success.

set integrity for ..table..
results in SQL0290N Table space access is not allowed.
SQLSTATE=55039

Load query table says
Tablestate:
Set Integrity Pending

db2tbst 18 says
State = Load Pending

db2tbst 19
State = Quiesced Share
+ Load Pending

quiesce tablespaces for table ..HIST reset
says:
SQL3805N The state of the application or of one or more table spaces
for the
table specified prohibits the loadapi action or quiescemode "9".
Reason code =
"1".

I don't know how to get out of this state.
Any ideas?
/dg
Aug 21 '08 #1
5 6030
On Aug 21, 4:37 pm, danfa...@hotmail.com wrote:
Hi.

I'm on DB2 9.5.0.1 on Linux AMD 64 and the database has four
partitions
where catalog is on partion 0 and user data on 1 thru 3.

After a load failure (path to load file was wrong) I cannot access the
tables, even though the loads have been rerun with success.

set integrity for ..table..
results in SQL0290N Table space access is not allowed.
SQLSTATE=55039

Load query table says
Tablestate:
Set Integrity Pending

db2tbst 18 says
State = Load Pending

db2tbst 19
State = Quiesced Share
+ Load Pending

quiesce tablespaces for table ..HIST reset
says:
SQL3805N The state of the application or of one or more table spaces
for the
table specified prohibits the loadapi action or quiescemode "9".
Reason code =
"1".

I don't know how to get out of this state.
Any ideas?
/dg

u need to take backup of your tablespace to get out of this state.
make sure to give "nonrecoverable or copy yes" option while
performing Load operation.
Regards,
Situ.

Aug 21 '08 #2
On Aug 21, 4:40 pm, situ <SRIDHAR...@rediffmail.comwrote:
On Aug 21, 4:37 pm, danfa...@hotmail.com wrote:
Hi.
I'm on DB2 9.5.0.1 on Linux AMD 64 and the database has four
partitions
where catalog is on partion 0 and user data on 1 thru 3.
After a load failure (path to load file was wrong) I cannot access the
tables, even though the loads have been rerun with success.
set integrity for ..table..
results in SQL0290N Table space access is not allowed.
SQLSTATE=55039
Load query table says
Tablestate:
Set Integrity Pending
db2tbst 18 says
State = Load Pending
db2tbst 19
State = Quiesced Share
+ Load Pending
quiesce tablespaces for table ..HIST reset
says:
SQL3805N The state of the application or of one or more table spaces
for the
table specified prohibits the loadapi action or quiescemode "9".
Reason code =
"1".
I don't know how to get out of this state.
Any ideas?
/dg

u need to take backup of your tablespace to get out of this state.
make sure to give "nonrecoverable or copy yes" option while
performing Load operation.

Regards,
Situ.
Hey sorry my mistake, since its load pending state just invoke Load
terminate or Load replace command

Regards,
Situ
Aug 21 '08 #3
On Aug 21, 1:44*pm, situ <SRIDHAR...@rediffmail.comwrote:
On Aug 21, 4:40 pm, situ <SRIDHAR...@rediffmail.comwrote:


On Aug 21, 4:37 pm, danfa...@hotmail.com wrote:
Hi.
I'm on *DB2 9.5.0.1 *on Linux AMD 64 and the database has four
partitions
where catalog is on partion 0 and *user data on 1 thru 3.
After a load failure (path to load file was wrong) I cannot access the
tables, even though the loads have been rerun with success.
set integrity for ..table..
results in SQL0290N *Table space access is not allowed.
SQLSTATE=55039
Load query table says
Tablestate:
* Set Integrity Pending
db2tbst 18 *says
State = Load Pending
db2tbst 19
State = Quiesced Share
* * * + Load Pending
quiesce tablespaces for table ..HIST reset
says:
SQL3805N *The state of the application or of one or more table spaces
for the
table specified prohibits the loadapi action or quiescemode "9".
Reason code =
"1".
I don't know how to get out of this state.
Any ideas?
/dg
u need to take backup of *your tablespace to get out of this state.
make sure to give "nonrecoverable or copy yes" *option while
performing Load operation.
Regards,
Situ.

Hey sorry my mistake, since its load pending state just invoke *Load
terminate or Load replace command

Regards,
Situ- Hide quoted text -

- Show quoted text -
Hi.

I did run load .. replace , but the tablespaces still show load
pending.

I'll try to run a tablespace backup.
/dg
Aug 21 '08 #4
On Aug 21, 7:59*am, danfa...@hotmail.com wrote:
On Aug 21, 1:44*pm, situ <SRIDHAR...@rediffmail.comwrote:


On Aug 21, 4:40 pm, situ <SRIDHAR...@rediffmail.comwrote:
On Aug 21, 4:37 pm, danfa...@hotmail.com wrote:
Hi.
I'm on *DB2 9.5.0.1 *on Linux AMD 64 and the database has four
partitions
where catalog is on partion 0 and *user data on 1 thru 3.
After a load failure (path to load file was wrong) I cannot access the
tables, even though the loads have been rerun with success.
set integrity for ..table..
results in SQL0290N *Table space access is not allowed.
SQLSTATE=55039
Load query table says
Tablestate:
* Set Integrity Pending
db2tbst 18 *says
State = Load Pending
db2tbst 19
State = Quiesced Share
* * * + Load Pending
quiesce tablespaces for table ..HIST reset
says:
SQL3805N *The state of the application or of one or more table spaces
for the
table specified prohibits the loadapi action or quiescemode "9".
Reason code =
"1".
I don't know how to get out of this state.
Any ideas?
/dg
u need to take backup of *your tablespace to get out of this state.
make sure to give "nonrecoverable or copy yes" *option while
performing Load operation.
Regards,
Situ.
Hey sorry my mistake, since its load pending state just invoke *Load
terminate or Load replace command
Regards,
Situ- Hide quoted text -
- Show quoted text -

Hi.

I did run load *.. replace , but the tablespaces still show load
pending.

I'll try to run a tablespace backup.
/dg- Hide quoted text -

- Show quoted text -
I doubt the tbspce backup will succeed as the state is load pending
which is not normal state (required for backup).
As someone previously suggested, you need to cancel that load with a
LOAD TERMINATE command.
The result will be:
Tablespace is normal state. The table will also come out normal. If
the initial load was an INSERT then the table will come out as it was
before the load insert command. If the initial was a REPLACE then the
table will come out normal but empty.

You can then correct whatever caused the table load command to not
finish properly and reissue a load insert command.
Regards, Pierre.
Aug 22 '08 #5
Hi!

I had re-run the load successfully, so there was no Load to cancel or restart.
A tablespace backup cleared the problem.

:-)

/dg
Aug 24 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Paul | last post by:
I have several databases running on Solaris 2.8 and Oracle 8.1.7.4. I only have this problem with one of them. The temp tablespace always fills up and Oracle does not clear it out. If I expand...
2
by: Pablo | last post by:
I have observed a significant discrepancy between the amount of space used in a long tablespace when using import as compared to load. Can anyone explain the following? In an attempt to move...
3
by: sandip | last post by:
Hi, i need to change the tablespace of a table, ie. use another tablespace for the table and stop the use of the existing tablespace. Is there any way i can accomplish this? One solution might...
6
by: Raj | last post by:
How can we do an online restore of a tablespace using the incremental backup's? we are on a partitioned database... Also, how could we use backup copy made by the load (using the copy to option...
4
by: Joachim Klassen | last post by:
DB2 V8.2 FP10 on Windows I tested the following HADR scenario: - a new tablespace on a new filesytem is created on the primary System - the replay on standby fails because of lacking permissions...
10
by: Sumanth | last post by:
Hi, I have a table that I would like to partition. It has a column c1 which has 100 distinct values. I was planning to partition the table on column c1 using a partioned index, and then apply...
3
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...
2
by: db2dude | last post by:
Hello all, I have a database around 600GB and all tables were self-created by the application. Hence, we have only one huge SMS tablespace where all the tables are stored. To get better...
4
by: Patrick | last post by:
I have a tablespace that contains the LOB data for 3 tables which exist in other tablespaces. Even after reorging the LOB tablespace with the LONG option, the high water mark is still too high. I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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...

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.