If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 goes down each time a particular query is run

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-16-04, 10:11
dnicholson dnicholson is offline
Registered User
 
Join Date: Jan 2004
Posts: 2
DB2 goes down each time a particular query is run

I have a particular query that makes DB2 go down each time it is run. I get an SQL1224N error and I have to do a db2start each time. We are running DB2 7.2 Fix Pack 8 on Windows 2000 server. This same query works fine on my laptop (runs XP) and our staging server which is AIX. They both have the same version and fix pack of DB2, so it makes me think that either there is a problem with Windows 2000 or my database configurations are wrong on that machine. I made everything match to what I had on the AIX to no avail. I made my maxagents greater than the sum of the maxappls but that didn't help. I thought some tables might have been corrupted, so I dropped the entire database and recreated it from scratch, and still have the same problem. The db2dart utility says everything is fine. The query isn't particularly complex in comparision to other queries we have that run fine.

Anyone else ever have a problem with a certain query making DB2 go down?
Reply With Quote
  #2 (permalink)  
Old 01-16-04, 11:06
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: DB2 goes down each time a particular query is run

I hope you would have checked the db2diag.log ...

Raise a PMR with IBM

Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 01-16-04, 11:09
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Re: DB2 goes down each time a particular query is run

Quote:
Originally posted by dnicholson
I have a particular query that makes DB2 go down each time it is run. I get an SQL1224N error and I have to do a db2start each time. We are running DB2 7.2 Fix Pack 8 on Windows 2000 server. This same query works fine on my laptop (runs XP) and our staging server which is AIX. They both have the same version and fix pack of DB2, so it makes me think that either there is a problem with Windows 2000 or my database configurations are wrong on that machine. I made everything match to what I had on the AIX to no avail. I made my maxagents greater than the sum of the maxappls but that didn't help. I thought some tables might have been corrupted, so I dropped the entire database and recreated it from scratch, and still have the same problem. The db2dart utility says everything is fine. The query isn't particularly complex in comparision to other queries we have that run fine.

Anyone else ever have a problem with a certain query making DB2 go down?
From your description I would assume that the reason is specific to the machine where the probelm occurs. However, without looking at db2diag.log it's impossible to determine the real cause. It might be lack of temporary space, or some other disk-related condition, or file permission issue, or whatever.

If you post a fragment from db2diag.log (the file is typically located in \SQLLIB\DB2) someone might be able to give you a more specific advice.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On