Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / May 2006

Tip: Looking for answers? Try searching our database.

Application hanging

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
situ - 18 May 2006 08:06 GMT
i have one procedure which contains lots of logics in it. (which is one
of the largest procedure in my application)

i have 5 application(or agent) which access this procedure.
when i am accessing a particular code in it all the applications
connected to it hangs.
ultimately it leads to the restarting of the db2 server.

i even tried putting some part of the code in to a new procedure but in
vain.
can anybody help me how to improve performance
Serge Rielau - 18 May 2006 08:37 GMT
> i have one procedure which contains lots of logics in it. (which is one
> of the largest procedure in my application)
[quoted text clipped - 7 lines]
> vain.
> can anybody help me how to improve performance

Which platform and version are you on?
My first guess would be that you either have some SQL which runs forever
or you have a dead-lock.
Take a look at SNAPSHOTs or the db2pd tool to analyze.

Cheers
Serge

Signature

Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

situ - 18 May 2006 08:48 GMT
i am working in windows xp platform
and i am using DB2 V8.1.7.445
situ - 18 May 2006 09:07 GMT
hello serge,
which parameter i have to take in to consideration in get snapshot
statement
when i say list application its showing 40 applications running on the
database
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.