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

DB2 7.2 Fixpack 8 crashed

Hi,
My database kept on crashing and recovering today and I have no
idea what caused it. However, I am able to narrow down a SQL that
causes the database to crash everytime it is ran. There are other
SQLs that is causing that problem too but I do not have the backend
code to know the details. Below are the db2diag.log output and a
sample of the SQL used. Any help would be much appreciated. Thanks.

db2diag.log
--------------------------------------------------------------------
2004-06-02-21.32.55.796000 Instance:DB2 Node:000
PID:2996(db2syscs.exe) TID:2980 Appid:41012220.1505.040531022053
base_sys_utilities sqledint Probe:0 Database:ICMS

Crash Recovery is needed.

2004-06-02-21.32.56.780000 Instance:DB2 Node:000
PID:2996(db2syscs.exe) TID:2980 Appid:41012220.1505.040531022053
recovery_manager sqlpresr Probe:1 Database:ICMS
DIA3908W Crash recovery has been initiated. Lowtran LSN is
"004664D3E00C",
Minbuff LSN is "004664D3E00C".

2004-06-02-21.32.56.796000 Instance:DB2 Node:000
PID:2996(db2syscs.exe) TID:2980 Appid:41012220.1505.040531022053
recovery_manager sqlprecm Probe:125 Database:ICMS

Using parallel recovery with 5 agents 4 QSets 28 queues and 4 chunks
2004-06-02-21.32.56.952000 Instance:DB2 Node:000
PID:2996(db2syscs.exe) TID:2980 Appid:41012220.1505.040531022053
recovery_manager sqlprecm Probe:400 Database:ICMS
DIA3916W Forward phase of crash recovery has completed. Next LSN is
"004664D4006D".

2004-06-02-21.32.56.968000 Instance:DB2 Node:000
PID:2996(db2syscs.exe) TID:2980 Appid:41012220.1505.040531022053
recovery_manager sqlpresr Probe:170 Database:ICMS
DIA3909W Crash recovery completed. Next LSN is "004664D4006D".

SQL
-------------------------------------------------------------
SELECT
TLESINST."EXTTRNID", TLESINST."INTERNAL",
TLESSCH."STARTTIME", TLESSCH."ENDTIME",
TEXTTRN."TRNNAME",
TTRNROLE."ROLEDESC",
HEMPLP."EMSTAFID", HEMPLP."EMFSTNM",
TCLSSCH."CLSCODE", TCLSSCH."STARTDATE", TCLSSCH."ENDDATE",
TCOURSE."DESCRIPTION",
TCOUTOPC."DESCRIPTION",
CREWCAT."LONGDESC",
FLEET."DESCRIP"
FROM
"DB2ADMIN"."TLESINST" TLESINST
left outer join "DB2ADMIN"."TLESSCH" TLESSCH on TLESINST."LESSONID" =
TLESSCH."LESSONID"
left outer join "DB2ADMIN"."TTRNROLE" TTRNROLE on TLESINST."ROLEID" =
TTRNROLE."ID"
left outer join "DB2ADMIN"."TEXTTRN" TEXTTRN on TLESINST."EXTTRNID" =
TEXTTRN."TRNID"
left outer join "DB2ADMIN"."HEMPLP" HEMPLP on TLESINST."TRAINERID" =
HEMPLP."EMCRID"
inner join "DB2ADMIN"."HEPOSITN" HEPOSITN on HEMPLP."EMCRID" =
HEPOSITN."PNCRID"
inner join "DB2ADMIN"."TCLSSCH" TCLSSCH on TLESSCH."CLASSID" =
TCLSSCH."CLASSID"
inner join "DB2ADMIN"."TCOUTOPC" TCOUTOPC on TLESSCH."TOPICID" =
TCOUTOPC."TOPICID"
inner join "DB2ADMIN"."TCOURSE" TCOURSE on TLESSCH."COURSEID" =
TCOURSE."COURSEID"
inner join "DB2ADMIN"."CREWCAT" CREWCAT on HEPOSITN."PNCRWCAT" =
CREWCAT."CATID"
inner join "DB2ADMIN"."FLEET" FLEET on HEPOSITN."PNFLTYPE" =
FLEET."FLTID"
WHERE
TCOURSE."DESCRIPTION" = 'A330 BASE CHECK ALL'

ORDER BY
TCOURSE."DESCRIPTION" ASC, TCLSSCH."CLSCODE" ASC FOR READ ONLY
Nov 12 '05 #1
1 2929
Hi there,

It's the extract from the db2diag.log before the crash that is interesting.
You might check the temporary tablespace is not getting full ... if so, the
instance will crash in FP8. In that case, you need to apply another fixpack
(FP12).

Hth,

Jean-Marc

"Then" <ch*******@yahoo.com> a écrit dans le message de
news:4f**************************@posting.google.c om...
Hi,
My database kept on crashing and recovering today and I have no
idea what caused it. However, I am able to narrow down a SQL that
causes the database to crash everytime it is ran. There are other
SQLs that is causing that problem too but I do not have the backend
code to know the details. Below are the db2diag.log output and a
sample of the SQL used. Any help would be much appreciated. Thanks.

db2diag.log
--------------------------------------------------------------------
2004-06-02-21.32.55.796000 Instance:DB2 Node:000
PID:2996(db2syscs.exe) TID:2980 Appid:41012220.1505.040531022053
base_sys_utilities sqledint Probe:0 Database:ICMS

Crash Recovery is needed.

2004-06-02-21.32.56.780000 Instance:DB2 Node:000
PID:2996(db2syscs.exe) TID:2980 Appid:41012220.1505.040531022053
recovery_manager sqlpresr Probe:1 Database:ICMS
DIA3908W Crash recovery has been initiated. Lowtran LSN is
"004664D3E00C",
Minbuff LSN is "004664D3E00C".

2004-06-02-21.32.56.796000 Instance:DB2 Node:000
PID:2996(db2syscs.exe) TID:2980 Appid:41012220.1505.040531022053
recovery_manager sqlprecm Probe:125 Database:ICMS

Using parallel recovery with 5 agents 4 QSets 28 queues and 4 chunks
2004-06-02-21.32.56.952000 Instance:DB2 Node:000
PID:2996(db2syscs.exe) TID:2980 Appid:41012220.1505.040531022053
recovery_manager sqlprecm Probe:400 Database:ICMS
DIA3916W Forward phase of crash recovery has completed. Next LSN is
"004664D4006D".

2004-06-02-21.32.56.968000 Instance:DB2 Node:000
PID:2996(db2syscs.exe) TID:2980 Appid:41012220.1505.040531022053
recovery_manager sqlpresr Probe:170 Database:ICMS
DIA3909W Crash recovery completed. Next LSN is "004664D4006D".

SQL
-------------------------------------------------------------
SELECT
TLESINST."EXTTRNID", TLESINST."INTERNAL",
TLESSCH."STARTTIME", TLESSCH."ENDTIME",
TEXTTRN."TRNNAME",
TTRNROLE."ROLEDESC",
HEMPLP."EMSTAFID", HEMPLP."EMFSTNM",
TCLSSCH."CLSCODE", TCLSSCH."STARTDATE", TCLSSCH."ENDDATE",
TCOURSE."DESCRIPTION",
TCOUTOPC."DESCRIPTION",
CREWCAT."LONGDESC",
FLEET."DESCRIP"
FROM
"DB2ADMIN"."TLESINST" TLESINST
left outer join "DB2ADMIN"."TLESSCH" TLESSCH on TLESINST."LESSONID" =
TLESSCH."LESSONID"
left outer join "DB2ADMIN"."TTRNROLE" TTRNROLE on TLESINST."ROLEID" =
TTRNROLE."ID"
left outer join "DB2ADMIN"."TEXTTRN" TEXTTRN on TLESINST."EXTTRNID" =
TEXTTRN."TRNID"
left outer join "DB2ADMIN"."HEMPLP" HEMPLP on TLESINST."TRAINERID" =
HEMPLP."EMCRID"
inner join "DB2ADMIN"."HEPOSITN" HEPOSITN on HEMPLP."EMCRID" =
HEPOSITN."PNCRID"
inner join "DB2ADMIN"."TCLSSCH" TCLSSCH on TLESSCH."CLASSID" =
TCLSSCH."CLASSID"
inner join "DB2ADMIN"."TCOUTOPC" TCOUTOPC on TLESSCH."TOPICID" =
TCOUTOPC."TOPICID"
inner join "DB2ADMIN"."TCOURSE" TCOURSE on TLESSCH."COURSEID" =
TCOURSE."COURSEID"
inner join "DB2ADMIN"."CREWCAT" CREWCAT on HEPOSITN."PNCRWCAT" =
CREWCAT."CATID"
inner join "DB2ADMIN"."FLEET" FLEET on HEPOSITN."PNFLTYPE" =
FLEET."FLTID"
WHERE
TCOURSE."DESCRIPTION" = 'A330 BASE CHECK ALL'

ORDER BY
TCOURSE."DESCRIPTION" ASC, TCLSSCH."CLSCODE" ASC FOR READ ONLY

Nov 12 '05 #2

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

Similar topics

0
by: alederer | last post by:
Hallo! I have the following situation: DB2 V6.1 OS/390 and DB2 V6.1 auf AIX 4.3.3 running the database servers. A windows NT machine with db2 V7.1.040 FP3 (WR21254) client. Now I have a JDBC...
6
by: cat | last post by:
Hi Folks, We are going to start a grand new project, which is DB2v7 FP10a sitting on AIX4.3.3 on M80 server. Here is my question, 1) According to Fixpack installation guide, I have to install...
1
by: John Wheeler | last post by:
Hi, We upgraded the Windows ADC V8.1 to fixpack 5 on some Windows 2000 (Dutch Version) professional machines and something strange happened. When we select decimal columns in our queries the...
4
by: pshindle | last post by:
DB2 Team - I just downloaded and unzipped the new Fixpack 9 for DB2 ESE V8 for Windows (FP9_WR21350_ESE.exe). I then burned the unzipped Fixpack files to a CD. I proceded to install this...
4
by: Mark A | last post by:
Trying to upgrade alternate FP9 to alternate FP9a on Red Hat Linux. After running the following command: ../installAltFixPak -y it says it was successful, but no new directory is created in...
2
by: Odd Bjørn Andersen | last post by:
Is there an issue with fixpack 1 on DB2 9 ESE (on Windows) and First Steps? After I applied fixpack 1 I am not able to start First Steps, but get the error message 'DBI1435E Error Opening DB2 First...
5
by: jbenner | last post by:
I have opened a PMR for this with IBM, and am not asking for advice from the DB2 DBA community. I am posting this as an FYI that DB2 Health Monitor, even at the latest version of DB2, still can cause...
0
by: shiva359 | last post by:
Hi Looking for a quick safest way of rollback plan for fixpack (version 8 fixpack 14 ) upgraded Instance on windows from verison 8 ( no fixpack ) level . one approach is...
6
by: Mark A | last post by:
In version 8.2 ESE we used alternate fixpacks to allow multiple fixpack levels for different instances, and to allow an instance to be deprecated back to the previous fixpack (with certain...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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:
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: 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...

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.