- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Oracle application performance problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2001 11:25 PM
тАО06-07-2001 11:25 PM
Oracle application performance problem
CPU Utilization: about 50%
DISK Utilization: about 50%
Mem Utilization: about 35%
Swap Utilization: about 11%
Our process consumes about only 10% of CPU and always blocks on "SOCKT". The oracle process often blocks on "SEM" and "PRI".
What would be the possible bottleneck for running the process? Any suggestion to make the process run faster?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2001 12:21 AM
тАО06-08-2001 12:21 AM
Re: Oracle application performance problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2001 12:38 AM
тАО06-08-2001 12:38 AM
Re: Oracle application performance problem
The program will check records in table A which contains about 32000 records. This will result about 4000 records from table A. For each result from table A, it will check records in table B, which has about 700,000 records, for records related to the record from table A. Then the records in both A and B will be exported to a text file. In our case, we will get 160000 records from table B to text file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2001 02:50 AM
тАО06-08-2001 02:50 AM
Re: Oracle application performance problem
To run the sql trace, you will need to find the session_id and sid of the program. To do this you need to logon to the databsae with access to the v$views - system/sys unless specifically setup.
1. Query the view v$session and obtain the sid and serial# for the program - could use username field.
2. Issue the command below to turn on timed_statistics
alter database set timed_statistics=true;
3. Issue the command below to turn on tracing for program (using values from 1.):
execute sys.dbms_system.set_sql_trace_in_session(session_id, serial#, TRUE);
4. Allow process to run a while. Then turn off tracing and timed_statistics:
execute sys.dbms_system.set_sql_trace_in_session(session_id, serial#, FALSE);
Alter database set timed_statistics=FALSE;
5. Step 4 will create a trace file in the location defined as the user dump directory. Use the utility tkprof to then analyse the trace file to find out what sql statements are taking the time.
If you are using utlbstat/estat - this will check overall database performance. As DBA
1. Turn on timed stats as above.
2. Run script ?/rdbms/admin/utlbstat
3. Wait for a while.
4. Run script ?/rdbms/admin/utlestat. This will produce a file called report.txt
5. Turn off timed stats as above.
The report will highlight contentions, etc in the database.
Good Luck!!
(I have probably forgotten some steps so I appologise now)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2001 11:34 AM
тАО06-08-2001 11:34 AM
Re: Oracle application performance problem
That would explain massive waits on sockets.