Skip to content

Conversation

@simhani1
Copy link
Member

@simhani1 simhani1 commented Jun 22, 2024

과제 수행 여부

  • 완료
  • 미완료

사유 (미완료 시)

(이유를 간단히 설명해주세요)


관련 문서나 이슈

(관련된 문서나 이슈가 있다면 링크를 제공해주세요)

네이버D2 - DBCP 이해하기
HikariCP

@simhani1 simhani1 marked this pull request as draft June 22, 2024 19:29
@github-actions
Copy link

Pull reviewers stats

Stats of the last 30 days for SSAMBBONG:

User Total reviews Time to review Total comments
MustSave
🥇
13
▀▀▀
2d 17h 38m
▀▀
16
▀▀▀▀
KimYeonWook511
🥈
8
▀▀
20h 5m
7
▀▀
simhani1
🥉
7
1d 17h 56m
6
▀▀
JiheunSeo
7
3d 19h 18m
▀▀▀
4
LEEJW1953
8
▀▀
15h 36m
4
jijongkwon
4
3d 15h 7m
▀▀▀
1
⚡️ Pull request stats

@simhani1 simhani1 marked this pull request as ready for review June 23, 2024 18:26
EXPLAIN SELECT * FROM player WHERE team_id = 105 and backnumber = 7;
```

쿼리문에서 사용하는 인덱스는 DBMS의 opimizer가 알아서 적절하게 인덱스를 선택한다.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
쿼리문에서 사용하는 인덱스는 DBMS의 opimizer가 알아서 적절하게 인덱스를 선택한다.
쿼리문에서 사용하는 인덱스는 DBMS의 optimizer가 알아서 적절하게 인덱스를 선택한다.

# 권장 사항(반드시 사용한다는 것을 보장하지 않음)
SELECT * FROM player USE INDEX (backnumber_idx) WHERE backnumber = 7;

# 더욱 강제(하지만 해당 인덱스를 사용해서 조회가 불가능하면 `optimezer` 가 다른 방법을 선택한다)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# 더욱 강제(하지만 해당 인덱스를 사용해서 조회가 불가능하면 `optimezer` 가 다른 방법을 선택한다)
# 더욱 강제(하지만 해당 인덱스를 사용해서 조회가 불가능하면 `optimizer` 가 다른 방법을 선택한다)

- key, value로 데이터를 관리한다.
- 메모리를 사용하다 보니 DB 자체로 사용하기 보다는 캐시 목적으로 사용하는 것 같다.
- 또한 여러가지 데이터 타입을 저장할 수 있다. (string, lists, sets, hashes, sorted, sets ...)
- 고가용성 (replication, automatic failover)이 보장된다.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- 고가용성 (replication, automatic failover)이 보장된다.
- 고가용성 (replication, automatic failover)을 지원한다.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants