Save 
Join IIUG
 for   
 

Informix News
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


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

SAP Mix

RE: Database locks

Posted By:
Date:

Locks are also increased by the number of indexes on any particular table.
The size of your database and/or concurrent users has little impact on locks
used.
It is the number of rows in your active tables, the number of associated
indexes and the jobs that run on them. That is why when deleting say 100,000
rows you can have 400,000 locks - indexes. (example)

We have found many times we kick an abap back to the developers to commit
their work more often, you need a ceiling limit of course, but the number of
locks required in any given system is going to be most dependant on the
number of rows in your larger more active tables. Monitor , gauge and change
accordingly is all you can do.

And I agree that a script detecting thresholds and paging or emailing the
admins is a great idea... better to know before all activity halts for a
rollback.

Nice yapping at you all again :)
Randy

-----Original Message-----
From: James Latimer [mailto:jk_latimer@hotmail.com]
Sent: Friday, February 28, 2003 3:09 AM
To: sapmix@iiug.org
Subject: RE: Database locks [53]


The book 'SAP R/3 for the Informix DBA' indicates that the ratio
(lokwaits/lockreqs)*100 < 1
from the 'onstat -p' is used to judge whether adequate locks have been
defined. The number of locks should be increased when the calculation is
greater than 1%






>From: "NormaJean.S...." <NormaJean.Sebastian@tellabs.com>
>To: sapmix@iiug.org
>Subject: RE: Database locks [51] Date: Thu, 27 Feb 2003 20:33:46 -0500
>(EST)
>
>Hi,
>We run with 1 million locks on our SAP PRD database of 850 GB (10 GB
>memory, with 6GB memory ear-marked for Informix(64bit)).
>We run with 500,000 locks in our SAP QA databases in the landscape.
>
>We run 24x7. Any outage in PRD is not a happy thing. User outage
>includes the database being unavailable due to the rollback of a
>transaction because of lock table overflow. We've had 30+ minutes of
>outage on occasion because of this. It is not acceptable in our
>environment.
>
>We monitor like Marco does and page the on-call DBA if we surpass
>475,000 locks (we change this page-out number as we see fit). If the
>DBA is paged, we have full authority to kill the offending transaction
>as Marco described.
>
>Just because SAP/OSS may encourage 'loose' ABAP code, doesn't mean you
>have to permit it. There is an OSS note (don't know which one) that
>discusses begin/commit/transaction processing in ABAP. It's better to
>make the programmers aware of this and accountable for their code than
>to let them accidentally put 'loose' code into PRD. If that happens,
>and PRD locks up...as you know... fingers are pointed at the DBAs.
>
>We have lower locks on our QA servers than in PRD. We hope that will
>help the programmers code more efficiently and not get our PRD server
>into an outage situation for the good of the entire company.
>
>Norma Jean Sebastian
>
>
>
>-----Original Message-----
>From: Marco.Krijt@VendexKBB-ITS.nl [mailto:Marco.Krijt@VendexKBB-ITS.nl]
>Sent: Wednesday, February 26, 2003 2:04 PM
>To: sapmix@iiug.org; forum.subscriber@iiug.org
>Subject: RE: Database locks [46]
>
>
>We have also 2000000 locks on a database of 1,1TB.
>If it is not enough, I say always to look to the ABAP-programm,
>or the variant.
>
>Sometimes programms have build in a commit, if a job fails or make to
>many
>locks the commit interval has to be reduced in the ABAP-programm (or
>sometimes variant).
>
>We have already 2000000 locks for many years, and it works fine.
>
>With onstat -u, you can see which proces has many locks.
>We also are called by phone automatically if more then 1000000 locks are
>in
>use
>(for 24 hours a day.)
>
>Then we look with:
>onstat -u to the locks and the SID,
>then we look to onstat -g ses|grep <SID> and get the PID
>You can see the PID back in SM66/SM50.
>We tell it to the user (at office hours) and kill the SID with onmode -z
>or
>use SM66/SM50.
>If with onstat -u the third caracter is a R the transaction is rolling
>back
>and will not take any locks any more, After the rollback (sometimes
>hours)
>the problem is solved.
>
>If you wait to long to kill the SAP-proces al other programms will be
>failing with,
>"no more locks available" and that's a pitty, so be on time, that's
>nicer.
>
> > Marco Krijt
> > Medewerker Operationeel Beheer SAP
> > Vendex KBB IT Services b.v.
> > Frankemaheerd 6
> > 1102 AN Amsterdam Z.O.
> > Postbus 12644
> > 1100 AP Amsterdam Z.O.
> > Tel: +31 (0)20-3129254
> > E-mail: marco.krijt@vendexkbb-its.nl
> >
>
>
>-----Oorspronkelijk bericht-----
>Van: Chang, Nicole [mailto:changn@tycoelectronics.com]
>Verzonden: woensdag 26 februari 2003 20:29
>Aan: sapmix@iiug.org
>Onderwerp: Database locks [45]
>
>
>Hello,
>
>I was just wondering how many database locks you have available for a
>Production instance. We have a 344 gig database, with 2 million locks
>available, and an average of 500 users that are logged on.
>
>I ask only because OSS is urging us to increase to 4 million locks,
>which is
>double the locks I have.
>
>Thank you in advance.
>
>Nicole Chang
>Database Analyst
>M/A-COM, A Tyco International Company
>978-442-4389
>
>
>
>
>--openmail-part-39c80cdf-00000002
>Content-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XHBhcg0KT25kZXJ3ZXJwOiBEYXRhYmFzZSBsb2NrcyBbNDVdIFxwYXIN
>ClxwYXINClxwYXINCkhlbGxvLFxwYXINClxwYXINCkkgd2FzIGp1c3Qgd29uZGVyaW5nIGhv
>dyBtYW55IGRhdGFiYXNlIGxvY2tzIHlvdSBoYXZlIGF2YWlsYWJsZSBmb3IgYVxwYXINClBy
>b2R1Y3Rpb24gaW5zdGFuY2UuICBXZSBoYXZlIGEgMzQ0IGdpZyBkYXRhYmFzZSwgd2l0aCAy
>IG1pbGxpb24gbG9ja3NccGFyDQphdmFpbGFibGUsIGFuZCBhbiBhdmVyYWdlIG9mIDUwMCB1
>c2VycyB0aGF0IGFyZSBsb2dnZWQgb24uXHBhcg0KXHBhcg0KSSBhc2sgb25seSBiZWNhdXNl
>IE9TUyBpcyB1cmdpbmcgdXMgdG8gaW5jcmVhc2UgdG8gNCBtaWxsaW9uIGxvY2tzLCB3aGlj
>aCBpc1xwYXINCmRvdWJsZSB0aGUgbG9ja3MgSSBoYXZlLlxwYXINClxwYXINClRoYW5rIHlv
>dSBpbiBhZHZhbmNlLlxwYXINClxwYXINCk5pY29sZSBDaGFuZ1xwYXINCkRhdGFiYXNlIEFu
>YWx5c3RccGFyDQpNL0EtQ09NLCBBIFR5Y28gSW50ZXJuYXRpb25hbCBDb21wYW55XHBhcg0K
>OTc4LTQ0Mi00Mzg5XHBhcg0KXHBhcg0KXHBhcg0KfQ==
>
>--openmail-part-39c80cdf-00000002--
>
>


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail


Messages In This Thread

  • RE: Database locks
    -- Tuesday, 4 March 2003, at 12:41 p.m.

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

SAP Mix is maintained by Administrator with WebBBS 5.12.