2021-11-26 09:50:32 +02:00
|
|
|
trino
|
|
|
|
=====
|
|
|
|
|
|
|
|
[Trino][1] is a distributed SQL query engine designed to query large data sets
|
|
|
|
distributed over one or more heterogeneous data sources.
|
|
|
|
|
|
|
|
```bash
|
2021-11-29 09:23:49 +02:00
|
|
|
$ mkdir data/{etc,data}
|
|
|
|
$ chown -R 1000:1000 data
|
2021-11-26 09:50:32 +02:00
|
|
|
$ docker-compose up -d
|
|
|
|
$ docker-compose exec trino trino
|
|
|
|
>>> show catalogs;
|
2021-11-29 09:23:49 +02:00
|
|
|
>>> show schemas from system;
|
|
|
|
>>> show tables from system.runtime;
|
|
|
|
>>> select * from system.runtime.queries;
|
2021-11-26 09:50:32 +02:00
|
|
|
>>> quit
|
|
|
|
```
|
|
|
|
|
|
|
|
[1]: https://trino.io/docs/current/installation/deployment.html
|