Re: Need Help with locks
Posted in 1997
: I'm creating a program to archive records and to delete those records : every month ( or week). Right now, i'm getting an error message saying that : there is : "too many locks". I would like to keep this program running even if there : are user accessing the table(I don't want to lock the whole table). : 1) Is there a way to increase the maximum number of lock ? : 2) Do you have any other idea ? I don't know which error message you're referring to -- could you be more specific? Is it returned to the application or is it written to the online.log? The maximum number of locks is set in the OnLine ONCONFIG (or TBCONFIG) file. It can be increased there. But how many rows are you locking at once? Perhaps you should consider breaking it up into smaller batches and committing them fewer at a time. June ---- June Tong Informix Software ---- ---- Senior Consultant (415) 926-6140 ---- ---- International Support junet@informix.com ---- ---- Location-du-jour: Menlo Park ---- * * Standard disclaimers apply * - Please do not send me requests/questions by mail. When I have the knowledge - and time permits, I try to answer questions on comp.databases.informix, but - travel schedule, time, and volume make responding to personal requests - difficult and often slow. Please call your local Informix Technical Support - organization for assistance with technical issues.