SlideShare a Scribd company logo
1 of 8
Download to read offline
WareValley
http://www.WareValley.com
Database Audit and Protection [ DB ์ ‘๊ทผํ†ต์ œ ]
Database Encryption [ DB ์•”ํ˜ธํ™” ]
Database Vulnerability Assessment [ DB ์ทจ์•ฝ์  ๋ถ„์„ ]
Database SQL Query Approval [ DB ์ž‘์—…๊ฒฐ์žฌ ]
Database Performance Monitoring and Management [ DB ์„ฑ๋Šฅ๊ด€๋ฆฌ ๋ฐ ๊ฐœ๋ฐœ ]
WareValley
Oracle Architecture
์˜ค๋ Œ์ง€ํŒ€ ์œค์„์ค€ ์„ ์ž„์—ฐ๊ตฌ์›
Database security and management, WareValley.
http://www.WareValley.com
Oracle Architecture
User
Process
Listener
Server
Process
User
Process
User
Process
User
Process
Server
Process
Server
Process
Server
Process
Instance
SGA
(System Global Area)
Background Process
Oracle Database
Data Files
Control
Files
Online
Redo
Log
Offline Redo Log Feles
Parameter
FILE
Password
FILE
PGA
(Program Global Area)
PGA
(Program Global Area)
PGA
(Program Global Area)
PGA
(Program Global Area)
Database security and management, WareValley.
http://www.WareValley.com
Oracle Memory
Server
Process
Instance
Background Process
PGA
(Program Global Area)
SGA
(System Global Area)
๏‚ง PGA (Program Global Area)
- Process ํ˜น์€ Thread์˜ ๊ฐœ๋ณ„์ ์ธ ๋ฉ”๋ชจ๋ฆฌ ๊ณต๊ฐ„
- ์‚ฌ์šฉ์ž๋งˆ๋‹ค ๊ฐœ๋ณ„์ ์œผ๋กœ ์‚ฌ์šฉํ•˜๋Š” ๊ณต๊ฐ„
๏‚ง SGA (System Global Area)
- Oracle Process ๋“ค์ด ์ ‘๊ทผํ•˜๋Š” ํฐ ๊ณต์œ  ๋ฉ”๋ชจ๋ฆฌ
- Server Process ์™€ Background Process ๊ฐ€ ๊ณต์šฉ์œผ๋กœ ์‚ฌ์šฉ
Database security and management, WareValley.
http://www.WareValley.com
Oracle Instance : PGA (Program Global Area)
PGA
์ •๋ ฌ ๊ณต๊ฐ„
(Sort Area)
๋ณ€์ˆ˜ ์ €์žฅ ๊ณต๊ฐ„
(Stack Space)
์„ธ์…˜ ์ •๋ณด
(Session
Information)
์ปค์„œ ์ƒํƒœ ์ •๋ณด
(Cursor State)
๏‚ง ์ •๋ ฌ ๊ณต๊ฐ„ : ORDER BY ๋˜๋Š” GROUP BY ๋“ฑ์˜ ์ •๋ ฌ์„ ์ˆ˜ํ–‰ํ•˜๊ธฐ ์œ„ํ•œ ๊ณต๊ฐ„์ด๋ฉฐ
ํ•ด๋‹น ๊ณต๊ฐ„์—์„œ๋งŒ ์ •๋ ฌ์ด ์™„๋ฃŒ๋œ๋‹ค๋ฉด ์ด๋ฅผ ๋ฉ”๋ชจ๋ฆฌ ์ •๋ ฌ์ด๋ผ๊ณ  ํ•œ๋‹ค.
ํ•ด๋‹น ์ •๋ ฌ ๋ฉ”๋ชจ๋ฆฌ ๊ณต๊ฐ„์ด ๋ถ€์กฑํ•˜๋‹ค๋ฉด ๋””์Šคํฌ๋ฅผ ์ด์šฉ
๏‚ง ์„ธ์…˜ ์ •๋ณด : ์„œ๋ฒ„ ํ”„๋กœ์„ธ์Šค์— ์˜ํ•ด ์ถ”์ถœ๋œ ๊ฒฐ๊ณผ ๊ฐ’์„ ์ „๋‹ฌํ•˜๊ธฐ ์œ„ํ•ด
ํ•„์š”ํ•œ ์œ ์ € ํ”„๋กœ์„ธ์Šค์˜ ์„ธ์…˜ ์ •๋ณด๋ฅผ ์ €์žฅ
๏‚ง ์ปค์„œ ์ƒํƒœ ์ •๋ณด : ํ•ด๋‹น SQL ํŒŒ์‹ฑ(Parsing) ์ •๋ณด๊ฐ€ ์ €์žฅ๋˜์–ด ์žˆ๋Š” ์ฃผ์†Œ๋ฅผ ์ €์žฅ
๏‚ง ๋ณ€์ˆ˜ ์ €์žฅ ๊ณต๊ฐ„ : SQL ๋ฌธ์žฅ์— ๋ฐ”์ธ๋“œ ๋ณ€์ˆ˜(Bind Variable)๋ฅผ ์‚ฌ์šฉ ํ–ˆ์„ ๊ฒฝ์šฐ
ํ•ด๋‹น ๋ฐ”์ธ๋“œ ๋ณ€์ˆ˜๋ฅผ ์ €์žฅํ•˜๋Š” ๊ณต๊ฐ„
Database security and management, WareValley.
http://www.WareValley.com
Oracle Instance : SGA (System Global Area)
๏‚ง ๊ณต์šฉ ๋ฉ”๋ชจ๋ฆฌ ์˜์—ญ์œผ๋กœ ๋ชจ๋“  ์‚ฌ์šฉ์ž๊ฐ€ ๋™์ผํ•œ SGA๋ฅผ ์‚ฌ์šฉ
๏‚ง DB Buffer Cache : ๋น ๋ฅธ ์ž…์ถœ๋ ฅ์„ ์œ„ํ•ด์„œ Datafile์„ ์ฝ์–ด์„œ Block ๋‹จ์œ„๋กœ ์ €์žฅํ•ด ๋†“๋Š” Cache Memory
๏‚ง Shared Pool
- Data Dictionary Cache : Oracle Dictionary ์ •๋ณด๋ฅผ ์ €์žฅํ•ด๋‘๋Š” Cache Memory
- Library Cache : ์‚ฌ์šฉ์ž๊ฐ€ ๋˜์ง„ SQL๋ฌธ๊ณผ Execution Plan์„ ์ €์žฅํ•ด๋‘๋Š” Cache Memory
๏‚ง Redo Log Buffer : Datafile ๊ณผ Controlfile์— ๊ฐ€ํ•ด์ง€๋Š” ๋ชจ๋“  ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ์ €์žฅ
๏‚ง Large Pool : ์„ ํƒ์  Memory ์˜์—ญ์œผ๋กœ, Backup, Parallel Processing, Redo Buffer ๊ด€๋ฆฌ ๋“ฑ์˜ ๋ชฉ์ ์— ์‚ฌ์šฉ๋จ
๏‚ง Java Pool : ์„ ํƒ์  Memory ์˜์—ญ์œผ๋กœ, Oracle JVM์— ์ ‘์†ํ•ด์žˆ๋Š” ๋ชจ๋“  ์„ธ์…˜์˜ Java Code๊ฐ€ ์‚ฌ์šฉ
๏‚ง Stream Pool : 10g๋ถ€ํ„ฐ ์ง€์›๋˜๋Š” Oracle Stream (๋‹ค๋ฅธ DB๋กœ Data ์ „๋‹ฌ)์— ์‚ฌ์šฉ
Redo
Log
BufferRECYCLE DEFAULT
Data Buffer Cache
SGA
(System Global Area)
Java Pool
Large Pool
Streams Pool
Library Cache
โ€ขSQL, SQL(recursive SQL)
โ€ขParse Test
โ€ขExecution Plan
Data Dictionary Cache
โ€ขRow Cache
โ€ขObject Information
โ€ขSecurity
Shared Pool
Server
Process
Background
Process
Database security and management, WareValley.
http://www.WareValley.com
Shared Pool โ€“ Library Cache
๏‚ง ์‚ฌ์šฉ์ž๊ฐ€ ์‹คํ–‰์‹œํ‚ค๋Š” SQL ๋ฌธ์žฅ์„ ์ €์žฅ Library Cache
โ€ขSQL, SQL(recursive SQL)
โ€ขParse Test
โ€ขExecution Plan
Data Dictionary Cache
โ€ขRow Cache
โ€ขObject Information
โ€ขSecurity
Shared Pool
SELECT * FROM Tbl WHERE ID = '1234'; -- e.g. Dynamic SQL
SELECT * FROM Tbl WHERE ID = โ€˜5678';
๏‚ง ์œ„ 2 SQL๋ฌธ์€ ๋‹ค๋ฅธ SQL๋ฌธ์ด๋ผ์„œ Shared SQL Pool์— ๋”ฐ๋กœ ๊ณต๊ฐ„์„ ์ฐจ์ง€ํ•˜๊ฒŒ ๋œ๋‹ค.
๏‚ง ๋ฟ๋งŒ ์•„๋‹ˆ๋ผ SQL Parsing ๋„ ๋”ฐ๋กœํ•˜๊ณ , Execution Plan๋„ ๋”ฐ๋กœ๋”ฐ๋กœโ€ฆ
SELECT * FROM Tbl WHERE ID = :id; -- e.g. Static SQL
๏‚ง ํ•œ ๋ฒˆ์˜ Parsing ์œผ๋กœ ๋งŒ๋“ค์–ด์ง„ Execution Plan์„ ๊ณ„์†ํ•ด์„œ ์žฌ์‚ฌ์šฉ ํ•œ๋‹ค.
Database security and management, WareValley.
http://www.WareValley.com
Oracle Background Process
Background Process
PMON SMON DBWn CKPT LGWR ARCn etc
๏‚ง User ์—ฐ๊ฒฐ ์œ ๋ฌด์™€ ์ƒ๊ด€์—†์ด ํ•ญ์ƒ Background๋กœ ์‹คํ–‰
๏‚ง PMON (Process Monitor) : Server Process ๊ด€๋ฆฌ. ์ž˜๋ชป๋œ Process ํŒŒ๊ดด ๋ฐ ์ž์›ํ•ด์ œ, ์ž˜๋ชป๋œ Transaction ๋ฌธ์ œ ํ•ด๊ฒฐ
๏‚ง SMON (System Monitor) : DBMS์˜ CEO. ๋ชจ๋“  ์ž‘์—… ์ด๊ด€๋ฆฌ ( ์ž„์‹œ ์„ธ๊ทธ๋จผํŠธ ์ •๋ฆฌ, ๋”•์…”๋„ˆ๋ฆฌ ๊ด€๋ฆฌ, ์žฌ์‹œ์ž‘์‹œ ๋ณต๊ตฌ ๋‹ด๋‹น)
๏‚ง DBWn (Database Writer) : Memory ์ƒ์˜ ๋ณ€๊ฒฝ์ด ์ผ์–ด๋‚œ Block์„ ๋””์Šคํฌ๋กœ ์ €์žฅ
๏‚ง CKPT (Check Point) : ๋ชจ๋“  Control File๊ณผ Data File์˜ ํ•ด๋”๋ฅผ ์ตœ๊ทผ์˜ ์ฒดํฌํฌ์ธํŠธ ์ •๋ณด๋กœ ๊ฐฑ์‹  (์ €์žฅ๋œ Data๋ฅผ ์ผ์น˜์‹œํ‚ค๋Š” ์ž‘์—…)
๏‚ง LGWR (Log Writer) : ์Šน์ธ๋œ Transaction์„ Redo Log File์— ๊ธฐ๋ก
๏‚ง ARCn (Archiver) : Database๊ฐ€ ์ž‘๋™ํ•˜๋Š” ๋™์•ˆ ๋ฐฑ์—… ์ž‘์—…์„ ์ˆ˜ํ–‰
๏‚ง RECO (Recoverer Process) : ๋ถ„์‚ฐ ์‹œ์Šคํ…œ๊ฐ„์˜ Transaction ์„ ๋งž์ถฐ์ฃผ๋Š” ์—ญํ• 
์„œ์šธ์— ์žˆ๋Š” ์€ํ–‰๊ณผ ๋ถ€์‚ฐ์— ์žˆ๋Š” ์€ํ–‰๊ฐ„์— ์ด์ฒด ์ž‘์—…์—์„œ ๋ฌผ๋ฆฌ์ ์œผ๋กœ ๋‹ค๋ฅธ DB Server ๊ฐ„์˜ Two-phase Commit
(์–‘์ชฝ ๋ชจ๋‘ Prepare-phase ํ•œ ๋’ค, ๋‘˜ ๋‹ค Commit ํ•œ ๊ฒƒ์ด ํ™•์ธ๋˜์ง€ ์•Š์œผ๋ฉด RECO๊ฐ€ Rollback ์‹œํ‚จ๋‹ค.)
Database security and management, WareValley.
http://www.WareValley.com
Database Writer
BEGIN TRANSACTION;
DELETE FROM Tbl1 WHERE ID < 200000;
COMMIT;
๏‚ง ์œ„ ์‹คํ–‰๋ฌธ ์ค‘ ๊ฐ€์žฅ ์‹œ๊ฐ„์ด ์˜ค๋ž˜ ๊ฑธ๋ฆฌ๋Š” ๋ช…๋ น์–ด๋Š” ?
=> ๋‹ค๋“ค DELETE ๋ผ๊ณ  ์‰ฝ๊ฒŒ ๋ง ํ•  ๊ฒƒ์ด๋‹ค.
๏‚ง ๊ทธ๋Ÿผ COMMIT๋Š” ?
=> ๋ˆˆ๊นœ์งํ•˜๊ธฐ๋„ ์ „์— ๋ !
๏‚ง ๋งŒ์•ฝ COMMIT์„ ํ•˜์ง€ ์•Š๊ณ  Server๋ฅผ Reboot ํ•œ๋‹ค๋ฉด ?
=> ์ผœ์ง€๋Š”๋ฐ ์‹œ๊ฐ„์ด ๋” ์˜ค๋ž˜ ๊ฑธ๋ฆฐ๋‹ค.
์ผ๋‹จ Disk์—์„œ๋Š” ์ง€์›Œ์ง€๋Š” ๊ฑธ๋กœโ€ฆ
COMMIT ํ•˜๊ธฐ ์ „์— Disk์—์„œ๋Š” ์ด๋ฏธ ์ง€์›Œ์ง„ ์ƒํƒœ
์ด๋ฏธ Disk์—์„œ๋Š” ์ง€์›Œ์กŒ์ง€๋งŒ, ์–ด๋”˜๊ฐ€์—์„œ ์ฝ์–ด์„œ
ROLLBACK ์ž‘์—…์„ ์ˆ˜ํ–‰
Data Buffer Cache LRU ์ž‘๋™ ์„ค๋ช…
Dirty Buffer(๋”ํ‹ฐ ๋ฒ„ํผ) ๋ณ€๊ฒฝ์€ ์™„๋ฃŒ๋˜์—ˆ์ง€๋งŒ ๋””์Šคํฌ์— ๊ธฐ๋ก๋˜์ง€ ์•Š์€ ๋ฒ„ํผ
Pinned Buffer(์‚ฌ์šฉ์ค‘ ๋ฒ„ํผ) ๋ณ€๊ฒฝ์ค‘์ธ ๋ฒ„ํผ
Free Buffer(ํ”„๋ฆฌ ๋ฒ„ํผ) ๋ณ€๊ฒฝ์ด ์™„๋ฃŒ๋œ ํ›„ ๋””์Šคํฌ์— ๊ธฐ๋ก๋œ ๋ฒ„ํผ
Crean(์ œ๊ฑฐ๋ฒ„ํผ) ์‚ญ์ œ๋Œ€์ƒ

More Related Content

Viewers also liked

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter3_STG๋ฐ•ํ•˜์€
๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter3_STG๋ฐ•ํ•˜์€๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter3_STG๋ฐ•ํ•˜์€
๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter3_STG๋ฐ•ํ•˜์€ETRIBE_STG
ย 
๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter2_STG๋ฐ•ํ•˜์€
๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter2_STG๋ฐ•ํ•˜์€๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter2_STG๋ฐ•ํ•˜์€
๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter2_STG๋ฐ•ํ•˜์€ETRIBE_STG
ย 
๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter1_STG๋ฐ•ํ•˜์€
๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter1_STG๋ฐ•ํ•˜์€๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter1_STG๋ฐ•ํ•˜์€
๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter1_STG๋ฐ•ํ•˜์€ETRIBE_STG
ย 
์ด๊ธฐ์ข… ๋ฉ€ํ‹ฐ์ฝ”์–ด ํ”„๋กœ์„ธ์„œ๋ฅผ ์œ„ํ•œ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด ๋ฐ ์˜์ƒ์ฒ˜๋ฆฌ ์˜คํ”ˆ์†Œ์Šค
์ด๊ธฐ์ข… ๋ฉ€ํ‹ฐ์ฝ”์–ด ํ”„๋กœ์„ธ์„œ๋ฅผ ์œ„ํ•œ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด ๋ฐ ์˜์ƒ์ฒ˜๋ฆฌ ์˜คํ”ˆ์†Œ์Šค์ด๊ธฐ์ข… ๋ฉ€ํ‹ฐ์ฝ”์–ด ํ”„๋กœ์„ธ์„œ๋ฅผ ์œ„ํ•œ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด ๋ฐ ์˜์ƒ์ฒ˜๋ฆฌ ์˜คํ”ˆ์†Œ์Šค
์ด๊ธฐ์ข… ๋ฉ€ํ‹ฐ์ฝ”์–ด ํ”„๋กœ์„ธ์„œ๋ฅผ ์œ„ํ•œ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด ๋ฐ ์˜์ƒ์ฒ˜๋ฆฌ ์˜คํ”ˆ์†Œ์ŠคSeunghwa Song
ย 
์˜ฌ์ฑ™์ด(Tadpole for DB Tools)๋กœ ์‚ดํŽด๋ณด๋Š” Eclipse RAP
์˜ฌ์ฑ™์ด(Tadpole for DB Tools)๋กœ ์‚ดํŽด๋ณด๋Š” Eclipse RAP์˜ฌ์ฑ™์ด(Tadpole for DB Tools)๋กœ ์‚ดํŽด๋ณด๋Š” Eclipse RAP
์˜ฌ์ฑ™์ด(Tadpole for DB Tools)๋กœ ์‚ดํŽด๋ณด๋Š” Eclipse RAPcho hyun jong
ย 
[2015-06-12] Oracle ์„ฑ๋Šฅ ์ตœ์ ํ™” ๋ฐ ํ’ˆ์งˆ ๊ณ ๋„ํ™” 1
[2015-06-12] Oracle ์„ฑ๋Šฅ ์ตœ์ ํ™” ๋ฐ ํ’ˆ์งˆ ๊ณ ๋„ํ™” 1[2015-06-12] Oracle ์„ฑ๋Šฅ ์ตœ์ ํ™” ๋ฐ ํ’ˆ์งˆ ๊ณ ๋„ํ™” 1
[2015-06-12] Oracle ์„ฑ๋Šฅ ์ตœ์ ํ™” ๋ฐ ํ’ˆ์งˆ ๊ณ ๋„ํ™” 1Seok-joon Yun
ย 
แ„แ…ฆแ„ƒแ…ณแ„‘แ…ฉแ†ฏแ„’แ…ฅแ„‡แ…ณ แ„‹แ…ฉแ„‘แ…ณแ†ซแ„‰แ…ฉแ„‰แ…ณVsแ„‹แ…ฆแ†ซแ„แ…ฅแ„‘แ…ณแ„…แ…กแ„‹แ…ตแ„Œแ…ณ
แ„แ…ฆแ„ƒแ…ณแ„‘แ…ฉแ†ฏแ„’แ…ฅแ„‡แ…ณ แ„‹แ…ฉแ„‘แ…ณแ†ซแ„‰แ…ฉแ„‰แ…ณVsแ„‹แ…ฆแ†ซแ„แ…ฅแ„‘แ…ณแ„…แ…กแ„‹แ…ตแ„Œแ…ณแ„แ…ฆแ„ƒแ…ณแ„‘แ…ฉแ†ฏแ„’แ…ฅแ„‡แ…ณ แ„‹แ…ฉแ„‘แ…ณแ†ซแ„‰แ…ฉแ„‰แ…ณVsแ„‹แ…ฆแ†ซแ„แ…ฅแ„‘แ…ณแ„…แ…กแ„‹แ…ตแ„Œแ…ณ
แ„แ…ฆแ„ƒแ…ณแ„‘แ…ฉแ†ฏแ„’แ…ฅแ„‡แ…ณ แ„‹แ…ฉแ„‘แ…ณแ†ซแ„‰แ…ฉแ„‰แ…ณVsแ„‹แ…ฆแ†ซแ„แ…ฅแ„‘แ…ณแ„…แ…กแ„‹แ…ตแ„Œแ…ณcho hyun jong
ย 
์„ฑ๋Šฅ ์ข‹์€ SQL ์ž‘์„ฑ๋ฒ•
์„ฑ๋Šฅ ์ข‹์€ SQL ์ž‘์„ฑ๋ฒ•์„ฑ๋Šฅ ์ข‹์€ SQL ์ž‘์„ฑ๋ฒ•
์„ฑ๋Šฅ ์ข‹์€ SQL ์ž‘์„ฑ๋ฒ•Devgear
ย 
ํ•˜๋‘ก2 YARN ์งง๊ฒŒ ๋ณด๊ธฐ
ํ•˜๋‘ก2 YARN ์งง๊ฒŒ ๋ณด๊ธฐํ•˜๋‘ก2 YARN ์งง๊ฒŒ ๋ณด๊ธฐ
ํ•˜๋‘ก2 YARN ์งง๊ฒŒ ๋ณด๊ธฐbeom kyun choi
ย 
Amazon web service simple diagram overview
Amazon web service simple diagram overviewAmazon web service simple diagram overview
Amazon web service simple diagram overviewJuyeon Yu
ย 
Zookeeper ์†Œ๊ฐœ
Zookeeper ์†Œ๊ฐœZookeeper ์†Œ๊ฐœ
Zookeeper ์†Œ๊ฐœbeom kyun choi
ย 
ํ”„๋กœ๊ทธ๋ž˜๋จธ๊ฐ€ ์•Œ์•„์•ผ ํ•˜๋Š” ๋ฉ”๋ชจ๋ฆฌ ๊ด€๋ฆฌ ๊ธฐ๋ฒ•
ํ”„๋กœ๊ทธ๋ž˜๋จธ๊ฐ€ ์•Œ์•„์•ผ ํ•˜๋Š” ๋ฉ”๋ชจ๋ฆฌ ๊ด€๋ฆฌ ๊ธฐ๋ฒ•ํ”„๋กœ๊ทธ๋ž˜๋จธ๊ฐ€ ์•Œ์•„์•ผ ํ•˜๋Š” ๋ฉ”๋ชจ๋ฆฌ ๊ด€๋ฆฌ ๊ธฐ๋ฒ•
ํ”„๋กœ๊ทธ๋ž˜๋จธ๊ฐ€ ์•Œ์•„์•ผ ํ•˜๋Š” ๋ฉ”๋ชจ๋ฆฌ ๊ด€๋ฆฌ ๊ธฐ๋ฒ•์ค‘์„  ๊ณฝ
ย 
SPARK SQL
SPARK SQLSPARK SQL
SPARK SQLJuhui Park
ย 
[์•ผ์ƒ์˜ ๋•…: ๋“€๋ž‘๊ณ ] ์„œ๋ฒ„ ์•„ํ‚คํ…์ฒ˜ - SPOF ์—†๋Š” ๋ถ„์‚ฐ MMORPG ์„œ๋ฒ„
[์•ผ์ƒ์˜ ๋•…: ๋“€๋ž‘๊ณ ] ์„œ๋ฒ„ ์•„ํ‚คํ…์ฒ˜ - SPOF ์—†๋Š” ๋ถ„์‚ฐ MMORPG ์„œ๋ฒ„[์•ผ์ƒ์˜ ๋•…: ๋“€๋ž‘๊ณ ] ์„œ๋ฒ„ ์•„ํ‚คํ…์ฒ˜ - SPOF ์—†๋Š” ๋ถ„์‚ฐ MMORPG ์„œ๋ฒ„
[์•ผ์ƒ์˜ ๋•…: ๋“€๋ž‘๊ณ ] ์„œ๋ฒ„ ์•„ํ‚คํ…์ฒ˜ - SPOF ์—†๋Š” ๋ถ„์‚ฐ MMORPG ์„œ๋ฒ„Heungsub Lee
ย 
์–‘์„ฑ๋ด‰ - ์•Œ๊ธฐ์‰ฌ์šด ์•Œ๊ณ ๋ฆฌ์ฆ˜ - 1์žฅ์•Œ๊ณ ๋ฆฌ์ฆ˜์˜์ฒซ๊ฑธ์Œ
์–‘์„ฑ๋ด‰ - ์•Œ๊ธฐ์‰ฌ์šด ์•Œ๊ณ ๋ฆฌ์ฆ˜ - 1์žฅ์•Œ๊ณ ๋ฆฌ์ฆ˜์˜์ฒซ๊ฑธ์Œ์–‘์„ฑ๋ด‰ - ์•Œ๊ธฐ์‰ฌ์šด ์•Œ๊ณ ๋ฆฌ์ฆ˜ - 1์žฅ์•Œ๊ณ ๋ฆฌ์ฆ˜์˜์ฒซ๊ฑธ์Œ
์–‘์„ฑ๋ด‰ - ์•Œ๊ธฐ์‰ฌ์šด ์•Œ๊ณ ๋ฆฌ์ฆ˜ - 1์žฅ์•Œ๊ณ ๋ฆฌ์ฆ˜์˜์ฒซ๊ฑธ์ŒDongseo University
ย 
NoSQL Guide & Sample
NoSQL Guide &  SampleNoSQL Guide &  Sample
NoSQL Guide & SampleSangon Lee
ย 

Viewers also liked (16)

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter3_STG๋ฐ•ํ•˜์€
๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter3_STG๋ฐ•ํ•˜์€๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter3_STG๋ฐ•ํ•˜์€
๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter3_STG๋ฐ•ํ•˜์€
ย 
๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter2_STG๋ฐ•ํ•˜์€
๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter2_STG๋ฐ•ํ•˜์€๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter2_STG๋ฐ•ํ•˜์€
๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter2_STG๋ฐ•ํ•˜์€
ย 
๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter1_STG๋ฐ•ํ•˜์€
๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter1_STG๋ฐ•ํ•˜์€๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter1_STG๋ฐ•ํ•˜์€
๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‹œ์Šคํ…œ chapter1_STG๋ฐ•ํ•˜์€
ย 
์ด๊ธฐ์ข… ๋ฉ€ํ‹ฐ์ฝ”์–ด ํ”„๋กœ์„ธ์„œ๋ฅผ ์œ„ํ•œ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด ๋ฐ ์˜์ƒ์ฒ˜๋ฆฌ ์˜คํ”ˆ์†Œ์Šค
์ด๊ธฐ์ข… ๋ฉ€ํ‹ฐ์ฝ”์–ด ํ”„๋กœ์„ธ์„œ๋ฅผ ์œ„ํ•œ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด ๋ฐ ์˜์ƒ์ฒ˜๋ฆฌ ์˜คํ”ˆ์†Œ์Šค์ด๊ธฐ์ข… ๋ฉ€ํ‹ฐ์ฝ”์–ด ํ”„๋กœ์„ธ์„œ๋ฅผ ์œ„ํ•œ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด ๋ฐ ์˜์ƒ์ฒ˜๋ฆฌ ์˜คํ”ˆ์†Œ์Šค
์ด๊ธฐ์ข… ๋ฉ€ํ‹ฐ์ฝ”์–ด ํ”„๋กœ์„ธ์„œ๋ฅผ ์œ„ํ•œ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด ๋ฐ ์˜์ƒ์ฒ˜๋ฆฌ ์˜คํ”ˆ์†Œ์Šค
ย 
์˜ฌ์ฑ™์ด(Tadpole for DB Tools)๋กœ ์‚ดํŽด๋ณด๋Š” Eclipse RAP
์˜ฌ์ฑ™์ด(Tadpole for DB Tools)๋กœ ์‚ดํŽด๋ณด๋Š” Eclipse RAP์˜ฌ์ฑ™์ด(Tadpole for DB Tools)๋กœ ์‚ดํŽด๋ณด๋Š” Eclipse RAP
์˜ฌ์ฑ™์ด(Tadpole for DB Tools)๋กœ ์‚ดํŽด๋ณด๋Š” Eclipse RAP
ย 
[2015-06-12] Oracle ์„ฑ๋Šฅ ์ตœ์ ํ™” ๋ฐ ํ’ˆ์งˆ ๊ณ ๋„ํ™” 1
[2015-06-12] Oracle ์„ฑ๋Šฅ ์ตœ์ ํ™” ๋ฐ ํ’ˆ์งˆ ๊ณ ๋„ํ™” 1[2015-06-12] Oracle ์„ฑ๋Šฅ ์ตœ์ ํ™” ๋ฐ ํ’ˆ์งˆ ๊ณ ๋„ํ™” 1
[2015-06-12] Oracle ์„ฑ๋Šฅ ์ตœ์ ํ™” ๋ฐ ํ’ˆ์งˆ ๊ณ ๋„ํ™” 1
ย 
แ„แ…ฆแ„ƒแ…ณแ„‘แ…ฉแ†ฏแ„’แ…ฅแ„‡แ…ณ แ„‹แ…ฉแ„‘แ…ณแ†ซแ„‰แ…ฉแ„‰แ…ณVsแ„‹แ…ฆแ†ซแ„แ…ฅแ„‘แ…ณแ„…แ…กแ„‹แ…ตแ„Œแ…ณ
แ„แ…ฆแ„ƒแ…ณแ„‘แ…ฉแ†ฏแ„’แ…ฅแ„‡แ…ณ แ„‹แ…ฉแ„‘แ…ณแ†ซแ„‰แ…ฉแ„‰แ…ณVsแ„‹แ…ฆแ†ซแ„แ…ฅแ„‘แ…ณแ„…แ…กแ„‹แ…ตแ„Œแ…ณแ„แ…ฆแ„ƒแ…ณแ„‘แ…ฉแ†ฏแ„’แ…ฅแ„‡แ…ณ แ„‹แ…ฉแ„‘แ…ณแ†ซแ„‰แ…ฉแ„‰แ…ณVsแ„‹แ…ฆแ†ซแ„แ…ฅแ„‘แ…ณแ„…แ…กแ„‹แ…ตแ„Œแ…ณ
แ„แ…ฆแ„ƒแ…ณแ„‘แ…ฉแ†ฏแ„’แ…ฅแ„‡แ…ณ แ„‹แ…ฉแ„‘แ…ณแ†ซแ„‰แ…ฉแ„‰แ…ณVsแ„‹แ…ฆแ†ซแ„แ…ฅแ„‘แ…ณแ„…แ…กแ„‹แ…ตแ„Œแ…ณ
ย 
์„ฑ๋Šฅ ์ข‹์€ SQL ์ž‘์„ฑ๋ฒ•
์„ฑ๋Šฅ ์ข‹์€ SQL ์ž‘์„ฑ๋ฒ•์„ฑ๋Šฅ ์ข‹์€ SQL ์ž‘์„ฑ๋ฒ•
์„ฑ๋Šฅ ์ข‹์€ SQL ์ž‘์„ฑ๋ฒ•
ย 
ํ•˜๋‘ก2 YARN ์งง๊ฒŒ ๋ณด๊ธฐ
ํ•˜๋‘ก2 YARN ์งง๊ฒŒ ๋ณด๊ธฐํ•˜๋‘ก2 YARN ์งง๊ฒŒ ๋ณด๊ธฐ
ํ•˜๋‘ก2 YARN ์งง๊ฒŒ ๋ณด๊ธฐ
ย 
Amazon web service simple diagram overview
Amazon web service simple diagram overviewAmazon web service simple diagram overview
Amazon web service simple diagram overview
ย 
Zookeeper ์†Œ๊ฐœ
Zookeeper ์†Œ๊ฐœZookeeper ์†Œ๊ฐœ
Zookeeper ์†Œ๊ฐœ
ย 
ํ”„๋กœ๊ทธ๋ž˜๋จธ๊ฐ€ ์•Œ์•„์•ผ ํ•˜๋Š” ๋ฉ”๋ชจ๋ฆฌ ๊ด€๋ฆฌ ๊ธฐ๋ฒ•
ํ”„๋กœ๊ทธ๋ž˜๋จธ๊ฐ€ ์•Œ์•„์•ผ ํ•˜๋Š” ๋ฉ”๋ชจ๋ฆฌ ๊ด€๋ฆฌ ๊ธฐ๋ฒ•ํ”„๋กœ๊ทธ๋ž˜๋จธ๊ฐ€ ์•Œ์•„์•ผ ํ•˜๋Š” ๋ฉ”๋ชจ๋ฆฌ ๊ด€๋ฆฌ ๊ธฐ๋ฒ•
ํ”„๋กœ๊ทธ๋ž˜๋จธ๊ฐ€ ์•Œ์•„์•ผ ํ•˜๋Š” ๋ฉ”๋ชจ๋ฆฌ ๊ด€๋ฆฌ ๊ธฐ๋ฒ•
ย 
SPARK SQL
SPARK SQLSPARK SQL
SPARK SQL
ย 
[์•ผ์ƒ์˜ ๋•…: ๋“€๋ž‘๊ณ ] ์„œ๋ฒ„ ์•„ํ‚คํ…์ฒ˜ - SPOF ์—†๋Š” ๋ถ„์‚ฐ MMORPG ์„œ๋ฒ„
[์•ผ์ƒ์˜ ๋•…: ๋“€๋ž‘๊ณ ] ์„œ๋ฒ„ ์•„ํ‚คํ…์ฒ˜ - SPOF ์—†๋Š” ๋ถ„์‚ฐ MMORPG ์„œ๋ฒ„[์•ผ์ƒ์˜ ๋•…: ๋“€๋ž‘๊ณ ] ์„œ๋ฒ„ ์•„ํ‚คํ…์ฒ˜ - SPOF ์—†๋Š” ๋ถ„์‚ฐ MMORPG ์„œ๋ฒ„
[์•ผ์ƒ์˜ ๋•…: ๋“€๋ž‘๊ณ ] ์„œ๋ฒ„ ์•„ํ‚คํ…์ฒ˜ - SPOF ์—†๋Š” ๋ถ„์‚ฐ MMORPG ์„œ๋ฒ„
ย 
์–‘์„ฑ๋ด‰ - ์•Œ๊ธฐ์‰ฌ์šด ์•Œ๊ณ ๋ฆฌ์ฆ˜ - 1์žฅ์•Œ๊ณ ๋ฆฌ์ฆ˜์˜์ฒซ๊ฑธ์Œ
์–‘์„ฑ๋ด‰ - ์•Œ๊ธฐ์‰ฌ์šด ์•Œ๊ณ ๋ฆฌ์ฆ˜ - 1์žฅ์•Œ๊ณ ๋ฆฌ์ฆ˜์˜์ฒซ๊ฑธ์Œ์–‘์„ฑ๋ด‰ - ์•Œ๊ธฐ์‰ฌ์šด ์•Œ๊ณ ๋ฆฌ์ฆ˜ - 1์žฅ์•Œ๊ณ ๋ฆฌ์ฆ˜์˜์ฒซ๊ฑธ์Œ
์–‘์„ฑ๋ด‰ - ์•Œ๊ธฐ์‰ฌ์šด ์•Œ๊ณ ๋ฆฌ์ฆ˜ - 1์žฅ์•Œ๊ณ ๋ฆฌ์ฆ˜์˜์ฒซ๊ฑธ์Œ
ย 
NoSQL Guide & Sample
NoSQL Guide &  SampleNoSQL Guide &  Sample
NoSQL Guide & Sample
ย 

More from Seok-joon Yun

Retrospective.2020 03
Retrospective.2020 03Retrospective.2020 03
Retrospective.2020 03Seok-joon Yun
ย 
Sprint & Jira
Sprint & JiraSprint & Jira
Sprint & JiraSeok-joon Yun
ย 
Eks.introduce.v2
Eks.introduce.v2Eks.introduce.v2
Eks.introduce.v2Seok-joon Yun
ย 
Eks.introduce
Eks.introduceEks.introduce
Eks.introduceSeok-joon Yun
ย 
AWS DEV DAY SEOUL 2017 Buliding Serverless Web App - ์ง๋ฐฉ Image Converter
AWS DEV DAY SEOUL 2017 Buliding Serverless Web App - ์ง๋ฐฉ Image ConverterAWS DEV DAY SEOUL 2017 Buliding Serverless Web App - ์ง๋ฐฉ Image Converter
AWS DEV DAY SEOUL 2017 Buliding Serverless Web App - ์ง๋ฐฉ Image ConverterSeok-joon Yun
ย 
แ„‹แ…กแ„‘แ…กแ„แ…ณ แ„‰แ…ตแ„‰แ…ฆ,แ„‹แ…ฅแ„แ…ฅแ„ƒแ…ก แ„†แ…ฅแ„‰แ…ตแ†ซแ„…แ…ฅแ„‚แ…ตแ†ผแ„แ…กแ„Œแ…ต
แ„‹แ…กแ„‘แ…กแ„แ…ณ แ„‰แ…ตแ„‰แ…ฆ,แ„‹แ…ฅแ„แ…ฅแ„ƒแ…ก แ„†แ…ฅแ„‰แ…ตแ†ซแ„…แ…ฅแ„‚แ…ตแ†ผแ„แ…กแ„Œแ…ตแ„‹แ…กแ„‘แ…กแ„แ…ณ แ„‰แ…ตแ„‰แ…ฆ,แ„‹แ…ฅแ„แ…ฅแ„ƒแ…ก แ„†แ…ฅแ„‰แ…ตแ†ซแ„…แ…ฅแ„‚แ…ตแ†ผแ„แ…กแ„Œแ…ต
แ„‹แ…กแ„‘แ…กแ„แ…ณ แ„‰แ…ตแ„‰แ…ฆ,แ„‹แ…ฅแ„แ…ฅแ„ƒแ…ก แ„†แ…ฅแ„‰แ…ตแ†ซแ„…แ…ฅแ„‚แ…ตแ†ผแ„แ…กแ„Œแ…ตSeok-joon Yun
ย 
Pro typescript.ch07.Exception, Memory, Performance
Pro typescript.ch07.Exception, Memory, PerformancePro typescript.ch07.Exception, Memory, Performance
Pro typescript.ch07.Exception, Memory, PerformanceSeok-joon Yun
ย 
Doing math with python.ch07
Doing math with python.ch07Doing math with python.ch07
Doing math with python.ch07Seok-joon Yun
ย 
Doing math with python.ch06
Doing math with python.ch06Doing math with python.ch06
Doing math with python.ch06Seok-joon Yun
ย 
Doing math with python.ch05
Doing math with python.ch05Doing math with python.ch05
Doing math with python.ch05Seok-joon Yun
ย 
Doing math with python.ch04
Doing math with python.ch04Doing math with python.ch04
Doing math with python.ch04Seok-joon Yun
ย 
Doing math with python.ch03
Doing math with python.ch03Doing math with python.ch03
Doing math with python.ch03Seok-joon Yun
ย 
Doing mathwithpython.ch02
Doing mathwithpython.ch02Doing mathwithpython.ch02
Doing mathwithpython.ch02Seok-joon Yun
ย 
Doing math with python.ch01
Doing math with python.ch01Doing math with python.ch01
Doing math with python.ch01Seok-joon Yun
ย 
Pro typescript.ch03.Object Orientation in TypeScript
Pro typescript.ch03.Object Orientation in TypeScriptPro typescript.ch03.Object Orientation in TypeScript
Pro typescript.ch03.Object Orientation in TypeScriptSeok-joon Yun
ย 
C++ Concurrency in Action 9-2 Interrupting threads
C++ Concurrency in Action 9-2 Interrupting threadsC++ Concurrency in Action 9-2 Interrupting threads
C++ Concurrency in Action 9-2 Interrupting threadsSeok-joon Yun
ย 
Welcome to Modern C++
Welcome to Modern C++Welcome to Modern C++
Welcome to Modern C++Seok-joon Yun
ย 
[2015-07-20-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ๊ด€๋ฆฌ 2
[2015-07-20-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ๊ด€๋ฆฌ 2[2015-07-20-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ๊ด€๋ฆฌ 2
[2015-07-20-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ๊ด€๋ฆฌ 2Seok-joon Yun
ย 
[2015-07-10-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ๊ด€๋ฆฌ & v$sysstat
[2015-07-10-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ๊ด€๋ฆฌ & v$sysstat[2015-07-10-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ๊ด€๋ฆฌ & v$sysstat
[2015-07-10-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ๊ด€๋ฆฌ & v$sysstatSeok-joon Yun
ย 
[2015 07-06-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ์ตœ์ ํ™” ๋ฐ ํ’ˆ์งˆ ๊ณ ๋„ํ™” 4
[2015 07-06-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ์ตœ์ ํ™” ๋ฐ ํ’ˆ์งˆ ๊ณ ๋„ํ™” 4[2015 07-06-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ์ตœ์ ํ™” ๋ฐ ํ’ˆ์งˆ ๊ณ ๋„ํ™” 4
[2015 07-06-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ์ตœ์ ํ™” ๋ฐ ํ’ˆ์งˆ ๊ณ ๋„ํ™” 4Seok-joon Yun
ย 

More from Seok-joon Yun (20)

Retrospective.2020 03
Retrospective.2020 03Retrospective.2020 03
Retrospective.2020 03
ย 
Sprint & Jira
Sprint & JiraSprint & Jira
Sprint & Jira
ย 
Eks.introduce.v2
Eks.introduce.v2Eks.introduce.v2
Eks.introduce.v2
ย 
Eks.introduce
Eks.introduceEks.introduce
Eks.introduce
ย 
AWS DEV DAY SEOUL 2017 Buliding Serverless Web App - ์ง๋ฐฉ Image Converter
AWS DEV DAY SEOUL 2017 Buliding Serverless Web App - ์ง๋ฐฉ Image ConverterAWS DEV DAY SEOUL 2017 Buliding Serverless Web App - ์ง๋ฐฉ Image Converter
AWS DEV DAY SEOUL 2017 Buliding Serverless Web App - ์ง๋ฐฉ Image Converter
ย 
แ„‹แ…กแ„‘แ…กแ„แ…ณ แ„‰แ…ตแ„‰แ…ฆ,แ„‹แ…ฅแ„แ…ฅแ„ƒแ…ก แ„†แ…ฅแ„‰แ…ตแ†ซแ„…แ…ฅแ„‚แ…ตแ†ผแ„แ…กแ„Œแ…ต
แ„‹แ…กแ„‘แ…กแ„แ…ณ แ„‰แ…ตแ„‰แ…ฆ,แ„‹แ…ฅแ„แ…ฅแ„ƒแ…ก แ„†แ…ฅแ„‰แ…ตแ†ซแ„…แ…ฅแ„‚แ…ตแ†ผแ„แ…กแ„Œแ…ตแ„‹แ…กแ„‘แ…กแ„แ…ณ แ„‰แ…ตแ„‰แ…ฆ,แ„‹แ…ฅแ„แ…ฅแ„ƒแ…ก แ„†แ…ฅแ„‰แ…ตแ†ซแ„…แ…ฅแ„‚แ…ตแ†ผแ„แ…กแ„Œแ…ต
แ„‹แ…กแ„‘แ…กแ„แ…ณ แ„‰แ…ตแ„‰แ…ฆ,แ„‹แ…ฅแ„แ…ฅแ„ƒแ…ก แ„†แ…ฅแ„‰แ…ตแ†ซแ„…แ…ฅแ„‚แ…ตแ†ผแ„แ…กแ„Œแ…ต
ย 
Pro typescript.ch07.Exception, Memory, Performance
Pro typescript.ch07.Exception, Memory, PerformancePro typescript.ch07.Exception, Memory, Performance
Pro typescript.ch07.Exception, Memory, Performance
ย 
Doing math with python.ch07
Doing math with python.ch07Doing math with python.ch07
Doing math with python.ch07
ย 
Doing math with python.ch06
Doing math with python.ch06Doing math with python.ch06
Doing math with python.ch06
ย 
Doing math with python.ch05
Doing math with python.ch05Doing math with python.ch05
Doing math with python.ch05
ย 
Doing math with python.ch04
Doing math with python.ch04Doing math with python.ch04
Doing math with python.ch04
ย 
Doing math with python.ch03
Doing math with python.ch03Doing math with python.ch03
Doing math with python.ch03
ย 
Doing mathwithpython.ch02
Doing mathwithpython.ch02Doing mathwithpython.ch02
Doing mathwithpython.ch02
ย 
Doing math with python.ch01
Doing math with python.ch01Doing math with python.ch01
Doing math with python.ch01
ย 
Pro typescript.ch03.Object Orientation in TypeScript
Pro typescript.ch03.Object Orientation in TypeScriptPro typescript.ch03.Object Orientation in TypeScript
Pro typescript.ch03.Object Orientation in TypeScript
ย 
C++ Concurrency in Action 9-2 Interrupting threads
C++ Concurrency in Action 9-2 Interrupting threadsC++ Concurrency in Action 9-2 Interrupting threads
C++ Concurrency in Action 9-2 Interrupting threads
ย 
Welcome to Modern C++
Welcome to Modern C++Welcome to Modern C++
Welcome to Modern C++
ย 
[2015-07-20-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ๊ด€๋ฆฌ 2
[2015-07-20-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ๊ด€๋ฆฌ 2[2015-07-20-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ๊ด€๋ฆฌ 2
[2015-07-20-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ๊ด€๋ฆฌ 2
ย 
[2015-07-10-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ๊ด€๋ฆฌ & v$sysstat
[2015-07-10-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ๊ด€๋ฆฌ & v$sysstat[2015-07-10-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ๊ด€๋ฆฌ & v$sysstat
[2015-07-10-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ๊ด€๋ฆฌ & v$sysstat
ย 
[2015 07-06-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ์ตœ์ ํ™” ๋ฐ ํ’ˆ์งˆ ๊ณ ๋„ํ™” 4
[2015 07-06-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ์ตœ์ ํ™” ๋ฐ ํ’ˆ์งˆ ๊ณ ๋„ํ™” 4[2015 07-06-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ์ตœ์ ํ™” ๋ฐ ํ’ˆ์งˆ ๊ณ ๋„ํ™” 4
[2015 07-06-์œค์„์ค€] Oracle ์„ฑ๋Šฅ ์ตœ์ ํ™” ๋ฐ ํ’ˆ์งˆ ๊ณ ๋„ํ™” 4
ย 

[WareValley Orange DB Study][2015 03-20] Oracle architecture

  • 1. WareValley http://www.WareValley.com Database Audit and Protection [ DB ์ ‘๊ทผํ†ต์ œ ] Database Encryption [ DB ์•”ํ˜ธํ™” ] Database Vulnerability Assessment [ DB ์ทจ์•ฝ์  ๋ถ„์„ ] Database SQL Query Approval [ DB ์ž‘์—…๊ฒฐ์žฌ ] Database Performance Monitoring and Management [ DB ์„ฑ๋Šฅ๊ด€๋ฆฌ ๋ฐ ๊ฐœ๋ฐœ ] WareValley Oracle Architecture ์˜ค๋ Œ์ง€ํŒ€ ์œค์„์ค€ ์„ ์ž„์—ฐ๊ตฌ์›
  • 2. Database security and management, WareValley. http://www.WareValley.com Oracle Architecture User Process Listener Server Process User Process User Process User Process Server Process Server Process Server Process Instance SGA (System Global Area) Background Process Oracle Database Data Files Control Files Online Redo Log Offline Redo Log Feles Parameter FILE Password FILE PGA (Program Global Area) PGA (Program Global Area) PGA (Program Global Area) PGA (Program Global Area)
  • 3. Database security and management, WareValley. http://www.WareValley.com Oracle Memory Server Process Instance Background Process PGA (Program Global Area) SGA (System Global Area) ๏‚ง PGA (Program Global Area) - Process ํ˜น์€ Thread์˜ ๊ฐœ๋ณ„์ ์ธ ๋ฉ”๋ชจ๋ฆฌ ๊ณต๊ฐ„ - ์‚ฌ์šฉ์ž๋งˆ๋‹ค ๊ฐœ๋ณ„์ ์œผ๋กœ ์‚ฌ์šฉํ•˜๋Š” ๊ณต๊ฐ„ ๏‚ง SGA (System Global Area) - Oracle Process ๋“ค์ด ์ ‘๊ทผํ•˜๋Š” ํฐ ๊ณต์œ  ๋ฉ”๋ชจ๋ฆฌ - Server Process ์™€ Background Process ๊ฐ€ ๊ณต์šฉ์œผ๋กœ ์‚ฌ์šฉ
  • 4. Database security and management, WareValley. http://www.WareValley.com Oracle Instance : PGA (Program Global Area) PGA ์ •๋ ฌ ๊ณต๊ฐ„ (Sort Area) ๋ณ€์ˆ˜ ์ €์žฅ ๊ณต๊ฐ„ (Stack Space) ์„ธ์…˜ ์ •๋ณด (Session Information) ์ปค์„œ ์ƒํƒœ ์ •๋ณด (Cursor State) ๏‚ง ์ •๋ ฌ ๊ณต๊ฐ„ : ORDER BY ๋˜๋Š” GROUP BY ๋“ฑ์˜ ์ •๋ ฌ์„ ์ˆ˜ํ–‰ํ•˜๊ธฐ ์œ„ํ•œ ๊ณต๊ฐ„์ด๋ฉฐ ํ•ด๋‹น ๊ณต๊ฐ„์—์„œ๋งŒ ์ •๋ ฌ์ด ์™„๋ฃŒ๋œ๋‹ค๋ฉด ์ด๋ฅผ ๋ฉ”๋ชจ๋ฆฌ ์ •๋ ฌ์ด๋ผ๊ณ  ํ•œ๋‹ค. ํ•ด๋‹น ์ •๋ ฌ ๋ฉ”๋ชจ๋ฆฌ ๊ณต๊ฐ„์ด ๋ถ€์กฑํ•˜๋‹ค๋ฉด ๋””์Šคํฌ๋ฅผ ์ด์šฉ ๏‚ง ์„ธ์…˜ ์ •๋ณด : ์„œ๋ฒ„ ํ”„๋กœ์„ธ์Šค์— ์˜ํ•ด ์ถ”์ถœ๋œ ๊ฒฐ๊ณผ ๊ฐ’์„ ์ „๋‹ฌํ•˜๊ธฐ ์œ„ํ•ด ํ•„์š”ํ•œ ์œ ์ € ํ”„๋กœ์„ธ์Šค์˜ ์„ธ์…˜ ์ •๋ณด๋ฅผ ์ €์žฅ ๏‚ง ์ปค์„œ ์ƒํƒœ ์ •๋ณด : ํ•ด๋‹น SQL ํŒŒ์‹ฑ(Parsing) ์ •๋ณด๊ฐ€ ์ €์žฅ๋˜์–ด ์žˆ๋Š” ์ฃผ์†Œ๋ฅผ ์ €์žฅ ๏‚ง ๋ณ€์ˆ˜ ์ €์žฅ ๊ณต๊ฐ„ : SQL ๋ฌธ์žฅ์— ๋ฐ”์ธ๋“œ ๋ณ€์ˆ˜(Bind Variable)๋ฅผ ์‚ฌ์šฉ ํ–ˆ์„ ๊ฒฝ์šฐ ํ•ด๋‹น ๋ฐ”์ธ๋“œ ๋ณ€์ˆ˜๋ฅผ ์ €์žฅํ•˜๋Š” ๊ณต๊ฐ„
  • 5. Database security and management, WareValley. http://www.WareValley.com Oracle Instance : SGA (System Global Area) ๏‚ง ๊ณต์šฉ ๋ฉ”๋ชจ๋ฆฌ ์˜์—ญ์œผ๋กœ ๋ชจ๋“  ์‚ฌ์šฉ์ž๊ฐ€ ๋™์ผํ•œ SGA๋ฅผ ์‚ฌ์šฉ ๏‚ง DB Buffer Cache : ๋น ๋ฅธ ์ž…์ถœ๋ ฅ์„ ์œ„ํ•ด์„œ Datafile์„ ์ฝ์–ด์„œ Block ๋‹จ์œ„๋กœ ์ €์žฅํ•ด ๋†“๋Š” Cache Memory ๏‚ง Shared Pool - Data Dictionary Cache : Oracle Dictionary ์ •๋ณด๋ฅผ ์ €์žฅํ•ด๋‘๋Š” Cache Memory - Library Cache : ์‚ฌ์šฉ์ž๊ฐ€ ๋˜์ง„ SQL๋ฌธ๊ณผ Execution Plan์„ ์ €์žฅํ•ด๋‘๋Š” Cache Memory ๏‚ง Redo Log Buffer : Datafile ๊ณผ Controlfile์— ๊ฐ€ํ•ด์ง€๋Š” ๋ชจ๋“  ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ์ €์žฅ ๏‚ง Large Pool : ์„ ํƒ์  Memory ์˜์—ญ์œผ๋กœ, Backup, Parallel Processing, Redo Buffer ๊ด€๋ฆฌ ๋“ฑ์˜ ๋ชฉ์ ์— ์‚ฌ์šฉ๋จ ๏‚ง Java Pool : ์„ ํƒ์  Memory ์˜์—ญ์œผ๋กœ, Oracle JVM์— ์ ‘์†ํ•ด์žˆ๋Š” ๋ชจ๋“  ์„ธ์…˜์˜ Java Code๊ฐ€ ์‚ฌ์šฉ ๏‚ง Stream Pool : 10g๋ถ€ํ„ฐ ์ง€์›๋˜๋Š” Oracle Stream (๋‹ค๋ฅธ DB๋กœ Data ์ „๋‹ฌ)์— ์‚ฌ์šฉ Redo Log BufferRECYCLE DEFAULT Data Buffer Cache SGA (System Global Area) Java Pool Large Pool Streams Pool Library Cache โ€ขSQL, SQL(recursive SQL) โ€ขParse Test โ€ขExecution Plan Data Dictionary Cache โ€ขRow Cache โ€ขObject Information โ€ขSecurity Shared Pool Server Process Background Process
  • 6. Database security and management, WareValley. http://www.WareValley.com Shared Pool โ€“ Library Cache ๏‚ง ์‚ฌ์šฉ์ž๊ฐ€ ์‹คํ–‰์‹œํ‚ค๋Š” SQL ๋ฌธ์žฅ์„ ์ €์žฅ Library Cache โ€ขSQL, SQL(recursive SQL) โ€ขParse Test โ€ขExecution Plan Data Dictionary Cache โ€ขRow Cache โ€ขObject Information โ€ขSecurity Shared Pool SELECT * FROM Tbl WHERE ID = '1234'; -- e.g. Dynamic SQL SELECT * FROM Tbl WHERE ID = โ€˜5678'; ๏‚ง ์œ„ 2 SQL๋ฌธ์€ ๋‹ค๋ฅธ SQL๋ฌธ์ด๋ผ์„œ Shared SQL Pool์— ๋”ฐ๋กœ ๊ณต๊ฐ„์„ ์ฐจ์ง€ํ•˜๊ฒŒ ๋œ๋‹ค. ๏‚ง ๋ฟ๋งŒ ์•„๋‹ˆ๋ผ SQL Parsing ๋„ ๋”ฐ๋กœํ•˜๊ณ , Execution Plan๋„ ๋”ฐ๋กœ๋”ฐ๋กœโ€ฆ SELECT * FROM Tbl WHERE ID = :id; -- e.g. Static SQL ๏‚ง ํ•œ ๋ฒˆ์˜ Parsing ์œผ๋กœ ๋งŒ๋“ค์–ด์ง„ Execution Plan์„ ๊ณ„์†ํ•ด์„œ ์žฌ์‚ฌ์šฉ ํ•œ๋‹ค.
  • 7. Database security and management, WareValley. http://www.WareValley.com Oracle Background Process Background Process PMON SMON DBWn CKPT LGWR ARCn etc ๏‚ง User ์—ฐ๊ฒฐ ์œ ๋ฌด์™€ ์ƒ๊ด€์—†์ด ํ•ญ์ƒ Background๋กœ ์‹คํ–‰ ๏‚ง PMON (Process Monitor) : Server Process ๊ด€๋ฆฌ. ์ž˜๋ชป๋œ Process ํŒŒ๊ดด ๋ฐ ์ž์›ํ•ด์ œ, ์ž˜๋ชป๋œ Transaction ๋ฌธ์ œ ํ•ด๊ฒฐ ๏‚ง SMON (System Monitor) : DBMS์˜ CEO. ๋ชจ๋“  ์ž‘์—… ์ด๊ด€๋ฆฌ ( ์ž„์‹œ ์„ธ๊ทธ๋จผํŠธ ์ •๋ฆฌ, ๋”•์…”๋„ˆ๋ฆฌ ๊ด€๋ฆฌ, ์žฌ์‹œ์ž‘์‹œ ๋ณต๊ตฌ ๋‹ด๋‹น) ๏‚ง DBWn (Database Writer) : Memory ์ƒ์˜ ๋ณ€๊ฒฝ์ด ์ผ์–ด๋‚œ Block์„ ๋””์Šคํฌ๋กœ ์ €์žฅ ๏‚ง CKPT (Check Point) : ๋ชจ๋“  Control File๊ณผ Data File์˜ ํ•ด๋”๋ฅผ ์ตœ๊ทผ์˜ ์ฒดํฌํฌ์ธํŠธ ์ •๋ณด๋กœ ๊ฐฑ์‹  (์ €์žฅ๋œ Data๋ฅผ ์ผ์น˜์‹œํ‚ค๋Š” ์ž‘์—…) ๏‚ง LGWR (Log Writer) : ์Šน์ธ๋œ Transaction์„ Redo Log File์— ๊ธฐ๋ก ๏‚ง ARCn (Archiver) : Database๊ฐ€ ์ž‘๋™ํ•˜๋Š” ๋™์•ˆ ๋ฐฑ์—… ์ž‘์—…์„ ์ˆ˜ํ–‰ ๏‚ง RECO (Recoverer Process) : ๋ถ„์‚ฐ ์‹œ์Šคํ…œ๊ฐ„์˜ Transaction ์„ ๋งž์ถฐ์ฃผ๋Š” ์—ญํ•  ์„œ์šธ์— ์žˆ๋Š” ์€ํ–‰๊ณผ ๋ถ€์‚ฐ์— ์žˆ๋Š” ์€ํ–‰๊ฐ„์— ์ด์ฒด ์ž‘์—…์—์„œ ๋ฌผ๋ฆฌ์ ์œผ๋กœ ๋‹ค๋ฅธ DB Server ๊ฐ„์˜ Two-phase Commit (์–‘์ชฝ ๋ชจ๋‘ Prepare-phase ํ•œ ๋’ค, ๋‘˜ ๋‹ค Commit ํ•œ ๊ฒƒ์ด ํ™•์ธ๋˜์ง€ ์•Š์œผ๋ฉด RECO๊ฐ€ Rollback ์‹œํ‚จ๋‹ค.)
  • 8. Database security and management, WareValley. http://www.WareValley.com Database Writer BEGIN TRANSACTION; DELETE FROM Tbl1 WHERE ID < 200000; COMMIT; ๏‚ง ์œ„ ์‹คํ–‰๋ฌธ ์ค‘ ๊ฐ€์žฅ ์‹œ๊ฐ„์ด ์˜ค๋ž˜ ๊ฑธ๋ฆฌ๋Š” ๋ช…๋ น์–ด๋Š” ? => ๋‹ค๋“ค DELETE ๋ผ๊ณ  ์‰ฝ๊ฒŒ ๋ง ํ•  ๊ฒƒ์ด๋‹ค. ๏‚ง ๊ทธ๋Ÿผ COMMIT๋Š” ? => ๋ˆˆ๊นœ์งํ•˜๊ธฐ๋„ ์ „์— ๋ ! ๏‚ง ๋งŒ์•ฝ COMMIT์„ ํ•˜์ง€ ์•Š๊ณ  Server๋ฅผ Reboot ํ•œ๋‹ค๋ฉด ? => ์ผœ์ง€๋Š”๋ฐ ์‹œ๊ฐ„์ด ๋” ์˜ค๋ž˜ ๊ฑธ๋ฆฐ๋‹ค. ์ผ๋‹จ Disk์—์„œ๋Š” ์ง€์›Œ์ง€๋Š” ๊ฑธ๋กœโ€ฆ COMMIT ํ•˜๊ธฐ ์ „์— Disk์—์„œ๋Š” ์ด๋ฏธ ์ง€์›Œ์ง„ ์ƒํƒœ ์ด๋ฏธ Disk์—์„œ๋Š” ์ง€์›Œ์กŒ์ง€๋งŒ, ์–ด๋”˜๊ฐ€์—์„œ ์ฝ์–ด์„œ ROLLBACK ์ž‘์—…์„ ์ˆ˜ํ–‰ Data Buffer Cache LRU ์ž‘๋™ ์„ค๋ช… Dirty Buffer(๋”ํ‹ฐ ๋ฒ„ํผ) ๋ณ€๊ฒฝ์€ ์™„๋ฃŒ๋˜์—ˆ์ง€๋งŒ ๋””์Šคํฌ์— ๊ธฐ๋ก๋˜์ง€ ์•Š์€ ๋ฒ„ํผ Pinned Buffer(์‚ฌ์šฉ์ค‘ ๋ฒ„ํผ) ๋ณ€๊ฒฝ์ค‘์ธ ๋ฒ„ํผ Free Buffer(ํ”„๋ฆฌ ๋ฒ„ํผ) ๋ณ€๊ฒฝ์ด ์™„๋ฃŒ๋œ ํ›„ ๋””์Šคํฌ์— ๊ธฐ๋ก๋œ ๋ฒ„ํผ Crean(์ œ๊ฑฐ๋ฒ„ํผ) ์‚ญ์ œ๋Œ€์ƒ