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

AW: Auto monitoring and logging of locks

Posted By: Andreas.KUTSCHE@spar.at
Date: Friday, 15 May 2009, at 8:35 a.m.

In Response To: Re: Auto monitoring and logging of locks (KAMRAN HAQ)

Hi,

you can run

onstat -k (gives partition IDs of locks for all sessions)

or

dbaccess sysmaster << eof
set isolation dirty read ;
select tabname,type,count(*) from syslocks where owner = <SESSION_ID> group by 1,2;
eof

-------------------------------------------
SPAR Österreichische Warenhandels-AG
Hauptzentrale
A - 5015 Salzburg, Europastrasse 3
FN 34170 a

Tel: +43 662 4470 24223
Mobile: +43 664 6259575
E-Mail: Andreas.KUTSCHE@spar.at
Internet: http://www.spar.at

Wichtiger Hinweis: Der Inhalt dieser E-Mail kann vertrauliche und rechtlich geschützte Informationen, insbesondere Betriebs- oder Geschäftsgeheimnisse, enthalten, zu deren Geheimhaltung der Empfänger verpflichtet ist. Die Informationen in dieser E-Mail sind ausschließlich für den Adressaten bestimmt. Sollten Sie die E-Mail irrtümlich erhalten haben so ersuchen wir Sie, die Nachricht von Ihrem System zu löschen und sich mit uns in Verbindung zu setzen.
Über das Internet versandte E-Mails können leicht manipuliert oder unter fremdem Namen erstellt werden. Daher schließen wir die rechtliche Verbindlichkeit der in dieser Nachricht enthaltenen Informationen aus. Der Inhalt der E-Mail ist nur rechtsverbindlich, wenn er von uns schriftlich bestätigt und gezeichnet wird.
Sollte trotz der von uns verwendeten Virus-Schutzprogramme durch die Zusendung von E-Mails ein Virus in Ihre Systeme gelangen, haften wir nicht für evtl. hieraus entstehende Schäden.
Wir danken für Ihr Verständnis.

Important notice: The contents of this e-mail may contain confidential and legally protected information that is in particular related to operational and trade secrets, which the recipient is obliged to treat as confidential. The information in this e-mail is made available exclusively for use by the addressee. In the event that the e-mail may have been sent to you in error, we would ask you to kindly delete this communication from your system and to contact us.
E-mails sent via the Internet can be easily manipulated or sent out under someone else's name. We therefore do not accept legal liability for the information contained in this communication. The contents of the e-mail are only legally binding if they have been confirmed and signed by us in writing.
If, in spite of our using Antivirus protection software, a virus may have penetrated your system through the sending of this e-mail, we do not accept liability for any damage that may possibly arise as a result of this.
We trust that you appreciate our position.

-------------------------------------------
-----Ursprüngliche Nachricht-----

Von: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] Im Auftrag von KAMRAN HAQ
Gesendet: Freitag, 15. Mai 2009 13:56
An: ids@iiug.org
Betreff: Re: Auto monitoring and logging of locks [15782]

Below are some details of a lock. There a session found acquiring 69190 locks.
Can we found what locks its holding like information about breakdown that how
many locks are on table1, table2 etc?
Is there a way to log the statements possesing locks on a certain object(row
or table) for more than N seconds?

-------------------------------------------------------------------------
# onstat -u

Userthreads
address flags sessid user tty wait tout locks nreads nwrites

13cad1a70 --BPX-- 38845 sysrport - 0 0 69190 118553 48308

# onstat -g ses 38845

IBM Informix Dynamic Server Version 11.50.FC3W1 -- On-Line (Prim) -- Up 7 days
23:55:59 -- 2683904 Kbytes

session effective #RSAM total used dynamic
id user user tty pid hostname threads memory memory explain

38845 sysrport - - -1 orgwapp2 1 540672 524560 off

tid name rstcb flags curstk status

35258 sqlexec 13cad1a70 --BPR-- 7839 running-

Memory pools count 3

name class addr totalsize freesize #allocfrag #freefrag

38845 V 13560c040 532480 11344 929 13
38845*O0 V 18ce78040 4096 808 1 1
38845_SORT_ V 192957040 12288 4568 34 4

name free used name free used
overhead 0 9864 mtmisc 0 440
scb 0 144 opentable 0 17992
filetable 0 3152 ru 0 624
log 0 16536 temprec 0 21664
keys 0 1440 ralloc 0 360080
gentcb 0 1760 ostcb 0 2872
sort 0 3168 sqscb 0 23848
sql 0 72 srtmembuf 0 640
rdahead 0 576 hashfiletab 0 552
osenv 0 2568 sqtcb 0 7616
fragman 0 52872 shmblklist 0 1336
udr 0 2480

sqscb info
scb sqscb optofc pdqpriority sqlstats optcompind directives

1a454a0c0 199f23028 0 0 0 2 1

Sess SQL Current Iso Lock SQL ISAM F.E.
Id Stmt type Database Lvl Mode ERR ERR Vers Explain

38845 INSERT tapis_1032 CR Not Wait 0 0 9.28 Off

Current SQL statement :

insert into nonfin_report_D values

(today,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)

Host variables :

address type flags value

-----------------------------------------

0x00000001900d4038 CHAR 0x002

0x00000001900d40c8 CHAR 0x002

0x00000001900d4158 CHAR 0x002

0x00000001900d41e8 CHAR 0x002

0x00000001900d4278 CHAR 0x002

0x00000001900d4308 CHAR 0x002

0x00000001900d4398 CHAR 0x002

0x00000001900d4428 CHAR 0x002

0x00000001900d44b8 CHAR 0x002

0x00000001900d4548 CHAR 0x002

0x00000001900d45d8 CHAR 0x002

0x00000001900d4668 CHAR 0x002

0x00000001900d46f8 CHAR 0x002

0x00000001900d4788 CHAR 0x002

0x00000001900d4818 CHAR 0x002

0x00000001900d48a8 CHAR 0x002

0x00000001900d4938 CHAR 0x002

0x00000001900d49c8 CHAR 0x002

0x00000001900d4a58 CHAR 0x002

0x00000001900d4ae8 CHAR 0x002

0x00000001900d4b78 CHAR 0x002

0x00000001900d4c08 CHAR 0x002

Last parsed SQL statement :

insert into nonfin_report_D values

(today,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)

# onstat -g stm 38845

IBM Informix Dynamic Server Version 11.50.FC3W1 -- On-Line (Prim) -- Up 7 days
23:56:55 -- 2683904 Kbytes

session 38845 ---------------------------------------------------------------
sdblock heapsz statement ('*' = Open cursor)

1a633f028 153128 *select t.tapi_no, created_on,
expiry_on,get_ch_id_code(c.tapi_no) ch_id_code, get_ch_id_code_val(c.tapi_no)
ch_id_code_val, first_name1,last_name1,address1,address2, t.city,
state_code,zip_postal_code,cc.country_code2,replace(home_phone_no,'-','')
home_phone_no, work_phone_no, sc.tapi_status_pos tapi_status_pos,
replace(sc.ledger_balance||' ','-','') tapi_balance
,decode(substr(sc.ledger_balance||' ',1,1),'-','-','+') Balance_Sign,
p.tapi_prg_id, '' sub_prog_id_val,c.date_of_birth, p.fin || substr (c.tapi_no,
7, length(c.tapi_no) ) pseudo_dda_no from tapi_events p, sumd_tapi_funds
sc,tapis c ,outer country_codes cc where t.country_code=cc.country_code and
t.tapi_prg_id = p.tapi_prg_id and sc.tapi_no = t.tapi_no and sc.sum_date =
today -1 and not (sc.tapi_status_pos='A' and sc.ledger_balance=0 and
(c.last_update_on != TODAY -1 AND t.last_act_on != TODAY -1 AND
t.last_sts_chg_on != TODAY -1 )) order by 1 desc, 2 asc

1a633f240 58872 <SPL statement>
1a633f458 99696 <SPL statement>
1a633f670 9856 insert into nonfin_report_D values
(today,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-------------------------------------------------------------------------

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

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.