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 11:19 p.m.

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

Trying again...

|------------------------+---------------------+-----------------------=
-|
|Thread |Purpose |When activated =
|
|------------------------+---------------------+-----------------------=
-|
|CDRD_### |ER apply thread |When a replicated =
|
| | |transaction is received=
.|
|------------------------+---------------------+-----------------------=
-|
|CDRACK_### |ER ACK threads - |When an ACK is received=
|
| |ACKS from txn.applied| =
|
| |on other servers | =
|
| |within the ER domain | =
|
|------------------------+---------------------+-----------------------=
-|
|CDRM_Monitor |ER Monitor thread - |One a second =
|
| |monitors and adjusts | =
|
| |apply parallelism | =
|
|------------------------+---------------------+-----------------------=
-|
|CDRNr19 |ER Network Receive |When a new message is =
|
| |Thread connected |received from ER node 1=
9|
| |to node 19 | =
|
|------------------------+---------------------+-----------------------=
-|
|CDRRTBCleaner |Cleans up ER obj no |Every few minutes or so=
|
| |longer in use | =
|
|------------------------+---------------------+-----------------------=
-|
|ddr_snoopy |Receives the log recs|When a log buffer is =
|
| | |flushed =
|
|------------------------+---------------------+-----------------------=
-|
|CDRNsT19 |ER Network Send |When a message needs to=
|
| |thread to node 19 |be sent to node 19 =
|
|------------------------+---------------------+-----------------------=
-|
|CDRGeval### |Grouper Evaluator |As new log records are =
|
| |threads - evaluates |received =
|
| |and regroups log | =
|
| |records for | =
|
| |replication | =
|
|------------------------+---------------------+-----------------------=
-|
|CDRGfan |Grouper Fanout thread|As new log records are =
|
| |acts as a distributor|received =
|
| |between the snoopy | =
|
| |and Eval threads. | =
|
|------------------------+---------------------+-----------------------=
-|
|CDRCparse |ER statement cache |Only as a replicate is =
|
| |manager |created/removed =
|
|------------------------+---------------------+-----------------------=
-|
|CDRDTCleaner |Delete Table Cleaner |Every 5 minutes or so =
|
| |prunes the delete | =
|
| |shadow tables | =
|
|------------------------+---------------------+-----------------------=
-|
|CDRSchedMgr |ER Scheduler - fires |As needed =
|
| |retry connection | =
|
| |attempts, timed based| =
|
| |replication, etc | =
|
|------------------------+---------------------+-----------------------=
-|

=

From: Madison Pruet/Dallas/IBM@IBMUS =

=

To: ids@iiug.org =

=

Date: 04/06/2010 07:29 PM =

=

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

=

Sent by: ids-bounces@iiug.org =

=

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 =3D=

are
driven when other things happen, possibly from a log being written or m=
=3D
aybe
in response to having received a replicated transaction. Since you are=3D=

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=3D=

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. =3D=

The
sleeping state is normally used when we want to always wake up every so=
=3D

often just to see what's going on. If a thread is sleeping, that doesn=3D=

't
mean that some other thread can't wake it up immediately. The conditio=3D=

n
wait is a bit different because there no 'timeout' and thus the thread =
=3D
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=
=3D
it
high because of all of the internal querying against the queues and oth=
=3D
er
tables within the syscdr database. That's the reason that we just keep=3D=

the
threads but place them in a sleep/waiting state when they don't have wo=
=3D
rk
to do.

OK - here goes.

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

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

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

|
| |applied on other servers| =3D

|
| |within the ER domain | =3D

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

|
| |monitors and adjusts ER | =3D

|
| |apply parallelism | =3D

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

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

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

|
| | |flushed =3D

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

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

|
| |regroups log records for| =3D

|
| |replication | =3D

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

|
| |between the snoopy and | =3D

|
| |evaluator threads. Also | =3D

|
| |has special logic for | =3D

|
| |begin work/commit | =3D

|
| |work/rollback... | =3D

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

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

|
| |tables | =3D

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

|
| |retry connection | =3D

|
| |attempts, timed based | =3D

|
| |replication, etc | =3D

|
|------------------------+------------------------+--------------------=
=3D
----|

=3D

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

=3D

To: ids@iiug.org =3D

=3D

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

=3D

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

=3D

Sent by: ids-bounces@iiug.org =3D

=3D

here is the onstat -g ath

BM Informix Dynamic Server Version 11.10.FC3 -- On-Line -- Up 01:09:50 =
=3D
--
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()=
=3D

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(=
=3D
0)
13 c0000000ae751028 c0000000adafd058 1 sleeping secs: 1 1cpu flush_sub(=
=3D
1)
14 c0000000ae771220 c0000000adafd870 2 sleeping secs: 1 1cpu aslogflush=
=3D

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

38 c0000000aed3a4c0 c0000000adb000e8 1 sleeping forever 1cpu* dbWorker1=
=3D

39 c0000000aed4a028 c0000000adb03178 1 sleeping forever 1cpu* dbWorker2=
=3D

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=
=3D

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

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

***********************************************************************=
=3D
********

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

=3D

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

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.