forked from mutable-org/mutable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSchema_DBDiagram.txt
69 lines (59 loc) · 1.06 KB
/
Schema_DBDiagram.txt
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
60
61
62
63
64
65
66
67
68
69
Table Timestamps {
id int [pk, increment]
commit text
timestamp timestamptz
host text
Indexes {
(timestamp, host) [unique]
}
}
Table Measurements {
id int [pk, increment]
timepoint int [ref: > Timestamps.id]
experiment int
benchmark int
suite int
config int [ref: > Configurations.id]
case text
value float
}
Ref: Measurements.(experiment, benchmark, suite) > Experiments.(id, benchmark, suite)
Table Experiments {
id int [increment]
benchmark int
suite int
name text
version int
description text
is_read_only bool
label text
Indexes {
(id, benchmark, suite) [pk]
(name, version) [unique]
}
}
Ref: Experiments.(benchmark, suite) > Benchmarks.(id, suite)
Table Configurations {
id int [pk, increment]
name text
parameters text
Indexes {
(name, parameters) [unique]
}
}
Table Benchmarks {
id int [increment]
suite int [ref: > Suites.id]
name text
Indexes {
(id, suite) [pk]
(suite, name) [unique]
}
}
Table Suites {
id int [pk, increment]
name text
Indexes {
name [unique]
}
}