SQL Query为给定运行ID的所有事务检索第90个Percentile [英] SQL Query to retrieve 90th Percentile for all transaction of a given run id

查看:81
本文介绍了SQL Query为给定运行ID的所有事务检索第90个Percentile的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,

由于某些问题,Visual Studio上没有显示90%的响应时间,因为测试已执行。

Due to some issue 90th % Response time is not show on Visual studio for the test executed.

任何人都可以共享SQL查询来检索给定测试运行ID的所有事务的第90个Percentile,就像我们进入GUI一样。

Can any one share SQL Query to retrieve 90th Percentile for all transaction of a given test run id like we get in GUI.

谢谢,

anil

推荐答案

我不知道任何提供你想要的SQL查询。该数据库在

https://blogs.msdn.microsoft.com/slumley/2010/02/12/description-of-tables-and-columns-in-vs-2010-load- test-database /

数据库有存储过程来计算百分位数,它们可以通过SQL管理程序看到。这些过程由数据库创建代码创建(位于
C:\Program Files(x86)\ Microsoft Visual Studio 14.0 \ Common7 \IDE \ loadtestresultsrepository.sql 。 在该文件中搜索
百分位数
$
将查找这些程序的代码以及许多其他与
相关的代码线。最好搜索正则表达式 CREATE PROCEDURE Prc_\w * Percentile

The database has stored procedures to calculate the percentiles, they can be seen via the SQL management programs. The procedures are created by the database creation code (located at C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\loadtestresultsrepository.sql on my computer).  Searching for percentile
in that file will find the code of these procedures plus many other
related lines. It may be better to search for the regular expression CREATE PROCEDURE Prc_\w*Percentile.

问候

Adrian


这篇关于SQL Query为给定运行ID的所有事务检索第90个Percentile的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆