Logo
Broadcast Table

Broadcast Table #

SyntaxDescriptionType
CREATE BROADCAST TABLE RULE tableName [, tableName] …Create broadcast tableRDL
DROP BROADCAST TABLE RULES tableName [, tableName] …Delete broadcast tableRDL
SHOW BROADCAST TABLE RULES [FROM databaseName]View broadcast tableRQL

1. Create Broadcast Table #

CREATE BROADCAST TABLE RULE tableName [, tableName] ...

Parameter Description

NameData typeDescription
tableNameIDENTIFIERTable name

Example

CREATE BROADCAST TABLE RULE t_a,t_b;

2. Delete Broadcast Table #

DROP BROADCAST TABLE RULES tableName [, tableName] ...

Parameter Description

NameData typeDescription
tableNameIDENTIFIERTable name

Example

DROP BROADCAST TABLE RULE t_a;

3. View Broadcast Table #

SHOW BROADCAST TABLE RULES [FROM databaseName]

Parameter Description

NameData typeDescription
databaseNameIDENTIFIERLogical database name

Example

mysql> SHOW BROADCAST TABLE RULES;
+------------------------+
| broadcast_table        |
+------------------------+
| t_1                    |
| t_2                    |
+------------------------+
2 rows in set (0.00 sec)

Output Description

NameDescription
broadcast_tableBroadcast table name