Open c-cube opened 7 years ago
This means that Storage
could more or less be removed, right ? Since Storage.t can simply be replaced by the connection to the database file (which should be unique).
Yes, I think so.
Update:
create table benchmaks (uid uuid primary key, timestamp int64, metadata blob);
create table text_blobs (key sha1 primary key, value blob);
create table provers (id sha1 primary key, name blob, version blob, cmd blob, sat blob, unsat blob);
create table problems (abspath blob primary key, content sha1);
create table results (id sha1 primary key, prover sha1, problem sha1, stdout_key sha1, stderr_key sha1)
create table bench_res (bench_id uuid, res_id sha1);
The table bench_res
maps benchmarks to sets of results.
Should be much more efficient for all sorts of queries and storage.
Proposition for schema (pseudo sql):