MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Perfromance Issue

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
coolguy
Beginner


Joined: 01 Dec 2004
Posts: 82
Topics: 28

PostPosted: Tue Nov 21, 2006 6:23 am    Post subject: Perfromance Issue Reply with quote

I am facing the performance problem In DB2 , actually prev we wew using DB2 version 5 now we have upgrded the verison to Db2 version 7
Now some of the queiries taking long time to run after the upgradtion
pls gimme some idea what the piont we need to check for the performance related things

Thanks
Cool
Back to top
View user's profile Send private message
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 315
Topics: 49
Location: Germany

PostPosted: Tue Nov 21, 2006 6:30 am    Post subject: Reply with quote

coolguy,


- check statistic data in db2 catalog. Are statistic data up to date ?
- Rebind / Bind activitys ?
- Do an explain
- Are the data befor upgrading really the same ? Other table cardinality ?

bauer
Back to top
View user's profile Send private message
coolguy
Beginner


Joined: 01 Dec 2004
Posts: 82
Topics: 28

PostPosted: Tue Nov 21, 2006 6:42 am    Post subject: Reply with quote

I did all the things and Runstats also , i am pretty sure the data's are same,
While using explain it is going for the tablespace scan ,

how to change the things can u help me

Thanks
Cool
Back to top
View user's profile Send private message
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 315
Topics: 49
Location: Germany

PostPosted: Tue Nov 21, 2006 7:39 am    Post subject: Reply with quote

coolguy,


well, why table space scan, this is very poor (for large tables).

I would recommend to create an index if the table space scan is the bottle neck.

bauer
Back to top
View user's profile Send private message
rubenprakash
Beginner


Joined: 03 Nov 2006
Posts: 6
Topics: 2
Location: India

PostPosted: Tue Nov 21, 2006 11:47 am    Post subject: Reply with quote

coolguy wrote:
I did all the things and Runstats also , i am pretty sure the data's are same,
While using explain it is going for the tablespace scan ,

how to change the things can u help me

Thanks
Cool


Are you sure that the statistic tables are updated till date? Whether in earlier version of DB2 do the query go for tablespace scan? It should be index scan. If index is not created we need that one if index is already present then need to check the stat tables...
_________________
Regards, Ruben
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 315
Topics: 49
Location: Germany

PostPosted: Wed Nov 22, 2006 1:37 am    Post subject: Reply with quote

coolguy,

other remark: What about reorg ? Are we talking about clusterd index?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group