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

strange "Log Full"

Last monday, I tried to create a working table, and failed because of 'Log
Full'. There were two applications running at that time - one is autoload
(during the split phase), another one is "insert into a (NLI) ... SELECT ...
FROM ...".
I checked the db2diag.log (level=4) and notification file. It was
interesting that there was no any information about log full.
I had to kill the autoload process.
I haven'g got time to see if I can reproduce it on the testing machine. Have
some one met the same scenario? Are you lucky that you have some idea about
this?
TIA
Nov 12 '05 #1
6 3016
Wonder if your insert stmt could have been a long-running insert where
it hadn't committed yet ... but was in the process of filling up the
log. Perhaps it never got to the point where it put any msgs out because
it never committed?

Larry Edelstein

Fan Ruo Xin wrote:
Last monday, I tried to create a working table, and failed because of 'Log
Full'. There were two applications running at that time - one is autoload
(during the split phase), another one is "insert into a (NLI) ... SELECT ...
FROM ...".
I checked the db2diag.log (level=4) and notification file. It was
interesting that there was no any information about log full.
I had to kill the autoload process.
I haven'g got time to see if I can reproduce it on the testing machine. Have
some one met the same scenario? Are you lucky that you have some idea about
this?
TIA


Nov 12 '05 #2
Thanks, Larry.
My insert stmt should not cause the problem. Because I activated the Not
Logged Initially.

"Larry" <La***@nospam.net> wrote in message
news:cD********************@news4.srv.hcvlny.cv.ne t...
Wonder if your insert stmt could have been a long-running insert where
it hadn't committed yet ... but was in the process of filling up the
log. Perhaps it never got to the point where it put any msgs out because
it never committed?

Larry Edelstein

Fan Ruo Xin wrote:
Last monday, I tried to create a working table, and failed because of 'Log Full'. There were two applications running at that time - one is autoload (during the split phase), another one is "insert into a (NLI) ... SELECT .... FROM ...".
I checked the db2diag.log (level=4) and notification file. It was
interesting that there was no any information about log full.
I had to kill the autoload process.
I haven'g got time to see if I can reproduce it on the testing machine. Have some one met the same scenario? Are you lucky that you have some idea about this?
TIA

Nov 12 '05 #3
I agree with Larry. NOT LOGGED INITIALLY only refers to INSERTs in the same
unit of work as the CREATE that specifies the no logging.

"Fan Ruo Xin" <fa*****@sbcglobal.net> wrote in message
news:LI***************@newssvr32.news.prodigy.com. ..
Thanks, Larry.
My insert stmt should not cause the problem. Because I activated the Not
Logged Initially.

"Larry" <La***@nospam.net> wrote in message
news:cD********************@news4.srv.hcvlny.cv.ne t...
Wonder if your insert stmt could have been a long-running insert where
it hadn't committed yet ... but was in the process of filling up the
log. Perhaps it never got to the point where it put any msgs out because
it never committed?

Larry Edelstein

Fan Ruo Xin wrote:
Last monday, I tried to create a working table, and failed because of 'Log Full'. There were two applications running at that time - one is autoload (during the split phase), another one is "insert into a (NLI) ...
SELECT
... FROM ...".
I checked the db2diag.log (level=4) and notification file. It was
interesting that there was no any information about log full.
I had to kill the autoload process.
I haven'g got time to see if I can reproduce it on the testing
machine.
Have some one met the same scenario? Are you lucky that you have some idea about this?
TIA


Nov 12 '05 #4
Fan Ruo Xin wrote:
My insert stmt should not cause the problem. Because I activated the Not
Logged Initially.


Do you have auto-commit turned off?
Did you run an ALTER TABLE ... ACTIVATE NOT LOGGED INITIALLY in the same
transaction/unit-of-work in which the INSERT is run? If not, then you
don't have NLI for the insert.

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #5
Thanks Mark & Knut.
Yes I am 100% sure that they are in the same transaction. I thought I got
wrong db2 sql error message. If my log full, the information should be
recorded in db2 diaglog.

"Knut Stolze" <st****@de.ibm.com> wrote in message
news:cc**********@fsuj29.rz.uni-jena.de...
Fan Ruo Xin wrote:
My insert stmt should not cause the problem. Because I activated the Not
Logged Initially.


Do you have auto-commit turned off?
Did you run an ALTER TABLE ... ACTIVATE NOT LOGGED INITIALLY in the same
transaction/unit-of-work in which the INSERT is run? If not, then you
don't have NLI for the insert.

--
Knut Stolze
Information Integration
IBM Germany / University of Jena

Nov 12 '05 #6
Fan Ruo Xin wrote:
Thanks Mark & Knut.
Yes I am 100% sure that they are in the same transaction. I thought I got
wrong db2 sql error message. If my log full, the information should be
recorded in db2 diaglog.


I would think that you should have gotten an error message in the
db2diag.log.

Oh, are you logging onto the same file system on which the db2diag.log is
also written? Maybe you ran into a disk-full situation and DB2 couldn't
even write the db2diag.log any more?

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #7

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

Similar topics

0
by: Jonathan Trevor | last post by:
Hi, Spent nearly 8 hours googling and trying code on this yesterday without much success. I'd like to write a .NET application (using .NET primitives, older Win32 calls, or WMI etc) to work out...
10
by: Jay Chan | last post by:
I keep getting the following error message when I run a serie of SQL commands: Server: Msg 9002, Level 17, State 6, Line 15 The log file for database 'tempdb' is full. Back up the transaction...
0
by: Klemens | last post by:
what do entry's like this in db2diag.log indicate? ------------------------------------------- 2004-01-14-09.07.52.650000 Instance:WWS Node:000 PID:3512(db2syscs.exe) TID:1116 ...
3
by: Phil Sherman | last post by:
What is the relationship between the snapshot elements: Log pages written Number write log IOs Number partial page log IOs There doesn't appear to be any information in my PDF System monitor...
0
by: Rob | last post by:
I need to allow a user with the default "Full Data User" permissions on the front-end database to relink to a table in a backend to which he has the same permissions. (I'd like to do read, update,...
0
by: william | last post by:
Hi All, I'm using Microsoft logging library to log errors in my vb.net applications(web service). I put "Microsoft.Practices.EnterpriseLibrary.Logging.dll" into web.config file for codebase,...
1
by: jan.marien | last post by:
we have a table with jobs and a table with job_history information. Users can define jobs and let them run every X minutes/hours , like a cronjob. The jobs table has the following trigger:...
0
by: yousefomar | last post by:
Hi Pros, I have a weird problem here. I am logging from my .NET app to a custom log, but unfortunately, the events are redirected to the Application log. I am sure that I am specifying the log...
2
by: TC | last post by:
I installed an ASP.NET application on my web server, but it doesn't work. When I browse to a page, I get an error message. The message doesn't say much, but it does tell me: An error message...
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: 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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.