Author Topic: SQL0964C  (Read 4439 times)

hyuzen

  • Newbie
  • *
  • Posts: 4
    • View Profile
SQL0964C
« on: December 11, 2012, 12:38:44 AM »
Hi all,

When I load AFP file to backup OnDemand system (OD MP V7.1.2.8 and DB2 V8.1.8.762) I received error below:

DB Error: [IBM][CLI Driver][DB2/NT] SQL0964C  The transaction log for the database is full.  
SQLSTATE=57011   -- SQLSTATE=57011, SQLCODE=-964, File=arsdoc.c, Line=4001

2012-12-10-13.38.28.348000   Instance:DB2   Node:000
PID:2004(db2syscs.exe)   TID:5896   Appid:*LOCAL.DB2.121202000628
data protection  sqlpgResSpace Probe:1660   Database:TCELLINV
ADM1822W  The active log is being held by dirty pages.  This is not an error,
but database performance may be impacted.  If possible, reduce the database
work load.  If this problem persists, either decrease the SOFTMAX and/or
increase the NUM_IOCLEANERS DB configuration parameters.

I checked db2 setting (get db cfg) of backup system with Prod system. Both of settings are same! If so why I received the error above only in the backup system ?

Thanks in advance,
Best Regards.
Huseyin
« Last Edit: December 11, 2012, 05:56:02 AM by hyuzen »

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: SQL0964C
« Reply #1 on: December 11, 2012, 11:01:45 AM »
I'd start by bringing down the database, and doing a full offline backup, and making sure your transaction logs are being properly archived.

Then I'd do what the error message recommends...  NUM_IOCLEANERS is one of the parameters that the CMOD developers have (in the distant past) recommended increasing.  My rule of thumb for increasing database parameters is to go in increments of 50% until the situation is resolved.  4 to 6, 6 to 9, 9 to 15, etc.

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

hyuzen

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: SQL0964C
« Reply #2 on: December 13, 2012, 11:39:23 PM »
Thank you very much Justin,

Although configuration advisor suggests to set NUM_IOCLEANERS as 13 I set 18 by increasing %50. Then I loaded a few millions records with successfully.

Best regards,
Huseyin