File: galera_schema.result

package info (click to toggle)
mariadb 1%3A11.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 765,428 kB
  • sloc: ansic: 2,382,827; cpp: 1,803,532; asm: 378,315; perl: 63,176; sh: 46,496; pascal: 40,776; java: 39,363; yacc: 20,428; python: 19,506; sql: 17,864; xml: 12,463; ruby: 8,544; makefile: 6,059; cs: 5,855; ada: 1,700; lex: 1,193; javascript: 1,039; objc: 80; tcl: 73; awk: 46; php: 22
file content (114 lines) | stat: -rw-r--r-- 4,199 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
connection node_2;
connection node_1;
CREATE TABLE IF NOT EXISTS wsrep_cluster
(
cluster_uuid CHAR(36) PRIMARY KEY,
view_id BIGINT NOT NULL,
view_seqno BIGINT NOT NULL,
protocol_version INT NOT NULL,
capabilities INT NOT NULL
) ENGINE=InnoDB;
CREATE TABLE IF NOT EXISTS wsrep_cluster_members
(
node_uuid CHAR(36) PRIMARY KEY,
cluster_uuid CHAR(36) NOT NULL,
node_name CHAR(32) NOT NULL,
node_incoming_address VARCHAR(256) NOT NULL
) ENGINE=InnoDB;
CREATE TABLE IF NOT EXISTS wsrep_cluster_members_history
(
node_uuid CHAR(36) PRIMARY KEY,
cluster_uuid CHAR(36) NOT NULL,
last_view_id BIGINT NOT NULL,
last_view_seqno BIGINT NOT NULL,
node_name CHAR(32) NOT NULL,
node_incoming_address VARCHAR(256) NOT NULL
) ENGINE=InnoDB;
CREATE TABLE IF NOT EXISTS wsrep_streaming_log
(
node_uuid CHAR(36),
trx_id BIGINT,
seqno BIGINT,
flags INT NOT NULL,
frag LONGBLOB NOT NULL,
PRIMARY KEY (node_uuid, trx_id, seqno)
) ENGINE=InnoDB;
DELETE FROM wsrep_cluster;
DELETE FROM wsrep_cluster_members;
ALTER TABLE wsrep_cluster STATS_PERSISTENT=0;
ALTER TABLE wsrep_cluster_members STATS_PERSISTENT=0;
ALTER TABLE wsrep_cluster_members_history STATS_PERSISTENT=0;
ALTER TABLE wsrep_streaming_log STATS_PERSISTENT=0;
SHOW CREATE TABLE wsrep_cluster;
Table	Create Table
wsrep_cluster	CREATE TABLE `wsrep_cluster` (
  `cluster_uuid` char(36) NOT NULL,
  `view_id` bigint(20) NOT NULL,
  `view_seqno` bigint(20) NOT NULL,
  `protocol_version` int(11) NOT NULL,
  `capabilities` int(11) NOT NULL,
  PRIMARY KEY (`cluster_uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci STATS_PERSISTENT=0
SHOW CREATE TABLE wsrep_cluster_members;
Table	Create Table
wsrep_cluster_members	CREATE TABLE `wsrep_cluster_members` (
  `node_uuid` char(36) NOT NULL,
  `cluster_uuid` char(36) NOT NULL,
  `node_name` char(32) NOT NULL,
  `node_incoming_address` varchar(256) NOT NULL,
  PRIMARY KEY (`node_uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci STATS_PERSISTENT=0
SHOW CREATE TABLE wsrep_cluster_members_history;
Table	Create Table
wsrep_cluster_members_history	CREATE TABLE `wsrep_cluster_members_history` (
  `node_uuid` char(36) NOT NULL,
  `cluster_uuid` char(36) NOT NULL,
  `last_view_id` bigint(20) NOT NULL,
  `last_view_seqno` bigint(20) NOT NULL,
  `node_name` char(32) NOT NULL,
  `node_incoming_address` varchar(256) NOT NULL,
  PRIMARY KEY (`node_uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci STATS_PERSISTENT=0
SHOW CREATE TABLE wsrep_streaming_log;
Table	Create Table
wsrep_streaming_log	CREATE TABLE `wsrep_streaming_log` (
  `node_uuid` char(36) NOT NULL,
  `trx_id` bigint(20) NOT NULL,
  `seqno` bigint(20) NOT NULL,
  `flags` int(11) NOT NULL,
  `frag` longblob NOT NULL,
  PRIMARY KEY (`node_uuid`,`trx_id`,`seqno`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci STATS_PERSISTENT=0
SHOW CREATE TABLE mysql.wsrep_cluster;
Table	Create Table
wsrep_cluster	CREATE TABLE `wsrep_cluster` (
  `cluster_uuid` char(36) NOT NULL,
  `view_id` bigint(20) NOT NULL,
  `view_seqno` bigint(20) NOT NULL,
  `protocol_version` int(11) NOT NULL,
  `capabilities` int(11) NOT NULL,
  PRIMARY KEY (`cluster_uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci STATS_PERSISTENT=0
SHOW CREATE TABLE mysql.wsrep_cluster_members;
Table	Create Table
wsrep_cluster_members	CREATE TABLE `wsrep_cluster_members` (
  `node_uuid` char(36) NOT NULL,
  `cluster_uuid` char(36) NOT NULL,
  `node_name` char(32) NOT NULL,
  `node_incoming_address` varchar(256) NOT NULL,
  PRIMARY KEY (`node_uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci STATS_PERSISTENT=0
SHOW CREATE TABLE mysql.wsrep_streaming_log;
Table	Create Table
wsrep_streaming_log	CREATE TABLE `wsrep_streaming_log` (
  `node_uuid` char(36) NOT NULL,
  `trx_id` bigint(20) NOT NULL,
  `seqno` bigint(20) NOT NULL,
  `flags` int(11) NOT NULL,
  `frag` longblob NOT NULL,
  PRIMARY KEY (`node_uuid`,`trx_id`,`seqno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci STATS_PERSISTENT=0
DROP TABLE wsrep_cluster;
DROP TABLE wsrep_cluster_members;
DROP TABLE wsrep_cluster_members_history;
DROP TABLE wsrep_streaming_log;