Getting Started Easily

YMatrix automatically simulates various business scenarios and generates test data based on business parameters. You can experience real-time data ingestion and querying without preparing any business data or writing SQL statements.

1. Prerequisites

You must remain logged in to the graphical interface. If you accidentally close the page after initialization, reopen your browser and enter the master node IP address and port number to log in again:

http://<IP>:8240  

2. Getting Started

Select the Getting Started module under the Quick Experience section.

2.1 Choose a Scenario

Three common IoT scenarios are provided. Select one that interests you and click Next. This guide uses the "Connected Vehicles" scenario as an example.
easy_to_get_started

2.2 Generate Data Stream

The Connected Vehicles scenario includes predefined business data:

  • Business Parameters: Simulates a scenario where 10,000 devices report 100 metrics every second.
  • Target Table Schema: The table contains four columns:
    • Field: Column name in the target table.
    • Comment: Not part of the actual table definition; displayed only for explanatory purposes.
    • Type: Data type of each column.
    • Sample Data: Shows the format of generated data.

Click Next to proceed.
easy_to_get_started

2.3 Run Queries

Based on the configured business parameters, mxbench will generate simulated data. Once the data stream is successfully created, the page automatically navigates to the Run Query page.

2.3.1 Data Ingestion Status

  • Real-time Ingestion: Displays the number of rows ingested in real time.
  • Ingestion Rate: Shows the current data ingestion speed.
    easy_to_get_started

2.3.2 Select a Query Statement

Eight typical query statements are provided, including:

  • 2 basic queries
  • 4 conditional queries
  • 2 advanced queries

Click on a query of interest. The corresponding SQL statement appears in the SQL panel on the right.
For example, select the first query under Basic Queries.

2.3.3 Execute the Query

After selecting a query, click Execute to view the query results.
easy_to_get_started

2.3.4 End the Experience

Click Stop importing to automatically remove all tables and data generated during the Getting Started process.
easy_to_get_started

Then click Confirm to return to the Data Streams list page.
easy_to_get_started

Experience complete!