-
Notifications
You must be signed in to change notification settings - Fork 2
lecture19~24 #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lecture19~24 #10
Conversation
Pull reviewers statsStats of the last 30 days for SSAMBBONG:
|
김연욱/[lecture19] mvcc (1부)/README.md
Outdated
| ## postgreSQL의 MVCC Lost Update | ||
|
|
||
| - 변경된 값에 대해서 덮어 쓰게 되는 경우(lost update)가 발생할 수 있음 | ||
| - postgreSQL에서 repeatable read 레벨은 같은 데이터에 먼저 update한 tx이 commit되면 나중 tx는 rollback된다는 특징이 있음 (first-updater-win) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
repeatable read만 first updater win이 적용되나?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
serializable에서도 적용되지 않나?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
모든 isolation level에서 first committer winner 되지 않아?
그게 MVCC 기본 특징이잖아
김연욱/[lecture20] mvcc (2부)/README.md
Outdated
|
|
||
| - 변경된 값에 대해서 덮어 쓰게 되는 경우(lost update)가 발생할 수 있음 | ||
| - MySQL에서의 for update 문을 추가해서 해결! | ||
| - Locking read : MySQL에서 for update를 의미 (locking read는 가장 최근의 commit된 데이터를 읽음!!) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Locking read에는 for shared도 해당될걸
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오케이 맞네
Co-authored-by: MustSave <58774251+MustSave@users.noreply.github.com>
Co-authored-by: MustSave <58774251+MustSave@users.noreply.github.com>
과제 수행 여부
사유 (미완료 시)
(이유를 간단히 설명해주세요)
관련 문서나 이슈
(관련된 문서나 이슈가 있다면 링크를 제공해주세요)