DBMS 的 架構
Posted on map[Count:March 1, 2022]
| 56 words
| Zhima-Mochi
DBMS server 電腦
Hard Disk
↑
I/O 操作
↓
RAM
- DBMS process
- Listener
- User processes
- Scheduler
- Lock manager
- Optimizer
- SQL cache: 最近的SQL statement 或 PL/SQL procedures, triggers
- Data cache: 從 Data files 而來
DBMS 的 Recovery Management
Posted on map[Count:March 1, 2022]
| 515 words
| Zhima-Mochi
DBMS透過 Database Recovery,將一個通常是inconsistent的狀態退回到先前consistent的狀態。狀態的儲存點也是基於 Transaction 的 Atomic 性
[Read More]
HTTP2
Posted on map[Count:February 28, 2022]
| 846 words
| Zhima-Mochi
儘管在初探http中提到HTTP/1.1有持久的TCP連線以及 pipelining,然而可能會碰到Head of Line (HOL) Blocking。舉例來說,
[Read More]
DBMS 的 Transaction Isolation ANSI 等級
Posted on map[Count:February 28, 2022]
| 506 words
| Zhima-Mochi
ANSI SQL standard (1992) 定義了 Transaction Isolation 的等級,等級的劃分依據執行中,其他Transactions對於原本Transaction所使用的資料可進行甚麼類型的讀取。
[Read More]
HTTP中的Caching
Posted on map[Count:February 28, 2022]
| 872 words
| Zhima-Mochi
Web Cache 當每次client browser都向server請求資源時,若距離遙遠,回應時間慢,那麼體驗品質下降,此時可以藉由 Web Cache (Proxy Server)解
[Read More]
HTTP中的cookie
Posted on map[Count:February 28, 2022]
| 730 words
| Zhima-Mochi
由於HTTP本身是Stateless,即便是相同的TCP connection,每次請求對於server來說都是陌生人,若想要知道請求的cli
[Read More]
HTTP的格式
Posted on map[Count:February 26, 2022]
| 528 words
| Zhima-Mochi
HTTP 的訊息格式分成兩種:request messages 以及 response messages。 我們以curl取得一組request messages 以及 response messages的例子: > curl -v http://example.com* Trying
[Read More]
初探HTTP
Posted on map[Count:February 25, 2022]
| 871 words
| Zhima-Mochi
HTTP,全名 HyperText Transfer Protocol ,是應用層的協議。HTTP主要實施在 Client Program 以及 Server Program,作為彼此溝通的訊息結構,按此結構所傳遞的訊息也叫做Web P
[Read More]
DBMS 的 Concurrency Control 方法:Optimistic Methods
Posted on map[Count:February 24, 2022]
| 301 words
| Zhima-Mochi
Optimistic Methods是基於大部分的Transactions不會發生資料操作的衝突的假設,因此不需要使用Lock或Timestamping。 他的實
[Read More]
DBMS 的 Concurrency Control 方法:Time Stamping Methods
Posted on map[Count:February 24, 2022]
| 433 words
| Zhima-Mochi
Time Stamping Method (時間標記法) 為每個Transaction做時間標記,每個時間標記都需要符合唯一性及遞增性。當兩個Transactions發生Lock
[Read More]