Global Variables
Global Variables
global variables
global variables apply to all connections related to a specific server
Global Variables
Global Variables
“Var” “Var”
“Var” “Var”
“Var” “Var”
“Var”
“Var” “Var”
Global Variables
SET GLOBAL var_name = value;
Global Variables
SET GLOBAL var_name = value;
SET @@global.var_name = value;
Global Variables
you cannot set just any variable as global
Global Variables
you cannot set just any variable as global
- a specific group of pre-defined variables in MySQL is suitable for
this job. They are called system variables
Global Variables
you cannot set just any variable as global
- a specific group of pre-defined variables in MySQL is suitable for
this job. They are called system variables
Global Variables
you cannot set just any variable as global
- a specific group of pre-defined variables in MySQL is suitable for
this job. They are called system variables
.max_connections()
Global Variables
you cannot set just any variable as global
- a specific group of pre-defined variables in MySQL is suitable for
this job. They are called system variables
.max_connections()
.max_join_size()
Global Variables
you cannot set just any variable as global
- a specific group of pre-defined variables in MySQL is suitable for
this job. They are called system variables
.max_connections() - indicates the maximum number of connections
to a server that can be established at a
certain point in time
.max_join_size()
Global Variables
you cannot set just any variable as global
- a specific group of pre-defined variables in MySQL is suitable for
this job. They are called system variables
.max_connections() - indicates the maximum number of connections
to a server that can be established at a
certain point in time
.max_join_size() - sets the maximum memory space allocated for
the joins created by a certain connection