woowacourse-study / 2022-Real-MySQL

⚡️토르⚡️의 짜릿한 Real MySQL 뽀개기 🔨
9 stars 3 forks source link

MySQL의 격리 수준 #9

Open jurlring opened 2 years ago

jurlring commented 2 years ago

주제

격리 수준이란 여러 트랜잭션이 동시에 처리될 때 특정 트랜잭션이 다른 트랜잭션에서 변경하거나 조회하는 데이터들을 볼 수 있게 허용할지 말지를 결정하는 것이다.

선정 이유

현재 MySQL에서 사용하는 격리 수준은 어떤 것이 있고, Spring에서 Transaction이 기본적으로 사용하는 격리 수준은 어떤 것인지 알아보고 싶어서 주제를 선정하였다.

해당 텍스트

READ UNCOMMITTED

READ COMMITTED

REPEATABLE READ

SERIALIZABLE

관련 페이지

176P~183P

HJ-Rich commented 2 years ago

MySQL과 스프링 간의 기본 격리 수준이 다르다는 지점에 대한 이야기는 매우 예리하군요! 🤔

injoon2019 commented 2 years ago

The default isolation level is DEFAULT. As a result, when Spring creates a new transaction, the isolation level will be the default isolation of our RDBMS. Therefore, we should be careful if we change the database. -헌치가 찾은 밸덩-

BETTERFUTURE4 commented 2 years ago

출처 : https://www.baeldung.com/spring-transactional-propagation-isolation