Skip to content

Commit e54badb

Browse files
committed
[misc] update batch benchmark results
1 parent 9748e96 commit e54badb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

documentation/batch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ connection.query("INSERT INTO BASKET(customerId) values (?)", [1], (err, res) =>
3131
});
3232
```
3333

34-
### performance comparison
34+
### Performance comparison
3535

3636
Some benchmark to do some 100 inserts with one parameter of 100 characters :
3737
(benchmark source - see [standard insert](../benchmarks/benchs/bench_promise_insert_pipelining.js) and [batch insert](../benchmarks/benchs/bench_promise_insert_batch.js) )
3838
<p align="center">
3939
<img src="./misc/batch-bench.png">
4040
</p>
4141

42-
### configuration
42+
### Configuration
4343

4444
There is one thing to pay attention : MySQL / MariaDB servers have a global option [max_allowed_packet](https://mariadb.com/kb/en/library/server-system-variables/#max_allowed_packet) that limit the maximum packet exchange size.
4545
If connector send more data than these limit, socket will be immediately dropped.

documentation/misc/batch-bench.png

-442 Bytes
Loading

0 commit comments

Comments
 (0)