Syntax : SET_VAR ( << input your session parameter >> )
SELECT /*+ SET_VAR(join_buffer_size = 1048576) */
CountryCode, country.Name AS Country,
city.Name AS City, city.District
FROM world.country IGNORE INDEX (Primary)
INNER JOIN world.city IGNORE INDEX (CountryCode)
ON city.CountryCode = country.Code
WHERE Continent = 'Asia';
'RDB > MySQL' 카테고리의 다른 글
mysql db timezone 변경 (1) | 2024.03.29 |
---|---|
MySQL 8.0 Hint for Query block (0) | 2023.06.22 |
MySQL 8.0 Hint (0) | 2023.06.22 |
MySQL OOM 최소화 (0) | 2023.04.27 |
delay replication (0) | 2023.03.28 |