The directory descriptions installed are as follows.
Log collector files
Data storage space
Various header files for the CLI program
mk files for Makefile
Machbase server error messages
(Cluster edition) Path to save the added package
Various example files
Machbase server logs and trace contents
MWA Web Server Files
Grafana plug-in files
Set Environment Variable
Add Machbase-related environment variables to your .bashrc file.
Set Machbase Property
The $MACHBASE_HOME/conf directory contains the file macbase.conf.sample.
You can also change the Machbase connection port number using the Linux environment variable. Below is an example of switching to a different port number (7878) other than the default value (5656).
Machbase Simple Usage
To create the database, use the machadmin utility. You can see the command with the --help option.
Create a database with the -c option.
Launch Machbase Server
Run the Machbase server with the -u option.
You can see that the server daemon, machbased, is running through the ps command as shown below.
Machbase Server Connection
Connect to the Machbase server using an access utility called machsql.
The administrator account SYS is ready and the password is set to MANAGER.
Let's create a simple table and input / output data.
The above SELECT results show that the most recently input data is displayed first.
Also, it can be seen through the _arrival_time column that the input time of the record is set to the nanosecond.
Stop Machbase Server
Shut down the Machbase server with the -s option.
Delete the database with the -d option.
Be very careful because all data will be deleted.