473,385 Members | 1,356 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,385 software developers and data experts.

More CPU???

I'm running DB2 v8.1 FP5 on a Server with 2 physical processors (4 virtual)
and am wondering if there is a way to configure DB2 to use more processor.
Right now I'm running a delete query to delete around 4 million records. It
is only using 5% - 25% of the processor (mostly the lower end with some
spikes). This system, for the most part, is strictly used as a database
server so I'd like to be able to set it so that DB2 can use at least 50% of
the processor, but better yet up to 80% would be great. Does anyone know
how or if I can accomplish this? I'm assuming you can't dedicate loads over
multiple processors, it's probably handled by the system, but if there is a
way to do that, I'd greatly appreciate any info you could offer. Thanks in
advance.
Nov 12 '05 #1
10 1770
Ian
Jason Gyetko wrote:
I'm running DB2 v8.1 FP5 on a Server with 2 physical processors (4 virtual)
and am wondering if there is a way to configure DB2 to use more processor.
Yes, try setting the undocumented registry variable DB2_GO_FAST=YES. If
that's not good enough, there is also DB2_GO_FASTER.

(Just kidding)
Right now I'm running a delete query to delete around 4 million records. It
is only using 5% - 25% of the processor (mostly the lower end with some
spikes). This system, for the most part, is strictly used as a database
server so I'd like to be able to set it so that DB2 can use at least 50% of
the processor, but better yet up to 80% would be great. Does anyone know
how or if I can accomplish this?


Chances are very good that this is a I/O system limitation, not a CPU
limitation. Your CPUs are likely waiting for IO to complete.

What kind of disks are you writing to, and how are they configured
(RAID5, RAID1, etc)? From a database perspective, you may be getting
poor performance with database logging, or poor performance for async
writes in the database.

Nov 12 '05 #2
By the performing delete on the respective table(s), are u trying to
acheive a truncate!!!

Nov 12 '05 #3
I'm not real sure on what you mean by truncate. Is truncate the same as a
delete without the database logging? Can you truncate a table using
criteria or is it an all or nothing deal? I am deleting all records in a
table prior to a certain date. This particular table has 7 million records,
my delete statement will delete 4 million of them. It took 1:10 to complete
the delete. Prior to the delete I performed an export of the data that I
was to delete so I can import it into a seperate archive database.

"Shyam Peri" <pe*******@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
By the performing delete on the respective table(s), are u trying to
acheive a truncate!!!

Nov 12 '05 #4
Ha, ha... If it were only as easy as just making up a key for what you want
to accomplish.

I have 8, 80GB, 15K hard drives configured for RAID1.
OS on C:, Database on E:, and log files on G:

I have some database monitoring running on the buffers and they are all
minimal usage. I do notice that the "Select SQL Statements Execute" &
"Update/Insert/Delete SQL Statements Executed" monitors are peaked out. Do
you know what database parameter effects these? Are there any other
monitors I should watch?

"Ian" <ia*****@mobileaudio.com> wrote in message
news:42**********@newsfeed.slurp.net...
Jason Gyetko wrote:
I'm running DB2 v8.1 FP5 on a Server with 2 physical processors (4 virtual) and am wondering if there is a way to configure DB2 to use more processor.

Yes, try setting the undocumented registry variable DB2_GO_FAST=YES. If
that's not good enough, there is also DB2_GO_FASTER.

(Just kidding)
Right now I'm running a delete query to delete around 4 million records.

It is only using 5% - 25% of the processor (mostly the lower end with some
spikes). This system, for the most part, is strictly used as a database
server so I'd like to be able to set it so that DB2 can use at least 50% of the processor, but better yet up to 80% would be great. Does anyone know how or if I can accomplish this?


Chances are very good that this is a I/O system limitation, not a CPU
limitation. Your CPUs are likely waiting for IO to complete.

What kind of disks are you writing to, and how are they configured
(RAID5, RAID1, etc)? From a database perspective, you may be getting
poor performance with database logging, or poor performance for async
writes in the database.

Nov 12 '05 #5
Jason Gyetko wrote:
I'm running DB2 v8.1 FP5 on a Server with 2 physical processors (4 virtual)
and am wondering if there is a way to configure DB2 to use more processor.
Right now I'm running a delete query to delete around 4 million records. It
is only using 5% - 25% of the processor (mostly the lower end with some
spikes). This system, for the most part, is strictly used as a database
server so I'd like to be able to set it so that DB2 can use at least 50% of
the processor, but better yet up to 80% would be great. Does anyone know
how or if I can accomplish this? I'm assuming you can't dedicate loads over
multiple processors, it's probably handled by the system, but if there is a
way to do that, I'd greatly appreciate any info you could offer. Thanks in
advance.


Apply basic performance tuning. Perhaps let control center enforce the
settings proposed by the configuration advisor.
Don't be shy using indexes, use plenty. (though deleting isn't affected)
Large bufferpools.

Okay, so far some db2 settings.
I do not know what system you are using, but if you're running something
like Linux (I do not know if other un*x-es have it) have a funny little
program called renice. This alters the niceness of a process (a priority
modifier) enableing you to give a process a higher priority.
Probably you shouldn't use this, because it might make things worse.
Another thing you could check is the swappiness of the kernel.
The swappiness indicates how eager a system may be to use swap. Setting
this lower will change the way the system uses paging.

Also check if the statement monitor is not activated. (tracing
statements slows down)

But as stated before, a big problem could be the I/O.
Running DB2 on a machine with 2 IDE drives put in a RAID 1 is bad.
Running DB2 on a machine with 16 SCSI disks put in a raid 0+1 is better
Running DB2 on a machine with a huge SAN array is even better
Running DB2 on a machine with a netApp storage array is best.
Using an enormous amount of memory is not too shabby as well. (As soon
as a database starts to swap, the performance collapses and the
processors are just in queue because of the I/O waits), so check your
free memory (and used swap).

-R-
Nov 12 '05 #6
Since you say "80GB", and SCSI disks tend to come in different sizes, it
seems you aren't on SCSI, let alone fibre-attached SAN. Your system sounds
to be one with "a big head on a baby's body".

Your cheapest option is probably to upgrade to SCSI LVD 320, using a caching
controller with (fully recharged) battery-backed write cache and adequate
memory, replace the disks with suitable 15K RPM SCSI 320 LVD drives, and try
again.

You also may wish to check what sort of memory bus architecture your system
has, as that may also be a bottleneck. If so, you're probably best of buying
a "more powerful" server.

(We're running DB2 8.1.5 on a 4-way 3.2GHz hyperthreading Xeon HP server
with 4GB RAM, Hitachi disk subsystem over a fibe-attached IBM SAN).

"Jason Gyetko" <jg*****@epower-inc.com> wrote in message
news:wX******************@newssvr31.news.prodigy.c om...
Ha, ha... If it were only as easy as just making up a key for what you
want
to accomplish.

I have 8, 80GB, 15K hard drives configured for RAID1.
OS on C:, Database on E:, and log files on G:

I have some database monitoring running on the buffers and they are all
minimal usage. I do notice that the "Select SQL Statements Execute" &
"Update/Insert/Delete SQL Statements Executed" monitors are peaked out.
Do
you know what database parameter effects these? Are there any other
monitors I should watch?

"Ian" <ia*****@mobileaudio.com> wrote in message
news:42**********@newsfeed.slurp.net...
Jason Gyetko wrote:
> I'm running DB2 v8.1 FP5 on a Server with 2 physical processors (4 virtual) > and am wondering if there is a way to configure DB2 to use more processor.

Yes, try setting the undocumented registry variable DB2_GO_FAST=YES. If
that's not good enough, there is also DB2_GO_FASTER.

(Just kidding)
> Right now I'm running a delete query to delete around 4 million
> records.

It > is only using 5% - 25% of the processor (mostly the lower end with some
> spikes). This system, for the most part, is strictly used as a
> database
> server so I'd like to be able to set it so that DB2 can use at least
> 50% of > the processor, but better yet up to 80% would be great. Does anyone know > how or if I can accomplish this?


Chances are very good that this is a I/O system limitation, not a CPU
limitation. Your CPUs are likely waiting for IO to complete.

What kind of disks are you writing to, and how are they configured
(RAID5, RAID1, etc)? From a database perspective, you may be getting
poor performance with database logging, or poor performance for async
writes in the database.


Nov 12 '05 #7
Sorry, should have included this before.

(4) PERC LD PERCRAID SCSI Disks
2GB Memory

"Mark Yudkin" <my***********************@boing.org> wrote in message
news:42**********************@news.sunrise.ch...
Since you say "80GB", and SCSI disks tend to come in different sizes, it
seems you aren't on SCSI, let alone fibre-attached SAN. Your system sounds
to be one with "a big head on a baby's body".

Your cheapest option is probably to upgrade to SCSI LVD 320, using a caching controller with (fully recharged) battery-backed write cache and adequate
memory, replace the disks with suitable 15K RPM SCSI 320 LVD drives, and try again.

You also may wish to check what sort of memory bus architecture your system has, as that may also be a bottleneck. If so, you're probably best of buying a "more powerful" server.

(We're running DB2 8.1.5 on a 4-way 3.2GHz hyperthreading Xeon HP server
with 4GB RAM, Hitachi disk subsystem over a fibe-attached IBM SAN).

"Jason Gyetko" <jg*****@epower-inc.com> wrote in message
news:wX******************@newssvr31.news.prodigy.c om...
Ha, ha... If it were only as easy as just making up a key for what you
want
to accomplish.

I have 8, 80GB, 15K hard drives configured for RAID1.
OS on C:, Database on E:, and log files on G:

I have some database monitoring running on the buffers and they are all
minimal usage. I do notice that the "Select SQL Statements Execute" &
"Update/Insert/Delete SQL Statements Executed" monitors are peaked out.
Do
you know what database parameter effects these? Are there any other
monitors I should watch?

"Ian" <ia*****@mobileaudio.com> wrote in message
news:42**********@newsfeed.slurp.net...
Jason Gyetko wrote:
> I'm running DB2 v8.1 FP5 on a Server with 2 physical processors (4

virtual)
> and am wondering if there is a way to configure DB2 to use more

processor.

Yes, try setting the undocumented registry variable DB2_GO_FAST=YES. If that's not good enough, there is also DB2_GO_FASTER.

(Just kidding)

> Right now I'm running a delete query to delete around 4 million
> records.

It
> is only using 5% - 25% of the processor (mostly the lower end with some > spikes). This system, for the most part, is strictly used as a
> database
> server so I'd like to be able to set it so that DB2 can use at least
> 50%

of
> the processor, but better yet up to 80% would be great. Does anyone

know
> how or if I can accomplish this?

Chances are very good that this is a I/O system limitation, not a CPU
limitation. Your CPUs are likely waiting for IO to complete.

What kind of disks are you writing to, and how are they configured
(RAID5, RAID1, etc)? From a database perspective, you may be getting
poor performance with database logging, or poor performance for async
writes in the database.



Nov 12 '05 #8
Then you have a DELL Poweredge server? Which model? Which PERC card is that
(PERC2/Si, PERC3/Di, PERC3/DC, PERC4/SC, etc)? How large is the battery
backed write cache (not all PERC models support batteries)? What's the
bandwidth (PERC2 in 100MB/s, PERC3 is 160MB/s, PERC4 is 320MB/s)? What about
the disks themselves? I'm still assuming you have Windows 2000 or 2003, is
this correct or are you on Linux? What's the motherboard chipset? I wish
you'd give full information up front.

In any case, I'm still guessing primarily I/O bottleneck, with a secondary
guess of inadequate memory architecture (would occur if you have a so-called
"entry-level" server). If you were to tell us what you had, we could narrow
this down,

Also, how large are the buffer pools, and how does system swapping look (2GB
is on the "low end" for a database server)? What does the performance
monitoring (system and DB2) show as the bottleneck?

I'm also still confused by your claim of 80GB drives. AFAI; DELL's SCSI
drives around that size are 73GB. Their 80GB drives are SATA, and these are
offered on DELL's entry level servers, but these don't connect to the PERC
controller (uses CERC or software-based RAID).
"Jason Gyetko" <jg*****@epower-inc.com> wrote in message
news:Oc******************@newssvr31.news.prodigy.c om...
Sorry, should have included this before.

(4) PERC LD PERCRAID SCSI Disks
2GB Memory

"Mark Yudkin" <my***********************@boing.org> wrote in message
news:42**********************@news.sunrise.ch...
Since you say "80GB", and SCSI disks tend to come in different sizes, it
seems you aren't on SCSI, let alone fibre-attached SAN. Your system
sounds
to be one with "a big head on a baby's body".

Your cheapest option is probably to upgrade to SCSI LVD 320, using a

caching
controller with (fully recharged) battery-backed write cache and adequate
memory, replace the disks with suitable 15K RPM SCSI 320 LVD drives, and

try
again.

You also may wish to check what sort of memory bus architecture your

system
has, as that may also be a bottleneck. If so, you're probably best of

buying
a "more powerful" server.

(We're running DB2 8.1.5 on a 4-way 3.2GHz hyperthreading Xeon HP server
with 4GB RAM, Hitachi disk subsystem over a fibe-attached IBM SAN).

"Jason Gyetko" <jg*****@epower-inc.com> wrote in message
news:wX******************@newssvr31.news.prodigy.c om...
> Ha, ha... If it were only as easy as just making up a key for what you
> want
> to accomplish.
>
> I have 8, 80GB, 15K hard drives configured for RAID1.
> OS on C:, Database on E:, and log files on G:
>
> I have some database monitoring running on the buffers and they are all
> minimal usage. I do notice that the "Select SQL Statements Execute" &
> "Update/Insert/Delete SQL Statements Executed" monitors are peaked out.
> Do
> you know what database parameter effects these? Are there any other
> monitors I should watch?
>
> "Ian" <ia*****@mobileaudio.com> wrote in message
> news:42**********@newsfeed.slurp.net...
>> Jason Gyetko wrote:
>> > I'm running DB2 v8.1 FP5 on a Server with 2 physical processors (4
> virtual)
>> > and am wondering if there is a way to configure DB2 to use more
> processor.
>>
>> Yes, try setting the undocumented registry variable DB2_GO_FAST=YES. If >> that's not good enough, there is also DB2_GO_FASTER.
>>
>> (Just kidding)
>>
>> > Right now I'm running a delete query to delete around 4 million
>> > records.
> It
>> > is only using 5% - 25% of the processor (mostly the lower end with some >> > spikes). This system, for the most part, is strictly used as a
>> > database
>> > server so I'd like to be able to set it so that DB2 can use at least
>> > 50%
> of
>> > the processor, but better yet up to 80% would be great. Does anyone
> know
>> > how or if I can accomplish this?
>>
>> Chances are very good that this is a I/O system limitation, not a CPU
>> limitation. Your CPUs are likely waiting for IO to complete.
>>
>> What kind of disks are you writing to, and how are they configured
>> (RAID5, RAID1, etc)? From a database perspective, you may be getting
>> poor performance with database logging, or poor performance for async
>> writes in the database.
>>
>>
>>
>
>



Nov 12 '05 #9
Currently all the bufferpools are monitoring at 0%.

Sorry for bits & pieces, I'm posting on behalf of a client and did not have
all that info readily available. Here are the Specs:

Dell PowerEdge 4600 - BIOS A08
PERC 3/QC RAID Controller 128 cache
(2) 3GB Xeon Processors 512 cache
2GB RAM
(2) 18GB HD & (6) 73GB HD - RAID 1
Chipset - ????
Windows 2000 Server SP4
DB2 v8.1 SP5

Buffer Pool
------------
(IBMDEFAULTBP)=227380

Database Manager Configuration
---------------------------------
Node type = Database Server with local and remote clients
Database manager configuration release level = 0x0a00
(MAXTOTFILOP) = 16000
(CPUSPEED) = 3.306410e-007
(NUMDB) = 8
(DATALINKS) = NO
(FEDERATED) = NO
(TP_MON_NAME) =
(DFT_ACCOUNT_STR) =
(JDK_PATH) = C:\SQLLIB\java\jdk
(DIAGLEVEL) = 3
(NOTIFYLEVEL) = 3
(DIAGPATH) =
(DFT_MON_BUFPOOL) = OFF
(DFT_MON_LOCK) = OFF
(DFT_MON_SORT) = OFF
(DFT_MON_STMT) = OFF
(DFT_MON_TABLE) = OFF
(DFT_MON_TIMESTAMP) = ON
(DFT_MON_UOW) = OFF
(HEALTH_MON) = OFF
(SYSADM_GROUP) = DBADM
(SYSCTRL_GROUP) = DBCTRL
(SYSMAINT_GROUP) = DBMAINT
(SYSMON_GROUP) =
(AUTHENTICATION) = SERVER
(CATALOG_NOAUTH) = NO
(TRUST_ALLCLNTS) = YES
(TRUST_CLNTAUTH) = CLIENT
(FED_NOAUTH) = NO
(DFTDBPATH) = E:
(MON_HEAP_SZ) = 66
(JAVA_HEAP_SZ) = 512
(AUDIT_BUF_SZ) = 0
(INSTANCE_MEMORY) = AUTOMATIC
(BACKBUFSZ) = 1024
(RESTBUFSZ) = 1024
(AGENT_STACK_SZ) = 16
(MIN_PRIV_MEM) = 32
(PRIV_MEM_THRESH) = 32767
(SHEAPTHRES) = 30609
(DIR_CACHE) = YES
(ASLHEAPSZ) = 15
(RQRIOBLK) = 32767
(DOS_RQRIOBLK) = 4096
(QUERY_HEAP_SZ) = 1000
(DRDA_HEAP_SZ) = 128
(UTIL_IMPACT_LIM) = 100
(AGENTPRI) = SYSTEM
(MAXAGENTS) = 200
(NUM_POOLAGENTS) = 92
(NUM_INITAGENTS) = 0
(MAX_COORDAGENTS) = (MAXAGENTS - NUM_INITAGENTS)
(MAXCAGENTS) = MAX_COORDAGENTS
(MAX_CONNECTIONS) = MAX_COORDAGENTS
(KEEPFENCED) = YES
(FENCED_POOL) = MAX_COORDAGENTS
(NUM_INITFENCED) = 0
(INDEXREC) = ACCESS
(TM_DATABASE) = 1ST_CONN
(RESYNC_INTERVAL) = 180
(SPM_NAME) = AVBAR200
(SPM_LOG_FILE_SZ) = 256
(SPM_MAX_RESYNC) = 20
(SPM_LOG_PATH) =
(NNAME) =
(SVCENAME) = RBUDB
(DISCOVER) = SEARCH
(DISCOVER_INST) = ENABLE
(MAX_QUERYDEGREE) = 4
(INTRA_PARALLEL) = YES
(FCM_NUM_BUFFERS) = 1024
(FCM_NUM_RQB) = 512
(FCM_NUM_CONNECT) = (FCM_NUM_RQB * 0.75)
(FCM_NUM_ANCHORS) = (FCM_NUM_RQB * 0.75)

Database Configuration
------------------------
Database configuration release level= 0x0a00
Database release level = 0x0a00
Database territory = US
Database code page = 1252
Database code set = 1252
Database country/region code = 1
Multi-page file allocation enabled = NO
Log retain for recovery status = RECOVERY
User exit for logging status = YES
Default number of containers = 1
(DYN_QUERY_MGMT) = DISABLE
(DISCOVER_DB) = ENABLE
(DFT_QUERYOPT) = 5
(DFT_DEGREE) = 1
(DFT_SQLMATHWARN) = NO
(DFT_REFRESH_AGE) = 0
(NUM_FREQVALUES) = 10
(NUM_QUANTILES) = 20
(DL_EXPINT) = 60
(DL_WT_IEXPINT) = 60
(DL_NUM_COPIES) = 1
(DL_TIME_DROP) = 1
(DL_UPPER) = NO
(DL_TOKEN) = MAC0
(DBHEAP) = 2048
(DATABASE_MEMORY) = AUTOMATIC
(CATALOGCACHE_SZ) = 487
(LOGBUFSZ) = 76
(UTIL_HEAP_SZ) = 10000
(BUFFPAGE) = 1024
(ESTORE_SEG_SZ) = 16000
(NUM_ESTORE_SEGS) = 0
(LOCKLIST) = 1024
(APPGROUP_MEM_SZ) = 14494
(GROUPHEAP_RATIO) = 70
(APP_CTL_HEAP_SZ) = 160
(SHEAPTHRES_SHR) = (SHEAPTHRES)
(SORTHEAP) = 1024
(STMTHEAP) = 1024
(APPLHEAPSZ) = 512
(PCKCACHESZ) = 4096
(STAT_HEAP_SZ) = 4384
(DLCHKTIME) = 10000
(MAXLOCKS) = 60
(LOCKTIMEOUT) = -1
(CHNGPGS_THRESH) = 60
(NUM_IOCLEANERS) = 10
(NUM_IOSERVERS) = 4
(INDEXSORT) = YES
(SEQDETECT) = YES
(DFT_PREFETCH_SZ) = 32
(TRACKMOD) = OFF
(DFT_EXTENT_SZ) = 32
(MAXAPPLS) = 40
(AVG_APPLS) = 32
(MAXFILOP) = 64
(LOGFILSIZ) = 1024
(LOGPRIMARY) = 3
(LOGSECOND) = 125
(NEWLOGPATH) =
Path to log files = G:\DB2Logs\
(OVERFLOWLOGPATH) =
(MIRRORLOGPATH) =
First active log = S0000361.LOG
(BLK_LOG_DSK_FUL) = NO
(MAX_LOG) = 0
(NUM_LOG_SPAN) = 0
(MINCOMMIT) = 2
(SOFTMAX) = 120
(LOGRETAIN) = RECOVERY
(USEREXIT) = ON
(AUTORESTART) = ON
(INDEXREC) = SYSTEM (ACCESS)
(DFT_LOADREC_SES) = 1
(NUM_DB_BACKUPS) = 12
(REC_HIS_RETENTN) = 366
(TSM_MGMTCLASS) =
(TSM_NODENAME) =
(TSM_OWNER) =
(TSM_PASSWORD) =

"Mark Yudkin" <my***********************@boing.org> wrote in message
news:42**********************@news.sunrise.ch...
Then you have a DELL Poweredge server? Which model? Which PERC card is that (PERC2/Si, PERC3/Di, PERC3/DC, PERC4/SC, etc)? How large is the battery
backed write cache (not all PERC models support batteries)? What's the
bandwidth (PERC2 in 100MB/s, PERC3 is 160MB/s, PERC4 is 320MB/s)? What about the disks themselves? I'm still assuming you have Windows 2000 or 2003, is
this correct or are you on Linux? What's the motherboard chipset? I wish
you'd give full information up front.

In any case, I'm still guessing primarily I/O bottleneck, with a secondary
guess of inadequate memory architecture (would occur if you have a so-called "entry-level" server). If you were to tell us what you had, we could narrow this down,

Also, how large are the buffer pools, and how does system swapping look (2GB is on the "low end" for a database server)? What does the performance
monitoring (system and DB2) show as the bottleneck?

I'm also still confused by your claim of 80GB drives. AFAI; DELL's SCSI
drives around that size are 73GB. Their 80GB drives are SATA, and these are offered on DELL's entry level servers, but these don't connect to the PERC
controller (uses CERC or software-based RAID).
"Jason Gyetko" <jg*****@epower-inc.com> wrote in message
news:Oc******************@newssvr31.news.prodigy.c om...
Sorry, should have included this before.

(4) PERC LD PERCRAID SCSI Disks
2GB Memory

"Mark Yudkin" <my***********************@boing.org> wrote in message
news:42**********************@news.sunrise.ch...
Since you say "80GB", and SCSI disks tend to come in different sizes, it seems you aren't on SCSI, let alone fibre-attached SAN. Your system
sounds
to be one with "a big head on a baby's body".

Your cheapest option is probably to upgrade to SCSI LVD 320, using a

caching
controller with (fully recharged) battery-backed write cache and adequate memory, replace the disks with suitable 15K RPM SCSI 320 LVD drives, and
try
again.

You also may wish to check what sort of memory bus architecture your

system
has, as that may also be a bottleneck. If so, you're probably best of

buying
a "more powerful" server.

(We're running DB2 8.1.5 on a 4-way 3.2GHz hyperthreading Xeon HP

server with 4GB RAM, Hitachi disk subsystem over a fibe-attached IBM SAN).

"Jason Gyetko" <jg*****@epower-inc.com> wrote in message
news:wX******************@newssvr31.news.prodigy.c om...
> Ha, ha... If it were only as easy as just making up a key for what you > want
> to accomplish.
>
> I have 8, 80GB, 15K hard drives configured for RAID1.
> OS on C:, Database on E:, and log files on G:
>
> I have some database monitoring running on the buffers and they are all > minimal usage. I do notice that the "Select SQL Statements Execute" & > "Update/Insert/Delete SQL Statements Executed" monitors are peaked out. > Do
> you know what database parameter effects these? Are there any other
> monitors I should watch?
>
> "Ian" <ia*****@mobileaudio.com> wrote in message
> news:42**********@newsfeed.slurp.net...
>> Jason Gyetko wrote:
>> > I'm running DB2 v8.1 FP5 on a Server with 2 physical processors (4
> virtual)
>> > and am wondering if there is a way to configure DB2 to use more
> processor.
>>
>> Yes, try setting the undocumented registry variable DB2_GO_FAST=YES.

If
>> that's not good enough, there is also DB2_GO_FASTER.
>>
>> (Just kidding)
>>
>> > Right now I'm running a delete query to delete around 4 million
>> > records.
> It
>> > is only using 5% - 25% of the processor (mostly the lower end with

some
>> > spikes). This system, for the most part, is strictly used as a
>> > database
>> > server so I'd like to be able to set it so that DB2 can use at least >> > 50%
> of
>> > the processor, but better yet up to 80% would be great. Does anyone > know
>> > how or if I can accomplish this?
>>
>> Chances are very good that this is a I/O system limitation, not a CPU >> limitation. Your CPUs are likely waiting for IO to complete.
>>
>> What kind of disks are you writing to, and how are they configured
>> (RAID5, RAID1, etc)? From a database perspective, you may be getting >> poor performance with database logging, or poor performance for async >> writes in the database.
>>
>>
>>
>
>



Nov 12 '05 #10
The disk sizes are definitely more plausible, but your specs remain
incomplete (disk specs!). The PERC3/QC supports battery backup, but is only
160MB/s. Using the RAID setup utility, check that your battery is in good
condition and that you have allocated 64MB to the battery cache.

Run the tests with full performance monitoring on the I/O of each disk pair
using both the WIndows and DB2 tools to ensure you have properly balanced
I/O.

"Jason Gyetko" <jg*****@epower-inc.com> wrote in message
news:0r****************@newssvr17.news.prodigy.com ...
Currently all the bufferpools are monitoring at 0%.

Sorry for bits & pieces, I'm posting on behalf of a client and did not
have
all that info readily available. Here are the Specs:

Dell PowerEdge 4600 - BIOS A08
PERC 3/QC RAID Controller 128 cache
(2) 3GB Xeon Processors 512 cache
2GB RAM
(2) 18GB HD & (6) 73GB HD - RAID 1
Chipset - ????
Windows 2000 Server SP4
DB2 v8.1 SP5

Buffer Pool
------------
(IBMDEFAULTBP)=227380

Database Manager Configuration
---------------------------------
Node type = Database Server with local and remote clients
Database manager configuration release level = 0x0a00
(MAXTOTFILOP) = 16000
(CPUSPEED) = 3.306410e-007
(NUMDB) = 8
(DATALINKS) = NO
(FEDERATED) = NO
(TP_MON_NAME) =
(DFT_ACCOUNT_STR) =
(JDK_PATH) = C:\SQLLIB\java\jdk
(DIAGLEVEL) = 3
(NOTIFYLEVEL) = 3
(DIAGPATH) =
(DFT_MON_BUFPOOL) = OFF
(DFT_MON_LOCK) = OFF
(DFT_MON_SORT) = OFF
(DFT_MON_STMT) = OFF
(DFT_MON_TABLE) = OFF
(DFT_MON_TIMESTAMP) = ON
(DFT_MON_UOW) = OFF
(HEALTH_MON) = OFF
(SYSADM_GROUP) = DBADM
(SYSCTRL_GROUP) = DBCTRL
(SYSMAINT_GROUP) = DBMAINT
(SYSMON_GROUP) =
(AUTHENTICATION) = SERVER
(CATALOG_NOAUTH) = NO
(TRUST_ALLCLNTS) = YES
(TRUST_CLNTAUTH) = CLIENT
(FED_NOAUTH) = NO
(DFTDBPATH) = E:
(MON_HEAP_SZ) = 66
(JAVA_HEAP_SZ) = 512
(AUDIT_BUF_SZ) = 0
(INSTANCE_MEMORY) = AUTOMATIC
(BACKBUFSZ) = 1024
(RESTBUFSZ) = 1024
(AGENT_STACK_SZ) = 16
(MIN_PRIV_MEM) = 32
(PRIV_MEM_THRESH) = 32767
(SHEAPTHRES) = 30609
(DIR_CACHE) = YES
(ASLHEAPSZ) = 15
(RQRIOBLK) = 32767
(DOS_RQRIOBLK) = 4096
(QUERY_HEAP_SZ) = 1000
(DRDA_HEAP_SZ) = 128
(UTIL_IMPACT_LIM) = 100
(AGENTPRI) = SYSTEM
(MAXAGENTS) = 200
(NUM_POOLAGENTS) = 92
(NUM_INITAGENTS) = 0
(MAX_COORDAGENTS) = (MAXAGENTS - NUM_INITAGENTS)
(MAXCAGENTS) = MAX_COORDAGENTS
(MAX_CONNECTIONS) = MAX_COORDAGENTS
(KEEPFENCED) = YES
(FENCED_POOL) = MAX_COORDAGENTS
(NUM_INITFENCED) = 0
(INDEXREC) = ACCESS
(TM_DATABASE) = 1ST_CONN
(RESYNC_INTERVAL) = 180
(SPM_NAME) = AVBAR200
(SPM_LOG_FILE_SZ) = 256
(SPM_MAX_RESYNC) = 20
(SPM_LOG_PATH) =
(NNAME) =
(SVCENAME) = RBUDB
(DISCOVER) = SEARCH
(DISCOVER_INST) = ENABLE
(MAX_QUERYDEGREE) = 4
(INTRA_PARALLEL) = YES
(FCM_NUM_BUFFERS) = 1024
(FCM_NUM_RQB) = 512
(FCM_NUM_CONNECT) = (FCM_NUM_RQB * 0.75)
(FCM_NUM_ANCHORS) = (FCM_NUM_RQB * 0.75)

Database Configuration
------------------------
Database configuration release level= 0x0a00
Database release level = 0x0a00
Database territory = US
Database code page = 1252
Database code set = 1252
Database country/region code = 1
Multi-page file allocation enabled = NO
Log retain for recovery status = RECOVERY
User exit for logging status = YES
Default number of containers = 1
(DYN_QUERY_MGMT) = DISABLE
(DISCOVER_DB) = ENABLE
(DFT_QUERYOPT) = 5
(DFT_DEGREE) = 1
(DFT_SQLMATHWARN) = NO
(DFT_REFRESH_AGE) = 0
(NUM_FREQVALUES) = 10
(NUM_QUANTILES) = 20
(DL_EXPINT) = 60
(DL_WT_IEXPINT) = 60
(DL_NUM_COPIES) = 1
(DL_TIME_DROP) = 1
(DL_UPPER) = NO
(DL_TOKEN) = MAC0
(DBHEAP) = 2048
(DATABASE_MEMORY) = AUTOMATIC
(CATALOGCACHE_SZ) = 487
(LOGBUFSZ) = 76
(UTIL_HEAP_SZ) = 10000
(BUFFPAGE) = 1024
(ESTORE_SEG_SZ) = 16000
(NUM_ESTORE_SEGS) = 0
(LOCKLIST) = 1024
(APPGROUP_MEM_SZ) = 14494
(GROUPHEAP_RATIO) = 70
(APP_CTL_HEAP_SZ) = 160
(SHEAPTHRES_SHR) = (SHEAPTHRES)
(SORTHEAP) = 1024
(STMTHEAP) = 1024
(APPLHEAPSZ) = 512
(PCKCACHESZ) = 4096
(STAT_HEAP_SZ) = 4384
(DLCHKTIME) = 10000
(MAXLOCKS) = 60
(LOCKTIMEOUT) = -1
(CHNGPGS_THRESH) = 60
(NUM_IOCLEANERS) = 10
(NUM_IOSERVERS) = 4
(INDEXSORT) = YES
(SEQDETECT) = YES
(DFT_PREFETCH_SZ) = 32
(TRACKMOD) = OFF
(DFT_EXTENT_SZ) = 32
(MAXAPPLS) = 40
(AVG_APPLS) = 32
(MAXFILOP) = 64
(LOGFILSIZ) = 1024
(LOGPRIMARY) = 3
(LOGSECOND) = 125
(NEWLOGPATH) =
Path to log files = G:\DB2Logs\
(OVERFLOWLOGPATH) =
(MIRRORLOGPATH) =
First active log = S0000361.LOG
(BLK_LOG_DSK_FUL) = NO
(MAX_LOG) = 0
(NUM_LOG_SPAN) = 0
(MINCOMMIT) = 2
(SOFTMAX) = 120
(LOGRETAIN) = RECOVERY
(USEREXIT) = ON
(AUTORESTART) = ON
(INDEXREC) = SYSTEM (ACCESS)
(DFT_LOADREC_SES) = 1
(NUM_DB_BACKUPS) = 12
(REC_HIS_RETENTN) = 366
(TSM_MGMTCLASS) =
(TSM_NODENAME) =
(TSM_OWNER) =
(TSM_PASSWORD) =

"Mark Yudkin" <my***********************@boing.org> wrote in message
news:42**********************@news.sunrise.ch...
Then you have a DELL Poweredge server? Which model? Which PERC card is

that
(PERC2/Si, PERC3/Di, PERC3/DC, PERC4/SC, etc)? How large is the battery
backed write cache (not all PERC models support batteries)? What's the
bandwidth (PERC2 in 100MB/s, PERC3 is 160MB/s, PERC4 is 320MB/s)? What

about
the disks themselves? I'm still assuming you have Windows 2000 or 2003,
is
this correct or are you on Linux? What's the motherboard chipset? I wish
you'd give full information up front.

In any case, I'm still guessing primarily I/O bottleneck, with a
secondary
guess of inadequate memory architecture (would occur if you have a

so-called
"entry-level" server). If you were to tell us what you had, we could

narrow
this down,

Also, how large are the buffer pools, and how does system swapping look

(2GB
is on the "low end" for a database server)? What does the performance
monitoring (system and DB2) show as the bottleneck?

I'm also still confused by your claim of 80GB drives. AFAI; DELL's SCSI
drives around that size are 73GB. Their 80GB drives are SATA, and these

are
offered on DELL's entry level servers, but these don't connect to the
PERC
controller (uses CERC or software-based RAID).
"Jason Gyetko" <jg*****@epower-inc.com> wrote in message
news:Oc******************@newssvr31.news.prodigy.c om...
> Sorry, should have included this before.
>
> (4) PERC LD PERCRAID SCSI Disks
> 2GB Memory
>
> "Mark Yudkin" <my***********************@boing.org> wrote in message
> news:42**********************@news.sunrise.ch...
>> Since you say "80GB", and SCSI disks tend to come in different sizes, it >> seems you aren't on SCSI, let alone fibre-attached SAN. Your system
>> sounds
>> to be one with "a big head on a baby's body".
>>
>> Your cheapest option is probably to upgrade to SCSI LVD 320, using a
> caching
>> controller with (fully recharged) battery-backed write cache and adequate >> memory, replace the disks with suitable 15K RPM SCSI 320 LVD drives, and > try
>> again.
>>
>> You also may wish to check what sort of memory bus architecture your
> system
>> has, as that may also be a bottleneck. If so, you're probably best of
> buying
>> a "more powerful" server.
>>
>> (We're running DB2 8.1.5 on a 4-way 3.2GHz hyperthreading Xeon HP server >> with 4GB RAM, Hitachi disk subsystem over a fibe-attached IBM SAN).
>>
>> "Jason Gyetko" <jg*****@epower-inc.com> wrote in message
>> news:wX******************@newssvr31.news.prodigy.c om...
>> > Ha, ha... If it were only as easy as just making up a key for what you >> > want
>> > to accomplish.
>> >
>> > I have 8, 80GB, 15K hard drives configured for RAID1.
>> > OS on C:, Database on E:, and log files on G:
>> >
>> > I have some database monitoring running on the buffers and they are all >> > minimal usage. I do notice that the "Select SQL Statements Execute" & >> > "Update/Insert/Delete SQL Statements Executed" monitors are peaked out. >> > Do
>> > you know what database parameter effects these? Are there any other
>> > monitors I should watch?
>> >
>> > "Ian" <ia*****@mobileaudio.com> wrote in message
>> > news:42**********@newsfeed.slurp.net...
>> >> Jason Gyetko wrote:
>> >> > I'm running DB2 v8.1 FP5 on a Server with 2 physical processors
>> >> > (4
>> > virtual)
>> >> > and am wondering if there is a way to configure DB2 to use more
>> > processor.
>> >>
>> >> Yes, try setting the undocumented registry variable
>> >> DB2_GO_FAST=YES.
> If
>> >> that's not good enough, there is also DB2_GO_FASTER.
>> >>
>> >> (Just kidding)
>> >>
>> >> > Right now I'm running a delete query to delete around 4 million
>> >> > records.
>> > It
>> >> > is only using 5% - 25% of the processor (mostly the lower end
>> >> > with
> some
>> >> > spikes). This system, for the most part, is strictly used as a
>> >> > database
>> >> > server so I'd like to be able to set it so that DB2 can use at least >> >> > 50%
>> > of
>> >> > the processor, but better yet up to 80% would be great. Does anyone >> > know
>> >> > how or if I can accomplish this?
>> >>
>> >> Chances are very good that this is a I/O system limitation, not a CPU >> >> limitation. Your CPUs are likely waiting for IO to complete.
>> >>
>> >> What kind of disks are you writing to, and how are they configured
>> >> (RAID5, RAID1, etc)? From a database perspective, you may be getting >> >> poor performance with database logging, or poor performance for async >> >> writes in the database.
>> >>
>> >>
>> >>
>> >
>> >
>>
>>
>
>



Nov 12 '05 #11

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

Similar topics

303
by: mike420 | last post by:
In the context of LATEX, some Pythonista asked what the big successes of Lisp were. I think there were at least three *big* successes. a. orbitz.com web site uses Lisp for algorithms, etc. b....
22
by: bearophile | last post by:
Ville Vainio: >It's highly typical for the newbies to suggest improvements to the >language. They will usually learn that they are wrong, but the >discussion that ensues can be fruitfull anyway...
21
by: Rabbit63 | last post by:
Hi: I want to show a set of records in the database table on the clicnt browser. I have two ways to do this (writen in JScript): 1.The first way is: <% var sql = "select firstname from...
6
by: Markus Dehmann | last post by:
I have n sets of elements. I want to find elements that occur more than once in more than one set. Maybe the following example shows what I mean: S1 = {1,2,3,2,4} S2 = {2,2,4,5,4} S2 =...
33
by: Joerg Schuster | last post by:
Hello, Python regular expressions must not have more than 100 capturing groups. The source code responsible for this reads as follows: # XXX: <fl> get rid of this limitation! if...
15
by: Deano | last post by:
I've posted about this subject before but haven't really got anywhere yet. I have now come up with a plan of action that takes into account my strong desire to implement save/discard functionality...
2
by: Suzanne | last post by:
Hi all, I'm reposting this message as I'm experiencing this problem more and more frequently : I really hope someone out there can help me as I've been tearing my hair out on this one for a...
15
by: sparks | last post by:
We get more and more data done in excel and then they want it imported into access. The data is just stupid....values of 1 to 5 we get a lot of 0's ok that alright but 1-jan ? we get colums...
3
by: Water Cooler v2 | last post by:
Questions: 1. Can there be more than a single script block in a given HEAD tag? 2. Can there be more than a single script block in a given BODY tag? To test, I tried the following code. None...
7
by: Sky | last post by:
I have been looking for a more powerful version of GetType(string) that will find the Type no matter what, and will work even if only supplied "{TypeName}", not the full "{TypeName},{AssemblyName}"...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.