Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Overview

SQL
rowStylesbackground:#B8D1F3,background:#DAE5F4,background:#B8D1F3
noDataErrortrue
enableSortingfalse
columnStylesfont-size: 1.0em
rowOrientationhorizontal
expandArrayfalse
stylefumble:0
convertNullfalse
idmydata3
class@default testing
dataSourcemars_apistats
enableHighlightingfalse
retainRowStyleOrderfalse
SELECT to_char(sum(fields),'FM999,999,999,999,999')  as "Total retrieved fields", to_char(sum(requests), 'FM999,999,999,999,999') as "Total user requests", to_char(sum(delivered/1024^4), 'FM999.999') as "Delivered volume [TB]"
FROM  datasets_stats_monthly
WHERE datasets_stats_monthly.dataset='tigge' and datasets_stats_monthly.month>=date'20061001';

Monthly sums

Delivered volume [TB]

Chart
3Dtrue
showShapesfalse
timePeriodQuarter
width1200
categoryLabelPositionup45
dataOrientationvertical
typebar
yLabelTB
height400


SQL
idmydata
dataSourcemars_apistats
select  to_char(month, 'MM/YYYY') as monthyear, CAST(delivered AS FLOAT)/1024^4 as "data volume" from datasets_stats_monthly where dataset='tigge' and month>=date'20061001' order by month


User requests

(1 original user request could be split to more resulting  MARS database retrieval requests  shown in the graph below. It depends on MARS data design for given datasets. On average number of the original users requests is about 1/4 of the resulting "user requests" hitting MARS shown here)

Chart
3Dtrue
showShapesfalse
width1200
categoryLabelPositionup45
dataOrientationvertical
typebar
yLabelNr of requests
height400


SQL
idmydata
dataSourcemars_apistats
select  to_char(month, 'MM/YYYY') as monthyear, requests from datasets_stats_monthly where dataset='tigge' and month>=date'20061001' order by month;


Fields retrieved

(1 field means the retrieved field for given step, level, etc)

Chart
3Dtrue
showShapesfalse
width1200
categoryLabelPositionup45
dataOrientationvertical
typebar
yLabelNr of fields
height400


SQL
idmydata
dataSourcemars_apistats
select  to_char(month, 'MM/YYYY') as monthyear, fields from datasets_stats_monthly where dataset='tigge' and month>=date'20061001' order by month


Users

(Users at least with 3 requests ever since)

Chart
3Dtrue
showShapesfalse
width1200
categoryLabelPositionup45
dataOrientationvertical
typebar
yLabelNr of users
height400


SQL
idmydata
dataSourcemars_apistats
SELECT to_char(month, 'MM/YYYY') as monthyear, count(DISTINCT username)as "active users"
FROM  users_stats_monthly 
WHERE dataset='tigge' AND month>=date'20061001' 
AND username IN (
      SELECT username                        
      FROM  users_stats_monthly
      WHERE dataset='tigge'
      GROUP BY username
      HAVING sum(requests) >= 3
      )
GROUP BY month
ORDER BY month;


Users per country [%]

(Users at least with 3 requests ever since)

Chart
3Dtrue
stackedtrue
width1200
dataOrientationvertical
opacity75
height1200


SQL
idmydata
dataSourcemars_apistats
SELECT profile_country.name, count(DISTINCT auth_user.username) as total_users
    FROM  profile_country
         RIGHT JOIN profile_profile ON profile_profile.country_id = profile_country.id
         RIGHT JOIN auth_user ON auth_user.id = profile_profile.user_id
         RIGHT JOIN users_stats_monthly ON users_stats_monthly.username = auth_user.username
    WHERE users_stats_monthly.dataset='tigge' and users_stats_monthly.month>=date'20061001'
GROUP BY profile_country.name
ORDER BY total_users DESC;