I have Oracle 10g database. Database performance has been quite slow for the past days.
Below is part of my alert log. Was wondering if the select statement is causing the slowness? If it is, how can I rectify it?
Wed Jul 3 03:44:51 2013
SELECT /*pkg.CustAcct "CustAcct" ,
pkg.CustName "CustName",
pkg.SubKeyVal "SubKeyVal",
pkg.SubsNum "SubsNum",*/
pkg.PkgName "PkgName" ,
pkg.ServName "ServName",
pkg.PACKAGE "Package" ,
pkg.Service "Service",
pkg.Feat "Feature",
pkg.GLCode "GLCode" ,
pkg.TransType "TransType" ,
pkg.AccountSegment "AccountSegment"
/* pkg.CreditSegment "CreditSegment" ,
pkg.RevenueSegment "RevenueSegment",
pkg.TargetSeg "TargetSeg" ,
pkg.PayMode "PayMode",
pkg.ProdCat "ProdCat",
pkg.ProdLine "ProdLine",
pkg.ProdFam "ProdPlatform",
pkg.TechType "TechType" ,
pkg.AccessType "AccessType",
pkg.AccessMode "AccessMode" ,
pkg.AcccessMedium "AccessDevice",
pkg.Branch "Branch",
pkg. Branch_Prov "BranchProv",
pkg.Bus_Regions "BusRegions"*/
FROM
(SELECT b.cust_keyvalue AS CustAcct ,
b.first_name
||:"SYS_B_00"
||b.last_name AS CustName ,
b.keyvalue
AS SubKeyVal ,
b.msisdn_in_use AS SubsNum ,
/*CASE
WHEN
Wed Jul 3 04:14:28 2013
Thread 1 advanced to log sequence 249304 (LGWR switch)
Current log# 1 seq# 249304 mem# 0: /vol2/logs/redo1c.log
Current log# 1 seq# 249304 mem# 1: /home/app/oracle/oradata/ABS/redo1b.log
Wed
Jul 3 06:01:03 2013
Thread 1 advanced to log sequence 249305 (LGWR switch)
Current log# 2 seq# 249305 mem# 0: /vol2/logs/redo2c.log
Current log# 2 seq# 249305 mem# 1: /home/app/oracle/oradata/ABS/redo2b.log
Wed Jul 3 07:50:58 2013
Thread 1 advanced to log sequence 249306 (LGWR switch)
Current log# 3 seq# 249306 mem# 0: /vol2/logs/redo3c.log
Current log# 3 seq# 249306 mem# 1: /home/app/oracle/oradata/ABS/redo3b.log
Wed Jul 3 09:14:59 2013
Thread 1 advanced to log sequence 249307 (LGWR switch)
Current log# 4 seq# 249307 mem# 0: /home/app/oracle/oradata/ABS/redo4a.log
Current log# 4 seq# 249307 mem# 1: /vol2/logs/redo4c.log
Wed Jul 3 09:57:04 2013
Thread 1 advanced to log sequence 249308 (LGWR switch)
Current log# 1 seq# 249308 mem# 0: /vol2/logs/redo1c.log
Current log# 1 seq# 249308 mem# 1: /home/app/oracle/oradata/ABS/redo1b.log
Wed Jul 3 10:14:27 2013
Thread 1 advanced to log sequence 249309 (LGWR switch)
Current log# 2 seq# 249309 mem# 0: /vol2/logs/redo2c.log
Current log# 2 seq# 249309 mem# 1: /home/app/oracle/oradata/ABS/redo2b.log
Wed Jul 3 10:32:34 2013
Thread 1 advanced to log sequence 249310 (LGWR switch)
Current log# 3 seq# 249310 mem# 0: /vol2/logs/redo3c.log
Current log# 3 seq# 249310 mem# 1: /home/app/oracle/oradata/ABS/redo3b.log
Wed Jul 3 10:42:46 2013
WARNING: inbound connection timed out (ORA-3136)
Wed Jul 3 10:47:11 2013
Thread 1 advanced to log sequence 249311 (LGWR switch)
Current log# 4 seq# 249311 mem# 0: /home/app/oracle/oradata/ABS/redo4a.log
Current log# 4 seq# 249311 mem# 1: /vol2/logs/redo4c.log
Wed Jul 3 11:04:44 2013
Thread 1 advanced to log sequence 249312 (LGWR switch)
Current log# 1 seq# 249312 mem# 0: /vol2/logs/redo1c.log
Current log# 1 seq# 249312 mem# 1: /home/app/oracle/oradata/ABS/redo1b.log
Wed Jul 3 11:26:28 2013
Thread 1 advanced to log sequence 249313 (LGWR switch)
Current log# 2 seq# 249313 mem# 0: /vol2/logs/redo2c.log
Current log# 2 seq# 249313 mem# 1: /home/app/oracle/oradata/ABS/redo2b.log