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: Mutex - guard ?

Posted By: Fernando Nunes
Date: Monday, 8 September 2014, at 1:35 p.m.

In Response To: Re: Mutex - guard ? (Marco Greco)

This is sysnetworkio:

create table sysnetworkio

(

net_id int, { Net
ID }

sid int, { session
id }

net_netscb int8, { address of
netscb }

net_client_type int, { client
type }

net_client_name char(12), { client protocal
name }

net_read_cnt int8, { number of read
operations }

net_read_bytes int8, { # of bytes txfr to
server }

net_write_cnt int8, { number of write
operations }

net_write_bytes int8, { # of bytes txfr to
client }

net_open_time int, { time connection was
made }

net_last_read int, { time of last network
read }

net_last_write int, { time of last network
write }

net_state int, { state of network
connection }

net_options int, { sqlhost
options }

net_prot_id int, { id for protocal
name }

net_protocol char(10), { prtocal
name }

net_server_fd int, { poll server
fd }

net_poll_thread int { poll thread
id }

);

I understand the need for this to monitor idle sessions for example.
Other than that I think the net_client_name or maybe net_protocol can be
interesting in an open/close context...
But what is the purpose of this sysdbopen()/sysdbclose()? And why would you
need to read rows from it besides the one for your own session?

Regards.

On Mon, Sep 8, 2014 at 6:05 PM, Marco Greco <marco@4glworks.com> wrote:

> On 08/09/14 15:05, Cesar Martins wrote:
> > Hi David ,
> >
> > I've checked my history of emails and this is what I have :
> >
> > - There is no FIX , only a suggestion for workaround.
> >
> > - The problem occur with exclusive with Power7 processors using SMT-4
> >
> > configuration
> >
> > What they was explained , this is because of internal architecture of P7
> >
> > in SMT-4 configuration.
> >
> > - workaround suggested (from IBM Support) , change the LPAR proc SMT-4
> >
> > to SMT-2
> >
> > - The ontat -g stk bellow
> >
> > - This is into version 11.50 FC9X6 , AIX 6.1
> >
> > stack for thread: 9063619 sqlexec
> > base: 0x0700001cdecb7000
> > len: 266240
> >
> > pc: 0x000000010003618c
> > tos: 0x0700001cdecf21e0
> > state: mutex wait
> >
> > vp: 49
> >
> > 0x000000010003618c (oninit)yield_processor_mvp
> > 0x0000000100038b6c (oninit)mt_lock_wait
> > 0x0000000100045a2c (oninit)mt_lock
> > 0x0000000100d72958 (oninit)smi_network_io
> > 0x000000010030a0fc (oninit)pstread
> > 0x00000001002f1c00 (oninit)pst_rsread
> > 0x00000001002fafd8 (oninit)rsread
> > 0x00000001004c0c18 (oninit)fmread
> > 0x0000000100668588 (oninit)readseq_single
> > 0x0000000100668cd0 (oninit)gettupl
> > 0x000000010066c488 (oninit)scan_next
> > 0x0000000100d1182c (oninit)next_row
> > 0x0000000100d1151c (oninit)get_first_row_from_producer
> > 0x0000000100d10498 (oninit)hash_process_all_groups
> > 0x0000000100d13f9c (oninit)group_open
> > 0x000000010065f428 (oninit)filltemp
> > 0x000000010066cd40 (oninit)scan_open
> > 0x000000010066dc58 (oninit)materialize_viewtmp
> > 0x000000010066dcdc (oninit)materialize_viewtmp
> > 0x000000010066dcc8 (oninit)materialize_viewtmp
> > 0x000000010066dcc8 (oninit)materialize_viewtmp
> > 0x000000010040be94 (oninit)prepselect
> > 0x000000010067ad80 (oninit)subqprep
> > 0x000000010067b2f4 (oninit)exsubq
> > 0x00000001005953d4 (oninit)geval
> > 0x000000010075f308 (oninit)eval_projection_list
> > 0x00000001007646c8 (oninit)dodmlrow
> > 0x0000000100767254 (oninit)dodelupd
> > 0x000000010041d030 (oninit)aud_dodelupd
> > 0x000000010042593c (oninit)excommand
> > 0x000000010023d4c0 (oninit)ip_evalsql
> > 0x0000000100248f78 (oninit)runproc
> > 0x0000000100243c7c (oninit)udrlm_spl_execute
> > 0x0000000100ce98e4 (oninit)udrlm_exec_routine
> > 0x0000000100581ea4 (oninit)udr_execute
> > 0x00000001005bb768 (oninit)exroutine
> > 0x00000001004240d0 (oninit)execproc
> > 0x0000000100418120 (oninit)aud_execproc
> > 0x0000000100426288 (oninit)excommand
> > 0x000000010023d4c0 (oninit)ip_evalsql
> > 0x0000000100248f78 (oninit)runproc
> > 0x0000000100243c7c (oninit)udrlm_spl_execute
> > 0x0000000100ce98e4 (oninit)udrlm_exec_routine
> > 0x0000000100581ea4 (oninit)udr_execute
> > 0x00000001003d8230 (oninit)exec_sysdbproc
> > 0x0000000100cef16c (oninit)sqscb_cleanup
> > 0x0000000100139a5c (oninit)destroy_session
> > 0x00000001001f9894 (oninit)sqsetconerr
> > 0x0000000100217148 (oninit)asf_recv
> > 0x00000001002184c0 (oninit)_iread
> > 0x000000010021883c (oninit)_igetint
> > 0x000000010022451c (oninit)sqmain
> > 0x000000010037c160 (oninit)listen_verify
> > 0x000000010037a608 (oninit)spawn_thread
> > 0x0000000100dd528c (oninit)startup
> >
>
> Roughly speaking, from your stack: a client disconnected uncleanly, and as
> part of your sysdbclose() you are executing a procedure that is doing an
> update in which there's a subquery which materializes a view which queries
> sysmaster:sysnetworkio, and it's the query on sysnetworkio which is
> waiting on
> the guard mutex, which I guessing is being used to prevent the netscbs from
> changing as your query gets the next record.
>
> If you have lots of sysdbclose querying sysnetworkio that at the same time
> -
> that's your bottleneck.
> Shout at your developer and tell him to never, ever, ever write anything
> like
> that again.
> --
> Ciao,
> Marco
>
> ______________________________________________________________________________
> Marco Greco /UK /IBM Standard disclaimers apply!
>
> Structured Query Scripting Language http://www.4glworks.com/sqsl.htm
> 4glworks http://www.4glworks.com
> Informix on Linux http://www.4glworks.com/ifmxlinux.htm
>
>
>
> *******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>

--
Fernando Nunes
Portugal

http://informix-technology.blogspot.com
My email works... but I don't check it frequently...

--047d7bacbe6a009f620502913ec1

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.