Step 4: Test MariaDB Enterprise Server

Overview

This page details step 4 of the 4-step procedure "Deploy HTAP Topology".

This step tests Enterprise ColumnStore.

Interactive commands are detailed. Alternatively, the described operations can be performed using automation.

Test S3 Connection

MariaDB Enterprise ColumnStore includes a testS3Connection command to test the S3 configuration, permissions, and connectivity.

Test the S3 configuration by executing the following:

$ sudo testS3Connection
StorageManager[26887]: Using the config file found at /etc/columnstore/storagemanager.cnf
StorageManager[26887]: S3Storage: S3 connectivity & permissions are OK
S3 Storage Manager Configuration OK

If the testS3Connection command does not return OK, investigate the S3 configuration.

Test Enterprise Server Service

Use Systemd to test whether the MariaDB Enterprise Server service is running.

Check if the MariaDB Enterprise Server service is running by executing the following:

If the service is not running, start the service by executing the following:

Test Local Client Connections

Use MariaDB Client to test the local connection to the Enterprise Server node:

The sudo command is used here to connect to the Enterprise Server node using the root@localhost user account, which authenticates using the unix_socket authentication plugin. Other user accounts can be used by specifying the --user and --password command-line options.

Test ColumnStore Storage Engine Plugin

Query the information_schema.PLUGINS table to confirm that the ColumnStore storage engine is loaded.

Execute the following query:

The PLUGIN_STATUS column for each ColumnStore-related plugin should contain ACTIVE.

Test Replication Status

Use the SHOW REPLICA STATUS statement to check the status of MariaDB Replication:

Test ColumnStore Table Creation

  1. Create a test database, if it does not exist:

  1. Create a ColumnStore table:

  1. Add sample data into the table:

  1. Read data from table:

Test Cross Engine Join

  1. Create an InnoDB table:

  1. Add data to the table:

  1. Perform a cross-engine join:

Test HTAP Replication

  1. Connect to the server using MariaDB Client using the root@localhost user account:

  1. Create the databases for the InnoDB and ColumnStore tables using the CREATE DATABASE statement:

  1. Create the InnoDB versions of the HTAP tables using the CREATE TABLE statement:

  1. Confirm that the tables were replicated using the SHOW TABLES statement:

  1. The replication initially creates empty InnoDB tables, which need to be transformed into ColumnStore tables and which need to be populated with the initial copy of the data:

  1. Insert data into the InnoDB versions of the HTAP tables using the INSERT statement:

  1. Confirm that the data was replicated using the SELECT statement:

  1. Create an InnoDB table that will not be replicated:

  1. Confirm that the table was not replicated:

  1. Create a ColumnStore table that will not be replicated:

  1. Confirm that the table was not replicated:

Next Step

Navigation in the procedure "Deploy HTAP Topology". This page was step 4 of 4.

This procedure is complete.

This page is: Copyright © 2025 MariaDB. All rights reserved.

Last updated

Was this helpful?