Download PDFSubmit Feedback

  • Hardware
  • Operating System
  • Software Dependencies
  • Port Requirements
  • Installation Packages, Container Images, and Compilation Versions

Deployment Preparation

Hardware

The following specifications are required for KWDB deployment:

ItemRequirements
CPU and Memory- Minimum: 4 CPU cores and 8 GB RAM per node
- For high-volume data, complex workloads, high concurrency, or performance-critical applications, allocate additional resources accordingly
Disk- Recommended: SSD or NVMe devices
- Minimum performance: 500 IOPS and 30 MB/s throughput
- Storage: <1 GB for KWDB system, with additional space needed based on data volume
- Avoid shared storage (NFS, CIFS, CEPH)
- HDDs not recommended for distributed cluster deployments
File Systemext4 recommended for optimal performance

Operating System

KWDB can be deployed on the following operating systems:

Operating SystemVersionBare MetalBare MetalContainerContainer
ARM64x86_64ARM64x86_64
Anolis7
8
CentOS7
8
DebianV11
openEuler24.03
UbuntuV20.04
V22.04
V24.04
UOS1050e
1060e
1070e
Windows ServerWSL2

Note

Software Dependencies

Bare-Metal Deployment

The following table lists the dependencies that need to be installed on the target machine.

DependencyVersionDescription
OpenSSLv1.1.1+N/A
libprotobufv3.6.1 ~ v21.xNote: The default libprotobuf version in Ubuntu 18.04 does not meet the requirements. Users need to install the required version in advance (3.6.1 and 3.12.4 are recommended).
GEOSv3.3.8+Optional dependency
xz-libsv5.2.0+N/A
libgccv7.3.0+N/A
libgflagsSystem defaultN/A
libkrb5System defaultN/A

During installation, KWDB verifies the necessary dependencies. If any are missing, the installation process will halt and prompt you to install them. If the target machine is offline, you will need to download the required dependencies from an internet-connected device and then transfer the files to the target machine.

Container Deployment

For deployment using scripts, Docker Compose (version 1.20.0 or higher) is required.

Port Requirements

Ensure these default ports are available and not blocked by firewalls. Port settings can be modified during installation.

PortDescription
8080Port for HTTP requests and web services
26257Port for connections of clients, applications, and other nodes

Installation Packages, Container Images, and Compilation Versions

Obtain installation packages, container images, or source code compilation versions based on your scenarios:

Installation Packages

The KWDB repository currently provides DEB or RPM installation packagesopen in new window for the following systems and architectures. For packages for other systems or architectures, please contact KWDB Technical Supportopen in new window.

  • Ubuntu V20.04 x86_64
  • Ubuntu V20.04 ARM64
  • Ubuntu V22.04 x86_64
  • Ubuntu V22.04 ARM64

After obtaining the DEB or RPM installation package for your system environment, copy the package to the target machine, then extract the installation package:

tar -zxvf <package_name>

The extracted directory contains the following files:

File/FolderDescription
add_user.shScript for creating KWDB users after installation and startup.
deploy.cfgConfiguration file for node IP addresses, ports, and other options.
deploy.shScript for KWDB installation, uninstallation, start, status check, and stop operations.
packagesStores DEB or RPM packages.
Note: Specific files included vary by installation package type.
utilsStores utility scripts.

Container Images

KWDB supports obtaining container images through the following methods:

  • KWDB versions before 3.1.0

    Downloadopen in new window the container installation package, then import the KaiwuDB.tar file from the kwdb_install/packages directory.

    docker load < KaiwuDB.tar
    Loaded image: "image-name"
    
  • KWDB 3.1.0 and later versions

    Run the following command to obtain the KWDB Docker image. To get the latest version, run docker pull kwdb/kwdb:latest.

    docker pull kwdb/kwdb:<version>
    

Source Code Compilation and Installation

Follow the KWDB Compilation and Installation Instructionsopen in new window to download, compile, and install from source code.