1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00
Commit Graph

1162 Commits

Author SHA1 Message Date
6c93fe5496 add cluster tester 2017-05-19 17:22:29 -05:00
ed5f51b593 MCOL-719 Add date/datetime to func_least/greatest
Support was missing and int casting caused unexpected results
2017-05-17 10:37:29 +01:00
21fe9e8faf MCOL-719 Add date/datetime to func_least/greatest
Support was missing and int casting caused unexpected results
2017-05-17 10:35:50 +01:00
50e3614730 MCOL-707 Fix memory accounting for ORDER BY
Missed off window function order by memory accounting in my first commit
for MCOL-707. Fixed in the same way
2017-05-12 12:58:17 +01:00
83331f4fa7 MCOL-712 Support TEXT for GROUP BY
Add missing support
2017-05-11 10:32:29 +01:00
f369ee6212 MCOL-707 Fix memory accounting for ORDER BY
Missed off window function order by memory accounting in my first commit
for MCOL-707. Fixed in the same way
2017-05-10 22:59:52 +01:00
33ed6698b1 MCOL-698 Stop joins bigger than 64KB
Joins bigger than 64KB don't work and they would consume a lot of RAM if
they did, so error out if they are attempted.
2017-05-05 14:53:49 +01:00
00cd7f40c1 MCOL-698 Fix joiner for LONGTEXT
It turns out not many machines have 32TB of RAM, so lets try not to
allocate that much for a LONGTEXT key join...
2017-05-04 15:14:27 +01:00
2cbf57c053 MCOL-698 Fix joiner for TEXT columns
Joiner was thinking TEXT was INT
2017-05-03 22:32:27 +01:00
b371141202 MCOL-696 REVERSE reversing too much 2017-05-02 17:02:19 -05:00
f66a39ebfe Merge branch 'develop' into MCOL-597 2017-04-21 17:09:31 +01:00
f240c89faf Merge pull request #156 from mariadb-corporation/MCOL-671
MCOL-671 Fix TEXT/BLOB single row SELECT WHERE
2017-04-21 10:06:34 -05:00
b070ef3217 MCOL-597 some clean up and make Release builds work 2017-04-21 09:48:59 -05:00
d531796bf2 MCOL-597 Fix up Windows Functions 2017-04-21 09:47:56 -05:00
d7da34c249 MCOL-597 Fix up Windows Functions 2017-04-21 09:47:56 -05:00
a3c4503bc9 MCOL-597 stabilization 2017-04-21 09:47:56 -05:00
6128293ad3 MCOL-671 Fix TEXT/BLOB single row SELECT WHERE
pDictionaryScan won't work for BLOB/TEXT since it requires searching the
data file and rebuilding the token from matches. The tokens can't be
rebuild correctly due the bits in the token used for block counts. This
patch forces the use of pDictionaryStep instead for WHERE conditions.

In addition this patch adds support for TEXT/BLOB in various parts of
the job step processing. This fixes things like error 202 during an
UPDATE with a join condition on TEXT/BLOB columns.
2017-04-21 11:21:59 +01:00
70d3226009 Merge pull request #146 from mariadb-corporation/MCOL-529
MCOL-529 Pool DBRM connections
2017-04-18 09:57:55 -05:00
28fe2c0b70 MCOL-664 Add function support for TEXT
For the initial BLOB/TEXT pull request we put them in the same bucket as
VARBINARY, forcing many functions to be disabled. This patch enables the
same TEXT function support as VARCHAR.
2017-04-15 07:22:05 +02:00
f64dd0d602 MCOL-529 Pool DBRM connections
DBRM connections are reused so that we don't have a huge amount of
TIME_WAIT sockets when there are large amounts of DML. Also applied to
i_s.columnstore_files
2017-04-14 14:16:25 +01:00
830b24c1fa MCOL-529 Pool DBRM connections
DBRM connections are reused so that we don't have a huge amount of
TIME_WAIT sockets when there are large amounts of DML. Also applied to
i_s.columnstore_files
2017-04-14 14:13:15 +01:00
04bdb60fff more merges from 1.0.8 2017-03-28 14:17:17 -05:00
e9db44424c MCOL-642 Separate TEXT from BLOB
* TEXT and BLOB now have separate identifiers internally
* TEXT columns are identified as such in system catalog
* cpimport only requires hex input for BLOB, not TEXT
2017-03-27 21:36:27 +01:00
b1d04c04fb MCOL-267 Fix LONGBLOB issues
* Set max column length to a little under 2.1GB in DDL
* Fix token edge case
* Re-write RowGroup string handling to take more than 64KB in one string
2017-03-21 17:22:31 +00:00
093aa377e5 MCOL-267 multi-block support for PrimProc and bulk
* Adds multi-block bulk write support
* Adds PrimProc multi-block read support
* Allows the functions length() and hex() to work with BLOB columns
2017-03-20 18:32:24 +00:00
27e5995cd3 MCOL-267 Add basic engine support
This patch adds enough support so that cross engines joins with blob
columns in the foreign engines will work. The modifications are as
follows:

* Add CrossEngine support for non-NULL-terminated (binary) data
* Add row data support for blobs (similar to varbinary)
* Add engine support for writing out blob data correctly to the storage
engine API
* Re-enable blob support in the engine plugin
2017-03-17 09:27:50 +00:00
5f828fbc36 MCOL-480 remove the annoying warning log message. This code path is normal and shouldn't log anyything. 2017-03-14 14:29:11 -05:00
2d8797f2bd change snmpmanager to alarmmanager 2017-03-14 09:07:23 -05:00
88a372c671 MCOL-513 Use vector ref for join to prevent vector copy. 2017-02-20 11:45:29 -06:00
def06be564 MCOL-513 Use vector ref for join to prevent vector copy. 2017-02-20 11:43:46 -06:00
59f984c3ca MCOL-513 Comment spelling 2017-02-17 10:45:59 -06:00
87a679e6eb MCOL-513 use a single funcor per thread. ThreadPool was doing one at a time anyway, but in a convpluted way that made it easier to add more if wanted. But it was expensive. Cleanup and polish. 2017-02-17 09:46:42 -06:00
e09b7e10c5 MCOL-513 Threadpool to unlimited threads when queuesize = 0. Idle down after 10 minutes 2017-02-13 11:56:28 -06:00
c2344accc9 MCOL-513 clean up and test thread pool for ExeMgr 2017-02-09 18:00:00 -06:00
29785cf202 MCOL-480 remove the annoying warning log message. This code path is normal and shouldn't log anyything. 2017-02-09 18:00:00 -06:00
00adccdcaa MCOL-317 Fix out of tree builds
Make linking with libmysqlclient work with out of tree builds
2017-02-09 18:00:00 -06:00
babaac8172 MCOL-317 Remove libdrizzle
This switches to MariaDB's client library instead of libdrizzle for
Cross Engine and query stats.

It also switches to unbuffered result sets.
2017-02-09 17:58:54 -06:00
55d006de1a MCOL-513 use thread pool for jobsteps 2017-02-03 15:25:21 -06:00
186ce365eb MCOL-318 Use OS version of Snappy
This patch strips out our old version of Snappy and uses the OS version
instead. All our supported OSes have the latest version of Snappy in
their base repositories.
2017-02-03 15:22:59 -06:00
94b9d8aed2 MCOL-513 Optimize by replacing make_pair with a struct 2017-02-02 11:45:04 -06:00
b6321935fb MCOL-513 fix a couple bugs in threadpool join() Add a test program 2017-02-02 11:32:56 -06:00
c4742b8363 MCOL-513 Modify ThreadPool to have a join() method 2017-02-02 11:32:40 -06:00
37fb55c8e2 Merge pull request #97 from mariadb-corporation/MCOL-507
MCOL-507 Further ExeMgr performance improvements
2017-01-16 08:17:53 -06:00
ffcfc41563 MCOL-507 Further ExeMgr performance improvements
This does the following:

* Switch resource manager to a singleton which reduces the amount of
times the XML data is scanned and objects allocated.
* Make the I_S tables use the FE implementation of the system catalog
* Make the I_S.columnstore_columns table use the RID list cache
* Make the extentmap pre-allocate a vector instead of many small allocs
2017-01-16 12:33:27 +00:00
2f3937ac7e MCOL-505 Performance improvements to ExeMgr
This fix improves the performance of ExeMgr by doing the following:

* Significantly reduces the amount of time the xml configuration is
scanned
* Uses a much faster way to determine the CPU core count
* Reduces the amount of times certain allocations are executed
* Rowgroup pre-allocates vectors for 1024 rows

This improves performance for the first query of a connection and the
performance for smaller result sets. It may well improve performance in
other areas too.
2017-01-12 16:58:16 +00:00
e5a831d20e Merge pull request #84 from mariadb-corporation/MCOL-389
MCOL-389 Add int/string handling for mod()
2016-12-28 10:04:22 -06:00
69305d3521 MCOL-315 Fully remove our libxml source
We already use the OS library with our headers, we are just lucky this
has worked so far. This patch removes the source and switches the the OS
headers instead.
2016-12-19 19:18:00 +00:00
0df1a5189f MCOL-389 Add int/string handling for mod()
Func_mod uses double instead of int for char casting. This patch adds int
handling and uses it where appropriate.
2016-12-19 15:06:04 +00:00
e090917ca0 MCOL-471 Fix GCC 6.3 support
isnan requires std:: namespace
2016-12-16 10:07:32 +00:00
b3a227099f MCOL-433 Fix cross engine buffer underrun
If there is only one packet in the buffer it is possible that the read
doesn't contain the whole packet, the resulting in the buffer pointer
going less than 0 and bad things happening.
2016-12-03 09:46:03 +00:00