/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.See the NOTICE file distributed with this work for additional information regarding copyright ownership.The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License. */ /* WARNING This is an auto-generated file. Please do not edit. To reproduce, please run :code:`./make_data_model_rst.sh`. (This requires you have the `psql client `_ and have started the docker containers using :code:`docker-compose up`). */ digraph database { concentrate = true; rankdir = LR; ratio = ".75"; node [shape = none, fontsize="11", fontname="Helvetica"]; edge [fontsize="8", fontname="Helvetica"]; legend [fontsize = "14" label = <
Legend
pk = primary key
fk = foreign key
u = unique*
o = optional
* multiple uniques in the same table are a unique group
> ]; benchmark [label = <
benchmark
benchmark_id (pk)
benchmark_language_id (pk)
benchmark_name (u)
parameter_names (o)
benchmark_description
benchmark_version (u)
unit_id (fk)
> ]; benchmark_language [label = <
benchmark_language
benchmark_language_id (pk)
benchmark_language (u)
> ]; benchmark_run [label = <
benchmark_run
benchmark_run_id (pk)
parameter_values (u)
value
git_commit_timestamp (u)
git_hash
val_min (o)
val_q1 (o)
val_q3 (o)
val_max (o)
std_dev
n_obs
run_timestamp (u)
run_metadata (o)
run_notes (o)
machine_id (u) (fk)
environment_id (u) (fk)
language_implementation_version_id (fk)
benchmark_language_id (fk)
benchmark_id (u) (fk)
> ]; benchmark_type [label = <
benchmark_type
benchmark_type_id (pk)
benchmark_type (u)
lessisbetter
> ]; cpu [label = <
cpu
cpu_id (pk)
cpu_model_name (u)
cpu_core_count
cpu_thread_count
cpu_frequency_max_hz
cpu_frequency_min_hz
cpu_l1d_cache_bytes
cpu_l1i_cache_bytes
cpu_l2_cache_bytes
cpu_l3_cache_bytes
> ]; dependencies [label = <
dependencies
dependencies_id (pk)
dependencies (u)
> ]; gpu [label = <
gpu
gpu_id (pk)
gpu_information (u)
gpu_part_number
gpu_product_name
> ]; language_implementation_version [label = <
language_implementation_version
language_implementation_version_id (pk)
benchmark_language_id (pk)
language_implementation_version (u)
> ]; machine [label = <
machine
machine_id (pk)
machine_name
mac_address (u)
memory_bytes
cpu_actual_frequency_hz
machine_other_attributes (o)
cpu_id (fk)
gpu_id (fk)
os_id (fk)
> ]; os [label = <
os
os_id (pk)
os_name (u)
architecture_name (u)
kernel_name (u)
> ]; project [label = <
project
project_id (pk)
project_name (u)
project_url (u)
repo_url (u)
last_changed
> ]; unit [label = <
unit
unit_id (pk)
units (u)
benchmark_type_id (fk)
> ]; environment [label = <
environment
environment_id (pk)
language_implementation_version_id (pk)
benchmark_language_id (pk)
dependencies_id (u) (fk)
> ]; machine:cpu_id -> cpu:cpu_id; machine:gpu_id -> gpu:gpu_id; machine:os_id -> os:os_id; benchmark:benchmark_language_id -> benchmark_language:benchmark_language_id; environment:benchmark_language_id -> benchmark_language:benchmark_language_id; language_implementation_version:benchmark_language_id -> benchmark_language:benchmark_language_id; environment:dependencies_id -> dependencies:dependencies_id; environment:benchmark_language_id -> language_implementation_version:benchmark_language_id; environment:language_implementation_version_id -> language_implementation_version:language_implementation_version_id; unit:benchmark_type_id -> benchmark_type:benchmark_type_id; benchmark_run:machine_id -> machine:machine_id; benchmark:unit_id -> unit:unit_id; benchmark_run:language_implementation_version_id -> environment:language_implementation_version_id; benchmark_run:benchmark_language_id -> environment:benchmark_language_id; benchmark_run:environment_id -> environment:environment_id; benchmark_run:benchmark_language_id -> benchmark:benchmark_language_id; benchmark_run:benchmark_id -> benchmark:benchmark_id; }