Skip to content

6주차 [Database] Concurrency control(동시성 제어)#49

Open
leeejuhyeong wants to merge 12 commits intono-study-no-future:leeejuhyeongfrom
leeejuhyeong:concurrency_control
Open

6주차 [Database] Concurrency control(동시성 제어)#49
leeejuhyeong wants to merge 12 commits intono-study-no-future:leeejuhyeongfrom
leeejuhyeong:concurrency_control

Conversation

@leeejuhyeong
Copy link
Member

No description provided.

@leeejuhyeong leeejuhyeong added the Database Database label Jan 23, 2022
@leeejuhyeong leeejuhyeong changed the title Concurrency control 6주차 [Database] Concurrency control(동시성 제어) Jan 23, 2022
Copy link

@doho-ho doho-ho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

계속 lock을 해야한다는 말은 하나의 트랜잭션이 락을 획득한다면 그 락을 계속 유지해야한다는 뜻인가요?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

모든 트랜잭션이 lock을 할때는 lock만 할 수 있다는 의미입니다.
모든 lock 획득이 끝난 이후에 축소단계로 넘어갈 수 있습니다.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이미지 왼쪽이 연쇄 복귀의 상황인가요?
y의 락을 획득한 뒤에 rollback이 될 때 y의 락을 건 트랜잭션까지 롤백 되는 상황..?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이미지 왼쪽은 직렬 스케줄이 안된 Locking 방법일 때의 모습이고 오른쪽이 2PL 기법을 사용할 때입니다.
연쇄 복귀는... Recovery 때 자세히... 설명해드리겠읍니다..

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

모든 Lock이 Shared, Exclusive 둘다 말하는건가요?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scn이 무엇인가요?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Undo 오버헤드가 무엇을 뜻하는 걸까요?

@ChaerinYu
Copy link
Member

#48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Database Database

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants