-
Notifications
You must be signed in to change notification settings - Fork 3
/
schema.sql
42 lines (34 loc) · 849 Bytes
/
schema.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
-- schema.sql
DROP DATABASE IF EXISTS idbenchmark;
CREATE DATABASE idbenchmark;
USE idbenchmark;
DROP TABLE IF EXISTS m1;
CREATE TABLE m1 (
id bigint unsigned NOT NULL AUTO_INCREMENT,
PRIMARY KEY (id)
) ENGINE=MyISAM;
DROP TABLE IF EXISTS m2;
CREATE TABLE m2 (
id bigint unsigned NOT NULL AUTO_INCREMENT,
PRIMARY KEY (id)
) ENGINE=MyISAM;
DROP TABLE IF EXISTS m3;
CREATE TABLE m3 (
id bigint unsigned NOT NULL
) ENGINE=MyISAM;
INSERT INTO m3 (id) VALUES (0);
DROP TABLE IF EXISTS i1;
CREATE TABLE i1 (
id bigint unsigned NOT NULL AUTO_INCREMENT,
PRIMARY KEY (id)
) ENGINE=InnoDB;
DROP TABLE IF EXISTS i2;
CREATE TABLE i2 (
id bigint unsigned NOT NULL AUTO_INCREMENT,
PRIMARY KEY (id)
) ENGINE=InnoDB;
DROP TABLE IF EXISTS i3;
CREATE TABLE i3 (
id bigint unsigned NOT NULL
) ENGINE=InnoDB;
INSERT INTO i3 (id) VALUES (0);