Installing and Configuring the VAST Connector for Trino

Prev Next

Installing the VAST Trino Connector for the VAST Database

VAST provides a Trino server and VAST Connector for Trino in a docker image.

Download the image for your version of VAST Cluster from https://hub.docker.com/r/vastdataorg/trino-vast. Follow the instructions there to configure the image on your client.

Compatibility of Trino versions with VAST Cluster

Trino Version

Trino Connector Version

Compatible VAST Cluster Versions

375

375

4.7 and later

420

420

5.0 and later

429

429

5.1 and later

443

443

5.2 and later

462

462

5.3 and later

475

475

5.4

Configuring Trino

The Trino image includes a VAST configuration file, vast.properties, which looks like this:

connector.name=vast
endpoint={VAST_ENDPOINT}
region=us-east-1
access_key_id={VAST_ACCESS_KEY_ID}
secret_access_key={VAST_SECRET_ACCESS_KEY}

# Preliminary tuning parameters
num_of_splits=64
num_of_subsplits=10
vast.http-client.request-timeout=60m
vast.http-client.idle-timeout=60m

data_endpoints={VAST_DATA_ENDPOINTS}

vast.http-client.request-timeout=100h
vast.http-client.idle-timeout=290s
vast.http-client.max-connections=100
vast.http-client.max-connections-per-server=50

Over-the-wire Compression of Query Results

You can configure the connector to compress query results as they are sent to the client, using zstandard compression.

To do this, add this line to the vast.properties file:

vast.compression=zstd