License key installation is usually performed after MACHBASE installation is finished.If you do not install a specific license after installation, you can use MACHBASE with some restrictions.This section describes MACHBASE's license policy, structure, and installation method.
License File Structure
The MACHBASE license is managed in the license.dat file.Licenses purchased for the product or for testing are displayed in a text file.
The server will run even if there is no license, but there are some limitations.The server can only be used for evaluation purposes, so if you intend to use it formally, you must obtain the license in a legitimate procedure.
If there is no license file, the following functional limitations will exist.
If you enter more than 100 million records through the Append protocol in one session, a warning message is displayed.Append input is then stopped.The input limit state is released only when the server is restarted.
When creating a tablespace, you can not create more than two disk directories. If you use more than one disk, the following warning indicating that the parallel I / O function for high performance data input can not be used will be displayed.
CREATE TABLESPACE tbs1 DATADISK disk1 (disk_path="tbs1_disk1"), disk2 (disk_path="tbs1_disk2"), disk3 (disk_path="tbs1_disk3");
[ERR-00867 : Error in adding disk to tablespace. You cannot use multiple disks for tablespace without valid license.]
The MACHBASE licensemust beinstalled in$MACHBASE_HOME/conf, and thedefault name islicense.dat.
Copy the License File to $ MACHBASE_HOME / conf
At this time, the name of the license file issuedmust be changedtolicense.datand copied.Then, when the server is started, it will determine if the license is appropriate and begin the installation.
Launch machadmin -t 'licensefile_path'
The advantage of this method is that it can be easily installed with commands without having to adjust the license file name or location. Installing as a query: This is a way to install a license using a query statement while the server is running.
Verifying License Installation
If the license file is installed, the following is displayed in machbase.trc after the server is started.