Generated by GPT-5-mini| Trino (software) | |
|---|---|
| Name | Trino |
| Developer | Starburst Data; originally Facebook, Inc. |
| Released | 2019 |
| Programming language | Java (programming language) |
| Operating system | Linux, macOS, Windows |
| License | Apache License |
Trino (software) is an open-source, distributed SQL query engine for interactive analytics on large-scale data. It enables ANSI SQL querying across heterogeneous data warehouses, data lakes, and object storage systems without data movement, designed for low-latency ad hoc analysis across petabyte-scale datasets. Trino is used by organizations in technology industry, finance, and research institutions to federate queries against systems like Apache Kafka, Amazon S3, Google Cloud Storage, and Hadoop Distributed File System.
Trino is a high-performance, distributed SQL query engine written in Java (programming language) that supports standard SQL semantics, including ANSI SQL constructs, window functions, and complex joins. It was forked from an engine originally developed at Facebook, Inc. and is maintained by a community including contributors from Starburst Data, Teradata, Confluent (company), and other companies active in big data ecosystems. The project emphasizes modularity, pluggable connectors, and integration with tools such as Apache Hive, Presto (SQL query engine), Apache Spark, Apache Flink, and Superset (software).
Trino follows a coordinator-worker architecture where a single coordinator node handles client requests, query planning, and metadata, while multiple worker nodes execute tasks in parallel. The engine employs a memory-centric execution model and a pipelined operator architecture influenced by research from Google (company) and academic work such as MapReduce alternatives and query processing frameworks. Components include a planner that transforms SQL into a distributed execution plan, a scheduler that assigns fragments to workers, and an exchange mechanism that shuffles data between worker nodes. Trino integrates with cluster resource managers and orchestration platforms like Kubernetes, Docker (software), and Apache Mesos.
Trino compiles SQL queries into distributed query plans, performing parsing, semantic analysis, logical planning, and physical planning before runtime. It supports complex SQL features including nested types, arrays, maps, and user-defined functions developed with Java (programming language) or through User-defined function interfaces. The optimizer applies rule-based and cost-based strategies influenced by techniques from Volcano (query optimizer) research and systems like PostgreSQL and Oracle Database. Trino offers connectors for columnar formats such as Apache Parquet and Apache ORC, and can produce columnar output compatible with Apache Arrow for integration with analytics clients.
Trino's pluggable connector architecture enables querying across a wide range of data sources, including object stores like Amazon S3, Google Cloud Storage, and Azure Blob Storage; distributed file systems like Hadoop Distributed File System via Apache Hive; relational databases such as MySQL, PostgreSQL, and Oracle Database; NoSQL systems like Apache Cassandra and MongoDB; streaming platforms such as Apache Kafka; and data warehouses like Snowflake and Google BigQuery. Connectors implement metadata, split generation, and record reading layers, often leveraging ecosystem components like Apache Hadoop, Apache Zookeeper, and AWS Glue for catalog management.
Trino scales horizontally by adding worker nodes to increase throughput and concurrency, with coordinator failover options and high-availability patterns supported through external tools like Consul (software) and Apache Zookeeper. It is commonly deployed on cloud platforms including Amazon Web Services, Google Cloud Platform, and Microsoft Azure, and integrated into data platforms powered by Kubernetes operators and Helm (software). Performance tuning involves configuring memory pools, worker JVM parameters, and network settings tailored for environments using RDMA-capable networks, NVMe storage, and optimized TCP/IP stacks.
Trino supports authentication and authorization mechanisms, including LDAP-backed authentication with directories such as Microsoft Active Directory, token-based schemes, and TLS/SSL for encrypted client-server communication using certificates issued by Let’s Encrypt or enterprise PKI providers. For fine-grained access control, Trino integrates with catalog-level authorization from systems like Apache Ranger and external policy engines such as Open Policy Agent. Auditing and compliance deployments often couple Trino with Apache Atlas for metadata governance and Kerberos for strong identity assertions in Hadoop ecosystems.
Trino originated as a fork from a query engine at Facebook, Inc. after a governance split involving the original project community and corporate stakeholders. Since the formal release, it has been driven by contributors from Starburst Data, Teradata, Ahana (company), and independent contributors from GitHub, with releases coordinated via the project's governance model and discussion on GitHub. The community hosts meetups, participates in conferences such as Strata Data Conference, KubeCon, and Data+AI Summit, and collaborates with standards bodies and projects including Apache Software Foundation-related ecosystems.
Category:SQL engines Category:Big data software Category:Open-source software