Skip to content

Commit

Permalink
minor nits for tiered compaction docs
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Chi <[email protected]>
  • Loading branch information
skyzh committed Nov 13, 2024
1 parent 8420e6e commit a970422
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions mini-lsm-book/src/week2-03-tiered.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,23 @@ Example 2:
```
Tier 3: 1
Tier 2: 1 ; 1 / 1 = 1
Tier 1: 3 ; 3 / (1 + 1) = 1.5, compact tier 1-3
Tier 1: 3 ; 3 / (1 + 1) = 1.5, compact tier 1+2+3
```

```
Tier 4: 5
```

Example 3:

```
Tier 3: 1
Tier 2: 2 ; 2 / 1 = 2, compact tier 1-2
Tier 2: 2 ; 2 / 1 = 2, compact tier 2+3
Tier 1: 4
```

```
Tier 4: 3
Tier 1: 4
```

Expand Down

0 comments on commit a970422

Please sign in to comment.