Tutorial Presto 8.8 ((better)) May 2026

wget https://repo1.maven.org/maven2/io/prestosql/presto-cli/8.8/presto-cli-8.8-executable.jar mv presto-cli-8.8-executable.jar presto chmod +x presto ./presto --server localhost:8080 --catalog postgresql --schema public You should see the Presto prompt: presto:public> 6.1 Basic Metadata Exploration -- Show catalogs (Iceberg, PostgreSQL, etc.) SHOW CATALOGS; -- Show schemas in PostgreSQL SHOW SCHEMAS FROM postgresql;

wget https://repo1.maven.org/maven2/io/prestosql/presto-server/8.8/presto-server-8.8.tar.gz tar -xzf presto-server-8.8.tar.gz sudo mv presto-server-8.8 /usr/local/presto Presto 8.8 expects a strict directory structure for configuration. tutorial presto 8.8

Create the catalog directory:

node.environment=production node.id=presto-coordinator-1 node.data-dir=/var/presto/data Presto 8.8 leverages modern Garbage Collectors. Use these optimal flags for Java 17: wget https://repo1

CALL iceberg.system.create_namespace('default', 'analytics'); Solution: Increase off-heap memory in jvm.config : SELECT o

-- Enable retries for the current session SET SESSION fault_tolerant_execution = true; -- Run a massive JOIN that might fail; Presto will retry only the failing task. SELECT o.order_key, c.customer_name, l.line_total FROM orders o JOIN customers c ON o.cust_key = c.cust_key JOIN lineitem l ON o.order_key = l.order_key;