powa-team / powa-web

PoWA user interface
http://powa.readthedocs.io/
73 stars 30 forks source link

Fix global databases metrics query #92

Closed CyberDem0n closed 4 years ago

CyberDem0n commented 4 years ago

The missing join condition resulted in incorrect numbers of queries, runtime, page faults, context switches, and block access per second.

The above numbers were N times bigger, where N is the number of databases in the cluster with some registered activity.

rjuju commented 4 years ago

Hi @CyberDem0n

Good catch! It seems that https://github.com/powa-team/powa-web/commit/c41a88a00269106f339916cea06d2880c5e9e2f5 missed that one.