prajesh
15th February 2002, 08:07
Hello
can anyone help me out .....
when I run a particular session I want to monitor peformance the sql queries. By Using TT_SQL_TRACE we can do it.
But I dont know How to do it.
As I had seen in of your posted answer the below output
Tracing on: TT_SQL_TRACE = 0200
================================================
Fetch times of Query (QID : 1) Trans 1 (bshell(main)) in SqlBreak :
select count(*):list_size
from ttdsk355
------------------------------------------------
Nr Rows Fetched : 1
Fetch Time for 1st Row : 0.030 sec
Total Time : 0.030 sec
================================================
================================================
Fetch times of Query (QID : 2) Trans 1 (bshell(main)) in SqlBreak :
select ttdsk360.*
where
(ttdsk360.user = :logname$ or ttdsk360.user = :1)
order by ttdsk360.user desc, ttdsk360.cpac desc,
ttdsk360.rsst desc, ttdsk360.rsid desc
------------------------------------------------
Nr Rows Fetched : 180
Fetch Time for 1st Row : 0.080 sec
Max Fetch Time : 0.080 sec
Average Fetch Time : 0.000 sec
Average Fetch Time (except Max) : 0.000 sec
Total Time : 0.080 sec
==============================================
==============================================
so here my point is to get the output as above for my particular session.
could you pls send me tell me the step by step procedure
It will be very helpful for improving the performance of some sql
queries.
pls mail me to this mail id tp12345in@yahoo.com
Thanks in Advance
Regards
Rajesh.
can anyone help me out .....
when I run a particular session I want to monitor peformance the sql queries. By Using TT_SQL_TRACE we can do it.
But I dont know How to do it.
As I had seen in of your posted answer the below output
Tracing on: TT_SQL_TRACE = 0200
================================================
Fetch times of Query (QID : 1) Trans 1 (bshell(main)) in SqlBreak :
select count(*):list_size
from ttdsk355
------------------------------------------------
Nr Rows Fetched : 1
Fetch Time for 1st Row : 0.030 sec
Total Time : 0.030 sec
================================================
================================================
Fetch times of Query (QID : 2) Trans 1 (bshell(main)) in SqlBreak :
select ttdsk360.*
where
(ttdsk360.user = :logname$ or ttdsk360.user = :1)
order by ttdsk360.user desc, ttdsk360.cpac desc,
ttdsk360.rsst desc, ttdsk360.rsid desc
------------------------------------------------
Nr Rows Fetched : 180
Fetch Time for 1st Row : 0.080 sec
Max Fetch Time : 0.080 sec
Average Fetch Time : 0.000 sec
Average Fetch Time (except Max) : 0.000 sec
Total Time : 0.080 sec
==============================================
==============================================
so here my point is to get the output as above for my particular session.
could you pls send me tell me the step by step procedure
It will be very helpful for improving the performance of some sql
queries.
pls mail me to this mail id tp12345in@yahoo.com
Thanks in Advance
Regards
Rajesh.