do_clean_start.sql
This page documents the preview version (v2.21). Preview includes features under active development and is for development and testing only. For production, use the stable version (v2024.1). To learn more, see Versioning.
Save this script as do_clean_start.sql
.
-- Get a clean start.
-- These tables will store some query results so that, with
-- all these in a single table, it is easy to use
-- SQL to compare results from different tests.
set client_min_messages = warning;
drop table if exists dp_results cascade;
create table dp_results(
method text not null,
bucket int not null,
n int not null,
min_s double precision not null,
max_s double precision not null,
constraint dp_results_pk primary key(method, bucket));
drop table if exists int_results cascade;
create table int_results(
method text not null,
bucket int not null,
n int not null,
min_s double precision not null,
max_s double precision not null,
constraint int_results_pk primary key(method, bucket));