Docker Compose ๋ช…๋ น์–ด ์ „ํ™˜ (์ฐธ๊ณ )

- ๊ธฐ์กด V1 ์—์„œ V2 ๋กœ ๋ณ€๊ฒฝ๋˜๋ฉด์„œ, Docker Compose ๊ฐ€ Docker CLI ๋กœ ํ†ตํ•ฉ๋˜์—ˆ์Œ.

- ๊ธฐ์กด์—๋Š” V1 Docker compose ๊ฐ€ ๋ณ„๋„์˜ ๋ฐ”์ด๋„ˆ๋ฆฌ ํŒŒ์ผ๋กœ ์กด์žฌํ•˜์˜€๊ณ  ๋”ฐ๋กœ ์„ค์น˜๋ฅผ ์ง„ํ–‰ํ–ˆ๋‹ค.

- ์„œ๋กœ๋Š” ๋…๋ฆฝ์ ์œผ๋กœ ์ž‘๋™ํ–ˆ์œผ๋ฉฐ, ํ™˜๊ฒฝ๋ณ€์ˆ˜๋‚˜ ํ”Œ๋ž˜๊ทธ๊ฐ’๋“ค์„ Compose V1 ์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์—†์—ˆ๋‹ค. ๊ฒฐ๊ณผ์ ์œผ๋กœ ํ†ตํ•ฉ๋จ์— ๋”ฐ๋ผ์„œ ์ผ๊ด€๋œ ํ™˜๊ฒฝ์œผ๋กœ ์ž‘์—…์ด ๊ฐ€๋Šฅํ•ด์ง. 

 

"docker-compose" ๋กœ ์‹คํ–‰ํ•˜๋˜ ๋ช…๋ น์–ด์—์„œ "docker compose" ๋กœ ๋ณ€๊ฒฝ

 

MySQL EXPLAIN

- id ์ปฌ๋Ÿผ์€ ์ˆœ์„œ๋ฅผ ๋ณด์žฅํ•˜์ง€ ์•Š๋Š”๋‹ค.(์„œ๋ธŒ์ฟผ๋ฆฌ ๋“ฑ) SELECT ๋‹จ์œ„์ฟผ๋ฆฌ์˜ ๊ฐฏ์ˆ˜๋กœ row ๊ฐ€ ๊ตฌ๋ถ„๋œ๋‹ค.

Posted by doubler
,