Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
mysql-3
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
garimoo
February 02, 2021
Technology
1.6k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
mysql-3
garimoo
February 02, 2021
More Decks by garimoo
See All by garimoo
mysql-2
garim
0
1.7k
mysql-1
garim
0
2.2k
Other Decks in Technology
See All in Technology
Tofu-Controller lightning talk @ Containerday 2026
gionn
0
120
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
継続的なAIコスト最適化
bgpat
1
350
Claude の新機能を、 出た日に触って社内に届けるまで
rfdnxbro
1
190
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
480
AIにシークレットを見せない、WSL2で安全な開発環境
yazm
0
310
スプシの手作業からの解脱 ~更新はClaude Codeに、見せ方と使い方はGASアプリに任せる~
kentarofujii
0
150
しろおびから始める!ログ活用の第一歩
shumei_ito
0
950
遠藤な_めぐろLT #38 「社内のAI活用推進」@麻布台_20261009
endonanana
0
140
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
190
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
120
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
2.4k
Featured
See All Featured
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
380
WCS-LA-2024
lcolladotor
0
890
Deep Space Network (abreviated)
tonyrice
0
370
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
570
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
Code Reviewing Like a Champion
maltzj
529
40k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Paper Plane (Part 1)
katiecoart
PRO
2
12k
Documentation Writing (for coders)
carmenintech
77
5.6k
Transcript
Real MySQL 스터디 리뷰 -3 10 파티션 11 스토어드 프로그램
12 쿼리 종류별 잠금 15 데이터 타입
10 파티션
10 파티션 파티션을 사용하는 이유 DATA DATA-1 DATA-2 DATA-3 처리
속도 향상 / 물리적 저장소 분리
10 파티션 파티션을 사용하는 이유 로그 관리의 용이성
10 파티션 파티션 INSERT
10 파티션 파티션 UPDATE
10 파티션 파티션 검색 O 파티션 선택 인덱스 효율적 사용
O O X X O X X
10 파티션 파티션의 내부 처리 Priority Queue
10 파티션 파티션과 유니크 키 나쁜 예 좋은 예
10 파티션 파티션 종류 Range Partition List Partition Hash Partition
Key Partition
QnA Q1. 해시/키 파티션을 사용하는 곳이 있나요? Q2. 파티션 생성,
삭제 작업시 점검을 걸고 하나요? 10 파티션
11 스토어드 프로그램
11 스토어드 프로그램 Stored Procedure Oracle vs MySQL 전역 캐시
vs 커넥션별 캐시 client Database
QnA Q3. MySQL에서 프로시저를 많이 사용하나요? 문제가 된 적이 없나요?
Q4. Oracle to MySQL으로 넘어갈 때 commit-rollback 로직이 달라서 문제가 되 었던 것 같은데 어떻게 처리를 하셨나요? (to. 한게임 오라클 페이드 아웃 팀) 11 스토어드 프로그램
12 쿼리 종류별 잠금
12 쿼리 종류별 잠금 InnoDB 기본 잠금 방식 SELECT INSERT,
UPDATE, DELETE
12 쿼리 종류별 잠금 InnoDB 기본 잠금 방식 UPDATE employees
SET last_name=‘…’ WHERE first_name=‘Georgi’ AND gender=‘M'
12 쿼리 종류별 잠금 SELECT 잠금 SELECT … FROM …
SELECT … FROM … LOCK IN SHARE MODE SELECT … FROM … FOR UPDATE
12 쿼리 종류별 잠금 LOCK 배타적 잠금 - Exclusive Lock
- Write Lock - X-Lock 공유 잠금 - Shared Lock - Read Lock, S-Lock
12 쿼리 종류별 잠금 INSERT 데드락 상황 BEGIN; INSERT INTO
tb_test VALUES (1); BEGIN; INSERT INTO tb_test VALUES (1); BEGIN; INSERT INTO tb_test VALUES (1); A B C ROLLBACK; X-lock S-lock X-lock
12 쿼리 종류별 잠금 INSERT 잠금 INSERT INTO … ON
DUPLICATE KEY UPDATE … REPLACE … INSERT INTO tb_new SELECT … FROM tb_old … REPLACE INTO tb_new … SELECT … FROM tb_old …
12 쿼리 종류별 잠금 UPDATE 잠금 UPDATE … WHERE …
Join update (UPDATE tb_test1 a, tb_test2 ON … SET a.column = b.column …)
12 쿼리 종류별 잠금 DELETE 잠금 DELETE FROM … WHERE
… DELETE a FROM tb_test1 a, tb_test2 b
QnA Q5. create table select * 나 insert into select
*를 할 때 본문에서는 file로 저장하라고 하 는데 실제로는 어떻게 하나요? 12장 예상: slave 장비에서 실행한다?
15 데이터 타입
15 데이터 타입 문자열 CHAR vs VARCHAR
15 데이터 타입 캐릭터셋
15 데이터 타입 숫자 Float / double / decimal
15 데이터 타입 날짜와 시간