forked from LocalSEOGuide/lighthouse-reporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlighthouse_queries.sql
59 lines (37 loc) · 940 Bytes
/
lighthouse_queries.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
use lighthouse;
show tables;
#drop table raw_reports;
drop table
gds_audits,
resource_chart,
urls,
savings_opportunities,
scores,
diagnostics;
select distinct fetch_time from raw_reports;
select distinct fetch_time from resource_chart;
select * from diagnostics;
select * from raw_reports;
select count(*) from raw_reports;
select * from gds_audits;
select count(*) from resource_chart;
select * from resource_chart;
select * from resource_chart order by fetch_time desc;
select * from urls;
select * from savings_opportunities;
select count(*) from savings_opportunities;
select * from scores;
select * from test;
DELETE FROM
savings_opportunities
where
unix_timestamp("2020-04-11 12:55:45");
select unix_timestamp("2020-04-11 12:55:45");
select id from raw_reports;
show tables;
SELECT *
from raw_reports
WHERE
DATE(fetch_time) = '2020-04-08'
AND template = 'HomePage'
limit 1