How to calculate the percentile?
问题 I have access logs such as below stored in a mongodb instance: Time Service Latency [27/08/2013:11:19:22 +0000] "POST Service A HTTP/1.1" 403 [27/08/2013:11:19:24 +0000] "POST Service B HTTP/1.1" 1022 [27/08/2013:11:22:10 +0000] "POST Service A HTTP/1.1" 455 Is there an analytics function like PERCENTILE_DISC in Oracle to calculate the percentile? I would like to calculate latency percentiles over a period of time. 回答1: There still appears to be no native way to calculate percentiles but by