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: why so many informix threads on idle systems ?

Posted By: Madison Pruet
Date: Tuesday, 6 April 2010, at 8:29 p.m.

In Response To: Re: why so many informix threads on idle systems ? (KARL OLIVER)

Each of the threads have a special purpose. Since the system is idle,
there are no 'sqlexec' threads. Those are the 'user' threads and are
responsible for the actual query. The ER threads are event driven and =
are
driven when other things happen, possibly from a log being written or m=
aybe
in response to having received a replicated transaction. Since you are=

using ER, I'll give a break down on what each of those threads are
responsible for and what causes them to go into an active state. Notic=
e
that the threads in this example are all in a waiting/sleeping state.

Just to explain a couple of other things. There are two main waiting
states for the threads. The 'sleeping' state and the cond wait state. =
The
sleeping state is normally used when we want to always wake up every so=

often just to see what's going on. If a thread is sleeping, that doesn=
't
mean that some other thread can't wake it up immediately. The conditio=
n
wait is a bit different because there no 'timeout' and thus the thread =
will
only be activated when some other thread activates it.

We could respawn these threads, but the cost of the thread setup is a b=
it
high because of all of the internal querying against the queues and oth=
er
tables within the syscdr database. That's the reason that we just keep=
the
threads but place them in a sleep/waiting state when they don't have wo=
rk
to do.

OK - here goes.

|------------------------+------------------------+--------------------=
----|
|Thread |Purpose |When activated =

|
|------------------------+------------------------+--------------------=
----|
|CDRD_### |ER apply thread |When a replicated =

|
| | |transaction is recei=
ved.|
|------------------------+------------------------+--------------------=
----|
|CDRACK_### |ER ACK threads - process|When an ACK is recei=
ved |
| |ACKS from transactions | =

|
| |applied on other servers| =

|
| |within the ER domain | =

|
|------------------------+------------------------+--------------------=
----|
|CDRM_Monitor |ER Monitor thread - |One a second =

|
| |monitors and adjusts ER | =

|
| |apply parallelism | =

|
|------------------------+------------------------+--------------------=
----|
|CDRNr19 |ER Network Receive |When a new message i=
s |
| |Thread connected to node|received from ER nod=
e 19|
| |19 | =

|
|------------------------+------------------------+--------------------=
----|
|CDRRTBCleaner |Cleans up ER objects no |Every few minutes or=
so |
| |longer in use | =

|
|------------------------+------------------------+--------------------=
----|
|ddr_snoopy |Receives the log records|When a log buffer is=

|
| | |flushed =

|
|------------------------+------------------------+--------------------=
----|
|CDRNsT19 |ER Network Send Thread |When a message needs=
to |
| |connected to node 19 |be sent to node 19 =

|
|------------------------+------------------------+--------------------=
----|
|CDRGeval### |Grouper Evaluator |As new log records a=
re |
| |threads - evaluates and |received =

|
| |regroups log records for| =

|
| |replication | =

|
|------------------------+------------------------+--------------------=
----|
|CDRGfan |Grouper Fanout thread - |As new log records a=
re |
| |acts as a distributor |received =

|
| |between the snoopy and | =

|
| |evaluator threads. Also | =

|
| |has special logic for | =

|
| |begin work/commit | =

|
| |work/rollback... | =

|
|------------------------+------------------------+--------------------=
----|
|CDRCparse |ER statement cache |Only as a replicate =
is |
| |manager |created/removed =

|
|------------------------+------------------------+--------------------=
----|
|CDRDTCleaner |Delete Table Cleaner - |Every 5 minutes or s=
o |
| |prunes the delete shadow| =

|
| |tables | =

|
|------------------------+------------------------+--------------------=
----|
|CDRSchedMgr |ER Scheduler - fires |As needed =

|
| |retry connection | =

|
| |attempts, timed based | =

|
| |replication, etc | =

|
|------------------------+------------------------+--------------------=
----|

=

From: "KARL OLIVER" <karl.oliver@maf.govt.nz> =

=

To: ids@iiug.org =

=

Date: 04/06/2010 06:59 PM =

=

Subject: Re: why so many informix threads on idle systems ? [1951=
1]

=

Sent by: ids-bounces@iiug.org =

=

here is the onstat -g ath

BM Informix Dynamic Server Version 11.10.FC3 -- On-Line -- Up 01:09:50 =
--
123912 Kbytes

Threads:
tid tcb rstcb prty status vp-class name
2 c0000000ae5ca9a8 0 1 IO Idle 3lio* lio vp 0
3 c0000000ae5ebc88 0 1 IO Idle 4pio* pio vp 0
4 c0000000ae60d450 0 1 IO Idle 5aio* aio vp 0
5 c0000000ae60cc88 0 1 IO Idle 6msc* msc vp 0
6 c0000000ae62ec88 0 1 IO Idle 7adt* adt vp 0
7 c0000000ae681450 0 1 IO Idle 8aio* aio vp 1
8 c0000000ae65fc88 c0000000adafc028 3 sleeping secs: 1 1cpu main_loop()=

9 c0000000ae6c58a0 0 1 running 9soc* soctcppoll
10 c0000000ae6e2c60 0 2 sleeping forever 1cpu* soctcplst
11 c0000000ae70c418 0 2 sleeping forever 1cpu* soctcplst
12 c0000000ae70ccd8 c0000000adafc840 1 sleeping secs: 1 1cpu flush_sub(=
0)
13 c0000000ae751028 c0000000adafd058 1 sleeping secs: 1 1cpu flush_sub(=
1)
14 c0000000ae771220 c0000000adafd870 2 sleeping secs: 1 1cpu aslogflush=

15 c0000000ae815028 c0000000adafe088 1 sleeping secs: 88 1cpu btscanner=
_0
26 c0000000aea3d9b8 c0000000adaff8d0 3 sleeping secs: 1 1cpu* onmode_mo=
n
31 c0000000ae87c220 c0000000adb01118 1 cond wait bp_cond 1cpu bf_priosw=
eep
()
32 c0000000aea920d0 c0000000adb00900 1 sleeping secs: 30 1cpu CDRSchedM=
gr
34 c0000000aead9028 c0000000adb02148 1 sleeping secs: 92 1cpu CDRDTClea=
ner
35 c0000000aead9518 c0000000adb02960 1 cond wait CDRCparse 1cpu CDRCpar=
se
37 c0000000aeb64028 c0000000adb03990 1 sleeping secs: 165 1cpu* dbSched=
uler

38 c0000000aed3a4c0 c0000000adb000e8 1 sleeping forever 1cpu* dbWorker1=

39 c0000000aed4a028 c0000000adb03178 1 sleeping forever 1cpu* dbWorker2=

40 c0000000aec04b60 c0000000adb041a8 3 sleeping secs: 1 1cpu CDRGfan
41 c0000000aec4e760 c0000000adb049c0 3 sleeping secs: 2 1cpu CDRGeval0
42 c0000000aec4eca0 c0000000adb051d8 3 sleeping secs: 2 1cpu CDRGeval1
43 c0000000aec91220 c0000000adb059f0 3 sleeping secs: 2 1cpu CDRGeval2
44 c0000000aeb38220 c0000000adb06208 1 sleeping secs: 30 1cpu CDRNsT19
45 c0000000aeb38b78 c0000000adb06a20 2 sleeping secs: 1 1cpu ddr_snoopy=

46 c0000000ae85c028 c0000000adb07238 1 sleeping secs: 30 1cpu CDRRTBCle=
aner

47 c0000000aea3dc08 c0000000adaff0b8 1 cond wait netnorm 1cpu CDRNr19
48 c0000000ae85c7d0 c0000000adb07a50 1 sleeping secs: 1 1cpu CDRM_Monit=
or
49 c0000000ae85ca20 c0000000adb08268 1 cond wait CDRAckslp 1cpu CDRACK_=
0
50 c0000000ae85cc70 c0000000adb08a80 1 cond wait CDRAckslp 1cpu CDRACK_=
1
51 c0000000ae8a0028 c0000000adb09298 1 cond wait CDRDssleep 1cpu CDRD_1=

***********************************************************************=
********

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.