1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-09-13 21:21:50 +03:00
Commit Graph

31 Commits

Author SHA1 Message Date
Roman Nozdrin
866dc25729 Merge pull request #1842 from denis0x0D/MCOL-987_LZ
MCOL-987 LZ4 compression support.
2021-07-07 13:13:18 +03:00
David Hall
8332ab8974 MCOL-4738 AVG() returns a wrong result
On AMD64 machines, the fpu is 80 bits. The unused bits must be masked for memcmp to work properly. For other archetectures, we don't want to mask those bits.
2021-07-06 19:50:00 -05:00
Denis Khalikov
cc1c3629c5 MCOL-987 Add LZ4 compression.
* Adds CompressInterfaceLZ4 which uses LZ4 API for compress/uncompress.
* Adds CMake machinery to search LZ4 on running host.
* All methods which use static data and do not modify any internal data - become `static`,
  so we can use them without creation of the specific object. This is possible, because
  the header specification has not been modified. We still use 2 sections in header, first
  one with file meta data, the second one with pointers for compressed chunks.
* Methods `compress`, `uncompress`, `maxCompressedSize`, `getUncompressedSize` - become
  pure virtual, so we can override them for the other compression algos.
* Adds method `getChunkMagicNumber`, so we can verify chunk magic number
  for each compression algo.
* Renames "s/IDBCompressInterface/CompressInterface/g" according to requirement.
2021-07-06 18:04:37 +03:00
benthompson15
c74beb6178 MCOL-4554: use jemalloc provided by repo. 2021-03-18 12:35:16 -05:00
benthompson15
6926ca6d6e MCOL-4535: remove readline 2021-02-05 15:46:04 -06:00
drrtuy
b29d0c9daa MCOL-641 Changed the hint to search for GTest headers.
This commit introduces DataConvert UTs.

DataConvert::decimalToString now can negative values.

Next version for Row::toString(), applyMapping UT checks.

Row:equals() is now wide-DECIMAL aware.
2020-11-18 13:47:02 +00:00
Roman Nozdrin
f73de30427 MCOL-641 This commit introduces GTest Suite into CS.
Binary NULL magic now consists of a series of BINARYEMPTYROW-s + BINARYNULL
in the end.

ByteStream now has hexbyte alias.

Added ColumnCommand::getEmptyRowValue to support 16 byte EMPTY values.
2020-11-18 13:47:01 +00:00
benthompson15
83f5ff5723 MCOL-4191: Install jemalloc.so with columnstore 2020-09-11 13:09:31 -05:00
Jose
5576b18ff6 MCOL-4144 Add python3 as dependency 2020-06-25 19:36:02 +00:00
Roman Nozdrin
1398cf20d6 MCS server python code uses python3 by default in (RHEL|Centos)8, (Suse|SLES)15 and Fedora whilst other distributions use default python interpreter.
RPM now restarts MDB on uninstall.

systemd logs a message if SM is not configured.
2020-06-17 13:01:59 +00:00
Patrick LeBlanc
2acc03242b Bring in the definition of MESSAGE_ONCE to get the engine to build
standalone.
2020-06-01 17:10:14 -04:00
Patrick LeBlanc
38ea31a707 Merge pull request #1243 from vuvova/cmake-fixes
cmake fixes
2020-06-01 10:16:33 -05:00
Sergei Golubchik
2384328d4c cmake: output cleanup
1. reduce the number of cmake warnings
2. remove unused OLD policies
3. only warn about missing prerequisites once
4. start cmake output from columnstore version
2020-05-31 10:55:30 +02:00
Jose
9280b7ece1 MCOL-4025 systemd units now preload libjemalloc 2020-05-28 20:53:56 +00:00
Jose
90a167178a MCOL-3915 Update columnstore install and uninstall procedure 2020-05-22 23:13:09 +00:00
Jose
9e9f04eb79 Some minor cleanup in response to PR comment 2020-05-15 19:27:25 +00:00
Jose
1eef764c01 MCOL-3991 Merge packages into one. Cleanup dependencies and remove mcsadmin from uninstall 2020-05-12 21:36:15 +00:00
Jose
ee27116cf6 MCOL-3991 New single package on debian-based systems 2020-05-12 13:36:24 +00:00
Jose
98abf95eae MCOL-3991 MCS is now single package and properly uninstalls 2020-05-12 13:36:24 +00:00
Jose
2966906502 MCOL-3815 Related. Fix columnstore-post-install not running on Debian during package installation 2020-05-12 13:35:25 +00:00
Patrick LeBlanc
01240cc9e0 Merge pull request #1071 from mariadb-corporation/fix-upgrade
Fix Upgrade
2020-03-02 10:21:23 -05:00
Andrew Hutchings
5ff131e726 Merge pull request #1004 from pleblanc1976/runtime-disable-oam
Runtime disable oam
2020-02-28 13:54:39 -05:00
Andrew Hutchings
114c5be935 MCOL-3669 Add real versioning to plugin
Make the version in information_schema.all_plugins reflect the real
version of ColumnStore.
2019-12-13 19:19:16 +00:00
Andrew Hutchings
653f4e1009 MCOL-3649 Fix separated build RPMs
The metadata for separated build was using the old component names so
wasn't applied. This caused the packages to be difficult to install.
2019-12-06 07:45:21 +00:00
Andrew Hutchings
7489d0bfd0 MCOL-3625 Rename packages
Rename packages to MariaDB-columnstore-engine, MariaDB-columnstore-libs
and MariaDB-columnstore-platform.

Also add the "columnstore-" prefix the the components so that MariaDB's
packaging system understands then and add a line to include them in
MariaDB's packaging.

In addition
* Fix S3 building for dist source build
* Fix Debian 10 dependency issue
* Fix git handling for dist builds
* Add support for MariaDB's RPM building
* Use MariaDB's PCRE and readline
* Removes a few dead files
* Fix Boost noncopyable includes
2019-12-04 11:04:39 +00:00
Andrew Hutchings
efe829784d MCOL-3624 Move jemalloc to an LD_PRELOAD
Linking will become an issue for the unified build and it is an issue
for jemalloc 5.x. Instead we will LD_PRELOAD on the forked ColumnStore
specific processes.
2019-12-03 21:21:28 +00:00
Andrew Hutchings
9037dd54d9 Fix RPM building
Changing the module file path cause RPMs to not install due to trying to
create /var/lib and /var
2019-11-14 21:50:29 +00:00
Andrew Hutchings
8ab9ebb0f4 MCOL-3606 Make ColumnStore use generic paths
ColumnStore now uses standard bin/lib paths for pretty much everything.
Data path is now hard-coded to /var/lib/columnstore.

This patch also:

* Removes v1 decompression
* Removes a bunch of unneeded files
* Removes COLUMNSTORE_INSTALL_DIR / $INSTALLDIR
* Makes my.cnf.d work for all platforms (MCOL-3558)
* Changes configcpp to use recursive mutex (fixes possible config write deadlock)
* Fixes MCOL-3599 Fix regr functions, The library was installed in the wrong location
* Fixes a bunch of Ubuntu packaging issues
* Changes the binary names of several of the executables so as not to
clash with potential executables from other packages
2019-11-09 16:53:05 +00:00
Roman Nozdrin
cdc570bf42 Repairs develop build mode w OAM disabled. Now one can use
-DSKIP_OAM_INIT=1 instead of using environmental variable.
2019-05-13 18:32:35 +03:00
Ben Thompson
4a7c461808 Fix for newer version of CMake/CPack 2019-05-07 14:08:14 -05:00
David Mott
138a6c5592 move cmake scripts to cmake folder
add boost super build project (currently disabled)
declare BOOST_NO_CXX11_SCOPED_ENUMS on projects that use boost::filesystem
2019-04-19 11:00:43 -05:00