Sign inSign up

vimagick/prestodb

By vimagick

•Updated about 5 years ago

An open source distributed SQL query engine

Image
0

1.7K

vimagick/prestodb repository overview

⁠prestodb

Presto⁠ is an open source distributed SQL query engine for running interactive analytic queries against data sources of all sizes ranging from gigabytes to petabytes.

⁠standalone mode

prestodb:
  image: vimagick/prestodb
  ports:
    - "8080:8080"
  volumes:
    - ./conf/standalone:/opt/presto/etc:ro
    - /data:/data
  restart: unless-stopped

⁠cluster mode

$ ansible all -a 'mkdir -p /data'

$ docker stack deploy -c docker-stack.yml prestodb

$ docker ps | grep prestodb_coordinator | awk '{print $1}'
4cc5c6c420d7

$ docker exec -it 4cc5c6c420d7 presto --server localhost:8080 --catalog tpch
>>> show schemas;
>>> show tables from tiny;
>>> select * from tiny.customer limit 10;
>>> quit

$ curl http://localhost:8080/ui/

$ curl http://localhost:8080/v1/service/presto/general

:warning: If volume settings are changed, you need to remove them manually on all nodes.

Tag summary

Content type

Image

Digest

Size

1012.6 MB

Last updated

about 5 years ago

docker pull vimagick/prestodb:debian