컴퓨터
-
[Real MySQL 8.0] 4.1 MySQL 엔진 아키텍처컴퓨터/DB, SQL 2025. 7. 7. 00:11
출처: 백은빈, 이성욱 저, 『Real MySQL 8.0』, 위키북스 4.1 MySQL 엔진 아키텍처 4.1.1 MySQL의 전체 구조 프로그래밍 API MySQL 엔진(커넥션 핸들러 / SQL 인터페이스, SQL 파서, SQL 옵티마이저, 캐시 & 버퍼)스토리지 엔진 API (InnoDB, MyISAM, Memory)운영체제 하드웨어 (데이터 파일, 로그 파일, 디스크) * MySQL 엔진 + 스토리지 엔진 => MySQL, 혹은 MySQL 서버라고 표현한다.MySQL 엔진은 하나스토리지 엔진은 여러 개 동시 사용 가능 MySQL 엔진 처리 영역: SQL 파서/옵티마이저/쿼리 실행기쿼리 실행기에서 GROUP BY, ORDER BY 등 처리스토리지 엔진 처리 영역: 데이터 읽기/쓰기 하나의 쿼리 작업은 ..
-
Transactions - Isolation Levels컴퓨터/DB, SQL 2025. 6. 29. 16:48
https://www.edx.org/learn/sql/stanford-university-databases-advanced-topics-in-sql StanfordOnline: Databases: Advanced Topics in SQL | edXThis course is one of five self-paced courses on the topic of Databases, originating as one of Stanford's three inaugural massive open online courses released in the fall of 2011. The original "Databases" courses are now all available on edx.org. This courwww...
-
Introduction to Transactions (edX StanfordOnline databases: Advanced Topics in SQL)컴퓨터/DB, SQL 2025. 6. 22. 18:42
🔹 1. 트랜잭션이 중요한 이유 (두 가지 동기)동시성 문제 (Concurrency)여러 클라이언트가 동시에 데이터베이스에 접근하면 충돌/불일치 가능예: 같은 데이터를 동시에 수정하면 일부 변경 사항이 덮어씌워질 수 있음시스템 장애 복구 (System Failures)예: 작업 도중 시스템 다운 → 데이터 중복/누락 등 불일치 발생 * different levels where inconsistency can occur (1) signle attributemultiple client가 같은 어트리뷰트에 대해 작업하면 문제가 생길 수 있다.데이터를 읽고(get), 수정하고(modify), 다시 저장하는(put) 과정을 서로 엇갈리게(interleave) 수행할 수 있다면,3가지 final value가 가능..
-
indexes (edX stanfordOnline databases: Adbanced Topics in SQL)컴퓨터/DB, SQL 2025. 6. 22. 16:59
* indexes = indices * Users don't access indexes; they're used underneath by the query execution engine.indexes might allow the query execution engine to speed up processingT.A에 인덱스가 있으면 T.A에 'cow'값이 있는 튜플을 알려달라고 할 때,전체 테이블을 스캐닝하지 않고 3과 7 튜플을 반환한다. 두 개 칼럼에 대해서 인덱스를 지정할 수도 있다.condition에 자주 사용되는 어트리뷰트에 대해 인덱스를 설계하는 것이 중요하다 인덱스의 자료 구조(1) 균형 트리구현 형태: B tree, B+tree attribute = valueattribute value_1..
-
Data Modification Statements (edX StandfordOnline: Databases: relational databases and sql)컴퓨터/DB, SQL 2025. 6. 15. 15:59
출처https://www.edx.org/learn/relational-databases/stanford-university-databases-relational-databases-and-sql StanfordOnline: Databases: Relational Databases and SQL | edXThis course is one of five self-paced courses on the topic of Databases, originating as one of Stanford's three inaugural massive open online courses released in the fall of 2011. The original "Databases" courses are now all avai..
-
Null values (edX StanfordOnline Databases: Relational Databases and SQL)컴퓨터/DB, SQL 2025. 6. 15. 15:38
출처https://www.edx.org/learn/relational-databases/stanford-university-databases-relational-databases-and-sql StanfordOnline: Databases: Relational Databases and SQL | edXThis course is one of five self-paced courses on the topic of Databases, originating as one of Stanford's three inaugural massive open online courses released in the fall of 2011. The original "Databases" courses are now all avai..
-
Quiz (edX StanfordOnline Databases: Relational Databases and SQL)컴퓨터/DB, SQL 2025. 6. 15. 14:35
출처https://www.edx.org/learn/relational-databases/stanford-university-databases-relational-databases-and-sql StanfordOnline: Databases: Relational Databases and SQL | edXThis course is one of five self-paced courses on the topic of Databases, originating as one of Stanford's three inaugural massive open online courses released in the fall of 2011. The original "Databases" courses are now all avai..
-
github MCP를 사용할 때 docker가 필요함, docker desktop 제거하는 법, rancher desktop 설치하기컴퓨터/AI 2025. 6. 10. 17:24
* docker desktop은 직원 수가 많은, 소규모 기업이 아닌 곳에서는 유료로 사용해야 한다.훗날 발생할 수 있는 과금 이슈를 예방하기 위해 설치했던 docker desktop을 제거하고rancher desktop이란 것을 설치하기로 했다. * docker desktop 제거 방법 https://docs.docker.com/desktop/uninstall/docker desktop 접속GUI 좌하단에 세로로 점 3개 있는 아이콘 클릭 > trouble shoot 클릭uninstall 클릭 Application 폴더에서 docker 휴지통으로 보내기 이것만 하면docker context ls 했을 때, desktop-linux(도커 데스크탑)이 남아있더라 추가로 터미널에서 다음 명령어를 입력해준다...