File: bulk_regular_insert.sql

package info (click to toggle)
percona-toolkit 3.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 68,916 kB
  • sloc: perl: 241,287; sql: 22,868; sh: 19,746; javascript: 6,799; makefile: 353; awk: 38; python: 30; sed: 1
file content (26 lines) | stat: -rw-r--r-- 611 bytes parent folder | download | duplicates (2)
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
drop database if exists bri;
create database bri;
use bri;
create table t (
   id int unsigned NOT NULL auto_increment primary key,
   c  char(16),
   t  time
) engine=innodb;

create table t_arch (
   id int unsigned NOT NULL auto_increment primary key,
   c  char(16),
   t  time
) engine=innodb;

insert into t values
   (null, 'aa', '11:11:11'),
   (null, 'bb', '11:11:12'),
   (null, 'cc', '11:11:13'),
   (null, 'dd', '11:11:14'),
   (null, 'ee', '11:11:15'),
   (null, 'ff', '11:11:16'),
   (null, 'gg', '11:11:17'),
   (null, 'hh', '11:11:18'),
   (null, 'ii', '11:11:19'),
   (null, 'jj', '11:11:10');