Skip to content
3. Installation, Deployment, and Upgrade

3. Installation, Deployment, and Upgrade

This chapter prepares Machbase DBMS 8.7.0 for use and checks that it can accept and query data. Installing a new server and upgrading a server that already contains data have different starting points. First decide which features and deployment environment you need, then choose the matching procedure.

The data models and Edition differences introduced in Chapter 2 also affect deployment. Check Standard Edition support if you need TRANSACTION tables, Restore, or Mount. If you need distributed storage and replication, plan Cluster node roles, networking, and recovery together.

Choose an Installation Path

EditionDeployment structureWhat to check
Standard EditionOne DBMS server handles SQL processing and storageRequired features and whether server resources can support ingestion, queries, and retention
Cluster EditionSeparate Coordinator, Deployer, Lookup, Broker, and Warehouse rolesDistribution groups, replication, communication paths, and node operations

A single server is not limited to small data sets. Measure the required storage and performance using representative data. Similarly, adding Cluster nodes does not make every query proportionally faster. See Edition Differences.

Distinguish the Installation Components

ComponentMeaningExamples to check
Distribution packageExecutables, libraries, and sample configurationVersion, Edition, OS, and CPU architecture
Installation homeExecutable and configuration location for a server or nodeMACHBASE_HOME, conf/machbase.conf
Data storage pathLocation where the DBMS reads and writes dataDBS_PATH, free space, and access permissions
Server instance or nodeDBMS process running with that configurationProcess status, logs, and connection ports
Logical databaseSQL object namespace selected by a connectionCurrent database, users, privileges, and tables

Extracting a package, creating a new instance’s database, starting the server, and creating tables are separate steps. Do not run new-instance initialization against a home containing existing data. The installation home and actual data path can also differ; check both before backup or upgrade.

A logical database selected through SQL is distinct from an installation home. See Multi-Database Operations for selecting, creating, and granting access to multiple databases.

Installation Sequence

Standard Edition

  1. Use Pre-Installation Preparation to check the package, server account, resources, and ports.
  2. Prepare a dedicated home and environment following the procedure for your operating system.
  3. Check configuration and data paths. If using a separate license, follow License Installation before the first startup.
  4. Create the new database and start the server as described in the selected installation procedure.
  5. Use the Validation Checklist to check the process, port, connection, version, license, and a small insert/query workflow.

A container deployment still needs the correct package version, a data volume, and write access for the server account. The relationship between container startup and DBMS initialization depends on the image, so follow its installation procedure.

Cluster Edition

  1. Review Pre-Installation Preparation and Cluster Environment Preparation.
  2. Decide each node’s host, home, SQL/management/inter-node ports, and Warehouse replication group.
  3. Prepare packages and licenses, then choose a deployment method.
  4. Check role-specific node states and replication configuration, then connect to a Broker with SQL.
  5. Use the Validation Checklist to check ingestion/query behavior separately from replication state within a group.

A successful SQL connection does not establish that every replica is healthy. Different Warehouse groups need not contain identical data. Continue with Cluster Operations for failure handling.

Upgrade

For an existing system, follow Upgrade. Check compatibility of data files, SQL and SDKs, configuration, licenses, and backup/recovery paths as well as the new executables. Do not replace production settings with package samples or treat binary replacement alone as a completed upgrade.

Keep baseline measurements and a backup from before the upgrade, and measure recovery time in an isolated environment. Returning to an earlier version requires data and configuration that the earlier version can read, not just its executables.

Next Steps

Installation validation begins operational preparation. Use the Quick Start to learn the SQL workflow, then model your data in Table Type Selection and Schema Design. Before production use, prepare dedicated accounts, ingestion error handling, retention and backup, representative load tests, and monitoring.

See Observability and Diagnosis and Performance Tuning Approach for that process.

Last updated on