1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-27 16:01:57 +03:00
Files
mariadb-columnstore-engine/utils/autoconf
2016-07-15 10:49:57 -05:00
..
2016-01-06 14:08:59 -06:00
2016-01-06 14:08:59 -06:00
2016-01-06 14:08:59 -06:00
2016-07-15 10:49:57 -05:00
2016-01-06 14:08:59 -06:00
2016-01-06 14:08:59 -06:00
2016-01-06 14:08:59 -06:00
2016-01-06 14:08:59 -06:00
2016-05-09 14:37:48 -05:00
2016-01-06 14:08:59 -06:00
2016-01-06 14:08:59 -06:00
2016-06-01 17:54:28 -05:00
2016-01-06 14:08:59 -06:00
2016-06-01 17:54:28 -05:00
2016-01-06 14:08:59 -06:00
2016-01-06 14:08:59 -06:00
2016-01-06 14:08:59 -06:00
2016-01-06 14:08:59 -06:00
2016-05-31 16:40:30 -05:00

To build the software from source, consult the file INSTALL.

Brief Install Instructions:

1. Install the 3 MariaDB Columnstore RPMs.
2. Install and start the software, run: /usr/local/mariadb/columnstore/bin/postConfigure
3. Setup some aliases: . /usr/local/mariadb/columnstore/bin/MariaDB ColumnstoreAlias
4. Connect to MySQL: idbmysql
5. Try the test in step 12 below


Detailed Installation Instructions:

1. Download the package MariaDB Columnstore-2.2.0-2.x86_64.rpm.tar.gz (RHEL5 64-BIT)
   to the server where you are installing MariaDB Columnstore.

2. Obtain root user access.

3. Unpack the tarball, which will generate 4 RPMs.

   	tar xvf MariaDB Columnstore-2.2.0-2.x86_64.rpm.tar.gz
   
4. Install the 3 RPMs in this order, the MariaDB Columnstore software will be installed in 
   /usr/local/mariadb/columnstore.

   	rpm -ivh infinidb-libs-2.2.0-2.x86_64.rpm
   	rpm -ivh infinidb-platform-2.2.0-2.x86_64.rpm
   	rpm -ivh infinidb-mysql-2.2.0-2.x86_64.rpm
   	rpm -ivh infinidb-storage-engine-2.2.0-2.x86_64.rpm

5a.To configure and run on a single server system utilizing local disk storage, 
   run install script:
   
   	/usr/local/mariadb/columnstore/bin/postConfigure

5b.To configure and run on a multi-server system and/or to utilize a SAN storage 
   system, follow the instructions in the MariaDB Columnstore Installation Guide.

   	/usr/local/mariadb/columnstore/bin/postConfigure

6. Ports utilized by the MariaDB Columnstore Software

   The MariaDB Columnstore MySQL daemon utilizes port 3306. To use a different port, update 
   the 2 locations in the following file:

   	/usr/local/mariadb/columnstore/mysql/my.cnf

	port            = 3306
	port            = 3306

   You must reserve the following ports to run the MariaDB Columnstore Software:

	8600 - 8622, 8700, and 8800

7. Setup some aliases:
. /usr/local/mariadb/columnstore/bin/MariaDB ColumnstoreAlias

8. To manually start and stop the MariaDB Columnstore Software as the root user run:

   cc startSystem

   To stop the MariaDB Columnstore Software, run:

   cc stopSystem

9. To start/stop the MariaDB Columnstore Software during system boot/shutdown use the 
   chkconfig command

 	/sbin/chkconfig --add columnstore
	/sbin/chkconfig columnstore on
 
10. After the MariaDB Columnstore Software has been started, use the following command to 
    connect to the MariaDB Columnstore OAM Console and watch for the System to go to the 
    ACTIVE status. The follow will repeatedly run the OAM command getsysteminfo 
    every 5 seconds.

    	MariaDB ColumnstoreOAMconsole getsysteminfo -r

    Here is an example display from a Single Server Install:

    System and Module statuses

    Component     Status                   Last Status Change
    ------------  ----------------------   ------------------------
    System        ACTIVE                   Mon Apr  6 18:07:14 2009

    Module dm1    ACTIVE                   Mon Apr  6 18:07:12 2009

    MariaDB Columnstore Process statuses

    Process             Module    Status         Last Status Change        Process ID
    ------------------  ------    ------------   ------------------------  ----------
    ProcessMonitor      dm1       ACTIVE         Mon Apr  6 18:06:41 2009       12753
    ProcessManager      dm1       ACTIVE         Mon Apr  6 18:06:46 2009       12954
    SNMPTrapDaemon      dm1       ACTIVE         Mon Apr  6 18:06:41 2009       12963
    SNMPAgent           dm1       ACTIVE         Mon Apr  6 18:06:50 2009       13565
    ServerMonitor       dm1       ACTIVE         Mon Apr  6 18:06:55 2009       13635
    DBRMWorkerNode      dm1       ACTIVE         Mon Apr  6 18:06:51 2009       13640
    DBRMControllerNode  dm1       ACTIVE         Mon Apr  6 18:06:52 2009       13645
    ExeMgr              dm1       ACTIVE         Mon Apr  6 18:07:05 2009       14578
    PrimProc            dm1       ACTIVE         Mon Apr  6 18:07:03 2009       13842
    DDLProc             dm1       ACTIVE         Mon Apr  6 18:07:10 2009       14936
    DMLProc             dm1       ACTIVE         Mon Apr  6 18:07:13 2009       15114

    Active Alarm Counts: Critical = 0, Major = 0, Minor = 0, Warning = 0, Info = 0

    Once the System status is ACTIVE, enter the following to exit back to the 
    UNIX prompt:

	CNTR<C>

    Or to get back MariaDB Columnstore OAM Console Prompt,enter the following:

	CNTR<D>

11. Use the following command to access the MariaDB Columnstore MySQL console:

    	idbmysql 

    	Example output:

		Welcome to the Mysql monitor.  Commands end with ; or \g.
		Your Mysql connection id is 1
		Server version: 5.1.26-MariaDB Columnstore-log Source distribution

		Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

		mysql>

12. Run the following upgrade script to create calponsys schema and upgrade the syscolumn table:  /usr/local/mariadb/columnstore/bin/upgrade-infinidb.sh

13. As an example to get you started, try this:

        create database MariaDB Columnstore;
        use MariaDB Columnstore;
        create table caltest (col1 int, col2 int) engine=infinidb;
        show create table caltest;
        insert into caltest values (1, 2);
        insert into caltest values (3, 4);
        commit;
        select * from caltest;

14. Consult the Admin Guide and Syntax Guide for additional information on how 
    to get started.