473,378 Members | 1,417 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

INTRA_PARALLEL

I had a discussion today regarding the INTRA_PARTITION dbm cfg paramater. I
believe that this parameter has only an effect on a single SQL statement to
be executed and it does not control whether multiple db2 agents can run in
parallel on multiple physical CPUs.

The manual does support the first part, i.e. that a query can be spread over
multiple subagents (http://tinyurl.com/mk8ex). But I did not find anything
with which I can prove that the INTRA_PARTITION parameter does not have an
influence on parallel execution of queries from concurrent applications.

Questions:
- Is there some information written down somewhere supporting this?
- Am I wrong with and INTRA_PARTITION does have an influence on concurrent
query execution and the db2agent processes involved in this?

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Feb 21 '06 #1
2 3288
Ian
Knut Stolze wrote:
I had a discussion today regarding the INTRA_PARTITION dbm cfg paramater. I
believe that this parameter has only an effect on a single SQL statement to
be executed and it does not control whether multiple db2 agents can run in
parallel on multiple physical CPUs.


This is correct. The manual may not say it, but empirically it's simple
to prove - DB2 does asynchronous I/O (prefetching), and the prefetchers,
page cleaners, logger, etc. are all separate EDUs (processes on
UNIX/Linux, threads on Windows). Similarly, execute 2+ queries
simultaneously...

As far as scheduling the agents on the CPU(s), DB2 doesn't make these
decisions - the OS scheduler takes care of this task***. You can watch
CPU utilization during a query and see DB2 using multiple CPUs,
regardless of INTRA_PARALLEL.


*** Note: DB2 does have the ability to restrict itself to a subset of
the CPUs if you are using workload management tools (typically on large
SMP boxes), but this is certainly the exception.
Feb 21 '06 #2
Ian wrote:
Knut Stolze wrote:
I had a discussion today regarding the INTRA_PARTITION dbm cfg paramater.
I believe that this parameter has only an effect on a single SQL
statement to be executed and it does not control whether multiple db2
agents can run in parallel on multiple physical CPUs.


This is correct. The manual may not say it, but empirically it's simple
to prove - DB2 does asynchronous I/O (prefetching), and the prefetchers,
page cleaners, logger, etc. are all separate EDUs (processes on
UNIX/Linux, threads on Windows). Similarly, execute 2+ queries
simultaneously...

As far as scheduling the agents on the CPU(s), DB2 doesn't make these
decisions - the OS scheduler takes care of this task***. You can watch
CPU utilization during a query and see DB2 using multiple CPUs,
regardless of INTRA_PARALLEL.

*** Note: DB2 does have the ability to restrict itself to a subset of
the CPUs if you are using workload management tools (typically on large
SMP boxes), but this is certainly the exception.


Thanks for the confirmation. Now I just have to get this message across.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Feb 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: maricel | last post by:
Is there any advantage in terms of performance when activating intra-parallelism INTRA_PARALLEL = yes DFT_DEGREE = -1 for a Windows 2K, sigle (1) CPU server. The database is used for a small...
11
by: Mike | last post by:
Looking to find any information on how to properly configure multiple instances of DB2. This is on Win2k db2 ver 7.2. I am basically looking for information on how the multiple instance settings...
11
by: ChetWest | last post by:
Db2 gurus... I am fairly knew to DB2. We just migrated to it from Oracle (not sure why other than money). Anyways, we have a situation where one of our test databases is performing very badly....
1
by: aj | last post by:
DB2 v8 FP5 Red Hat AS/EL 2.1 I found the following in my db2diag.log: 2004-09-07-10.01.37.747898 Instance:oltp Node:000 PID:14637(db2agent (NDRDB)) TID:8192 ...
9
by: db2inst2 | last post by:
Hi all, I have DB28.2 running on win2003 system which has 8 Processors with HT its 16 How do i make DB2 more use of all the processors? Right now i am doing an import and task manager shows...
13
by: James Conrad St.John Foreman | last post by:
One of the larger tables in our database is now 6.8 million rows (1 per financial transaction since 2000). Every time an amendment is made to a booking, new rows are added to the table for each...
7
by: Matt | last post by:
I have approximately 5 instances on my test server that are identical to my prod server. On the prod server, when I look at the services file, there is a single entry per instance and everything...
10
by: Woody Ling | last post by:
In 32 bits DB2 environment, is it meaningful to set sheapthres larger than 256MB for the following case.. 1. Intra-parallel is ON 2. Intra-parallel is OFF
0
by: wane.gutterud | last post by:
We have a DB2 server using AIX 5.3 lpar with 10 logical cpus. There are nine DB2 instances on the server with five at DB2 V9.1 FP3 and four at DB2 V8.2 FP8. One of the DB2 V9.1 instances has...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.