Unix Technical Forum

db2 min, max, count functions are very slow

This is a discussion on db2 min, max, count functions are very slow within the DB2 forums, part of the Database Server Software category; --> I have a mid-size (60 mil records) table, it's taking almost 4 minutes to do a max of a ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 02:29 AM
rana ray
 
Posts: n/a
Default db2 min, max, count functions are very slow

I have a mid-size (60 mil records) table, it's taking almost 4 minutes to do
a max of a field, this is UDB V8.1 fp5 running on AIX 5.2, it's a P690
server w/ 16G of RAM and 24 processors, the same returns in < 10 secs in
Informix, any help appreciated. Thanks, Rana


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 02:29 AM
Serge Rielau
 
Posts: n/a
Default Re: db2 min, max, count functions are very slow

rana ray wrote:
> I have a mid-size (60 mil records) table, it's taking almost 4 minutes to do
> a max of a field, this is UDB V8.1 fp5 running on AIX 5.2, it's a P690
> server w/ 16G of RAM and 24 processors, the same returns in < 10 secs in
> Informix, any help appreciated. Thanks, Rana
>
>

Create an index? Do runstats, ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:13 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com