473,654 Members | 3,184 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DB2V8.2 DPF CPU Usage

3 New Member
Hi all,

I'm working on a data warehouse split into 16 partitions. Whenever we run a query that involves a non-indexed predicate, the CPU hits 100% (mainly system CPU when checked with iostat). Anyone else experienced similar ? Is this correct, or is it a bug / config issue ?

Example query
Select * from table_a where non_indexed_col umn = 'AA'

It's DB2V8 FP13 on Solaris, I get the same results on Solaris 8 or Solaris 10, and with ZFS or VXFS filesystems.

Sample iostat output - you can see where I submit the query it goes to 0% idle, and when I cancel the query it goes back to 90%+ free.

iostat 2
tty md0 md1 md3 md4 cpu
tin tout kps tps serv kps tps serv kps tps serv kps tps serv us sy wt id
3 2178 74 25 10 0 0 25 29 2 18 18 3 12 115 61 89 89
0 527 0 0 0 0 0 0 0 0 0 0 0 0 0 1 4 95
0 40 0 0 0 0 0 0 0 0 0 99 31 16 0 0 5 94
0 40 0 0 0 0 0 0 0 0 0 82 26 17 0 0 6 94
0 350 0 0 0 0 0 0 23 7 18 0 0 0 7 37 4 52
0 40 5 2 27 0 0 0 4 1 12 0 0 0 19 81 0 0
0 40 0 0 0 0 0 0 0 0 0 0 0 0 20 80 0 0
0 526 0 0 0 0 0 0 0 0 0 0 0 0 19 81 0 0
2 40 0 0 0 0 0 0 0 0 0 0 0 0 20 80 0 0
0 40 0 0 0 0 0 0 0 0 0 0 0 0 19 81 0 0
0 471 0 0 0 0 0 0 0 0 0 56 7 5 14 65 2 19
0 40 0 0 0 0 0 0 0 0 0 0 0 0 62 4 2 32
0 40 0 0 0 0 0 0 0 0 0 0 0 0 0 3 4 92

(Sorry, can't work out how to format it, so the columns line up).

The CPU acts normally for tablescans without predicates, or whenever the predicate is indexable (uses about 5% per query as an estimate).

The CPU acts normally when the table queried is not partitioned.

Is the 100% CPU just because when selecting in this way from a partitioned table, and having to read every row to satisfy the predicate it's more data than the system can handle, so 100% CPU is expected ? It's causing us issues, as nothing can run at the same time as one of these queries, and we we're thinking of using ZFS file compression, which also has a CPU overhead, and that's fine for most queries, it's just these non-index matching ones that don't leave any CPU free for data decompression (can't go to V9 compression yet).

Thanks,

Ben
Jun 27 '07 #1
0 1268

Sign in to post your reply or Sign up for a free account.

Similar topics

2
460
by: tomvr | last post by:
Hello I have noticed some 'weird' memory usage in a vb.net windows app The situation is as follows I have an app (heavy on images) with 2 forms (actually there are more forms and on starting the app I load some things into memory for global use of the app but I'll use only 2 starting forms to explain the situation) situation 1 start app with form 1 (72mb memory usage), show form 2 and hide form 1 (89 mb memory usage
3
4135
by: Ian Taite | last post by:
Hello, I'm exploring why one of my C# .NET apps has "high" memory usage, and whether I can reduce the memory usage. I have an app that wakes up and processes text files into a database periodically. What happens, is that the app reads the contents of a text file line by line into an ArrayList. Each element of the ArrayList is a string representing a record from the file. The ArrayList is then processed, and the arraylist goes out of...
2
1771
by: zeb nest | last post by:
Hello, I have some problem to launch db2setup (install procedure for db2v8fp3) under linux (redhat 9.0) : /home/root/db2v8/conpe/db2/linux/install/db2jinst: line 131: 4359 Erreur de segmentation $JAVA_PATH/$JAVA_INTERPRETER $JAVA_OPTIONS -cp $JAVA_CLASSPATH $DB2SetupRun "$@" 2>/tmp/db2setup.err.running an idea to help me ? Thanks
2
2529
by: Vijai Kumar | last post by:
Hi, I am using UDB DB2v8.1(ESE) on win2000. Is there any way of setting up UDB DB2 so that it only uses 1 CPU on a 2 CPU server. This is because I have the license for 1 CPU processor. I donot want to buy an additional CPU processor license. Can somebody throw light.
10
2086
by: rdemyan via AccessMonster.com | last post by:
My app contains utility meter usage. One of the things we have to deal with is when a usage is clearly incorrect. Perhaps someone wrote the meter reading down incorrectly or made a factor of 10 error when entering the reading, etc. At other times the usage is zero or somehow was entered as a negative number. So I'm thinking about adding functionality to search for such anomalies. For instance, show months where the meter reading is...
3
9395
by: Sirisha | last post by:
I am using the following code to get the CPU usage PerformanceCounter myCounter; myCounter = new PerformanceCounter(); myCounter.CategoryName = "Processor"; myCounter.CounterName = "% Processor Time"; myCounter.InstanceName = "_Total"; for(int i=0; i < 20; i++)
0
2151
by: okonita | last post by:
DB2v8.2 LUW. Unable to drop Foreign Key constraints...although DROP constraints returns undefined name. Am I missing somrthing here? Hi all, I have a perplexing DB2 Drop command situation. Environment I have tried severally to drop Foreign Key constraints on a set of tables and each time I get a SQL0204N "SQL071030104307060" is an undefined name. ". However, when I go back to look at the table or load data, I get a constraint error...
1
1376
by: mohiddin2k | last post by:
how to backup db2v8 in linux os
1
1842
by: victor deng | last post by:
If i installed db2v8 32bit software in redhat x86_64,then I create a 32bit instance and a database. Whether I can migrate to db2v8 64 bit software and 64 bit instance on the same server. Could you give me some advices? Thanks a lot. I did some search in google,and It seems that I can only migrate from 32bit instance to 64bit instance assumed that I installed db2v8 64bit software(using db2iupdt).
0
8376
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8290
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8815
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8708
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7307
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6161
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5622
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4149
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1596
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.