-
Notifications
You must be signed in to change notification settings - Fork 17
Description
To provide users with an integrated, guided workflow for running TPC-H and TPC-DS benchmarks directly from the YDB Enterprise Manager UI. This feature will help users evaluate database performance without using the CLI by providing clear instructions, executable code snippets, and direct links to documentation.
This wizard simplifies the process by offering a step-by-step guide with copy-paste code blocks and optional in-place execution, making performance testing accessible and user-friendly.
Entry Points
The feature must be accessible from two locations:
- Database Context Menu: Right-click on a database in the navigation tree → select "YDB Load Test".
- Header Menu: A new item ("YDB Load Test") in the main header's tools dropdown menu.
Wizard Workflow
The wizard is a 4-step process displayed in a resizable sidebar panel:
Step 1: Settings
- Benchmark Type: cards with options TPC-H / TPC-DS (with explaining differences).
- Data Size: cards with options 1 TB, 10 TB, 100 TB, 1000 TB (with info alerts recommending sizes).
Navigation: Next button.
Step 2: Create Tables
Description: Explains why tables need to be created first.
Code block with statements for creating TPC tables (syntax-highlighted SQL).
Actions: Copy button + "Run N queries" button (executes in the current database’s Query tab) + "Back" button
Step 3: Import Data
Description: Explains the data import process and estimated duration.
Code block with CLI command for data import.
Actions: Copy button + "Run command" button + link to documentation + "Back" button
Step 4: Run Queries
Description: Instructions for executing queries.
Code block with first TPC query (as an example).
Link: "View all queries in Documentation" (opens full TPC query list).
Actions: Copy button for the query + "Run query" button + Finish button to close the wizard + "Back" button
UI Behavior
Opening the wizard automatically switches the content area to Query Mode (if Diagnostics was open). The sidebar slides in, resizing the content area smoothly to ensure readability.
The wizard supports both Light and Dark themes (designs provided).
Light Theme Mockups
Dark Theme Mockups
