Webinar series

Trino
query
plan
analysis

Join Developer Advocate Lester Martin for this 3-part webinar series designed to teach you the fundamentals of how Trino massively parallelizes your queries to produce the best possible performance. By the end of the series you will not only be able to conceptually visualize how a query is decomposed into its granular elements, but be able to validate the optimizations you are expecting are occurring and perform corrective actions if needed to improve performance.

You’ll be at one with the Trino query engine itself and the envy of your data team for the knowledge you will learn!

See below for individual session details! Register to receive all session recordings. 

Sign up

Session 1: Parallel processing fundamentals

Trino, which powers Starburst products, and other SQL engines such as Apache Hive & Apache Spark process data in parallel as much as possible. Those who attend this session will:

  • Understand how & why datasets are divided into splits
  • Be able to explain the decomposition of a query into tasks, stages, and exchanges
  • Visualize multi-stage queries that tackle sorting, aggregation, and multiple types of joins
  • See the conceptual visualization of a parallelized query aligns with Trino’s generated visual plan at runtime

Watch on-demand

       

      Session 2: Query plan syntax

      This session focuses on what drives the cost-based optimizer (CBO) and how to generate & read a query plan. Participants will learn about:

      • Optimizations available with table statistics
      • Generating a textual and a visual query plan
      • Understand the format of the query plan output to include fragments, exchanges, distribution, estimates, and performance
      • Performance with, and without, accurate table statistics

           

          Session 3: Detailed plan analysis

          This final session builds upon the first two and focuses completely on reviewing query plans with a focus on spotting potential performance issues and remedies to overcome them. The following optimizations will be demonstrated live:

          • Column pruning, predicate pushdown, and partition pruning
          • Trino’s approach to tackle sorting and aggregating across two stages
          • Join optimizations including broadcasting, reordering, and dynamic filtering

             

            Meet the speaker:

            Lester Martin

            Lester Martin

            Developer Advocate at Starburst

            Cookie Notice

            This site uses cookies for performance, analytics, personalization and advertising purposes. For more information about how we use cookies please see our Cookie Policy.

            Manage Consent Preferences

            Essential/Strictly Necessary Cookies

            Required

            These cookies are essential in order to enable you to move around the website and use its features, such as accessing secure areas of the website.

            Analytical/Performance Cookies

            These are analytics cookies that allow us to collect information about how visitors use a website, for instance which pages visitors go to most often, and if they get error messages from web pages.

            Functional/Preference Cookies

            These cookies allow our website to properly function and in particular will allow you to use its more personal features.

            Targeting/Advertising Cookies

            These cookies are used by third parties to build a profile of your interests and show you relevant adverts on other sites.