๐ ์ ์ (์์ฉ ๊ฐ๋ฐ์)๋ก๋ถํฐ ํ์ค ์ธ๊ณ ๋ฐ์ดํฐ์ ๋ณต์กํจ์ ๊ฐ์ถ๋ ๊ฒ
~= Data Abstraction
- Physical Level: Storages ๊ด์ , File์ ์ ์ฅ๋ Record ๊ด์
- ๐ ์๋ฃ ๊ตฌ์กฐ, โฆ
- Logical Level: DB์ ์ ์ฅ๋ Tables ๊ด์
- โญ Physical Data Independence: ๋ณต์กํ Physical Level์ด ์ฌ์ฉ์๋ก๋ถํฐ ๊ฐ์ถฐ์ง, Logicalํ ๋ณํ ์์ด Physical ์์ ๊ฐ๋ฅ
โ Without DBMS, ์์ฉ ๋ก์ง์ ์์ฌ ์์ผ๋ฏ๋ก Physical Level์ด ๋ฐ๋๋ฉด ์์ฉ๋ ์์ ํ์
- โญ Physical Data Independence: ๋ณต์กํ Physical Level์ด ์ฌ์ฉ์๋ก๋ถํฐ ๊ฐ์ถฐ์ง, Logicalํ ๋ณํ ์์ด Physical ์์ ๊ฐ๋ฅ
- View Level: Sub Schema = Tables์ Subset, Logical Level ไธญ ์์ฉ์ ํ์ ์๋ ๋ถ๋ถ์ด ๊ฐ์ถฐ์ง ๊ด์ โก Security (๋ณด์์ฑ)
- ํน์ Task, ํน์ ์ฌ์ฉ์ ์์ฃผ๋ก View ์์ฑ
- ๊ฐ์ฅ ๋์ ์ถ์ํ Level
ANSI-SPARC
๐ American National Standards Institute - Standards Planning and Requirements Committee, (1975) DBMS์ ์ถ์์ ์ธ ์ค๊ณ ํ์ค, Schema๋ฅผ 3๋จ๊ณ๋ก ๋๋
- ๋ชฉ์ : โญ๋ฐ์ดํฐ์ Dependency (๋
๋ฆฝ์ฑ) ๋ณด์ฅ โฌ
์ฌ์ฉ์์ ๊ด์ ๊ณผ ์ค์ ํํ๋๋ ๋ฌผ๋ฆฌ์ ๋ฐฉ์์ ๋ถ๋ฆฌ
~= View์ ์กด์ฌ ์ด์
- External Schema (์ธ๋ถ ์คํค๋ง) = View Level
- ๊ฐ/์ฌ๋ฌ ์ฌ์ฉ์ ๊ด์
- Conceptual Schema (๊ฐ๋
์คํค๋ง) = Community View Level
- ๋ชจ๋ ์ฌ์ฉ์์ Schema๋ฅผ ํตํฉํ ์กฐ์ง ์ ์ฒด ๊ด์
- DB์ ์ ์ฅ๋๋ ๋ชจ๋ ๋ฐ์ดํฐ ๋ฐ ๊ด๊ณ ์ ์
- Internal Schema (๋ด๋ถ ์คํค๋ง) = Physical Level (DB)
- ๐ ๋ฌผ๋ฆฌ์ ์ธ ์ ์ฅ ๊ตฌ์กฐ, ์ปฌ๋ผ ์ ์, ์ธ๋ฑ์ค, โฆ
Dependency (๋ ๋ฆฝ์ฑ)
๐ Low Abstraction Level์ด ๋ณํํ๋๋ผ๋, High Abstraction Level์ ์ํฅ์ ์ฃผ์ง ์์
- Logical: Conceptual Schema์ ๋ณํ โก External์ ์ํฅ X
- Physical: Internal Schema์ ๋ณํ โก Conceptual, External์ ์ํฅ X