How to modify the system variables in TiDB?

Similar to MySQL, TiDB includes static and solid parameters. You can directly modify static parameters using SET GLOBAL xxx = n, but the new value of a parameter is only effective within the life cycle in this instance.