Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 1.95 KB

get_started_users.md

File metadata and controls

48 lines (28 loc) · 1.95 KB

Get Started for Users

If you are a developer, you may want to start from sources, read Get Started for Developers.

  1. ensure you have the binary of ClickHouse client

  2. get the binary of TensorBase server

    Download from the TensorBase release page

  3. config a base.conf for server booting

    Here is an example of base.conf

  4. start the TensorBase server like this:

     ./server -c $path_to_base_conf$
    
  5. connect to the TensorBase server with clickhouse-client like this:

     ```clickhouse-client --port 9528``` or ```clickhouse-client --port 9528 -n```
    

    NOTE:

    --port – Here 9528 is the default port of TensorBase. --multiquery, -n – If specified, allow processing multiple queries separated by semicolons. (So, it may be slightly quicker than multiple statements.)

  6. execute query like this:

     ```sql
     create table employees (id UInt64, salary UInt64) ENGINE = BaseStorage;
     insert into employees values (0, 1000), (1, 1500);
     select count(id) from employees;
     select avg(salary) from employees;
     ```
    
  7. more supported statements could be seen here

    TensorBase supports high concurrent ingestions from clickhouse-client and native protocol drivers ( Rust client driver here). Welcome to practice!

Get Started Live Recording


play_out_of_the_box