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

strange problem while reorganizing the table, cannot do anything

Hi,

We were trying to run the following set of commands

Alter table----successfull
reorg table---successfull
Alter table---successfull
Reorg table----------took lots of time....without specifying any error

THis table was a fairly small table(51000 rows) and its previous
reorgs had hardly taken any time...
This time it took more than an hour and still continued...

We tried to kill that session that was doing the reorg...
The session could not be killed...
It said...that force application command was succesfull but showed
that session was still there...
We tried it many times, but the same problem persisted...

We tried Quiesce the database command......it also continued for
long...without any success....

Now we have tried to forcefully stop the database instance......but
even that itself is taking time...

What could be the possible reasons...and more importantly....the
remedies...for it...

If we restart the AIX box, can it screw up the whole Database?

It's very urgent...
Rahul
Nov 15 '07 #1
3 1509
On Nov 15, 5:51 pm, Rahul Babbar <rahul.babb...@gmail.comwrote:
Hi,

We were trying to run the following set of commands

Alter table----successfull
reorg table---successfull
Alter table---successfull
Reorg table----------took lots of time....without specifying any error

THis table was a fairly small table(51000 rows) and its previous
reorgs had hardly taken any time...
This time it took more than an hour and still continued...

We tried to kill that session that was doing the reorg...
The session could not be killed...
It said...that force application command was succesfull but showed
that session was still there...
We tried it many times, but the same problem persisted...

We tried Quiesce the database command......it also continued for
long...without any success....

Now we have tried to forcefully stop the database instance......but
even that itself is taking time...

What could be the possible reasons...and more importantly....the
remedies...for it...

If we restart the AIX box, can it screw up the whole Database?

It's very urgent...

Rahul
Hi,

The above problem was resolved by killing the db2 processes using
'kill'.
Thankfully, everything is fine..

Although the source of the problem is still a mystery..

Thanks

Rahul
Nov 15 '07 #2
Alter table----successfull
reorg table---successfull
Alter table---successfull
Reorg table----------took lots of time....without specifying any error
What sort of ALTER was the second one?

Nov 15 '07 #3
On Nov 15, 8:18 pm, deangc <dean.cochr...@gmail.comwrote:
Alter table----successfull
reorg table---successfull
Alter table---successfull
Reorg table----------took lots of time....without specifying any error

What sort of ALTER was the second one?
All the alters were to make the not nullable column to make it a
nullable column.
Nov 15 '07 #4

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

Similar topics

4
by: Google Mike | last post by:
I have RH9 and am using the PHP and MySQL that came with it. I was doing fine with all manner of my web pages for this app until I started having this very strange problem. It's a work order...
61
by: Toby Austin | last post by:
I'm trying to replace <table>s with <div>s as much as possible. However, I can't figure out how to do the following… <table> <tr> <td valign="top" width="100%">some data that will...
0
by: Steve Barker | last post by:
Hi guys, I've written an application in C# that connects to a Paradox table via ODBC. My code has always worked fine, but now I've moved my application to another machine, it's stopped working!...
4
by: Gav | last post by:
Hi all, I'm getting an exception that says a column does not exist in a table when it clearly does. I'm using DataGridTextBoxColumns in DataGridTableStyle and setting the correct MappingName,...
6
by: Edd Dawson | last post by:
Hi. I have a strange problem involving the passing of command line arguments to a C program I'm writing. I tried posting this in comp.programming yesterday but someone kindly suggested that I'd...
0
by: L Scott | last post by:
Have developed a c# / asp.net web app. Works locally. But over the internet when I access the site, it eventually returns a 'The page cannot be displayed' page. Not always on the same page. Can...
4
by: Gregor KovaĨ | last post by:
Hi! When I'm using IMPORT with INSERT_UPDATE I sometimes get SQL0100W No row was found for FETCH, UPDATE or DELETE; or the result of a query is an empty table. I'm not sure why this happens....
5
by: paulo | last post by:
Can anyone please tell me how the C language interprets the following code: #include <stdio.h> int main(void) { int a = 1; int b = 10; int x = 3;
1
by: pitjpz | last post by:
We have moved our Database to another server. The server it was on used SQL 4 and the new one its on now uses SQL5 the only problem we can find is that when you attempt to delete a record from...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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.