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 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
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
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
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
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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 ...
|
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...
|
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,...
|
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,...
|
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:...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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$) {
}
...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
| |