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

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

IDS Forum

Re: Questions re NUMCPUVPS, PDQPRIORTY, AFF_NPROCS and AFF_SPROC

Posted By:
Date:

Hi

1) As for my experience if you have only DB on your server and you do
not have large WAIT IO define all cpu to informix.
If you have a lot of users and you are using NET VP check there cpu
usage, maybe you should spare one or two cpu for them.

2) Probably the first SQL use indexes and did not use sequential scan.
The second sql probably didn't. Check there explain.

Uri

Reeves, Dam.... wrote:

>Hi,
>
>Not sure if anyone can shed some light on a couple of questions I have about
>Dynamic Server and NUMCPUVPS, PDQPRIORTY, AFF_NPROCS and AFF_SPROC ?
>
>Firstly our setup:
>
>We are running a data replication setup (2 systems each running Dynamic
>Server 9.21-FC3x-1 on HP-UX 11.0).
>
>The primary server has 6 CPU's and has the following configuration
>parameters:
>
>SHMTOTAL 0
>SHMADD 96000
>MULTIPROCESSOR 1
>NUMCPUVPS 6
>AFF_SPROC 0
>AFF_NPROCS 0
>MAX_PDQPRIORITY 100
>DS_MAX_QUERIES 1280
>DS_TOTAL_MEMORY 163840
>DS_MAX_SCANS 1048576
>
>The secondary read-only server has 4 CPU's and has the following
>configuration parameters:
>
>SHMTOTAL 0
>SHMADD 96000
>MULTIPROCESSOR 1
>NUMCPUVPS 4
>AFF_SPROC 0
>AFF_NPROCS 0
>MAX_PDQPRIORITY 100
>DS_MAX_QUERIES 1280
>DS_TOTAL_MEMORY 163840
>DS_MAX_SCANS 1048576
>
>
>We are not using processor affinity. CPU VP's can be serviced/executed by
>any of the 6 physical CPU's on the primary server.
>We have 900+ users accessing the primary server and we don't appear to have
>many issues - things seem to run quite well (although I am sure
>someone out there could tune the system a little more !).
>
>We are not implementing Kernel AIO, and all chunks are RAW.
>
>
>Question 1: Based on real-world experience, can anyone let me know how to
>decide what the NUMCPUVPS should be set at ?
>
>We currently have NUMCPUVPS = # Physical CPU's......and I repeat there do
>not seem to be any issues.
>
>I have read many articles on setting the NUMCPUVP parameter for various
>versions of Dynamic Server from 7.21 to 9.21 and these articles have
>mentioned:
>
>a) NUMCPUVPS should be set equal to the # of physical CPU's, or
>
>b) NUMCPUVPS should be set to 1 less than the # of physical CPU's, or
>
>c) NUMCPUVPS can be set to > than the # of physical CPU's (for older
>versions of Dynamic Server on HP-UX 10.2 that had bugs with using the
>NOAGE, AFF_NPROCS and AFF_SPROC parameters).
>
>
>
>Question 2: How do we determine when the engine determines a query uses PDQ
>and when it doesn't ?
>
>a) When we execute the following SQL script and display stats for the
>memory grant manager using "onstat -g mgm | more", we see that engine
>does NOT appear to be using PDQ:
>
>set isolation to dirty read;
>set pdqpriority 60;
>select
> sum(f.original_loan_amt)
>from table_name_1 a,
> table_name_2 b,
> table_name_3 c,
> table_name_4 f
>where
> f.credit_appl_id = a.credit_appl_id and
> b.credit_appl_id = a.credit_appl_id and
> c.operator_code = a.alt_ch_operator_cd and
> b.person_id = 1 and
> a.alt_ch_branch_num LIKE '032448%';
>
>
>Details from "onstat -g mgm | more" show:
>
>Informix Dynamic Server 2000 Version 9.21.FC3X1 -- On-Line (Prim) -- Up 15
>days 11:10:56 -- 796972 Kbytes
>
>Memory Grant Manager (MGM)
>--------------------------
>
>MAX_PDQPRIORITY: 100
>DS_MAX_QUERIES: 1280
>DS_MAX_SCANS: 1048576
>DS_TOTAL_MEMORY: 163840 KB
>
>Queries: Active Ready Maximum
> 0 0 1280
>
>Memory: Total Free Quantum
>(KB) 163840 163840 128
>
>Scans: Total Free Quantum
> 1048576 1048576 1
>
>Load Control: (Memory) (Scans) (Priority) (Max Queries) (Reinit)
> Gate 1 Gate 2 Gate 3 Gate 4 Gate 5
>(Queue Length) 0 0 0 0 0
>
>Active Queries: None
>
>Ready Queries: None
>
>Free Resource Average # Minimum #
>-------------- --------------- ---------
>Memory 11946.7 +- 10067.9 0
>Scans 1048575.0 +- 0.0 1048575
>
>Queries Average # Maximum # Total #
>-------------- --------------- --------- -------
>Active 1.0 +- 0.0 1 6
>Ready 0.0 +- 0.0 0 0
>
>Resource/Lock Cycle Prevention count: 0
>
>
>b) However, when we modify the above SQL script to:
>
>set isolation to dirty read;
>set pdqpriority 60;
>select
> f.credit_appl_id
>from
> table_name_1 a,
> table_name_2 b,
> table_name_3 c,
> table_name_4 f
>
>where
> f.credit_appl_id = a.credit_appl_id
> and b.credit_appl_id = a.credit_appl_id
> and c.operator_code = a.alt_ch_operator_cd
> and b.person_id = 1;
>
>
>Then re-execute it and check using "onstat -g mgm | more" we see the engine
>is using PDQ:
>
>Informix Dynamic Server 2000 Version 9.21.FC3X1 -- On-Line (Prim) -- Up 15
>days 11:18:40 -- 796972 Kbytes
>
>Memory Grant Manager (MGM)
>--------------------------
>
>MAX_PDQPRIORITY: 100
>DS_MAX_QUERIES: 1280
>DS_MAX_SCANS: 1048576
>DS_TOTAL_MEMORY: 163840 KB
>
>Queries: Active Ready Maximum
> 1 0 1280
>
>Memory: Total Free Quantum
>(KB) 163840 163840 128
>
>Scans: Total Free Quantum
> 1048576 1048575 1
>
>Load Control: (Memory) (Scans) (Priority) (Max Queries) (Reinit)
> Gate 1 Gate 2 Gate 3 Gate 4 Gate 5
>(Queue Length) 0 0 0 0 0
>
>Active Queries:
>---------------
>Session Query Priority
>Thread Memory Scans Gate
> 79493 c00000001c89cbd0 60
>c0000000175096e0 0/0 1/1 -
>
>Ready Queries: None
>
>Free Resource Average # Minimum #
>-------------- --------------- ---------
>Memory 13165.7 +- 9740.2 0
>Scans 1048575.0 +- 0.0 1048575
>
>Queries Average # Maximum # Total #
>-------------- --------------- --------- -------
>Active 1.0 +- 0.0 1 7
>Ready 0.0 +- 0.0 0 0
>
>Resource/Lock Cycle Prevention count: 0
>
>
>
>Any help would be great !!!!!
>
>Thanks,
>
>Damion Reeves
>Informix Database Administrator
>EDS Australia
>Adelaide Solution Centre
>
>
>
>
>
>


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

IDS Forum is maintained by Administrator with WebBBS 5.12.