drrtuy
d434b6587a
fix(perf,allocator): increased CountingAllocator checkpoint step size up
...
to 100K
2025-05-02 10:11:40 +01:00
drrtuy
d8bef9dc11
fix(UT): added dummy RM ctor to be used with UTs
2025-05-02 10:11:40 +01:00
drrtuy
d4fe2e7a45
chore(): re-enabled memory accounting for RGData generated by PP::execute()
2025-05-02 10:11:40 +01:00
drrtuy
42417764d8
chore(): cleanup.
2025-05-02 10:11:40 +01:00
drrtuy
4d32a59775
fix(perf,allocator): reduce CountingAllocator step size to improve its memory consumption reaction speed.
2025-05-02 10:11:40 +01:00
drrtuy
01cc73d416
fix(perf,allocator): test build with reduced CountingAllocator parameter values.
2025-05-02 10:11:40 +01:00
drrtuy
252b3ddbef
fix(perf,allocator): adding unit test to check CountingAllocator behavior when it is wrapped in STLPoolAllocator
2025-05-02 10:11:40 +01:00
=
671b7301f3
fix(allocator,perf): performance degradation caused by lack of STLPoolAllocator replaced by CountingAllocator
2025-05-02 10:11:40 +01:00
Serguey Zefirov
bd1622f331
feat(MCOL-5886): support InnoDB's table partitions in cross-engine joins
...
The purpose of this changeset is to obtain list of partitions from
SELECT_LEX structure and pass it down to joblist and then to
CrossEngineStep to pass to InnoDB.
2025-04-23 08:24:10 +03:00
drrtuy
a16fbd137b
fix(disk-based-join): this fixes multiple SEGV for disk-based join algo
2025-04-15 15:06:49 +01:00
drrtuy
c9f9cf8988
fix(CES): Server doesn't terminate MDB client connection that it did previously delivering incomplete result set
2025-04-15 15:06:49 +01:00
Leonid Fedorov
432d0cf7f8
fix(build): replace std::ranges usage for gcc9 and std::span with boost::span
2025-04-15 17:58:11 +04:00
Aleksei Antipovskii
aa5f4fc5e7
fix(aggregation): fix dumping RGDatas to disk
...
`amount` parameter of `RGData::serialize` is the raw size of `rowData`
buffer without StringStore/UserDataStore/etc
2025-04-11 15:21:07 +02:00
Aleksei Antipovskii
21ebd1ac20
feat(bytestream): serialize long strings in the common way
2025-04-11 15:21:07 +02:00
Aleksei Antipovskii
4bea7e59a0
feat(PrimProc): MCOL-5852 disk-based GROUP_CONCAT & JSON_ARRAYAGG
...
* move GROUP_CONCAT/JSON_ARRAYAGG storage to the RowGroup from
the RowAggregation*
* internal data structures (de)serialization
* get rid of a specialized classes for processing JSON_ARRAYAGG
* move the memory accounting to disk-based aggregation classes
* allow aggregation generations to be used for queries with
GROUP_CONCAT/JSON_ARRAYAGG
* Remove the thread id from the error message as it interferes with the mtr
2025-04-11 15:21:07 +02:00
Aleksei Antipovskii
87d47fd7ae
fix(PrimProc): MCOL-5852 use only long string storage
...
for the group_concat data to reduce memory usage
2025-04-11 15:21:07 +02:00
Akhmad Oripov
a6ab9bd615
fix(funcexp): MCOL-5386 Bitwise aggregation functions do not work with wide decimals (internal error) ( #3485 )
2025-04-08 16:47:47 +01:00
drrtuy
c64d4b950f
chore(): fix compilation issue
2025-03-31 22:47:46 +01:00
drrtuy
481267dca8
chore(): reduced error-prone boilerplate for STS functionality
2025-03-31 22:47:46 +01:00
Akhmad Oripov
a329f4d428
Fix(MCOL-4607): SEC_TO_TIME(wideDecimal) returns 0 in DECIMAL context ( #3474 )
2025-03-31 15:05:07 +01:00
Akhmad Oripov
1bcf63a436
Fix(MCOL-4611): mod loses precision on huge narrow decimal ( #3473 )
2025-03-31 14:59:40 +01:00
drrtuy
546be21ef9
chore(logging): re-enable forgotten logging
2025-03-28 16:56:05 +00:00
drrtuy
3fd90d3270
chore(compilation): static analyser flag went mad.
2025-03-27 22:12:48 +00:00
drrtuy
04b44a835e
fix(rowgroup): fix for the forgotten attributes assignment
2025-03-27 22:12:48 +00:00
drrtuy
db2c82519d
chore(): another cleanup round
2025-03-27 22:12:48 +00:00
drrtuy
b649af5a0c
chore(): merge cleanup
2025-03-27 22:12:48 +00:00
drrtuy
729db829a2
feat(RM,allocators): use atomic counters math abstraction
2025-03-27 22:12:48 +00:00
drrtuy
b14613a66b
fix(aggregation): replaced instances with references
2025-03-27 22:12:48 +00:00
drrtuy
09926b3157
feat(TNS, sorting, distinct): TNS now accounts data used by RGDatas and distinct maps.
2025-03-27 22:12:48 +00:00
drrtuy
c6dabe7eb5
feat(TNS): distribute SortingPQ that supports CountingAllocator
2025-03-27 22:12:48 +00:00
drrtuy
be5711cf0d
feat(): replace getMaxDataSize with getMaxDataSizeWithStrings to accurately account for mem
2025-03-27 22:12:48 +00:00
drrtuy
0bfe10a7d0
feat(): use CountingAllocator for DISTINCT
2025-03-27 22:12:48 +00:00
drrtuy
bb94343080
fix(): allocate Pointer vector in both TupleJoiner ctor
2025-03-27 22:12:48 +00:00
drrtuy
a4c4d33ee7
feat(): zerocopy TNS case and JOIN results RGData with CountingAllocator
2025-03-27 22:12:48 +00:00
drrtuy
3dfc8cd454
feat(): first cleanup
2025-03-27 22:12:48 +00:00
drrtuy
4c1d9bceb7
feat(): Replacing STLPoolAllocator with CountingAllocator for in-memory joins
2025-03-27 22:12:48 +00:00
drrtuy
bb4cd40ca4
feat(): aggregating CountingAllocator
2025-03-27 22:12:48 +00:00
drrtuy
cf9b5eb32c
feat(): restore user-space mem allocator
2025-03-27 22:12:48 +00:00
drrtuy
1aa2f3a42b
feat(): TupleHashJoin now handles bad_alloc case switching to disk-based if it is enabled
2025-03-27 22:12:48 +00:00
drrtuy
f594d27685
feat(): accounts hash tables RAM allocations/removes STLPoolAllocator
2025-03-27 22:12:48 +00:00
drrtuy
90b4322470
feat(): propagated changes into SLTPoolAllocator and friends
2025-03-27 22:12:48 +00:00
drrtuy
a6de8ec1ac
feat(): dangling pointer/ref issue has been solved for both RGData and BS
2025-03-27 22:12:48 +00:00
drrtuy
397b3ff729
feat(): change ref to atomic with ptr to atomic
2025-03-27 22:12:48 +00:00
drrtuy
71ed9cabe0
feat(): propagate long strings SP type change
2025-03-27 22:12:48 +00:00
drrtuy
4e86123a5a
feat(): use boost::make_shared b/c most distros can't do allocate_shared for array types.
2025-03-27 22:12:48 +00:00
drrtuy
5f1bd3be12
feat(RGData,StringStore): add counting allocator capabilities to those ctors used in BPP::execute()
2025-03-27 22:12:48 +00:00
drrtuy
02b8ea1331
feat(PP,ByteStream): new counting memory allocator
2025-03-27 22:12:48 +00:00
Amr Elmohamady
2d69b49ba0
fix(utils): MCOL-4605 handle negative decimals in FROM_UNIXTIME ( #3466 )
2025-03-27 22:11:16 +00:00
Leonid Fedorov
1fdeb740c9
MCOL-5992: fix NULLIF if first param is NULL
2025-03-28 00:03:32 +04:00
Sergey Zefirov
3b2f9f5344
fix(plugin): MCOL-4942 No-table-SELECT now can return empty set ( #3413 )
...
The query like "SELECT 1 WHERE 1=0" was returning a row despite
unsatisfiable condition in WHERE. Now it returns an empty set.
2025-03-05 07:35:00 +00:00