Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

RE: Lock Table Overflow

Posted By: Robert Roussey(IT)
Date: Thursday, 6 March 2008, at 6:26 a.m.

In Response To: Re: Lock Table Overflow (Art S. Kagel (Oninit))

RedHat AS3 U8, IDS 10.00.UC4 (32-bit)

With a bad query that I haven't nailed down yet (might be free-form
SQL) locks max out at 2,000,000.
Unfortunately, this causes the locking mechanism to become not friendly.
At some point locks become phantom (?) and all other users get lock
errors. A bounce of the db engine is required.

Bob Roussey
Unix / Informix Administration
Spirit Airlines
Robert.Roussey@SpiritAir.com

-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
Art S. Kagel (Oninit)
Sent: Thursday, March 06, 2008 1:30 AM
To: ids@iiug.org
Subject: Re: Lock Table Overflow [11507]

Long Nguyen wrote:
> Thanks Art,
> I intend to increase the max number of locks (because the SP was
written by
> a consultant long time ago and it is so complicated that I dare not
touch
> it!!).
> in onconfig (from 500000 to 2000000). Does this have any implications
on
> system performance? and the change will be dynamically implemented or
need
> to bounce the engine?
>

Each lock is from 44 to 120 bytes depending on the platform and whether
you are using a 32bit or 64bit engine version (you are on 64bit so
figure 120 bytes per lock to be safe). The only issue is whether the
additional memory will cause swapping on the system whether for IDS or
for other apps. You know how much free memory is on the system.

You have to bounce the IDS instance for LOCKS changes to take effect.

Art S. Kagel
Oninit

> Regards,
> Long N
> ===============
>
> "Art S. Kagel
>
> (Oninit)" To: ids@iiug.org
>
> <art@oninit.com> cc:
>
> Sent by: Subject: Re: Lock Table Overflow [11504]
>
> ids-bounces@iiug.
>
> org
>
> 06/03/2008 11:07
>
> AM
>
> Please respond to
>
> ids
>
> Long Nguyen wrote:
>
>> Hi all,
>>
>>
>
> First, it would be much better if your task either acquired a table
lock
> before deleting a million rows or alternatively committed the work
every
> 10,000 -> 50,000 rows instead. You can get my dbdelete.ec utility for
> this. It is VERY fast and performs partial deletes in transactions of
> 8192 rows at a time be default so it avoids the lock table overflow
> problem. Dbdelete in part of the package utils2_ak which you can
> download from the Oninit web site (www.oninit.com) or from the IIUG
> Software Repository. Note that new releases of my utilities will now
> appear on the Oninit site a few weeks prior to posting to the IIUG
> Repository.
>
> Second, IDS 9.40 and later do indeed expand the lock table if it's
> capacity is exceeded. The documentation is ambiguous about how this is

> done. In different places the descriptions are different and
> contradictory. In one location the docs say that the table will be
> expanded up to the maximum number of locks or 8,000,000. In another it

> says that each time the table is exhausted its size is doubled up to
15
> times (starting with 500,000 locks that would take you to 1million
> immediately and to 20,000,000,000 locks eventually) which can easily
> become greater than the max. Another location states that while the
> table size is doubled, no more than 100,000 locks are added at a time.

> For you this would mean adding 1,500,000 locks to bring you up to
> 2,000,000. On the other hand you didn't experience any of these
> scenarios. Curious.
>
> Maybe John Miller III can comment? And get the docs fixed (I was
> looking at the 11.10xC2 docs)!
>
> Art S. Kagel
> Oninit
>
>
>> This may be an old question but...
>> We had a replication job that triggered the deletion of more than 1
>>
> million
>
>> records on a small table while the maximum number of locks in the
>>
> onconfig
>
>> file is 500000.
>> We got
>> 11:26:43 Lock table overflow - user id 104, session id 360387.
>> 11:26:44 Process exited with return code 1: /bin/sh /bin/sh -c
>> /usr/informix-10
>> ..00.FC4/alarm.sh 3 21 "Dynamic Server resource overflow: 'Locks'."
"Lock
>>
>
>
>> table overflow.
>> 11:26:46 CDR CDRD_4215: transaction aborted (All rows in a
transaction
>> defined
>> with row scope were rejected) with sql error 0 isam error 0.
>>
>> The system did automatically rollback afterward but all other
>>
> transactions
>
>> were blocked during that long time because no available locks.
>> Searching online answers we found some help like this:
>> "Depending on the version of the engine IDS will automatically add
more
>> memory for the locklist till 8 million locks.
>> Or you just need to increase the value of Locks in the onconfig
file."
>>
>> Our engine (IDS 10.00 FC4WC) seemed not increase the numebr of locks
to 8
>>
>
>
>> millions.
>> So the only resolution is to increase the LOCKS in ONCONFIG from
500000
>>
> to
>
>> say 2000000.
>> Is that the only way to prevent the overflow of the lock table ?
>> Any help would be appreciated.
>> Regards,
>> Long Huy Nguyen
>> MIS(Analyst Programmer)
>> Ruralco Limited
>> P.O.Box 515
>> Wentworthville NSW 2145 Australia
>> (Ph) 02 9688 8528 (Fax) 02 9896 7763
>>
>>
>
>
>
========================================================================
===================
>
> Please access the attached hyperlink for an important electronic
> communications disclaimer:
>
> http://www.oninit.com/home/disclaimer.php
>
>
>
========================================================================
===================
>
>
>
************************************************************************
*******
>
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
> See you at the IIUG Informix 2008 Conference
> The Power Conference for Informix Professionals
> April 27 - 30, 2008 Marriott Overland Park (Kansas City), Kansas
> http://www.iiug.org/conf
> Registration Now Open!!
>
> Disclaimer:
> This correspondence is for the named person's use only. It may contain

> confidential or legally privileged information or both. No
confidentiality
> or privilege is waived or lost by any mistransmission. If you receive
this
> correspondence in error, please immediately delete it together with
any
> attachments from your system and notify the sender. You must not
disclose,
> copy or rely on any part of this correspondence if you are not the
intended
> recipient.
> Any opinions expressed in this message are those of the individual
sender,
> except where the sender expressly, and with authority, states them to
be
> the opinions of Ruralco Holdings Limited or any of its subsidiaries
> (collectively "Ruralco").
> Although all care has been taken to screen this communication for
viruses,
> neither the sender nor Ruralco warrants that any communication via the

> Internet is free of errors, viruses, interception or interference.
> Information is distributed without warranties of any kind.
>
>
>
************************************************************************
*******
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
> See you at the IIUG Informix 2008 Conference
> The Power Conference for Informix Professionals
> April 27 - 30, 2008 Marriott Overland Park (Kansas City), Kansas
> http://www.iiug.org/conf
> Registration Now Open!!
>
>
========================================================================
===================
> Please access the attached hyperlink for an important electronic
communications disclaimer:
>
> http://www.oninit.com/home/disclaimer.php
>
>
========================================================================
===================
>
>
>

========================================================================
===================
Please access the attached hyperlink for an important electronic
communications disclaimer:

http://www.oninit.com/home/disclaimer.php

========================================================================
===================

************************************************************************
*******
Forum Note: Use "Reply" to post a response in the discussion forum.

See you at the IIUG Informix 2008 Conference
The Power Conference for Informix Professionals
April 27 - 30, 2008 Marriott Overland Park (Kansas City), Kansas
http://www.iiug.org/conf
Registration Now Open!!

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.