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

1706 Commits

Author SHA1 Message Date
David Hall
f9e5b7b507 MCOL-597 Take Window Functions just to get a compile. No other changes were needed. 2017-04-21 09:47:56 -05:00
Andrew Hutchings
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
Andrew Hutchings
944d76445b MCOL-673 Fix I_S/LDI for larger BLOBs
BLOBs that are longer than half the maximum length of the column would
be turned into a negative length due to signed int casting. This would
cause them to turn into NULL inserts. Unsigned now used.
2017-04-20 19:29:41 +01:00
dhall-InfiniDB
57af5d898f Merge pull request #153 from mariadb-corporation/MCOL-669
MCOL-669 TEXT cpimport fixes
2017-04-19 15:19:09 -05:00
Andrew Hutchings
f251ebccb2 MCOL-669 TEXT cpimport fixes
* 64KB TEXT column had off-by-one length pointer counting
* TEXT I_S/LDI was looping where it shouldn't causing pointer issues
* TEXT data type wasn't fully understood by cpimport
2017-04-19 14:11:21 +01:00
dhall-InfiniDB
70d3226009 Merge pull request #146 from mariadb-corporation/MCOL-529
MCOL-529 Pool DBRM connections
2017-04-18 09:57:55 -05:00
Andrew Hutchings
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
Andrew Hutchings
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
Andrew Hutchings
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
Andrew Hutchings
b60c45a968 MCOL-653 Revert SUM(1) behaviour
SUM(1) behaviour was changed as part of MCOL-301. But the original
behaviour was correct.
2017-03-31 21:48:56 +01:00
Andrew Hutchings
8baf0590a4 MCOL-653 Revert SUM(1) behaviour
SUM(1) behaviour was changed as part of MCOL-301. But the original
behaviour was correct.
2017-03-31 21:47:12 +01:00
Andrew Hutchings
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
dhall-InfiniDB
99b62cf97b Merge pull request #141 from mariadb-corporation/MCOL-267
MCOL-267 Add BLOB/TEXT support
2017-03-23 12:19:40 -05:00
Andrew Hutchings
530cc94915 MCOL-267 Minor fixups
Fix things found by David Hall
2017-03-23 17:14:00 +00:00
Andrew Hutchings
b7a01ce02e MCOL-267 Add blob support for INSERT_SELECT
* Note there is a 1MB buffer limit, rows longer than 512KB will fail (2x
due to hex of blob data)
* cpimport needs to use hex of blob data
2017-03-23 14:04:14 +00:00
Andrew Hutchings
6841b261a3 MCOL-605 Fix multi-node "Unkown error"
The string stream which builds up the PM details wasn't cleared on each
run. This moves the creation of the string stream up to where it is
needed so a clean one is used each time.
2017-03-22 17:48:27 +00:00
Andrew Hutchings
6ab434e708 MCOL-605 Fix multi-node "Unkown error"
The string stream which builds up the PM details wasn't cleared on each
run. This moves the creation of the string stream up to where it is
needed so a clean one is used each time.
2017-03-22 17:45:45 +00:00
Andrew Hutchings
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
Andrew Hutchings
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
Andrew Hutchings
aea729fe7d MCOL-267 DML support
* DML writes for multi-block dictionary (blob) now works
* PrimProc fixed so that the first block in multi-block is read
correctly
* Performance optimisation (removed string copy into stack) for new
dictionary entries
2017-03-18 14:31:29 +00:00
Andrew Hutchings
c08d03fba4 MCOL-267 Make BLOB DDL/DML work
Currently limited to 8KB inserts.
2017-03-17 12:10:02 +00:00
Andrew Hutchings
cf58b8de5c MCOL-267 BLOB/TEXT in DDL parser
Add basic support for BLOB/TEXT in DDL parser
2017-03-17 09:28:36 +00:00
Andrew Hutchings
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
dhall-InfiniDB
c12b587d0d Merge pull request #133 from mariadb-corporation/MCOL-605-1.0
MCOL-605 limit connections for I_S table
2017-03-07 16:01:20 -06:00
Andrew Hutchings
b55c526a5d MCOL-605 limit connections for I_S table
I_S.COLUMNSTORE_FILES now caches a connection per dbroot instead of
using a connection per file.
2017-03-07 21:16:41 +00:00
Andrew Hutchings
052f8d0249 MCOL-533 fix units for table_usage
The fix for MCOL-533 accidentally removed units processing
2017-03-07 21:10:47 +00:00
Andrew Hutchings
e9c5d86c15 MCOL-533 Add lock to table_usage
Calling from multiple connections simultaneously is bad. This adds a
lock preventing that.
2017-03-07 21:10:00 +00:00
Andrew Hutchings
9985bb0647 MCOL-533 fix the table_usage() procedure
The old procedure could be wildly incorrect when there were multiple
extents for a dictionary column.

The new one uses tables so that columnstore_files doesn't get
hammered too hard. They can't be temporary tables due to the reuse
restriction on temporary tables.
2017-03-07 21:09:29 +00:00
Andrew Hutchings
468fc8c260 MCOL-605 limit connections for I_S table
I_S.COLUMNSTORE_FILES now caches a connection per dbroot instead of
using a connection per file.
2017-03-05 09:58:20 +00:00
Andrew Hutchings
c6000d3b7a MCOL-533 fix units for table_usage
The fix for MCOL-533 accidentally removed units processing
2017-03-02 17:56:32 +00:00
David Hill
923e995b29 MCOL-552 - send stdout to null 2017-02-28 11:03:08 -06:00
David Hill
b4061cd4cc MCOL-552 2017-02-28 10:46:13 -06:00
Andrew Hutchings
084c1b8ecc Merge pull request #125 from mariadb-corporation/MCOL-513
Mcol 513
2017-02-20 17:47:36 +00:00
Andrew Hutchings
bf624231e7 MCOL-574 Fix cross engine for 'localhost'
Use TCP instead of UDS for 'localhost' to keep behaviour the same as the
previous libdrizzle engine.
2017-02-17 16:49:02 +00:00
David Hall
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
Ben Thompson
4f8e3b0f6e MCOL-468: remove slave-skip-errors=all from default settings 2017-02-17 09:46:42 -06:00
David Hall
e09b7e10c5 MCOL-513 Threadpool to unlimited threads when queuesize = 0. Idle down after 10 minutes 2017-02-13 11:56:28 -06:00
David Hall
c2344accc9 MCOL-513 clean up and test thread pool for ExeMgr 2017-02-09 18:00:00 -06:00
Andrew Hutchings
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
Andrew Hutchings
106a62222c MCOL-533 Add lock to table_usage
Calling from multiple connections simultaneously is bad. This adds a
lock preventing that.
2017-02-09 18:00:00 -06:00
Andrew Hutchings
854a07f7b2 MCOL-533 fix the table_usage() procedure
The old procedure could be wildly incorrect when there were multiple
extents for a dictionary column.

The new one uses tables so that columnstore_files doesn't get
hammered too hard. They can't be temporary tables due to the reuse
restriction on temporary tables.
2017-02-09 18:00:00 -06:00
Andrew Hutchings
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
david hill
371afbcf4b Merge pull request #108 from mariadb-corporation/MCOL-468
MCOL-468: remove slave-skip-errors=all from default settings
2017-02-09 16:53:45 -06:00
David Hall
55d006de1a MCOL-513 use thread pool for jobsteps 2017-02-03 15:25:21 -06:00
Andrew Hutchings
67121aab81 MCOL-317 Fix out of tree builds
Make linking with libmysqlclient work with out of tree builds
2017-01-25 21:32:11 +00:00
dhall-InfiniDB
d50007b61d Merge pull request #114 from mariadb-corporation/MCOL-533-locks
MCOL-533 Add lock to table_usage
2017-01-25 14:25:22 -06:00
Andrew Hutchings
38bf720db4 MCOL-533 Add lock to table_usage
Calling from multiple connections simultaneously is bad. This adds a
lock preventing that.
2017-01-25 19:34:46 +00:00
benthompson15
b9458183eb Merge pull request #95 from mariadb-corporation/MCOL-317
MCOL-317 Remove libdrizzle
2017-01-25 13:18:08 -06:00
Andrew Hutchings
b37d0f43f5 MCOL-533 fix the table_usage() procedure
The old procedure could be wildly incorrect when there were multiple
extents for a dictionary column.

The new one uses tables so that columnstore_files doesn't get
hammered too hard. They can't be temporary tables due to the reuse
restriction on temporary tables.
2017-01-25 11:03:03 +00:00
Ben Thompson
bb9fdd6eac MCOL-468: remove slave-skip-errors=all from default settings 2017-01-20 17:05:50 -06:00