Giter VIP home page Giter VIP logo

trino-demo's Introduction

Trino Overview

Configuration

Before you can start Trino, you need to provide a set of configuration files:

  • config.properties
  • jvm.config
  • node.properties

By default, the configuration files are expected in the etc directory inside the installation directory.

Trino server configuration

coordinator=true|false
node-scheduler.include-coordinator=true|false
http-server.http.port=8080
http-server.https.port=8443
query.max-memory-per-node=1GB
discovery-server.enabled=true
discovery.uri=<http://localhost:8080>

Trino node configuration

node.environment=demo
node.id=some-random-unique-string
node.data-dir=/var/trino/data

JVM configuration

-server
-Xmx16G
-XX:-UseBiasedLocking
-XX:+UseG1GC
-XX:G1HeapRegionSize=32M
-XX:+ExplicitGCInvokesConcurrent
-XX:+HeapDumpOnOutOfMemoryError
-XX:+ExitOnOutOfMemoryError
-XX:ReservedCodeCacheSize=512M
-XX:PerMethodRecompilationCutoff=10000
-XX:PerBytecodeRecompilationCutoff=10000
-Djdk.nio.maxCachedBufferSize=2000000
-Djdk.attach.allowAttachSelf=true

Trino logging configuration

The optional Trino logging configuration file. The default level is INFO.

  • default location: var/log
io.trino=INFO
io.trino.plugin.postgresql=DEBUG

Trino catalog configuration

  • default location: etc/catalog
connector.name=tpch

The TPC-H and the TPC-DS connector are built into Trino and provide a set of schemas to support the TPC Benchmark H (TPC-H) and the TPC Benchmark DS (TPC-DS).

DEMO

singlenode_demo_architecture

multinode_demo_architecture

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.