Skip to content

Commit ad3ca31

Browse files
authored
Merge pull request #2748 from dolthub/gitbook-dev
update perf 1.79.3, pickup other changes
2 parents cae8244 + 3898bda commit ad3ca31

3 files changed

Lines changed: 31 additions & 15 deletions

File tree

packages/dolt/content/concepts/dolt/git/diff.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,22 @@ For instance, are you expecting no `NULL` cells but have some? This indicates a
3030

3131
Programmatically, you can use SQL to explore very large diffs using the [`dolt_diff_<tablename>` system tables](../../../reference/sql/version-control/dolt-system-tables.md).
3232

33+
## Filtering Diffs by Change Type
34+
35+
When reviewing large diffs, you may want to focus on specific types of changes. The `dolt diff` command supports a `--filter` option to show only certain change types:
36+
37+
- `--filter=added` - Show only new tables and inserted rows
38+
- `--filter=modified` - Show only schema modifications and row updates
39+
- `--filter=renamed` - Show only renamed tables
40+
- `--filter=dropped` - Show only dropped tables and deleted rows (alias: `removed`)
41+
42+
```bash
43+
# Show only new tables and inserted rows as SQL
44+
dolt diff HEAD~1 --filter=added -r sql
45+
```
46+
47+
For SQL-based filtering, see the [`dolt_diff_<tablename>` system tables documentation](../../../reference/sql/version-control/dolt-system-tables.md#database-diffs), which supports filtering via `WHERE diff_type = 'added'` (or `'modified'`, `'removed'`).
48+
3349
## Difference between Git diffs and Dolt diffs
3450

3551
Git and Dolt diffs are conceptually the same. Display the differences between two sets of files in Git's case and tables in Dolt's case.

packages/dolt/content/reference/sql/benchmarks/correctness.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ AND col3 IN (3,9,0))))) OR col4 <= 4.25 OR ((col3 = 5))) OR (((col0 >
5454
0)) AND col0 > 6 AND (col4 >= 6.56)))
5555
```
5656

57-
Here are Dolt's sqllogictest results for version `1.79.2`. Tests that
57+
Here are Dolt's sqllogictest results for version `1.79.3`. Tests that
5858
did not run could not complete due to a timeout earlier in the run.
5959
<!-- START___DOLT___CORRECTNESS_RESULTS_TABLE -->
6060
| Results | Count |

packages/dolt/content/reference/sql/benchmarks/latency.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,22 @@ attempt to run as many queries as possible in a fixed 2 minute time
3232
window. The `Dolt` and `MySQL` columns show the median latency in
3333
milliseconds (ms) of each query during that 2 minute time window.
3434

35-
The Dolt version is `1.79.2`.
35+
The Dolt version is `1.79.3`.
3636

3737
<!-- START___DOLT___LATENCY_RESULTS_TABLE -->
3838
| Read Tests | MySQL | Dolt | Multiple |
3939
|:-----------------------:|:-----:|:-----:|:--------:|
40-
| covering\_index\_scan | 1.82 | 0.54 | 0.3 |
41-
| groupby\_scan | 13.95 | 9.91 | 0.71 |
42-
| index\_join | 1.52 | 1.89 | 1.24 |
40+
| covering\_index\_scan | 1.86 | 0.55 | 0.3 |
41+
| groupby\_scan | 13.7 | 9.91 | 0.72 |
42+
| index\_join | 1.52 | 1.86 | 1.22 |
4343
| index\_join\_scan | 1.5 | 1.34 | 0.89 |
4444
| index\_scan | 34.33 | 22.28 | 0.65 |
4545
| oltp\_point\_select | 0.2 | 0.27 | 1.35 |
4646
| oltp\_read\_only | 3.82 | 5.18 | 1.36 |
47-
| select\_random\_points | 0.35 | 0.53 | 1.51 |
48-
| select\_random\_ranges | 0.39 | 0.55 | 1.41 |
49-
| table\_scan | 34.33 | 22.28 | 0.65 |
50-
| types\_table\_scan | 75.82 | 66.84 | 0.88 |
47+
| select\_random\_points | 0.35 | 0.54 | 1.54 |
48+
| select\_random\_ranges | 0.39 | 0.56 | 1.44 |
49+
| table\_scan | 34.95 | 22.28 | 0.64 |
50+
| types\_table\_scan | 75.82 | 65.65 | 0.87 |
5151
| reads\_mean\_multiplier | | | 1.0 |
5252

5353
| Write Tests | MySQL | Dolt | Multiple |
@@ -56,15 +56,15 @@ The Dolt version is `1.79.2`.
5656
| oltp\_insert | 4.18 | 3.19 | 0.76 |
5757
| oltp\_read\_write | 9.22 | 11.45 | 1.24 |
5858
| oltp\_update\_index | 4.18 | 3.25 | 0.78 |
59-
| oltp\_update\_non\_index | 4.18 | 3.19 | 0.76 |
59+
| oltp\_update\_non\_index | 4.25 | 3.19 | 0.75 |
6060
| oltp\_write\_only | 5.28 | 6.32 | 1.2 |
61-
| types\_delete\_insert | 8.58 | 6.91 | 0.81 |
61+
| types\_delete\_insert | 8.43 | 6.91 | 0.82 |
6262
| writes\_mean\_multiplier | | | 0.9 |
6363

64-
| TPC-C TPS Tests | MySQL | Dolt | Multiple |
65-
|:---------------------:|:-----:|:----:|:--------:|
66-
| tpcc-scale-factor-1 | 93.8 | 36.8 | 2.55 |
67-
| tpcc\_tps\_multiplier | | | 2.55 |
64+
| TPC-C TPS Tests | MySQL | Dolt | Multiple |
65+
|:---------------------:|:-----:|:-----:|:--------:|
66+
| tpcc-scale-factor-1 | 93.94 | 36.89 | 2.55 |
67+
| tpcc\_tps\_multiplier | | | 2.55 |
6868

6969
| Overall Mean Multiple | 1.48 |
7070
|:---------------------:|:----:|

0 commit comments

Comments
 (0)