Unix Technical Forum

Log file size

This is a discussion on Log file size within the DB2 forums, part of the Database Server Software category; --> Hi, when I execute a INSERT INTO xxx(...) SELECT (...) FROM yyy that should add approximately 8000 rows of ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2008, 07:23 PM
Gordon Gekko
 
Posts: n/a
Default Log file size

Hi,

when I execute a

INSERT INTO xxx(...)
SELECT (...)
FROM yyy

that should add approximately 8000 rows of the table xxx to yyy I get
the following error message:

"SQL0964C The transaction log for the database is full"

I have created the database using the default settings for the log
files. How can I increase the space for the log files in order not to
have this error?

Thanks in advance!

Diego


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-26-2008, 07:23 PM
Mark A
 
Posts: n/a
Default Re: Log file size

"Gordon Gekko" <diegz@telvia.it> wrote in message
news:cakdt8$q1s$1@fata.cs.interbusiness.it...
> Hi,
>
> when I execute a
>
> INSERT INTO xxx(...)
> SELECT (...)
> FROM yyy
>
> that should add approximately 8000 rows of the table xxx to yyy I get
> the following error message:
>
> "SQL0964C The transaction log for the database is full"
>
> I have created the database using the default settings for the log
> files. How can I increase the space for the log files in order not to
> have this error?
>
> Thanks in advance!
>
> Diego
>

Using the Control Center and database configuration, change the number of
primary and secondary log files (double both of these). Increase the size of
each log file (increase by a factor of 10). If you still get the errors,
increase them again. You may have to restart the database after each change.

You can also update these via the command line. See the Administration
Guide: Performance for details.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:47 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com