Consultas de base de datos de QoE de ejemplo en Lync Server 2013
Última modificación del tema: 2012-10-17
Esta sección contiene consultas de ejemplo para la base de datos de calidad de experiencia (QoE).
Use el ejemplo siguiente para obtener el promedio de vibración y pérdida de paquetes en todas las transmisiones de audio.
select avg(cast(JitterInterArrival as bigint)) as JitterAvg, avg(PacketLossRate) as PacketLossRateAvg from AudioStream
Use el ejemplo siguiente para obtener el número total de conferencias que usaron la consola de reunión.
select avg(ConversationalMOS)
from SessionView s
inner join MediaLineView m
on s.ConferenceDateTime = m.ConferenceDateTime
and s.SessionSeq = m.SessionSeq
and m.MediaLineLabel = 0 -- audio media line
and s.CallerUserAgentType = 4 -- Lync
and s.CalleeUserAgentType = 4 -- Lync
Use el ejemplo siguiente para obtener ConversstionalMOS, SendingMOS y ListendingMOS por dispositivo de captura.
select t.DeviceName as Device, count(*) as SampleNum, avg(ConversationalMOS) as ConversationalMOS, avg(SendListenMOS) SendingMOS, avg(RecvListenMOS) as ListendingMOS
from
(
select m.CallerCaptureDev as DeviceName, m.ConferenceDateTime, m.SessionSeq, a.StreamID, m.ConversationalMOS,a.SendListenMOS, a.RecvListenMOS
from MediaLineView m
inner join AudioStream a
on m.ConferenceDateTime = a.ConferenceDateTime
and m.SessionSeq = a.SessionSeq
and m.MediaLineLabel = 0
union
select m.CalleeCaptureDev as DeviceName, m.ConferenceDateTime, m.SessionSeq, a.StreamID, m.ConversationalMOS,a.SendListenMOS, a.RecvListenMOS
from MediaLineView m
inner join AudioStream a
on m.ConferenceDateTime = a.ConferenceDateTime
and m.SessionSeq = a.SessionSeq
and m.MediaLineLabel = 0
)as t
group by t.DeviceName
order by SampleNum desc