replication(2)
-
Understanding database - NoSQL ํ ์ฅ์ผ๋ก ์ด์ ๋ฆฌ
NoSQL ์ Not only SQL, Non-SQL์ ์ค ๋ง์ด๋ค. ๋ค์ํ ์ข ๋ฅ์ NoSQL์ด ์์ผ๋ฉฐ ๋ด๊ฐ ์ฌ๊ธฐ์ ์ฃผ๋ก ๋ค๋ฃจ๊ฒ ๋ ๋ด์ฉ์ MongoDB์ด๋ฉฐ ์ด๋ Document-based NoSQL์ ํด๋น๋๋ค. ๊ฐ ๋ชฉ์ ์ ๋ฐ๋ผ ๋ค์ํ ํด๋ค์ด ์์ผ๋ฉฐ ๊ธฐ๋ณธ์ ์ธ ๊ฐ๋ ์ ๋ํ ๋ถ๋ถ์ ๋น์ทํ๋ค๊ณ ์๊ฐ๋๋ค. ๋ฌผ๋ก ํด๋น ํด์ ์ ๋๋ก ๋ค๋ฃจ๋ ค๋ฉด ๋ง์ด ์ฝ๊ณ ๋ง์ด ๋ค๋ค๋ด์ผ ํ๋ ๋ฐ ์ฌ์ค ๋ชจ๋ ํด์ (๋ฐ์ดํฐ ๋ฒ ์ด์ค๋ง ๊ฐ์ง๊ณ ๋ ๊ฒ๋ ์๋ ์ํฉ์) ๋ค ๋ค๋ค๋ณด๋ ๊ฑด ์ฝ์ง ์์ ๊ฑฐ ๊ฐ๋ค. ํ๋์ ์ธ์ด๋ฅผ ์ ํํด์ ํ๊ณ ๋ค์ด๋ณด๋ ๊ฒ ํด๋น ๊ฐ๋ ์ ์ตํ๋ ๋ฐ ํฐ ๋์์ด ๋๋ค. ์ค์ ๋ก ํ๋ก์ ํธ๋ฅผ ํ๋ ์งํํด๋ณด๊ณ ๋์ ๋ค์ ๊ฐ์ ๋ด์ฉ์ ์ฝ์ด๋ดค์ ๋ ๋ ๊น์ด ๊ทธ๋ฆฌ๊ณ ๋๊ฒ ๋ด์ฉ์ดํด๊ฐ ๊ฐ๋ฅํ๋ค๋ ๋์ ๊ฒฝํ๋ด. Key-Value based NoSQ..
2023.01.23 -
Understanding Database 9 - Distributed Database Systems(DDB)
Data Systems : combines different data storage technologies : caches, indexes and data in sync with application code : API(application programming interface) to hide architectural complexity : There are three ways to deal with requests in this figure, 1. In-memory cache 2. Primary database 3. Full-text index Before checking DB, check the cache to see if the data is cached. If there is no cache, ..
2023.01.16