Regatta CLI
A lightweight command-line tool for connecting to, managing, and querying your Regatta database clusters.
The Regatta Command-Line Interface (CLI) provides a quick and convenient way to manage and query your Regatta database. You’ll need:
- Valid user credentials
- Network access to an active Regatta cluster
Installation
Copy the Regatta Connect RPM package to your target Linux machine and install it:
Verify the CLI binary is installed:
You should see:
Copy the Regatta Connect RPM package to your target Linux machine and install it:
Verify the CLI binary is installed:
You should see:
Launch the CLI
Start the client:
You’ll see the prompt:
Connect to Your Cluster
Authenticate with your credentials and cluster address:
On success, you’ll see:
NOTE: From this point forward the rdb> prompt will be omitted.
Table Management
Create a Table
Let’s create an employees
table:
If successful:
Verify with:
Insert Data
Insert multiple rows:
Query Data
Select all records:
Filter with a WHERE clause:
Update Records
Give Richard Roe a raise:
Re-run the previous SELECT
to confirm:
Delete Records
Remove the employee with the highest salary:
Verify deletion:
Drop the Table
List tables:
This will present all the tables in the database:
Drop employees
:
Confirm it’s gone:
Next Steps
- Explore advanced CLI commands usding the SQL guide.
- Integrate with your preferred language using one of our language-specific drivers.