Commits
- Commit:
70d6841be45903e797f1e2206b4a53ae8bf2b917
- From:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Date:
test/fuzz: enable sysprof
Follows up #8594
NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
- Commit:
45f9759f6531afc9e0eeee6d5ce0e2da24dbb38f
- From:
- Ilya Verbin <iverbin@tarantool.org>
- Via:
- Aleksandr Lyapunov <alyapunov@users.noreply.github.com>
- Date:
box: introduce space:stat()
See the doc bot request for the description.
Benchmark results:
NO_WRAP
$ taskset 0x2 compare.py benchmarks ./memtx.perftest.old ./memtx.perftest.new \
--benchmark_min_warmup_time=10 \
--benchmark_repetitions=30 \
--benchmark_report_aggregates_only=true \
--benchmark_filter=TreeReplaceRandomExistingKeys
[...]
Comparing ./memtx.perftest.old to ./memtx.perftest.new
Benchmark Time CPU Time Old Time New CPU Old CPU New
------------------------------------------------------------------------------------------------------------------------------------------------
MemtxFixture/TreeReplaceRandomExistingKeys_mean +0.0097 +0.0097 1073 1084 1073 1084
MemtxFixture/TreeReplaceRandomExistingKeys_median +0.0075 +0.0075 1062 1070 1062 1070
MemtxFixture/TreeReplaceRandomExistingKeys_stddev -0.1207 -0.1208 56 49 56 49
MemtxFixture/TreeReplaceRandomExistingKeys_cv -0.1291 -0.1292 0 0 0 0
NO_WRAP
Closes #6762
@TarantoolBot document
Title: Document `space:stat()`
Product: Tarantool
Since: 3.0
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_space/
space_object:stat() - Get statistics on the memory usage
Returns a table with the cumulative statistics on the memory usage by
tuples in the space. The statistics is grouped by arena types: "memtx"
or "malloc".
For a detailed description of each field see `tuple_object:info()`.
Note: The statistics is collected only for memtx storage engine. For other
types of spaces, an empty table is returned.
Example:
```
tarantool> box.space.test:stat()
---
- tuple:
memtx:
data_size: 5100699
header_size: 96
field_map_size: 40
waste_size: 143093
malloc:
data_size: 18850077
header_size: 70
field_map_size: 28
waste_size: 0
...
```
- Commit:
ab24dfb65b45ab372ccbf4831dde80d3887e686b
- From:
- Ilya Verbin <iverbin@tarantool.org>
- Via:
- Aleksandr Lyapunov <alyapunov@users.noreply.github.com>
- Date:
box: introduce tuple:info()
See the doc bot request for the description.
Part of #6762
NO_CHANGELOG=next commit
@TarantoolBot document
Title: Document `tuple:info()`
Product: Tarantool
Since: 3.0
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_tuple/
tuple_object:info() - Get information about the tuple
Returns a table with the following fields:
* data_size - Size of the MessagePack data in the tuple.
This number equals to number returned by `tuple_object:bsize()`.
* header_size - Size of the internal tuple header.
* field_map_size - Size of the field map.
Field map is used to speed up access to indexed fields of the tuple.
* waste_size - The amount of excess memory used to store the tuple
in mempool.
* arena - Type of the arena where the tuple is allocated.
Possible values are: "memtx", "malloc", "runtime".
- Commit:
3a3890ed9389c83a0fcf7e061b23ae947da9d4a2
- From:
- Ilya Verbin <iverbin@tarantool.org>
- Via:
- Aleksandr Lyapunov <alyapunov@users.noreply.github.com>
- Date:
perf: add TreeReplaceRandomExistingKeys to memtx benchmark
It is similar to TreeGetRandomExistingKeys, but performs box_replace()
instead of box_index_get().
Needed for #6762
NO_DOC=benchmark
NO_TEST=benchmark
NO_CHANGELOG=benchmark
- Commit:
4f85d27efdf443cccf18ba29a3221f524904cce2
- From:
- Mergen Imeev <imeevma@tarantool.org>
- Via:
- Igor Munkin <imun@cpan.org>
- Date:
sql: fix segmentation fault when JOIN uses USING
Before this patch, nameInUsingClause() expected old_col to be non-NULL,
but this may not be the case. This patch fixes this feature accordingly.
Follow-up #4467
NO_DOC=bugfix
NO_CHANGELOG=feature was not released yet