473,386 Members | 1,741 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,386 software developers and data experts.

reorg & data corruption

GB
Hi,

Is it risky to force the application doing a reorg, can I corrupt my
data or is it a tolerated operation (db2 v7 on win2k)?

db2diag.log shows this:

2005-02-12-19.42.22.644000 Instance:DB2 Node:000
PID:1516(db2syscs.exe) TID:1840 Appid:*LOCAL.DB2.050212181622
relation_data_serv sqlrreorg_sendinfo Probe:190 Database:DEVTEST
DIA1003C The interrupt has been received.

ZRC=0xFFFF8403

I tried to stop reorgs manually several times and I always got access
immediately to the table again, is it always like this ?

Greg
P.S. I'm suddenly quite actively asking question on this newsgroup, hope
I can answer some soon also !
Nov 12 '05 #1
1 2139
This is working as designed I think.
A v7 reorg acquires a superexclusive lock on the table, copies it to
work on the copy and when done replaces old table with reorged copy.
If you interrupt a V7 reorg, you get access to the old table immediately
but have to redo the reorg from the groud up.

Because of this, I don't think you'll corrupt your data. I'd bacjkup
it's tbsp. and test it before doing this on critical data.

HTH, Pierre.

GB wrote:
Hi,

Is it risky to force the application doing a reorg, can I corrupt my
data or is it a tolerated operation (db2 v7 on win2k)?

db2diag.log shows this:

2005-02-12-19.42.22.644000 Instance:DB2 Node:000
PID:1516(db2syscs.exe) TID:1840 Appid:*LOCAL.DB2.050212181622
relation_data_serv sqlrreorg_sendinfo Probe:190 Database:DEVTEST
DIA1003C The interrupt has been received.

ZRC=0xFFFF8403

I tried to stop reorgs manually several times and I always got access
immediately to the table again, is it always like this ?

Greg
P.S. I'm suddenly quite actively asking question on this newsgroup, hope
I can answer some soon also !


--
Pierre Saint-Jacques - Reply to: sescons at attglobal dot net
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.
Nov 12 '05 #2

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

Similar topics

27
by: Raquel | last post by:
This question if for UDB on LUW. Suppose I take regular database backups of my database Monday: database backup <ts1> Tuesday: Tablespace reorged and imagecopied <ts2> Friday: database...
3
by: Jason Gyetko | last post by:
I need to delete several million records from a single table but cannot get DB2 8.1 to not create log files (I need to do this as fast as possible to minimize downtime). I figure that creating the...
1
by: hikums | last post by:
1. I did a reorgchk, and found that F2 on table and F4 on index indicates a reorg is necessary. 2. Did a reorg. 3. Again I do a reorgchk, the report is the same as in Step 1 4. I do a...
16
by: andy.standley | last post by:
Hi, we are running DB2 V8.2 (8.1.0.80) on redhat linux and I am trying to set the reorg to be online. I use the control center on the box - db2cc and then configure automatic maintenance wizard -...
13
by: Yuri | last post by:
We have an update sql that was running OK for several months completing in under 2 minutes . Yesterday something changed and we had to kill this update after it ran more than 6 hours. Update input...
9
by: mike_dba | last post by:
I am using DMS raw. I have a tablespace which is defined with 5 containers each allocated at 1.5 GB for a total of about 7.5 GB. I did a major deletion followed by a reorg and a runstats. I am...
0
by: bwmiller16 | last post by:
Hi All - OSName: AIX NodeName: dr_aixdb01 Version: 5 Release: 3 dr_aixdb01$db2level DB21085I Instance "db2inst1" uses "64" bits and DB2 code release "SQL08027"
3
by: jane | last post by:
Hi, Just wondering, is there any way to do the online reorg to use temporary tablespace instead of tablespace table existed. since that is really a waste to have some space allocated aside...
0
by: tg | last post by:
I have been using the online reorg for over 2 years without any problems. I have just encountered a log full condition after having started the online reorg on the same table that I have been...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
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...

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.