mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-14 23:40:58 +00:00
12 lines
512 B
SQL
12 lines
512 B
SQL
DROP DATABASE IF EXISTS test;
|
|
CREATE DATABASE test;
|
|
USE test;
|
|
CREATE TABLE heartbeat (
|
|
ts varchar(26) NOT NULL,
|
|
server_id int unsigned NOT NULL PRIMARY KEY,
|
|
file varchar(255) DEFAULT NULL, -- SHOW MASTER STATUS
|
|
position bigint unsigned DEFAULT NULL, -- SHOW MASTER STATUS
|
|
relay_master_log_file varchar(255) DEFAULT NULL, -- SHOW SLAVE STATUS
|
|
exec_master_log_pos bigint unsigned DEFAULT NULL -- SHOW SLAVE STATUS
|
|
) ENGINE=MEMORY;
|