Browse Source

sql - reloadstatus.sql - show what the db reload status is

master
kanoi 11 years ago
parent
commit
7268672485
  1. 5
      sql/reloadstatus.sql

5
sql/reloadstatus.sql

@ -0,0 +1,5 @@
select 'sharesummary' as "sharesummary",min(firstshare) as "min incomplete firstshare" from sharesummary where complete = 'n';
select 'workinfo' as "workinfo",max(createdate) as "max createdate" from workinfo;
select 'auths' as "auths",max(createdate) as "max createdate" from auths;
select 'poolstats' as "poolstats",max(createdate) as "max createdate" from poolstats;
select 'userstats' as "userstats",max(statsdate) as "max statsdate - start of this hour" ,userid,workername from userstats group by userid,workername;
Loading…
Cancel
Save