Oracle ASP-Net Performance Issue
Abdul Seerae, January 27, 2006 - 10:19 am UTC
We have a 3rd party ASP-Net based application running on oracle 9i - Windows 3000 Server with 2GB RAM. The users are complaining about high response time.
OEM shows buffer cache hit ratio is 100% and Lib. Cache hit ratio is about 99.95%. IO in database is very low and always shows 25 ~ 30% free memory. But the CPU usage is between 95 ~ 100% most of the time which is slowing down the server.
We can't see any bottlenecks in Oracle database side. When we look at the CPU utilization, there are few sessions of "aspnet_wp.exe" which is taking up all the CPU time. We tried to convince our users that it is an application issue rather than database issue. But the vendor is blaming database and it seems to me that vendor don't want to spent time to fine tune their ASP codes / scripts.
I am wondering, is there any easy way to prove that their application is to be blamed?. Any thoughts / suggestions in this respect will be highly appreciated.
January 27, 2006 - 11:24 am UTC
Windows 3000! cool :)
well, if the cache hit ratio is 100%, I don't see what could possibly be wrong... (sarcasm, sorry...)
burning the cpu at 100% isn't slowing down the server technically - server is running at top speed, it just doesn't have sufficient resources (eg: if you are at 100% cpu, you probably want to be at 150% cpu but you cannot be).
if aspnet_wp.exe is consuming the vast majority of the cpu, not too much I can say - if oracle.exe was, I could comment.
look at stats pack
Jim, January 27, 2006 - 12:15 pm UTC
Pure guess but high CPU usage and low IO would tend to have me suspect the app isn't using bind variables. But look at statspack.
We are not alone...
Abdul Seerae, February 02, 2006 - 5:35 pm UTC
Hi Tom,
Thank you for your comments. (Sorry for the typo - it should be Windows 2003 and not 3000).
It seems the issue is with aspnet_wp.exe. On searching google for 'aspnet_wp.exe' I got 100s of hits, most of them complaining about 99% CPU usage, irrespective of database (on oracle, mysql etc).
Regards
Workaround to pass Objects to Stored Procedure in ODP.NET
Anil Bishnoie, April 23, 2006 - 9:08 pm UTC
Hi,
Does oracle 9.2.X ODP.NET support passing hetrogenous object ( consisting of int and string members) from C#/ASP.NET call to a Stored Procedure with heterogenous Object Type as input Parameter.Is there a workaround /code snippet to do this using some LOB concepts using c#/odp.net ?