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

sql error 964: transaction log is full

hello, we are using db2 udb v8.1 on windows 64 bit, i am trying to
understand the error message , what does the full meaning? i know we
can increase the logfilsiz , logprimary, logseconday to help, but i
need to understand what is the right number to change. currently we
have three primary log file, each one has file size 16392k, so when
the database created, i see this three files be there, under directory
\DB2\NODE0000\SQL00002\SQLOGDIR, so does full means all three files
has data in it ? our application is auto commit type, so suppose any
update, delete, or write should commit right away, so commit is taking
as often as possible, also since our write use prepare statement, so i
can't evaulate how much data is writing each time, but i don't think
it will over the limit of 3 x 16392 k, does this log fil is for each
write? will the log file get cleaned up? thanks for your quick reply
Nov 12 '05 #1
4 13160
"xixi" <da****@yahoo.com> wrote in message
news:c0**************************@posting.google.c om...
hello, we are using db2 udb v8.1 on windows 64 bit, i am trying to
understand the error message , what does the full meaning? i know we
can increase the logfilsiz , logprimary, logseconday to help, but i
need to understand what is the right number to change. currently we
have three primary log file, each one has file size 16392k, so when
the database created, i see this three files be there, under directory
\DB2\NODE0000\SQL00002\SQLOGDIR, so does full means all three files
has data in it ? our application is auto commit type, so suppose any
update, delete, or write should commit right away, so commit is taking
as often as possible, also since our write use prepare statement, so i
can't evaulate how much data is writing each time, but i don't think
it will over the limit of 3 x 16392 k, does this log fil is for each
write? will the log file get cleaned up? thanks for your quick reply


If you have circular logging (logretain = no, and no logexit program
defined) then the logs can be reused in a circular fashion when all
applications have committed their work.

If you have an update or delete statement that affects multiple rows, the
autocommit does not take effect until the SQL statement has updated or
deleted all rows.
Nov 12 '05 #2
"xixi" <da****@yahoo.com> wrote in message
news:c0**************************@posting.google.c om...
hello, we are using db2 udb v8.1 on windows 64 bit, i am trying to
understand the error message , what does the full meaning? i know we
can increase the logfilsiz , logprimary, logseconday to help, but i
need to understand what is the right number to change. currently we
have three primary log file, each one has file size 16392k, so when
the database created, i see this three files be there, under directory
\DB2\NODE0000\SQL00002\SQLOGDIR, so does full means all three files
has data in it ? our application is auto commit type, so suppose any
update, delete, or write should commit right away, so commit is taking
as often as possible, also since our write use prepare statement, so i
can't evaulate how much data is writing each time, but i don't think
it will over the limit of 3 x 16392 k, does this log fil is for each
write? will the log file get cleaned up? thanks for your quick reply


If you have circular logging (logretain = no, and no logexit program
defined) then the logs can be reused in a circular fashion when all
applications have committed their work.

If you have an update or delete statement that affects multiple rows, the
autocommit does not take effect until the SQL statement has updated or
deleted all rows.
Nov 12 '05 #3
aka
if logretain is on you might want to backup some of your logs?...

aka
"xixi" <da****@yahoo.com> schrieb im Newsbeitrag
news:c0**************************@posting.google.c om...
hello, we are using db2 udb v8.1 on windows 64 bit, i am trying to
understand the error message , what does the full meaning? i know we
can increase the logfilsiz , logprimary, logseconday to help, but i
need to understand what is the right number to change. currently we
have three primary log file, each one has file size 16392k, so when
the database created, i see this three files be there, under directory
\DB2\NODE0000\SQL00002\SQLOGDIR, so does full means all three files
has data in it ? our application is auto commit type, so suppose any
update, delete, or write should commit right away, so commit is taking
as often as possible, also since our write use prepare statement, so i
can't evaulate how much data is writing each time, but i don't think
it will over the limit of 3 x 16392 k, does this log fil is for each
write? will the log file get cleaned up? thanks for your quick reply

Nov 12 '05 #4
aka
if logretain is on you might want to backup some of your logs?...

aka
"xixi" <da****@yahoo.com> schrieb im Newsbeitrag
news:c0**************************@posting.google.c om...
hello, we are using db2 udb v8.1 on windows 64 bit, i am trying to
understand the error message , what does the full meaning? i know we
can increase the logfilsiz , logprimary, logseconday to help, but i
need to understand what is the right number to change. currently we
have three primary log file, each one has file size 16392k, so when
the database created, i see this three files be there, under directory
\DB2\NODE0000\SQL00002\SQLOGDIR, so does full means all three files
has data in it ? our application is auto commit type, so suppose any
update, delete, or write should commit right away, so commit is taking
as often as possible, also since our write use prepare statement, so i
can't evaulate how much data is writing each time, but i don't think
it will over the limit of 3 x 16392 k, does this log fil is for each
write? will the log file get cleaned up? thanks for your quick reply

Nov 12 '05 #5

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

Similar topics

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...
2
by: Ryan P. Kennedy | last post by:
Hi All: I am getting an error when trying to open a recordset in SQL Server 2000. The error states that the transaction log is full. Is there any way I can clear out or empty the transaction...
3
by: Thiko | last post by:
Hi I take one nightly full database backup at 02:00 and backup the transaction log to one backup set every 15mins. The commands to do this are as follows and are set up to run as database...
0
by: xixi | last post by:
hello, we are using db2 udb v8.1 on windows 64 bit, i am trying to understand the error message , what does the full meaning? i know we can increase the logfilsiz , logprimary, logseconday to help,...
2
by: francois1 | last post by:
I am running a website with a SQL Server database attached. My transaction logs are full and my hosting co. won't allocate more disk space for me. I need to delete my database transaction logs...
3
by: danceli | last post by:
"The log file for database is full. Back up the transaction log for the database to free up some log space." Now I only know this way to deal with that manually, Step1. in option , chance...
3
by: Bobby | last post by:
Hi I'm using Access 2003 with SQL server 2000, linked via ODBC. Can anybody tell me how to capture SQL error codes in Access? If this is not possible, is there any way I can simply turn off SQL...
5
by: lefterist | last post by:
Good afternoon, I 've got the followin code to validate a form, and get the "error:object expected (line 171 char. 1, line 172, char 2)" even if i tried to solve it (parentheses, function syntax...
0
by: mvsmsh | last post by:
Hi listers , Has anyone met REORG INPLACE error -964 " The transaction log for the database is full " ? I wonder , why REORG INPLACE error -964 even if archive successful ? We're...
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: 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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.