CINXE.COM

Introduction to Trino Cost-Based Optimizer | Starburst

<!DOCTYPE html><html lang="en" class="__variable_592a8c __variable_3f7db5"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/0f3a385557f1712f-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/47cbc4e2adbc5db9-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/623acd25753df814-s.p.otf" as="font" crossorigin="" type="font/otf"/><link rel="preload" href="/_next/static/media/8f65835aa057b6ed-s.p.otf" as="font" crossorigin="" type="font/otf"/><link rel="preload" href="/_next/static/media/ab06f05c30d46390-s.p.otf" as="font" crossorigin="" type="font/otf"/><link rel="preload" href="/_next/static/media/b0047e94e7f0c63f-s.p.otf" as="font" crossorigin="" type="font/otf"/><link rel="preload" href="/_next/static/media/cb07cb684de218c2-s.p.otf" as="font" crossorigin="" type="font/otf"/><link rel="preload" href="/_next/static/media/d18c671c86d7369a-s.p.otf" as="font" crossorigin="" type="font/otf"/><link rel="preload" as="image" imageSrcSet="/_next/image/?url=%2F_next%2Fstatic%2Fmedia%2Fdark-planet.314d4985.webp&amp;w=1920&amp;q=75&amp;dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve 1x" fetchPriority="high"/><link rel="preload" as="image" href="/_next/static/media/starburst-logo-bw.3bc0959e.svg"/><link rel="preload" as="image" href="/_next/static/media/g2-seeklogo.fbedb5c2.svg"/><link rel="preload" as="image" href="/_next/static/media/instagram.89a5a5fa.svg"/><link rel="preload" as="image" href="/_next/static/media/youtube.29a80630.svg"/><link rel="preload" as="image" href="/_next/static/media/linkedin.3e7e21af.svg"/><link rel="preload" as="image" href="/_next/static/media/facebook.07186c97.svg"/><link rel="preload" as="image" href="/_next/static/media/twitterx.eef7c637.svg"/><link rel="preload" as="image" href="/_next/static/media/starburst_logo.654cb3e5.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/trophy.svg"/><link rel="preload" as="image" imageSrcSet="/_next/image/?url=%2F_next%2Fstatic%2Fmedia%2Feclipse-top.a338658d.png&amp;w=1920&amp;q=75&amp;dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve 1x" fetchPriority="high"/><link rel="stylesheet" href="/_next/static/css/2a2f849d6f345c35.css?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/1b7ebf9df0d571ae.css?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-2eb718e7b5141997.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve"/><script src="/_next/static/chunks/fd9d1056-256d87e6d0195880.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/7023-5dbd7dfa808aa127.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/main-app-b8d8f654a4c3de8b.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/9009-0cd892eb381ef39f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/5223-924afc0af4c53064.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/2792-fa16fa83e234844b.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/app/layout-3142c1b00380dd49.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/c15bf2b0-77a7fe2edf0e5bbc.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/8173-30cb3bf179be30fe.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/231-8dcfbd28a90c5d8c.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/9694-0e03a8f218864453.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/4220-7dc82827145f5c67.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/8492-3b90b6c0ed21004c.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/9783-b99abd041c65f619.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/1928-1e98ebc6d71bc41f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/5632-c16f65d3b85ec224.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/2104-6224d840753b6403.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/5030-951b5accc56f67a6.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/app/(blog)/blog/page-e0ac88d1c7c3a619.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/3940-66c9f0077154b71a.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/1592-861e30ea675fe617.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/2004-c54969ea7b791b60.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/2551-25d3d36742795948.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/app/(blog)/blog/layout-9a00538124e3a821.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script src="/_next/static/chunks/app/(blog)/blog/%5B...uri%5D/page-e2f886e2b299a8ca.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><link rel="preload" href="https://dev.visualwebsiteoptimizer.com" as="script"/><link rel="preload" href="https://js.qualified.com/qualified.js" as="script"/><link rel="preload" href="https://www.googletagmanager.com/gtm.js?id=GTM-MRSPFVL" as="script"/><link rel="preload" href="//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js" as="script"/><link rel="preload" href="https://www.googletagmanager.com/gtag/js?id=UA-52746336-1" as="script"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/intersect.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/city-1.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/12/shield-check.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/suggestion.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/suitcase.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/support.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/rebels.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/lot-of-cash.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/healthcare.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/shop.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/industry.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/12/list.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/planet.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/settings-profiles.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/log-in.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/computer.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/center-align.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/calendar.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/group.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/multi-bubble.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/tools.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/cloud.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/database.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/star.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/white-flag.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/multi-window.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/google-docs.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/graduation-cap.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/media-video.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/sparks.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/rocket.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/rss-feed.svg"/><link rel="preload" as="image" href="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/chat-lines.svg"/><link rel="preload" as="image" href="/_next/static/media/anonymous-author.9fb47b5c.webp"/><title>Introduction to Trino Cost-Based Optimizer | Starburst</title><meta name="description" content="Trino Cost-based optimizer makes decisions based on several factors, including shape of the query, filters and table statistics."/><meta name="facebook-domain-verification" content="8pp85eyur61kj2mywwvmldhbve10sf"/><meta property="og:title" content="Introduction to Trino Cost-Based Optimizer | Starburst"/><meta property="og:description" content="Trino Cost-based optimizer makes decisions based on several factors, including shape of the query, filters and table statistics."/><meta property="og:image" content="https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/tirza-van-dijk-I8OhOu-wLO4-unsplash-scaled.jpg"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="Introduction to Trino Cost-Based Optimizer | Starburst"/><meta name="twitter:description" content="Trino Cost-based optimizer makes decisions based on several factors, including shape of the query, filters and table statistics."/><meta name="twitter:image" content="https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/tirza-van-dijk-I8OhOu-wLO4-unsplash-scaled.jpg"/><link rel="icon" href="/favicon-l.png" media="(prefers-color-scheme: light)"/><link rel="icon" href="/favicon-d.png" media="(prefers-color-scheme: dark)"/><meta name="next-size-adjust"/><script>(self.__next_s=self.__next_s||[]).push([0,{"children":"\n window._vwo_code || (function() {\nvar account_id=652006,\nversion=2.1,\nsettings_tolerance=2000,\nhide_element='body',\nhide_element_style = 'opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;transition:none !important;',\n/* DO NOT EDIT BELOW THIS LINE */\nf=false,w=window,d=document,v=d.querySelector('#vwoCode'),cK='_vwo_'+account_id+'_settings',cc={};try{var c=JSON.parse(localStorage.getItem('_vwo_'+account_id+'_config'));cc=c&&typeof c==='object'?c:{}}catch(e){}var stT=cc.stT==='session'?w.sessionStorage:w.localStorage;code={nonce:v&&v.nonce,use_existing_jquery:function(){return typeof use_existing_jquery!=='undefined'?use_existing_jquery:undefined},library_tolerance:function(){return typeof library_tolerance!=='undefined'?library_tolerance:undefined},settings_tolerance:function(){return cc.sT||settings_tolerance},hide_element_style:function(){return'{'+(cc.hES||hide_element_style)+'}'},hide_element:function(){if(performance.getEntriesByName('first-contentful-paint')[0]){return''}return typeof cc.hE==='string'?cc.hE:hide_element},getVersion:function(){return version},finish:function(e){if(!f){f=true;var t=d.getElementById('_vis_opt_path_hides');if(t)t.parentNode.removeChild(t);if(e)(new Image).src='https://dev.visualwebsiteoptimizer.com/ee.gif?a='+account_id+e}},finished:function(){return f},addScript:function(e){var t=d.createElement('script');t.type='text/javascript';if(e.src){t.src=e.src}else{t.text=e.text}v&&t.setAttribute('nonce',v.nonce);d.getElementsByTagName('head')[0].appendChild(t)},load:function(e,t){var n=this.getSettings(),i=d.createElement('script'),r=this;t=t||{};if(n){i.textContent=n;d.getElementsByTagName('head')[0].appendChild(i);if(!w.VWO||VWO.caE){stT.removeItem(cK);r.load(e)}}else{var o=new XMLHttpRequest;o.open('GET',e,true);o.withCredentials=!t.dSC;o.responseType=t.responseType||'text';o.onload=function(){if(t.onloadCb){return t.onloadCb(o,e)}if(o.status===200||o.status===304){w._vwo_code.addScript({text:o.responseText})}else{w._vwo_code.finish('&e=loading_failure:'+e)}};o.onerror=function(){if(t.onerrorCb){return t.onerrorCb(e)}w._vwo_code.finish('&e=loading_failure:'+e)};o.send()}},getSettings:function(){try{var e=stT.getItem(cK);if(!e){return}e=JSON.parse(e);if(Date.now()>e.e){stT.removeItem(cK);return}return e.s}catch(e){return}},init:function(){if(d.URL.indexOf('__vwo_disable__')>-1)return;var e=this.settings_tolerance();w._vwo_settings_timer=setTimeout(function(){w._vwo_code.finish();stT.removeItem(cK)},e);var t;if(this.hide_element()!=='body'){t=d.createElement('style');var n=this.hide_element(),i=n?n+this.hide_element_style():'',r=d.getElementsByTagName('head')[0];t.setAttribute('id','_vis_opt_path_hides');v&&t.setAttribute('nonce',v.nonce);t.setAttribute('type','text/css');if(t.styleSheet)t.styleSheet.cssText=i;else t.appendChild(d.createTextNode(i));r.appendChild(t)}else{t=d.getElementsByTagName('head')[0];var i=d.createElement('div');i.style.cssText='z-index: 2147483647 !important;position: fixed !important;left: 0 !important;top: 0 !important;width: 100% !important;height: 100% !important;background: white !important;display: block !important;';i.setAttribute('id','_vis_opt_path_hides');i.classList.add('_vis_hide_layer');t.parentNode.insertBefore(i,t.nextSibling)}var o=window._vis_opt_url||d.URL,s='https://dev.visualwebsiteoptimizer.com/j.php?a='+account_id+'&u='+encodeURIComponent(o)+'&vn='+version;if(w.location.search.indexOf('_vwo_xhr')!==-1){this.addScript({src:s})}else{this.load(s+'&x=true')}}};w._vwo_code=code;code.init();})();(function(){var i=window;function t(){if(i._vwo_code){var e=t.hidingStyle=document.getElementById('_vis_opt_path_hides')||t.hidingStyle;if(!i._vwo_code.finished()&&!_vwo_code.libExecuted&&(!i.VWO||!VWO.dNR)){if(!document.getElementById('_vis_opt_path_hides')){document.getElementsByTagName('head')[0].appendChild(e)}requestAnimationFrame(t)}}}t()})();\n","id":"vwo-setup"}])</script><script>(self.__next_s=self.__next_s||[]).push(["https://dev.visualwebsiteoptimizer.com",{"id":"vwo-library"}])</script><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" noModule=""></script></head><body class="bg-smokeyBlack" data-theme="light"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><header class="group/checkbox navbar relative z-10 bg-smokeyBlack p-0" data-theme="dark"><div class="relative z-10 mx-auto w-full bg-smokeyBlack px-4 py-5 lg:container md:px-8 xl:px-24 xl:py-10 max-lg:hidden"><a class="me-3 min-w-[151px] shrink-0 rounded-lg py-1 focus-visible:outline focus-visible:outline-white xl:me-8" href="/"><img src="/_next/static/media/starburst_logo.654cb3e5.svg" alt="Starburst logo" height="40" class="shrink-0 object-contain"/></a><nav class="hidden flex-1 justify-between lg:flex"><ul class="lg:text-base flex items-center gap-1 text-sm text-white 2xl:gap-6"><li class="group/mega dropdown dropdown-bottom dropdown-hover static shrink-0 rounded-lg p-2 outline-1 has-[:focus-visible]:outline has-[:focus-visible]:outline-white" data-menu-item="Why Starburst"><div tabindex="0" role="button" class="text-white transition-colors duration-200 group-hover/mega:text-purple">Why Starburst</div><div class="pointer-events-none fixed left-0 right-0 mt-6 h-screen opacity-0 backdrop-blur-sm transition-opacity !duration-300 group-hover/mega:opacity-100"></div><div class="dropdown-content absolute !top-0 left-0 !mt-[3.5rem] w-full !scale-100 pt-2 !duration-0 xl:!mt-[5rem] xl:pt-6"><div class="shadow opacity-0 transition-opacity !duration-300 group-hover/mega:opacity-100"><div class="container relative mx-auto px-4 md:px-8 xl:px-24"><div class="relative w-full overflow-hidden rounded-box bg-smokeyBlack p-14 shadow-[inset_0_0_0_1px_rgba(255,255,255,0.1),inset_0_0_0_1px_rgba(255,255,255,0.1)]"><div class="absolute inset-0 -top-20 z-0 h-14 w-28 flex-none flex-grow-0 bg-purple blur-[1.75rem] transition-all duration-300" style="top:-10rem;left:0"></div><div class="grid grid-cols-3 gap-8"><div class="col-span-1 space-y-4"><div class="text-lg font-medium"><p class="ps-2 text-sm text-gray-600">Comparison</p></div><ul class="flex-1 flex flex-col"><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/why-starburst/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/trophy.svg" alt="Why Starburst" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Why Starburst</span><span class="text-md block text-gray-600">Learn our benefits</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/starburst-vs-trino/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/intersect.svg" alt="Starburst vs Trino" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Starburst vs Trino</span><span class="text-md block text-gray-600">Compare Starburst</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li></ul></div><div class="col-span-2 flex flex-col space-y-4"><div class="text-lg font-medium"><p class="ps-2 text-sm text-gray-600">Customers</p></div><ul class="flex-1 grid lg:grid-cols-2 lg:gap-x-8"><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/customers/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/city-1.svg" alt="Customers at Starburst" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Customers at Starburst</span><span class="text-md block text-gray-600">Client solutions</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/about/security/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/12/shield-check.svg" alt="Security &amp; Trust" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Security &amp; Trust</span><span class="text-md block text-gray-600">Data safety focus</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/resources/?category=case-study"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/suggestion.svg" alt="Customer Stories" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Customer Stories</span><span class="text-md block text-gray-600">Success tales</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/professional-services/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/suitcase.svg" alt="Professional Services" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Professional Services</span><span class="text-md block text-gray-600">Expert solutions</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/learn/support/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/support.svg" alt="Support" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Support</span><span class="text-md block text-gray-600">Get help 24/7</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/customers/starburst-data-rebels/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/rebels.svg" alt="Starburst Data Rebels" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Starburst Data Rebels</span><span class="text-md block text-gray-600">Empowering innovation</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li></ul></div></div></div></div></div></div></li><li class="group/mega dropdown dropdown-bottom dropdown-hover static shrink-0 rounded-lg p-2 outline-1 has-[:focus-visible]:outline has-[:focus-visible]:outline-white" data-menu-item="Products"><div tabindex="0" role="button" class="text-white transition-colors duration-200 group-hover/mega:text-purple">Products</div><div class="pointer-events-none fixed left-0 right-0 mt-6 h-screen opacity-0 backdrop-blur-sm transition-opacity !duration-300 group-hover/mega:opacity-100"></div><div class="dropdown-content absolute !top-0 left-0 !mt-[3.5rem] w-full !scale-100 pt-2 !duration-0 xl:!mt-[5rem] xl:pt-6"><div class="shadow opacity-0 transition-opacity !duration-300 group-hover/mega:opacity-100"><div class="container relative mx-auto px-4 md:px-8 xl:px-24"><div class="relative w-full overflow-hidden rounded-box bg-smokeyBlack p-14 shadow-[inset_0_0_0_1px_rgba(255,255,255,0.1),inset_0_0_0_1px_rgba(255,255,255,0.1)]"><div class="absolute inset-0 -top-20 z-0 h-14 w-28 flex-none flex-grow-0 bg-purple blur-[1.75rem] transition-all duration-300" style="top:-10rem;left:0"></div><div class="flex gap-8"><div class="flex-1 space-y-4 card"><div class="text-lg font-medium h-full"><a class="group flex h-full w-full items-center justify-between gap-4 rounded-2xl bg-gray-900 p-2 p-6 py-10 transition-colors duration-100 ease-in-out hover:bg-[#424242]" href="/starburst-galaxy/"><div class="flex w-fit flex-row items-start gap-4"><div class="flex flex-col justify-between lg:min-h-40 xl:min-h-48"><span class="block text-white text-display-sm xl:w-1/2">Starburst Galaxy</span><div class="flex items-end justify-between"><span class="block text-sm text-gray-600 lg:w-3/4 xl:w-2/3">Fully managed lakehouse from data ingestion to data sharing</span><span class="material-symbols-rounded text-[1.25rem] text-gray-600">arrow_right_alt</span></div></div></div></a></div></div><div class="flex-1 space-y-4 card"><div class="text-lg font-medium h-full"><a class="group flex h-full w-full items-center justify-between gap-4 rounded-2xl bg-gray-900 p-2 p-6 py-10 transition-colors duration-100 ease-in-out hover:bg-[#424242]" href="/starburst-enterprise/"><div class="flex w-fit flex-row items-start gap-4"><div class="flex flex-col justify-between lg:min-h-40 xl:min-h-48"><span class="block text-white text-display-sm xl:w-1/2">Starburst Enterprise</span><div class="flex items-end justify-between"><span class="block text-sm text-gray-600 lg:w-3/4 xl:w-2/3">Self-managed lakehouse with 7x more horsepower than OS Trino</span><span class="material-symbols-rounded text-[1.25rem] text-gray-600">arrow_right_alt</span></div></div></div></a></div></div><div class="flex-1 space-y-4 card"><div class="text-lg font-medium h-full"><a class="group flex h-full w-full items-center justify-between gap-4 rounded-2xl bg-gray-900 p-2 p-6 py-10 transition-colors duration-100 ease-in-out hover:bg-[#424242]" href="/dell/"><div class="flex w-fit flex-row items-start gap-4"><div class="flex flex-col justify-between lg:min-h-40 xl:min-h-48"><span class="block text-white text-display-sm xl:w-1/2">Dell Data Lakehouse</span><div class="flex items-end justify-between"><span class="block text-sm text-gray-600 lg:w-3/4 xl:w-2/3">Modern on-premises storage, SQL engine, and compute for on-prem and hybrid lakehouses</span><span class="material-symbols-rounded text-[1.25rem] text-gray-600">arrow_right_alt</span></div></div></div></a></div></div></div></div></div></div></div></li><li class="group/mega dropdown dropdown-bottom dropdown-hover static shrink-0 rounded-lg p-2 outline-1 has-[:focus-visible]:outline has-[:focus-visible]:outline-white" data-menu-item="Solutions"><div tabindex="0" role="button" class="text-white transition-colors duration-200 group-hover/mega:text-purple">Solutions</div><div class="pointer-events-none fixed left-0 right-0 mt-6 h-screen opacity-0 backdrop-blur-sm transition-opacity !duration-300 group-hover/mega:opacity-100"></div><div class="dropdown-content absolute !top-0 left-0 !mt-[3.5rem] w-full !scale-100 pt-2 !duration-0 xl:!mt-[5rem] xl:pt-6"><div class="shadow opacity-0 transition-opacity !duration-300 group-hover/mega:opacity-100"><div class="container relative mx-auto px-4 md:px-8 xl:px-24"><div class="relative w-full overflow-hidden rounded-box bg-smokeyBlack p-14 shadow-[inset_0_0_0_1px_rgba(255,255,255,0.1),inset_0_0_0_1px_rgba(255,255,255,0.1)]"><div class="absolute inset-0 -top-20 z-0 h-14 w-28 flex-none flex-grow-0 bg-purple blur-[1.75rem] transition-all duration-300" style="top:-10rem;left:0"></div><div class="flex gap-8"><div class="flex flex-col space-y-4 border-t border-[#424242] pt-4 lg:w-1/3"><div class="text-lg font-medium"><p class="ps-2 text-sm text-gray-600">Use cases</p></div><ul class="flex-1 flex flex-col"><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/solutions/open-data-lakehouse/"><span class="flex w-fit flex-row items-start gap-4"><span><span class="text-md block text-white">Open Data Lakehouse</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/platform/icehouse/"><span class="flex w-fit flex-row items-start gap-4"><span><span class="text-md block text-white">Icehouse Architecture</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/info/distributed-data-mesh-resource-center/"><span class="flex w-fit flex-row items-start gap-4"><span><span class="text-md block text-white">Data Mesh</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/solutions/ai/"><span class="flex w-fit flex-row items-start gap-4"><span><span class="text-md block text-white">Artificial Intelligence</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/solutions/elt-data-processing/"><span class="flex w-fit flex-row items-start gap-4"><span><span class="text-md block text-white">ELT Data Processing</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/solutions/data-applications/"><span class="flex w-fit flex-row items-start gap-4"><span><span class="text-md block text-white">Data Applications</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/solutions/data-migrations/"><span class="flex w-fit flex-row items-start gap-4"><span><span class="text-md block text-white">Data Migrations</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/solutions/data-products/"><span class="flex w-fit flex-row items-start gap-4"><span><span class="text-md block text-white">Data Products</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/federal/"><span class="flex w-fit flex-row items-start gap-4"><span><span class="text-md block text-white">Starburst Enterprise for Government</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/solutions/data-migrations/hadoop-modernization/"><span class="flex w-fit flex-row items-start gap-4"><span><span class="text-md block text-white">Hadoop Modernization</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li></ul></div><div class="flex flex-col space-y-4 border-t border-[#424242] pt-4 lg:w-1/3"><div class="text-lg font-medium"><p class="ps-2 text-sm text-gray-600">Industry</p></div><ul class="flex-1 flex flex-col"><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/solutions/industry/financial-services/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/lot-of-cash.svg" alt="Financial Services" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Financial Services</span><span class="text-md block text-gray-600">Data-driven banking</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/solutions/industry/healthcare-and-life-sciences/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/healthcare.svg" alt="Healthcare &amp; Life Sciences" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Healthcare &amp; Life Sciences</span><span class="text-md block text-gray-600">Innovations in care</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/solutions/industry/retail-consumer-packaged-goods/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/shop.svg" alt="Retail &amp; CPG" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Retail &amp; CPG</span><span class="text-md block text-gray-600">Insights for growth</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/platform/starburst-enterprise/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/industry.svg" alt="Manufacturing" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Manufacturing</span><span class="text-md block text-gray-600">Smarter production</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li></ul></div><div class="flex flex-col space-y-4 border-t border-[#424242] pt-4 lg:w-1/3"><div class="text-lg font-medium"><p class="ps-2 text-sm text-gray-600">Partners</p></div><ul class="flex-1 flex flex-col"><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/partner-listing/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/12/list.svg" alt="Partner Listing" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Partner Listing</span><span class="text-md block text-gray-600">Meet Our Partners</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="https://accounts.skilljar.com/accounts/login/?t=32rio14maro27&amp;d=2z7ddtjqi09es&amp;next=%2Fauth%2Fendpoint%2Flogin%2Fresult%3Fnext%3D%252F%26d%3D2z7ddtjqi09es"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/planet.svg" alt="Starburst Orbit" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Starburst Orbit</span><span class="text-md block text-gray-600">Learning Portal</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/partners/become-a-partner/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/settings-profiles.svg" alt="Become a Partner" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Become a Partner</span><span class="text-md block text-gray-600">Join our network</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="https://partners.starburstdata.com/?__hstc=81614408.a0528845c6a3bab6567bb0ba56ca3b08.1688053347051.1689974773529.1689983551853.46&amp;__hssc=81614408.6.1689983551853&amp;__hsfp=3812163218"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/log-in.svg" alt="Partner Login" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Partner Login</span><span class="text-md block text-gray-600">Partner portal access</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/dell/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/computer.svg" alt="Dell" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Dell</span><span class="text-md block text-gray-600">Powered by Starburst</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li></ul></div></div></div></div></div></div></li><li class="group/mega dropdown dropdown-bottom dropdown-hover static shrink-0 rounded-lg p-2 outline-1 has-[:focus-visible]:outline has-[:focus-visible]:outline-white" data-menu-item="Pricing"><a class="text-white transition-colors duration-200 group-hover/mega:text-purple" href="/pricing/">Pricing</a></li><li class="group/mega dropdown dropdown-bottom dropdown-hover static shrink-0 rounded-lg p-2 outline-1 has-[:focus-visible]:outline has-[:focus-visible]:outline-white" data-menu-item="Resources"><div tabindex="0" role="button" class="text-white transition-colors duration-200 group-hover/mega:text-purple">Resources</div><div class="pointer-events-none fixed left-0 right-0 mt-6 h-screen opacity-0 backdrop-blur-sm transition-opacity !duration-300 group-hover/mega:opacity-100"></div><div class="dropdown-content absolute !top-0 left-0 !mt-[3.5rem] w-full !scale-100 pt-2 !duration-0 xl:!mt-[5rem] xl:pt-6"><div class="shadow opacity-0 transition-opacity !duration-300 group-hover/mega:opacity-100"><div class="container relative mx-auto px-4 md:px-8 xl:px-24"><div class="relative w-full overflow-hidden rounded-box bg-smokeyBlack p-14 shadow-[inset_0_0_0_1px_rgba(255,255,255,0.1),inset_0_0_0_1px_rgba(255,255,255,0.1)]"><div class="absolute inset-0 -top-20 z-0 h-14 w-28 flex-none flex-grow-0 bg-purple blur-[1.75rem] transition-all duration-300" style="top:-10rem;left:0"></div><div class="flex flex-col flex-wrap gap-8 lg:max-h-[30rem]"><div class=" space-y-4 border-t border-[#424242] pt-4 lg:w-[calc(33.3%-1.33rem)]"><div class="text-lg font-medium"><p class="ps-2 text-sm text-gray-600">Events</p></div><ul class="flex-1 flex flex-col"><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/datanova/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/center-align.svg" alt="Datanova" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Datanova</span><span class="text-md block text-gray-600">Shaping the future of data</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/learn/events-webinars/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/calendar.svg" alt="Event Calendar" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Event Calendar</span><span class="text-md block text-gray-600">Upcoming gatherings</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li></ul></div><div class=" space-y-4 border-t border-[#424242] pt-4 lg:w-[calc(33.3%-1.33rem)]"><div class="text-lg font-medium"><p class="ps-2 text-sm text-gray-600">Connect</p></div><ul class="flex-1 flex flex-col"><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/community/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/group.svg" alt="Community" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Community</span><span class="text-md block text-gray-600">Connect and share</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="https://www.starburst.io/community/forum/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/multi-bubble.svg" alt="Forum" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Forum</span><span class="text-md block text-gray-600">Discuss and discover</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li></ul></div><div class=" space-y-4 border-t border-[#424242] pt-4 lg:w-[calc(33.3%-1.33rem)]"><div class="text-lg font-medium"><p class="ps-2 text-sm text-gray-600">Documentation</p></div><ul class="flex-1 flex flex-col"><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="https://docs.starburst.io/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/tools.svg" alt="Technical Overview" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Technical Overview</span><span class="text-md block text-gray-600">Helpful materials</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="https://docs.starburst.io/starburst-galaxy/index.html"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/cloud.svg" alt="Starburst Galaxy" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Starburst Galaxy</span><span class="text-md block text-gray-600">User guides</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="https://docs.starburst.io/latest/index.html"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/database.svg" alt="Starburst Enterprise" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Starburst Enterprise</span><span class="text-md block text-gray-600">User guides</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="https://docs.starburst.io/clients/index.html"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/star.svg" alt="Clients" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Clients</span><span class="text-md block text-gray-600">Trusted partnerships</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li></ul></div><div class=" space-y-4 border-t border-[#424242] pt-4 lg:w-[calc(33.3%-1.33rem)]"><div class="text-lg font-medium"><p class="ps-2 text-sm text-gray-600">Blog, Guides &amp; Webinars</p></div><ul class="flex-1 flex flex-col"><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/blog/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/white-flag.svg" alt="Blog" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Blog</span><span class="text-md block text-gray-600">Insights and updates</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/data-glossary/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/multi-window.svg" alt="Data Glossary" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Data Glossary</span><span class="text-md block text-gray-600">Data definitions</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/resources/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/google-docs.svg" alt="Resources" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Resources</span><span class="text-md block text-gray-600">Guides and tools</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li></ul></div><div class=" space-y-4 border-t border-[#424242] pt-4 lg:w-[calc(33.3%-1.33rem)]"><div class="text-lg font-medium"><p class="ps-2 text-sm text-gray-600">Training &amp; Certification</p></div><ul class="flex-1 flex flex-col"><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="https://academy.starburst.io/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/graduation-cap.svg" alt="Starburst Academy" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Starburst Academy</span><span class="text-md block text-gray-600">Training and courses</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/tutorials/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/media-video.svg" alt="Tutorials" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Tutorials</span><span class="text-md block text-gray-600">Step-by-step guides</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li></ul></div></div></div></div></div></div></li><li class="group/mega dropdown dropdown-bottom dropdown-hover static shrink-0 rounded-lg p-2 outline-1 has-[:focus-visible]:outline has-[:focus-visible]:outline-white" data-menu-item="About"><div tabindex="0" role="button" class="text-white transition-colors duration-200 group-hover/mega:text-purple">About</div><div class="pointer-events-none fixed left-0 right-0 mt-6 h-screen opacity-0 backdrop-blur-sm transition-opacity !duration-300 group-hover/mega:opacity-100"></div><div class="dropdown-content absolute !top-0 left-0 !mt-[3.5rem] w-full !scale-100 pt-2 !duration-0 xl:!mt-[5rem] xl:pt-6"><div class="shadow opacity-0 transition-opacity !duration-300 group-hover/mega:opacity-100"><div class="container relative mx-auto px-4 md:px-8 xl:px-24"><div class="relative w-full overflow-hidden rounded-box bg-smokeyBlack p-14 shadow-[inset_0_0_0_1px_rgba(255,255,255,0.1),inset_0_0_0_1px_rgba(255,255,255,0.1)]"><div class="absolute inset-0 -top-20 z-0 h-14 w-28 flex-none flex-grow-0 bg-purple blur-[1.75rem] transition-all duration-300" style="top:-10rem;left:0"></div><div class="flex gap-8"><div class=" space-y-4 border-t border-[#424242] pt-4 lg:w-1/3"><ul class="flex-1 flex flex-col"><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/about/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/sparks.svg" alt="Company" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Company</span><span class="text-md block text-gray-600">About us</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/careers/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/rocket.svg" alt="Careers" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Careers</span><span class="text-md block text-gray-600">Join our team</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li></ul></div><div class=" space-y-4 border-t border-[#424242] pt-4 lg:w-1/3"><ul class="flex-1 flex flex-col"><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/about/newsroom/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/rss-feed.svg" alt="Newsroom" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Newsroom</span><span class="text-md block text-gray-600">News and events</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li><li><a class="group flex w-full items-center justify-between gap-4 rounded-lg bg-smokeyBlack p-2 transition-colors duration-100 ease-in-out hover:bg-gray-900" href="/contact/"><span class="flex w-fit flex-row items-start gap-4"><span class="rounded-md bg-gray-900 p-2 transition-colors duration-100 ease-in-out group-hover:bg-smokeyBlack"><img src="https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/chat-lines.svg" alt="Contact Us" class="text-grey-600 max-w-[20px] text-[1.25rem]"/></span><span><span class="text-md block text-white">Contact Us</span><span class="text-md block text-gray-600">Get in touch</span></span></span><span class="material-symbols-rounded invisible text-[1.25rem] text-gray-600 group-hover:visible">arrow_right_alt</span></a></li></ul></div><div class=" space-y-4 border-t border-[#424242] pt-4 lg:w-1/3"><h4 class="text-display-xs xl:pe-16 2xl:pe-24 2xl:text-display-sm">Starburst’s mission is to free our customers to see the invisible and achieve the impossible</h4></div></div></div></div></div></div></li></ul><ul class="lg:text-base flex items-center gap-1 text-sm text-white 2xl:gap-6"><li class="group/mega dropdown dropdown-bottom dropdown-hover static shrink-0 rounded-lg p-2 outline-1 has-[:focus-visible]:outline has-[:focus-visible]:outline-white" data-menu-item="&lt;div data-open=&quot;searchModal&quot; class=&quot;main-nav-search-item&quot;&gt;&lt;img style=&quot;width:16px;height:16px;margin:0;&quot; src=&quot;https://live-starburst.pantheonsite.io/wp-content/uploads/2022/09/icon_search.png&quot; alt=&quot;Search&quot; /&gt;&lt;/div&gt;"><a class="text-white transition-colors duration-200 group-hover/mega:text-purple" href="#"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17 17L21 21" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 11C3 15.4183 6.58172 19 11 19C13.213 19 15.2161 18.1015 16.6644 16.6493C18.1077 15.2022 19 13.2053 19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11Z" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></a></li><li class="group/mega dropdown dropdown-bottom dropdown-hover static shrink-0 rounded-lg p-2 outline-1 has-[:focus-visible]:outline has-[:focus-visible]:outline-white" data-menu-item="Contact Us"><a class="text-white transition-colors duration-200 group-hover/mega:text-purple" href="/contact/">Contact Us</a></li><li class="group/mega dropdown dropdown-bottom dropdown-hover static shrink-0 rounded-lg p-2 outline-1 has-[:focus-visible]:outline has-[:focus-visible]:outline-white" data-menu-item="Login"><a class="text-white transition-colors duration-200 group-hover/mega:text-purple" href="https://galaxy.starburst.io/login">Login</a></li><li class="group/mega dropdown dropdown-bottom dropdown-hover static shrink-0 p-2 outline-1 has-[:focus-visible]:outline has-[:focus-visible]:outline-white rounded-[6.25rem] pb-1 pe-0 ps-1 pt-1" data-menu-item="Start Free"><a class="btn inline-flex h-auto items-center justify-center gap-2 rounded-[6.25rem] border-0 text-center font-normal shadow-none transition-colors [overflow-wrap:anywhere] focus:outline-none focus-visible:outline focus-visible:outline-1 disabled:pointer-events-none focus-visible:outline-white disabled:bg-dark-action-disabled disabled:text-dark-text-invert bg-dark-action-primary text-white hover:bg-dark-action-primary-hover active:bg-dark-action-primary-hover px-[1.375rem] py-2 text-md !min-h-[1rem] !px-[1rem] !py-1 !text-sm xl:!min-h-[3rem] xl:!px-[1.375rem] xl:!py-2" href="/free-trial/">Start Free<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.50003 11.25L11.25 1.49997M11.25 1.49997V10.86M11.25 1.49997H1.89004" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></a></li></ul></nav></div><div class="relative z-10 mx-auto w-full bg-smokeyBlack px-4 py-5 lg:container md:px-8 xl:px-24 xl:py-10 peer flex justify-between gap-4 lg:hidden"><a class="me-3 min-w-[151px] shrink-0 rounded-lg py-1 focus-visible:outline focus-visible:outline-white xl:me-8" href="/"><img src="/_next/static/media/starburst_logo.654cb3e5.svg" alt="Starburst logo" height="40" class="shrink-0 object-contain"/></a><label class="swap swap-rotate"><input type="checkbox" class="drawer-toggle"/><svg class="swap-off fill-white" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><path d="M64,384H448V341.33H64Zm0-106.67H448V234.67H64ZM64,128v42.67H448V128Z"></path></svg><svg class="swap-on fill-white" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><polygon points="400 145.49 366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49"></polygon></svg></label></div></header><main class="relative z-[1] bg-smokeyBlack"><div class="container relative mx-auto px-4 md:px-8 xl:px-24 z-10 pb-[100px]"><div class="mb-10 flex flex-col items-start justify-between gap-6 pt-12 md:flex-row lg:pt-24"><div class="flex flex-1 flex-col"><h1 class="pb-12 text-[2.5rem] leading-[3.25rem] text-white prose-img:max-h-60 prose-img:w-full prose-img:max-w-lg md:text-[4rem] md:leading-[4.25rem]">Introduction to Trino Cost-Based Optimizer</h1><div class="flex items-start justify-between gap-6"><div><time class="text-sm text-gray-600">April 9, 2018</time></div><div class="block md:hidden"><ul class="flex flex-col gap-8"><li class="flex items-center gap-4"><img src="/_next/static/media/anonymous-author.9fb47b5c.webp" alt="Piotr Findeisen" class="block rounded-full border border-solid border-white" width="40" height="40"/><div class="flex max-w-56 flex-col"><p class="text-xs font-semibold text-white">Piotr Findeisen</p><p class="text-xs text-gray-600">Co-founder and Software Engineer</p><p class="text-xs text-gray-600">Starburst</p></div></li></ul></div></div></div><div class="hidden md:block"><ul class="flex flex-col gap-8"><li class="flex items-center gap-4"><img src="/_next/static/media/anonymous-author.9fb47b5c.webp" alt="Piotr Findeisen" class="block rounded-full border border-solid border-white" width="40" height="40"/><div class="flex max-w-56 flex-col"><p class="text-xs font-semibold text-white">Piotr Findeisen</p><p class="text-xs text-gray-600">Co-founder and Software Engineer</p><p class="text-xs text-gray-600">Starburst</p></div></li></ul></div></div></div><div class="relative bg-white -mt-32 md:-mt-48 xl:-mt-64"><div><div class="absolute left-2/4 top-0 h-auto w-[100%] -translate-x-2/4 overflow-hidden lg:left-0 lg:h-[15rem] lg:w-full lg:translate-x-0 xl:h-[20rem] 2xl:h-[25rem]"><img alt="" fetchPriority="high" width="2880" height="433" decoding="async" data-nimg="1" class="-ml-px h-auto w-[calc(100%_+_2px)] max-w-[calc(100%_+_2px)] object-contain lg:h-full lg:object-fill" style="color:transparent" srcSet="/_next/image/?url=%2F_next%2Fstatic%2Fmedia%2Feclipse-top.a338658d.png&amp;w=1920&amp;q=75&amp;dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve 1x" src="/_next/image/?url=%2F_next%2Fstatic%2Fmedia%2Feclipse-top.a338658d.png&amp;w=1920&amp;q=75&amp;dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve"/></div><div class="absolute bottom-0 left-2/4 h-auto w-[100%] -translate-x-2/4 overflow-hidden lg:left-0 lg:h-[15rem] lg:w-full lg:translate-x-0 xl:h-[20rem] 2xl:h-[25rem]"><img alt="" loading="lazy" width="2880" height="463" decoding="async" data-nimg="1" class="-ml-px h-auto w-[calc(100%_+_2px)] max-w-[calc(100%_+_2px)] object-contain lg:h-full lg:object-fill" style="color:transparent" srcSet="/_next/image/?url=%2F_next%2Fstatic%2Fmedia%2Feclipse-bottom.96f049e9.png&amp;w=1920&amp;q=75&amp;dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve 1x" src="/_next/image/?url=%2F_next%2Fstatic%2Fmedia%2Feclipse-bottom.96f049e9.png&amp;w=1920&amp;q=75&amp;dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve"/></div></div><div class="relative min-h-[600px] py-32 md:py-48 xl:py-64"><div class="container relative mx-auto px-4 md:px-8 xl:px-24 pb-16 md:pb-24"><div class="mt-24 block grid-cols-12 gap-x-10 gap-y-6 sm:gap-y-24 md:grid"><div class="col-span-12 gap-12 border-t border-solid border-t-[#080808] md:col-span-4 lg:col-span-3"><div class="md:sticky md:top-[0.6rem]"><div class=""><p class="color={#080808} py-6 text-md">Share</p><div class="flex gap-4"><button class="react-share__ShareButton h-10 w-10" style="background-color:transparent;border:none;padding:0;font:inherit;color:inherit;cursor:pointer"><img class="h-10 w-10 rounded-full border border-solid border-[#080808]" src="/_next/static/media/linkedin.3e7e21af.svg" alt="Linkedin icon" height="40" width="40"/></button><button class="react-share__ShareButton h-10 w-10" style="background-color:transparent;border:none;padding:0;font:inherit;color:inherit;cursor:pointer"><img class="h-10 w-10 rounded-full border border-solid border-[#080808]" src="/_next/static/media/facebook.07186c97.svg" alt="Facebook icon" height="40" width="40"/></button><button class="react-share__ShareButton h-10 w-10" style="background-color:transparent;border:none;padding:0;font:inherit;color:inherit;cursor:pointer"><img class="h-10 w-10 rounded-full border border-solid border-[#080808]" src="/_next/static/media/twitterx.eef7c637.svg" alt="Twitter icon" height="40" width="40"/></button></div></div><div><h4 class="color-[#757575] m-0 mb-5 mt-8 text-xl font-semibold">More deployment options</h4><ul class="flex flex-col gap-4"><li class="border-t border-solid border-t-[#080808] py-4"><a class="text-sm text-[#757575] hover:text-[rgba(117,117,117,0.6)]" href="/platform/starburst-enterprise/">Request Enterprise trial license key <span class="ml-1">→</span></a></li></ul></div></div></div><div class="col-span-12 flex max-w-full flex-col gap-4 border-t border-solid border-t-[#080808] pt-14 md:col-span-8 md:pt-6 lg:col-span-9"><div class="prose-sb-full min-w-full"><p>The <a href="https://live-starburst.pantheonsite.io/wp-content/uploads/2018/09/Presto-Cost-Based-Query-Optimizer-WP.pdf">Cost-Based Optimizer (CBO)</a> we have released just recently achieves stunning results in industry standard benchmarks (and not only in benchmarks)! The CBO makes decisions based on several factors, including shape of the query, filters and table statistics. I would like to tell you more about what the table statistics are in <a href="https://www.starburst.io/learn/trino/">Trino</a> and what information can be derived from them.</p> <h2>Background</h2> <p>Before diving deep into how Trino analyzes statistics, let’s set up a stage so that our considerations are framed in some context. Let&#8217;s consider a Data Scientist who wants to know which customers spend most dollars with the company, based on history of orders (probably to offer them some discounts). They would probably fire up a query like this:</p> <div class="hcb_wrap"> <pre class="prism line-numbers lang-sql" data-lang="SQL"><code>SELECT c.custkey, sum(l.price) FROM customer c, orders o, lineitem l WHERE c.custkey = o.custkey AND l.orderkey = o.orderkey GROUP BY c.custkey ORDER BY sum(l.price) DESC;</code></pre> </div> <p>Now, Trino needs to create an execution plan for this query. It does so by first transforming a query to a plan in the simplest possible way — here it will create CROSS JOINS for “FROM customer c, orders o, lineitem l” part of the query and FILTER for “WHERE c.custkey = o.custkey AND l.orderkey = o.orderkey”. The initial plan is very naïve — CROSS JOINS will produce humongous amounts of intermediate data. There is no point in even trying to execute such a plan and Trino won’t do that. Instead, it applies transformation to make the plan more what user probably wanted, as shown below. Note: for succinctness, only part of the query plan is drawn, without aggregation (“GROUP BY”) and sorting (“ORDER BY”).</p> <p><center><img loading="lazy" decoding="async" class=" wp-image-18127 aligncenter" src="https://live-starburst.pantheonsite.io/wp-content/uploads/2018/04/trino-flow1-1024x494.png" alt="" width="564" height="272" srcset="https://live-starburst.pantheonsite.io/wp-content/uploads/2018/04/trino-flow1-1024x494.png 1024w, https://live-starburst.pantheonsite.io/wp-content/uploads/2018/04/trino-flow1-300x145.png 300w, https://live-starburst.pantheonsite.io/wp-content/uploads/2018/04/trino-flow1.png 1386w" sizes="(max-width: 564px) 100vw, 564px" /></center>&nbsp;</p> <p>Indeed, this is much better than the CROSS JOINS. But we can do even better, if we consider <em>cost</em>.</p> <h2>Cost-Based Optimizer</h2> <p>Without going into database internals on how JOIN is implemented, let’s take for granted that it makes a big difference which table is right and which is left in the JOIN. (Simple explanation would be that the table on the right basically needs to be kept in the memory while JOIN result is calculated). Because of that, the following plans produce same result, but may have different execution time or memory requirements.</p> <p><img decoding="async" class="alignnone size-full wp-image-534" style="width: 549px; display: block; margin: 0px auto;" src="https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/starburst-data-cost-based-optimizer.png" alt="" width="549" /></p> <p>CPU time, memory requirements and network bandwidth usage are the three dimensions that contribute to query execution time, both in single query and concurrent workloads. These dimensions are captured as the <em>cost</em> in Trino.</p> <p>Our Data Scientist knows that most of the customers made at least one order and every order had at least one item (and many orders had many items), so “lineitem” is the biggest table, “orders” is medium and “customer” is the smallest. When joining “customer” and “orders”, having “orders” on the right side of the JOIN is not a good idea! However, how the planner can know that? In the real world, the query planner cannot reliably deduce information just from table <em>names</em>. This is where table statistics kick in.</p> <h3>Table statistics</h3> <p>Trino has <a href="https://docs.starburstdata.com/latest/connector.html">connector-based</a> <a href="https://docs.starburstdata.com/latest/develop/connectors.html">architecture</a>. A connector can provide table and column statistics:</p> <ul> <li>number of rows in a table,</li> <li>number of distinct values in a column,</li> <li>fraction of NULL values in a column,</li> <li>minimum/maximum value in a column,</li> <li>average data size for a column.</li> </ul> <p>Of course, if some information is missing — e.g. average text length in a varchar column is unknown — a connector can still provide other information and Cost-Based Optimizer will be able to use that.</p> <p>In our Data Scientist’s example, data sizes can look something like the following:</p> <p><img decoding="async" class="alignnone size-full wp-image-535" style="width: 600px; display: block; margin: 0px auto;" src="https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/starburst-data-table-statistics.png" alt="" width="600" /></p> <p>Having this knowledge, <a href="https://trino.io/docs/current/optimizer/cost-based-optimizations.html">Trino’s Cost-Based Optimizer</a> will come up with completely different join ordering in the plan.</p> <p><img decoding="async" class="alignnone size-full wp-image-533" style="width: 551px; display: block; margin: 0px auto;" src="https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/results.png" alt="" width="551" /></p> <h3>Filter statistics</h3> <p>As we saw, knowing the sizes of the tables involved in a query is fundamental to properly reordering the joins in the query plan. However, knowing just the sizes is not enough. Returning to our example, the Data Scientist might want to drill down into results of their previous query, to know which customers repeatedly bought and spent most money on a particular item (clearly, this must be some consumable, or a mobile phone). For this, they will use almost identical query as the original one, adding one more condition.</p> <div class="hcb_wrap"> <pre class="prism line-numbers lang-sql" data-lang="SQL"><code>SELECT c.custkey, sum(l.price) FROM customer c, orders o, lineitem l WHERE c.custkey = o.custkey AND l.orderkey = o.orderkey   AND l.item = 106170 GROUP BY c.custkey ORDER BY sum(l.price) DESC;</code></pre> </div> <p>The additional FILTER might be applied after the JOIN or before. Obviously, filtering as early as possible is the best strategy, but this also means the actual size of the data involved in the JOIN will be different now. In our Data Scientist’s example, the join order will indeed be different.</p> <p><img decoding="async" class="alignnone size-full wp-image-529" style="width: 536px; display: block; margin: 0px auto;" src="https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/filter-statistics.png" alt="" width="536" /></p> <h2>Under the Hood</h2> <h3>Execution Time and Cost</h3> <p>From external perspective, only three things really matter:</p> <ul> <li>execution time,</li> <li>execution cost (in dollars),</li> <li>ability to run (sufficiently) many concurrent queries at a time.</li> </ul> <p>The execution time is often called “wall time” to emphasize that we’re not really interested in “CPU time” or number of machines/nodes/threads involved. Our Data Scientist’s clock on the wall is the ultimate judge. It would be nice if they were not forced to get coffee/eat lunch during each query they run. On the other hand, a CFO will be interested in keeping cluster costs at the lowest possible level (without, of course, impeding employees’ effectiveness). Lastly, a System Administrator needs to ensure that all cluster users can work at the same time. That is, that the cluster can handle many queries at a time, yielding enough throughput that “wall time” observed by each of the users is satisfactory.</p> <p><img decoding="async" class="alignnone size-full wp-image-537" style="width: 379px; display: block; margin: 0px auto;" src="https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/under-the-hood.png" alt="" width="379" /></p> <p>It is possible to optimize for only one of the above dimensions. For example, we can have single node cluster and CFO will be happy (but employees will go somewhere else). Contrarily, we may have thousand node cluster even if the company cannot afford that. Users will be (initially) happy, until the company goes bankrupt. Ultimately, however, we need to balance these trade-offs, which basically means that queries need to be executed as fast as possible, with as little resources as possible.</p> <p>In Trino, this is modeled with the concept of the cost, which captures properties like CPU cost, memory requirements and network bandwidth usage. Different variants of a query execution plan are explored, assigned a cost and compared. The variant with the least overall cost is selected for execution. This approach neatly balances the needs of cluster users, administrators and the CFO.</p> <p>The cost of each operation in the query plan is calculated in a way appropriate for the type of the operation, taking into account statistics of the data involved in the operation. Now, let’s see where the statistics come from.</p> <h3>Statistics</h3> <p>In our Data Scientist’s example, the row counts for tables were taken directly from table statistics, i.e. provided by a connector. But where did “~3K rows” come from? Let’s dive into some nitty-gritty details.</p> <p>A query execution plan is made of “building block” operations, including:</p> <ul> <li>table scans (reading the table; at runtime this is actually combined with a filter)</li> <li>filters (SQL’s WHERE clause or any other conditions deduced by the query planner)</li> <li>projections (i.e. computing output expressions)</li> <li>joins</li> <li>aggregations (in fact there are a few different “building blocks” for aggregations, but that’s a story for another time)</li> <li>sorting (SQL’s ORDER BY)</li> <li>limiting (SQL’s LIMIT)</li> <li>sorting and limiting combined (SQL’s ORDER BY .. LIMIT .. deserves specialized support)</li> <li>and a lot more!</li> </ul> <p>The way how the statistics are computed for most interesting “building blocks” is discussed below.</p> <h3>Table Scan statistics</h3> <p><img decoding="async" class="alignnone size-full wp-image-536" style="width: 488px; display: block; margin: 0px auto;" src="https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/table-scan-statistics.png" alt="" width="488" /></p> <p>As explained in &#8220;Table statistics&#8221; section, the connector which defines the table is responsible for providing the table statistics. Furthermore, the connector will be informed about any filtering conditions that are to be applied to the data read from the table. This may be important e.g. in the case of Hive partitioned table, where statistics are stored on per-partition basis. If the filtering condition excludes some (or many) partitions, the statistics will consider smaller data set (remaining partitions) and will be more accurate.</p> <p>To recall, a connector can provide the following table and column statistics:</p> <ul> <li>number of rows in a table,</li> <li>number of distinct values in a column,</li> <li>fraction of NULL values in a column,</li> <li>minimum/maximum value in a column,</li> <li>average data size for a column.</li> </ul> <h3>Filter statistics</h3> <p><img decoding="async" class="alignnone size-full wp-image-530" style="width: 472px; display: block; margin: 0px auto;" src="https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/filter-statistics2.png" alt="" width="472" /></p> <p>When considering a filtering operation, a filter’s condition is analyzed and the following estimations are calculated:</p> <ul> <li>what is the probability that data row will pass the filtering condition. From this,  expected number of rows after the filter is derived,</li> <li>fraction of NULL values for columns involved in the filtering condition (for most conditions, this will simply be 0%),</li> <li>number of distinct values for columns involved in the filtering condition,</li> <li>number of distinct values for columns that were not part of the filtering condition, if their original number of distinct values was more than the expected number of data rows that pass the filter.</li> </ul> <p>For example, for a condition like “l.item = 106170” we can observe that:</p> <ul> <li>no rows with “l.item” being NULL will meet the condition,</li> <li>there will be only one distinct value of “l.item” (106170) after the filtering operation,</li> <li>on average, number of data rows expected to pass the filter will be equal to number_of_input_rows * fraction_of_non_nulls / distinct_values. (This assumes, of course, that users most often drill down in the data they really have, which is quite a reasonable assumption and also safe to make).</li> </ul> <h3>Projection statistics</h3> <p><img decoding="async" class="alignnone size-full wp-image-532" style="width: 201px; display: block; margin: 0px auto;" src="https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/projection-statistics.png" alt="" width="201" /></p> <p>Projections (“l.item &#8211; 1 AS iid”) are similar to filters, except that, of course, they do not impact the expected number of rows after the operation.</p> <p>For a projection, the following types of column statistics are calculated (if possible for given projection expression):</p> <ul> <li>number of distinct values produced by the projection,</li> <li>fraction of NULL values produced by the projection,</li> <li>minimum/maximum value produced by the projection.</li> </ul> <p>Naturally, if “iid” is only returned to the user, then these statistics are not useful. However, if it’s later used in filter or join operation, these statistics are important to correctly estimate the number of rows that meet the filter condition or are returned from the join.</p> <h2>Conclusion</h2> <p>Summing up, Trino’s Cost-Based Optimizer is conceptually a very simple thing. Alternative query plans are considered, the best plan is chosen and executed. Details are not so simple, though. Fortunately, to use <a href="https://www.starburst.io/learn/trino/">Trino</a>, one doesn’t need to know all these details. Of course, anyone with a technical inclination that like to wander in database internals is invited to study <a href="https://github.com/trinodb">the Trino code</a>! In the near future, we will be blogging more about stuff important for users and things that matter to database experts as well. Follow our blog or <a href="https://twitter.com/starburstdata/">@starburstdata</a> on Twitter. Last but not least, be sure to <a href="https://www.starburst.io/platform/starburst-enterprise/">take Trino with CBO for a spin</a> today and let us know what is <strong>your</strong> Trino experience!</p> </div><div class="flex w-full flex-col gap-4"></div></div></div></div></div></div></main><div id="pre-footer" class="pointer-events-none relative z-[1] w-full max-lg:-mb-5 max-lg:overflow-hidden max-lg:rounded-b-3xl transition-all duration-300 " style="--component-height:0px;border-left:none;border-right:none"><div id="pre-footer-path" class="relative z-10 w-full bg-smokeyBlack lg:rounded-b-3xl"><div class="relative aspect-[3_/_1] overflow-hidden"><div class="planet-dark"><img alt="Starburst logo" fetchPriority="high" width="1700" height="1700" decoding="async" data-nimg="1" class="mt-[-2%] w-full animate-pulse-short" style="color:transparent" srcSet="/_next/image/?url=%2F_next%2Fstatic%2Fmedia%2Fdark-planet.314d4985.webp&amp;w=1920&amp;q=75&amp;dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve 1x" src="/_next/image/?url=%2F_next%2Fstatic%2Fmedia%2Fdark-planet.314d4985.webp&amp;w=1920&amp;q=75&amp;dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve"/></div></div></div></div><footer class="footer bottom-0 left-0 right-0 mx-auto flex flex-col justify-end bg-offWhite px-2 lg:fixed lg:min-h-screen" data-theme="light"><div class="max-h-800:gap-y-10 container mx-auto grid grid-cols-5 gap-y-12 px-4 pb-12 pt-20 md:px-8 lg:gap-y-[10.5rem] xl:px-24"><div class="col-span-5 lg:col-span-2"><a href="/"><img src="/_next/static/media/starburst-logo-bw.3bc0959e.svg" alt="Starburst logo" height="40" class="w-[142px] shrink-0 object-contain"/></a><p class="mt-4 max-w-sm pe-5 text-[1.75rem] font-light leading-[2.313rem] tracking-[-0.035rem] opacity-70">Best-in-class performance at scale for everyone</p></div><div class="col-span-5 w-full md:mt-[4.5rem] lg:col-span-3 lg:mt-0 lg:justify-self-end"><nav class="grid grid-cols-2 gap-6 md:grid-cols-4"><ul class="max-h-800:gap-[24px] col-span-2 grid grid-cols-2 gap-[50px]"><li class="col-span-1"><span class="mb-3 block text-lg font-bold">Resources</span><ul class="font-light"><li class="mb-2 opacity-70 duration-300 hover:text-smokeyBlack hover:opacity-100"><a class="text-nowrap" href="/resources/">Resource Library</a></li><li class="mb-2 opacity-70 duration-300 hover:text-smokeyBlack hover:opacity-100"><a class="text-nowrap" href="/learn/events-webinars/">Events and Webinars</a></li><li class="mb-2 opacity-70 duration-300 hover:text-smokeyBlack hover:opacity-100"><a class="text-nowrap" href="https://docs.starburst.io/">Documentation</a></li><li class="mb-2 opacity-70 duration-300 hover:text-smokeyBlack hover:opacity-100"><a class="text-nowrap" href="/tutorials/">Tutorials</a></li><li class="mb-2 opacity-70 duration-300 hover:text-smokeyBlack hover:opacity-100"><a class="text-nowrap" href="/blog/">Blog</a></li><li class="mb-2 opacity-70 duration-300 hover:text-smokeyBlack hover:opacity-100"><a class="text-nowrap" href="/blog/what-is-trino/">Open-source Trino</a></li></ul></li><li class="col-span-1"><span class="mb-3 block text-lg font-bold">Get In Touch</span><ul class="font-light"><li class="mb-2 opacity-70 duration-300 hover:text-smokeyBlack hover:opacity-100"><a class="text-nowrap" href="/contact/">Contact Us</a></li><li class="mb-2 opacity-70 duration-300 hover:text-smokeyBlack hover:opacity-100"><a class="text-nowrap" href="/careers/">Careers</a></li><li class="mb-2 opacity-70 duration-300 hover:text-smokeyBlack hover:opacity-100"><a class="text-nowrap" href="https://starburstsupport.force.com/s/login/">Customer Support</a></li><li class="mb-2 opacity-70 duration-300 hover:text-smokeyBlack hover:opacity-100"><a class="text-nowrap" href="https://www.trinoforum.org/">Forum</a></li><li class="mb-2 opacity-70 duration-300 hover:text-smokeyBlack hover:opacity-100"><a class="text-nowrap" href="https://partners.starburstdata.com/">Partner Login</a></li></ul></li></ul><div class="col-span-2 flex flex-col"><div class="border-b border-t border-solid border-y-[#C5C5C5] py-4"><div class="flex justify-between text-display-xs font-light"><span class="max-w-32">Read our reviews on</span><img src="/_next/static/media/g2-seeklogo.fbedb5c2.svg" alt="G2 logo" height="64" width="52"/></div><a href="https://www.g2.com/products/starburst/reviews?utm_source=review-widget" class="mt-3 inline-block duration-200 hover:-translate-y-1 hover:translate-x-1" target="_blank" rel="noopener noreferrer" aria-label="Read Starburst reviews on G2"><svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M1.00005 14L14 0.999958M14 0.999958V13.48M14 0.999958L1.52005 0.999958" stroke="#080808" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></a></div><div class="mt-5 flex w-full justify-between"><a href="https://www.instagram.com/lifeatstarburst/" target="_blank" rel="noopener noreferrer" class="rounded-full"><img src="/_next/static/media/instagram.89a5a5fa.svg" alt="Follow us on Instagram" height="40" width="40" class="duration-200 hover:scale-150"/></a><a href="https://www.youtube.com/c/StarburstData" target="_blank" rel="noopener noreferrer" class="rounded-full"><img src="/_next/static/media/youtube.29a80630.svg" alt="Follow us on YouTube" height="40" width="40" class="duration-200 hover:scale-150"/></a><a href="https://www.linkedin.com/company/starburstdata" target="_blank" rel="noopener noreferrer" class="rounded-full"><img src="/_next/static/media/linkedin.3e7e21af.svg" alt="Connect with us on LinkedIn" height="40" width="40" class="duration-200 hover:scale-150"/></a><a href="https://www.facebook.com/starburstdata" target="_blank" rel="noopener noreferrer" class="rounded-full"><img src="/_next/static/media/facebook.07186c97.svg" alt="Like us on Facebook" height="40" width="40" class="duration-200 hover:scale-150"/></a><a href="https://twitter.com/starburstdata" target="_blank" rel="noopener noreferrer" class="rounded-full"><img src="/_next/static/media/twitterx.eef7c637.svg" alt="Follow us on Twitter" height="40" width="40" class="duration-200 hover:scale-150"/></a></div></div></nav></div><div class="col-span-5 flex gap-6 md:mt-[7.5rem] lg:col-span-2 lg:mt-0"><a class="opacity-70 duration-300 hover:text-smokeyBlack hover:opacity-100" href="/privacy-policy/">Privacy Policy</a><a class="opacity-70 duration-300 hover:text-smokeyBlack hover:opacity-100" href="/terms/">Legal Terms</a><a class="opacity-70 duration-300 hover:text-smokeyBlack hover:opacity-100" href="/cookie-notice/">Cookie Notice</a></div><div class="col-span-5 opacity-70 lg:col-span-3">© Starburst Data, Inc. Starburst and Starburst Data are registered trademarks of Starburst Data, Inc. All rights reserved. Presto®, the Presto logo, Delta Lake, and the Delta Lake logo are trademarks of LF Projects, LLC</div></div></footer><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><script src="/_next/static/chunks/webpack-2eb718e7b5141997.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/media/0f3a385557f1712f-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/media/47cbc4e2adbc5db9-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n3:HL[\"/_next/static/media/623acd25753df814-s.p.otf\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/otf\"}]\n4:HL[\"/_next/static/media/8f65835aa057b6ed-s.p.otf\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/otf\"}]\n5:HL[\"/_next/static/media/ab06f05c30d46390-s.p.otf\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/otf\"}]\n6:HL[\"/_next/static/media/b0047e94e7f0c63f-s.p.otf\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/otf\"}]\n7:HL[\"/_next/static/media/cb07cb684de218c2-s.p.otf\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/otf\"}]\n8:HL[\"/_next/static/media/d18c671c86d7369a-s.p.otf\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/otf\"}]\n9:HL[\"/_next/static/css/2a2f849d6f345c35.css?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"style\"]\na:HL[\"/_next/static/css/1b7ebf9df0d571ae.css?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"style\"]\n"])</script><script>self.__next_f.push([1,"b:I[95751,[],\"\"]\ne:I[39275,[],\"\"]\n10:I[61343,[],\"\"]\n15:I[76130,[],\"\"]\nf:[\"uri\",\"trino-cost-based-optimizer\",\"c\"]\n16:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/2a2f849d6f345c35.css?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/1b7ebf9df0d571ae.css?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$Lb\",null,{\"buildId\":\"urekz0exvdjK4nvOY9zaK\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/blog/trino-cost-based-optimizer\",\"initialTree\":[\"\",{\"children\":[\"(blog)\",{\"children\":[\"blog\",{\"children\":[[\"uri\",\"trino-cost-based-optimizer\",\"c\"],{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(blog)\",{\"children\":[\"blog\",{\"children\":[[\"uri\",\"trino-cost-based-optimizer\",\"c\"],{\"children\":[\"__PAGE__\",{},[[\"$Lc\",\"$Ld\"],null],null]},[\"$\",\"$Le\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(blog)\",\"children\",\"blog\",\"children\",\"$f\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L10\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}],null]},[[\"$L11\",[\"$\",\"main\",null,{\"className\":\"relative z-[1] bg-smokeyBlack\",\"children\":[\"$\",\"$Le\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(blog)\",\"children\",\"blog\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L10\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}]}],\"$L12\"],null],null]},[\"$\",\"$Le\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(blog)\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L10\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}],null]},[\"$L13\",null],null],\"couldBeIntercepted\":false,\"initialHead\":[false,\"$L14\"],\"globalErrorComponent\":\"$15\",\"missingSlots\":\"$W16\"}]]\n"])</script><script>self.__next_f.push([1,"17:I[84080,[\"9009\",\"static/chunks/9009-0cd892eb381ef39f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"5223\",\"static/chunks/5223-924afc0af4c53064.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2792\",\"static/chunks/2792-fa16fa83e234844b.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"3185\",\"static/chunks/app/layout-3142c1b00380dd49.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\"],\"\"]\n19:I[27640,[\"9009\",\"static/chunks/9009-0cd892eb381ef39f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"5223\",\"static/chunks/5223-924afc0af4c53064.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2792\",\"static/chunks/2792-fa16fa83e234844b.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"3185\",\"static/chunks/app/layout-3142c1b00380dd49.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\"],\"GoogleTagManager\"]\n1a:\"$Sreact.suspense\"\n1b:I[10912,[\"9009\",\"static/chunks/9009-0cd892eb381ef39f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"5223\",\"static/chunks/5223-924afc0af4c53064.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2792\",\"static/chunks/2792-fa16fa83e234844b.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"3185\",\"static/chunks/app/layout-3142c1b00380dd49.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\"],\"BailoutToCSR\"]\n1c:I[5378,[\"9009\",\"static/chunks/9009-0cd892eb381ef39f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"5223\",\"static/chunks/5223-924afc0af4c53064.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2792\",\"static/chunks/2792-fa16fa83e234844b.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"3185\",\"static/chunks/app/layout-3142c1b00380dd49.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\"],\"default\"]\n1d:I[88768,[\"9009\",\"static/chunks/9009-0cd892eb381ef39f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"5223\",\"static/chunks/5223-924afc0af4c53064.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2792\",\"static/chunks/2792-fa16fa83e234844b.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"3185\",\"static/chunks/app/layout-3142c1b00380dd49.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\"],\"QualifiedMeeting\"]\n1f:I[35632,[\"922\",\"static/chunks/c15bf2b0-77a7fe2edf0e5bbc.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"9009\",\"static/chunks/9009-0cd892eb381ef39f.js?dpl=dpl_A1g8p8"])</script><script>self.__next_f.push([1,"4gwf9F5mZSQhNjs5ZvNRve\",\"8173\",\"static/chunks/8173-30cb3bf179be30fe.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"231\",\"static/chunks/231-8dcfbd28a90c5d8c.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"9694\",\"static/chunks/9694-0e03a8f218864453.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"4220\",\"static/chunks/4220-7dc82827145f5c67.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"8492\",\"static/chunks/8492-3b90b6c0ed21004c.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"9783\",\"static/chunks/9783-b99abd041c65f619.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"1928\",\"static/chunks/1928-1e98ebc6d71bc41f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2792\",\"static/chunks/2792-fa16fa83e234844b.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"5632\",\"static/chunks/5632-c16f65d3b85ec224.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2104\",\"static/chunks/2104-6224d840753b6403.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"5030\",\"static/chunks/5030-951b5accc56f67a6.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"9254\",\"static/chunks/app/(blog)/blog/page-e0ac88d1c7c3a619.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\"],\"HeroBlock\"]\n21:I[77992,[\"9009\",\"static/chunks/9009-0cd892eb381ef39f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"5223\",\"static/chunks/5223-924afc0af4c53064.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2792\",\"static/chunks/2792-fa16fa83e234844b.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"3185\",\"static/chunks/app/layout-3142c1b00380dd49.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\"],\"default\"]\n22:I[66025,[\"9009\",\"static/chunks/9009-0cd892eb381ef39f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"5223\",\"static/chunks/5223-924afc0af4c53064.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2792\",\"static/chunks/2792-fa16fa83e234844b.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"3185\",\"static/chunks/app/layout-3142c1b00380dd49.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\"],\"default\"]\n23:I[64404,[\"9009\",\"static/chunks/9009-0cd892eb381ef39f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"5223\",\"static/chunks/5223-924afc0af4c53064.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2792\",\"static/chunks/2792-fa16fa83e234844b.js?dpl=dpl"])</script><script>self.__next_f.push([1,"_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"3185\",\"static/chunks/app/layout-3142c1b00380dd49.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\"],\"GoogleAnalytics\"]\n24:I[62004,[\"9009\",\"static/chunks/9009-0cd892eb381ef39f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"8173\",\"static/chunks/8173-30cb3bf179be30fe.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"231\",\"static/chunks/231-8dcfbd28a90c5d8c.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"9694\",\"static/chunks/9694-0e03a8f218864453.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"3940\",\"static/chunks/3940-66c9f0077154b71a.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"1592\",\"static/chunks/1592-861e30ea675fe617.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2792\",\"static/chunks/2792-fa16fa83e234844b.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2004\",\"static/chunks/2004-c54969ea7b791b60.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2551\",\"static/chunks/2551-25d3d36742795948.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2156\",\"static/chunks/app/(blog)/blog/layout-9a00538124e3a821.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\"],\"FooterNavigation\"]\n18:Tf56,"])</script><script>self.__next_f.push([1,"\n window._vwo_code || (function() {\nvar account_id=652006,\nversion=2.1,\nsettings_tolerance=2000,\nhide_element='body',\nhide_element_style = 'opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;transition:none !important;',\n/* DO NOT EDIT BELOW THIS LINE */\nf=false,w=window,d=document,v=d.querySelector('#vwoCode'),cK='_vwo_'+account_id+'_settings',cc={};try{var c=JSON.parse(localStorage.getItem('_vwo_'+account_id+'_config'));cc=c\u0026\u0026typeof c==='object'?c:{}}catch(e){}var stT=cc.stT==='session'?w.sessionStorage:w.localStorage;code={nonce:v\u0026\u0026v.nonce,use_existing_jquery:function(){return typeof use_existing_jquery!=='undefined'?use_existing_jquery:undefined},library_tolerance:function(){return typeof library_tolerance!=='undefined'?library_tolerance:undefined},settings_tolerance:function(){return cc.sT||settings_tolerance},hide_element_style:function(){return'{'+(cc.hES||hide_element_style)+'}'},hide_element:function(){if(performance.getEntriesByName('first-contentful-paint')[0]){return''}return typeof cc.hE==='string'?cc.hE:hide_element},getVersion:function(){return version},finish:function(e){if(!f){f=true;var t=d.getElementById('_vis_opt_path_hides');if(t)t.parentNode.removeChild(t);if(e)(new Image).src='https://dev.visualwebsiteoptimizer.com/ee.gif?a='+account_id+e}},finished:function(){return f},addScript:function(e){var t=d.createElement('script');t.type='text/javascript';if(e.src){t.src=e.src}else{t.text=e.text}v\u0026\u0026t.setAttribute('nonce',v.nonce);d.getElementsByTagName('head')[0].appendChild(t)},load:function(e,t){var n=this.getSettings(),i=d.createElement('script'),r=this;t=t||{};if(n){i.textContent=n;d.getElementsByTagName('head')[0].appendChild(i);if(!w.VWO||VWO.caE){stT.removeItem(cK);r.load(e)}}else{var o=new XMLHttpRequest;o.open('GET',e,true);o.withCredentials=!t.dSC;o.responseType=t.responseType||'text';o.onload=function(){if(t.onloadCb){return t.onloadCb(o,e)}if(o.status===200||o.status===304){w._vwo_code.addScript({text:o.responseText})}else{w._vwo_code.finish('\u0026e=loading_failure:'+e)}};o.onerror=function(){if(t.onerrorCb){return t.onerrorCb(e)}w._vwo_code.finish('\u0026e=loading_failure:'+e)};o.send()}},getSettings:function(){try{var e=stT.getItem(cK);if(!e){return}e=JSON.parse(e);if(Date.now()\u003ee.e){stT.removeItem(cK);return}return e.s}catch(e){return}},init:function(){if(d.URL.indexOf('__vwo_disable__')\u003e-1)return;var e=this.settings_tolerance();w._vwo_settings_timer=setTimeout(function(){w._vwo_code.finish();stT.removeItem(cK)},e);var t;if(this.hide_element()!=='body'){t=d.createElement('style');var n=this.hide_element(),i=n?n+this.hide_element_style():'',r=d.getElementsByTagName('head')[0];t.setAttribute('id','_vis_opt_path_hides');v\u0026\u0026t.setAttribute('nonce',v.nonce);t.setAttribute('type','text/css');if(t.styleSheet)t.styleSheet.cssText=i;else t.appendChild(d.createTextNode(i));r.appendChild(t)}else{t=d.getElementsByTagName('head')[0];var i=d.createElement('div');i.style.cssText='z-index: 2147483647 !important;position: fixed !important;left: 0 !important;top: 0 !important;width: 100% !important;height: 100% !important;background: white !important;display: block !important;';i.setAttribute('id','_vis_opt_path_hides');i.classList.add('_vis_hide_layer');t.parentNode.insertBefore(i,t.nextSibling)}var o=window._vis_opt_url||d.URL,s='https://dev.visualwebsiteoptimizer.com/j.php?a='+account_id+'\u0026u='+encodeURIComponent(o)+'\u0026vn='+version;if(w.location.search.indexOf('_vwo_xhr')!==-1){this.addScript({src:s})}else{this.load(s+'\u0026x=true')}}};w._vwo_code=code;code.init();})();(function(){var i=window;function t(){if(i._vwo_code){var e=t.hidingStyle=document.getElementById('_vis_opt_path_hides')||t.hidingStyle;if(!i._vwo_code.finished()\u0026\u0026!_vwo_code.libExecuted\u0026\u0026(!i.VWO||!VWO.dNR)){if(!document.getElementById('_vis_opt_path_hides')){document.getElementsByTagName('head')[0].appendChild(e)}requestAnimationFrame(t)}}}t()})();\n"])</script><script>self.__next_f.push([1,"13:[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"__variable_592a8c __variable_3f7db5\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"$L17\",null,{\"id\":\"vwo-setup\",\"strategy\":\"beforeInteractive\",\"children\":\"$18\"}],[\"$\",\"$L17\",null,{\"id\":\"vwo-library\",\"strategy\":\"beforeInteractive\",\"src\":\"https://dev.visualwebsiteoptimizer.com\"}],[\"$\",\"$L17\",null,{\"strategy\":\"afterInteractive\",\"src\":\"https://js.qualified.com/qualified.js\"}]]}],[\"$\",\"$L19\",null,{\"gtmId\":\"GTM-MRSPFVL\"}],[\"$\",\"body\",null,{\"className\":\"bg-smokeyBlack\",\"data-theme\":\"light\",\"children\":[null,[\"$\",\"$1a\",null,{\"fallback\":null,\"children\":[\"$\",\"$L1b\",null,{\"reason\":\"next/dynamic\",\"children\":[\"$\",\"$L1c\",null,{}]}]}],[\"$\",\"$L1d\",null,{}],[\"$\",\"$Le\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L10\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[\"$L1e\",[\"$\",\"main\",null,{\"className\":\"relative z-[1] bg-smokeyBlack\",\"children\":[[\"$\",\"$L1f\",null,{\"title\":\"*Page Not Found*,, We're sorry, but the page,, you're looking for doesn't exist,, or has been moved.\",\"textAlignment\":\"left\",\"alignment\":\"left\",\"description\":\"Please check the URL for errors or explore our site using the navigation menu. If you need assistance, feel free to Contact Us.\",\"primaryCta\":{\"title\":\"Go to homepage\",\"url\":\"/\",\"variant\":\"primary\",\"target\":\"_self\"},\"showCtaButtons\":[\"2\"],\"secondaryCta\":{\"title\":\"Contact us\",\"url\":\"/contact\",\"target\":\"_self\"}}],[\"$\",\"div\",null,{\"className\":\"w-full overflow-hidden\",\"children\":[\"$\",\"div\",null,{\"className\":\"container relative mx-auto min-w-[560px] sm:min-w-[860px] md:min-w-[1060px] lg:min-w-[1660px]\",\"children\":[[\"$\",\"img\",null,{\"src\":\"/_next/static/media/circles_top_layer.bc850222.png\",\"alt\":\"\",\"className\":\"absolute left-0 top-0 z-0 mix-blend-overlay\"}],[\"$\",\"img\",null,{\"src\":\"/_next/static/media/circles_bottom_layer.5c4887b7.png\",\"alt\":\"\",\"className\":\"relative left-0 top-0 z-0 \"}]]}]}]]}],\"$L20\"],\"notFoundStyles\":[],\"styles\":null}],[\"$\",\"$1a\",null,{\"fallback\":null,\"children\":[\"$\",\"$L1b\",null,{\"reason\":\"next/dynamic\",\"children\":[\"$\",\"$L21\",null,{}]}]}],[\"$\",\"$1a\",null,{\"fallback\":null,\"children\":[\"$\",\"$L1b\",null,{\"reason\":\"next/dynamic\",\"children\":[\"$\",\"$L22\",null,{}]}]}],[\"$\",\"$L17\",null,{\"src\":\"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js\",\"strategy\":\"afterInteractive\"}],[\"$\",\"$L17\",null,{\"id\":\"ga-expose-id\",\"strategy\":\"afterInteractive\",\"children\":\"window.gaId = \\\"UA-52746336-1\\\";\"}],[\"$\",\"$L23\",null,{\"gaId\":\"UA-52746336-1\"}]]}]]}]\n"])</script><script>self.__next_f.push([1,"12:[\"$\",\"$L24\",null,{\"navMenuItems\":[{\"id\":\"cG9zdDo3OTY0\",\"label\":\"Resources\",\"uri\":\"#\",\"subItems\":[{\"id\":\"cG9zdDo3OTUz\",\"label\":\"Resource Library\",\"uri\":\"/resources/\",\"parentId\":\"cG9zdDo3OTY0\"},{\"id\":\"cG9zdDo3OTUy\",\"label\":\"Events and Webinars\",\"uri\":\"/learn/events-webinars/\",\"parentId\":\"cG9zdDo3OTY0\"},{\"id\":\"cG9zdDo3OTU1\",\"label\":\"Documentation\",\"uri\":\"https://docs.starburst.io/\",\"parentId\":\"cG9zdDo3OTY0\"},{\"id\":\"cG9zdDozNzk5OQ==\",\"label\":\"Tutorials\",\"uri\":\"/tutorials/\",\"parentId\":\"cG9zdDo3OTY0\"},{\"id\":\"cG9zdDo3OTU2\",\"label\":\"Blog\",\"uri\":\"/blog\",\"parentId\":\"cG9zdDo3OTY0\"},{\"id\":\"cG9zdDo0OTcyMA==\",\"label\":\"Open-source Trino\",\"uri\":\"/blog/what-is-trino\",\"parentId\":\"cG9zdDo3OTY0\"}]},{\"id\":\"cG9zdDo3OTYz\",\"label\":\"Get In Touch\",\"uri\":\"#\",\"subItems\":[{\"id\":\"cG9zdDo3OTU4\",\"label\":\"Contact Us\",\"uri\":\"/contact/\",\"parentId\":\"cG9zdDo3OTYz\"},{\"id\":\"cG9zdDozMDMwNg==\",\"label\":\"Careers\",\"uri\":\"/careers/\",\"parentId\":\"cG9zdDo3OTYz\"},{\"id\":\"cG9zdDo3OTYx\",\"label\":\"Customer Support\",\"uri\":\"https://starburstsupport.force.com/s/login/\",\"parentId\":\"cG9zdDo3OTYz\"},{\"id\":\"cG9zdDoxMzAyNQ==\",\"label\":\"Forum\",\"uri\":\"https://www.trinoforum.org/\",\"parentId\":\"cG9zdDo3OTYz\"},{\"id\":\"cG9zdDo3OTYw\",\"label\":\"Partner Login\",\"uri\":\"https://partners.starburstdata.com/\",\"parentId\":\"cG9zdDo3OTYz\"}]}]}]\n"])</script><script>self.__next_f.push([1,"25:I[82551,[\"9009\",\"static/chunks/9009-0cd892eb381ef39f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"8173\",\"static/chunks/8173-30cb3bf179be30fe.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"231\",\"static/chunks/231-8dcfbd28a90c5d8c.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"9694\",\"static/chunks/9694-0e03a8f218864453.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"3940\",\"static/chunks/3940-66c9f0077154b71a.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"1592\",\"static/chunks/1592-861e30ea675fe617.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2792\",\"static/chunks/2792-fa16fa83e234844b.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2004\",\"static/chunks/2004-c54969ea7b791b60.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2551\",\"static/chunks/2551-25d3d36742795948.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2156\",\"static/chunks/app/(blog)/blog/layout-9a00538124e3a821.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\"],\"MainNavigation\"]\n20:[\"$\",\"$L24\",null,{\"navMenuItems\":[{\"id\":\"cG9zdDo3OTY0\",\"label\":\"Resources\",\"uri\":\"#\",\"subItems\":[{\"id\":\"cG9zdDo3OTUz\",\"label\":\"Resource Library\",\"uri\":\"/resources/\",\"parentId\":\"cG9zdDo3OTY0\"},{\"id\":\"cG9zdDo3OTUy\",\"label\":\"Events and Webinars\",\"uri\":\"/learn/events-webinars/\",\"parentId\":\"cG9zdDo3OTY0\"},{\"id\":\"cG9zdDo3OTU1\",\"label\":\"Documentation\",\"uri\":\"https://docs.starburst.io/\",\"parentId\":\"cG9zdDo3OTY0\"},{\"id\":\"cG9zdDozNzk5OQ==\",\"label\":\"Tutorials\",\"uri\":\"/tutorials/\",\"parentId\":\"cG9zdDo3OTY0\"},{\"id\":\"cG9zdDo3OTU2\",\"label\":\"Blog\",\"uri\":\"/blog\",\"parentId\":\"cG9zdDo3OTY0\"},{\"id\":\"cG9zdDo0OTcyMA==\",\"label\":\"Open-source Trino\",\"uri\":\"/blog/what-is-trino\",\"parentId\":\"cG9zdDo3OTY0\"}]},{\"id\":\"cG9zdDo3OTYz\",\"label\":\"Get In Touch\",\"uri\":\"#\",\"subItems\":[{\"id\":\"cG9zdDo3OTU4\",\"label\":\"Contact Us\",\"uri\":\"/contact/\",\"parentId\":\"cG9zdDo3OTYz\"},{\"id\":\"cG9zdDozMDMwNg==\",\"label\":\"Careers\",\"uri\":\"/careers/\",\"parentId\":\"cG9zdDo3OTYz\"},{\"id\":\"cG9zdDo3OTYx\",\"label\":\"Customer Support\",\"uri\":\"https://starburstsupport.force.com/s/login/\",\"parentId\":\"cG9zdDo3OTYz\"},{\"id\":\"cG9zdDoxMzAyNQ==\",\"label\":\"Forum\",\"uri\":\"https://www.trinoforum.org/\",\"parentId\":\"cG9"])</script><script>self.__next_f.push([1,"zdDo3OTYz\"},{\"id\":\"cG9zdDo3OTYw\",\"label\":\"Partner Login\",\"uri\":\"https://partners.starburstdata.com/\",\"parentId\":\"cG9zdDo3OTYz\"}]}]}]\n"])</script><script>self.__next_f.push([1,"11:[\"$\",\"$L25\",null,{\"navMenuItems\":[{\"id\":\"cG9zdDo0NzE3OA==\",\"label\":\"Why Starburst\",\"uri\":\"#\",\"description\":\"\",\"subItems\":[{\"id\":\"cG9zdDo0NzQ3OQ==\",\"label\":\"Comparison\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzE3OA==\",\"description\":\"\",\"cssClasses\":[\"col-span-1\"],\"subItems\":[{\"id\":\"cG9zdDo0ODE3Nw==\",\"label\":\"Why Starburst\",\"uri\":\"/why-starburst\",\"parentId\":\"cG9zdDo0NzQ3OQ==\",\"description\":\"Learn our benefits\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/trophy.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzUwNQ==\",\"label\":\"Starburst vs Trino\",\"uri\":\"/starburst-vs-trino\",\"parentId\":\"cG9zdDo0NzQ3OQ==\",\"description\":\"Compare Starburst\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/intersect.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]}]},{\"id\":\"cG9zdDo0NzUwNg==\",\"label\":\"Customers\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzE3OA==\",\"description\":\"\",\"cssClasses\":[\"col-span-2\",\"flex\",\"flex-col\"],\"subItems\":[{\"id\":\"cG9zdDo0NzUwNw==\",\"label\":\"Customers at Starburst\",\"uri\":\"/customers\",\"parentId\":\"cG9zdDo0NzUwNg==\",\"description\":\"Client solutions\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/city-1.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzUxMw==\",\"label\":\"Security \u0026 Trust\",\"uri\":\"/about/security\",\"parentId\":\"cG9zdDo0NzUwNg==\",\"description\":\"Data safety focus\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/12/shield-check.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzUwOQ==\",\"label\":\"Customer Stories\",\"uri\":\"/resources?category=case-study\",\"parentId\":\"cG9zdDo0NzUwNg==\",\"description\":\"Success tales\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/suggestion.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzUxNA==\",\"label\":\"Professional Services\",\"uri\":\"/professional-services\",\"parentId\":\"cG9zdDo0NzUwNg==\",\"description\":\"Expert solutions\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/suitcase.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzUxMQ==\",\"label\":\"Support\",\"uri\":\"/learn/support\",\"parentId\":\"cG9zdDo0NzUwNg==\",\"description\":\"Get help 24/7\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/support.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzUxNQ==\",\"label\":\"Starburst Data Rebels\",\"uri\":\"/customers/starburst-data-rebels\",\"parentId\":\"cG9zdDo0NzUwNg==\",\"description\":\"Empowering innovation\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/rebels.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]}]}],\"cssClasses\":[\"grid\",\"grid-cols-3\"]},{\"id\":\"cG9zdDo0NzUxOQ==\",\"label\":\"Products\",\"uri\":\"#\",\"description\":\"\",\"subItems\":[{\"id\":\"cG9zdDo0NzUyMA==\",\"label\":\"Starburst Galaxy\",\"uri\":\"/starburst-galaxy\",\"parentId\":\"cG9zdDo0NzUxOQ==\",\"description\":\"Fully managed lakehouse from data ingestion to data sharing\",\"cssClasses\":[\"flex-1\"],\"subItems\":[]},{\"id\":\"cG9zdDo0NzUyMg==\",\"label\":\"Starburst Enterprise\",\"uri\":\"/starburst-enterprise\",\"parentId\":\"cG9zdDo0NzUxOQ==\",\"description\":\"Self-managed lakehouse with 7x more horsepower than OS Trino\",\"cssClasses\":[\"flex-1\"],\"subItems\":[]},{\"id\":\"cG9zdDo0NzUyMQ==\",\"label\":\"Dell Data Lakehouse\",\"uri\":\"/dell\",\"parentId\":\"cG9zdDo0NzUxOQ==\",\"description\":\"Modern on-premises storage, SQL engine, and compute for on-prem and hybrid lakehouses\",\"cssClasses\":[\"flex-1\"],\"subItems\":[]}],\"cssClasses\":[\"flex\"]},{\"id\":\"cG9zdDo0NzUyMw==\",\"label\":\"Solutions\",\"uri\":\"#\",\"description\":\"\",\"subItems\":[{\"id\":\"cG9zdDo0NzUyNw==\",\"label\":\"Use cases\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyMw==\",\"description\":\"\",\"cssClasses\":[\"flex\",\"flex-col\"],\"subItems\":[{\"id\":\"cG9zdDo0NzUyOA==\",\"label\":\"Open Data Lakehouse\",\"uri\":\"/solutions/open-data-lakehouse\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":[]},{\"id\":\"cG9zdDo0ODg4Nw==\",\"label\":\"Icehouse Architecture\",\"uri\":\"/platform/icehouse\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzUzMA==\",\"label\":\"Data Mesh\",\"uri\":\"/info/distributed-data-mesh-resource-center\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzUzMQ==\",\"label\":\"Artificial Intelligence\",\"uri\":\"/solutions/ai\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzUzMg==\",\"label\":\"ELT Data Processing\",\"uri\":\"/solutions/elt-data-processing\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzUzMw==\",\"label\":\"Data Applications\",\"uri\":\"/solutions/data-applications\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzUzNA==\",\"label\":\"Data Migrations\",\"uri\":\"/solutions/data-migrations\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzUzNQ==\",\"label\":\"Data Products\",\"uri\":\"/solutions/data-products\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzUyOQ==\",\"label\":\"Starburst Enterprise for Government\",\"uri\":\"/federal\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":[]},{\"id\":\"cG9zdDo0ODQ0NQ==\",\"label\":\"Hadoop Modernization\",\"uri\":\"/solutions/data-migrations/hadoop-modernization\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":[]}]},{\"id\":\"cG9zdDo0NzUzNg==\",\"label\":\"Industry\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyMw==\",\"description\":\"\",\"cssClasses\":[\"flex\",\"flex-col\"],\"subItems\":[{\"id\":\"cG9zdDo0NzUzNw==\",\"label\":\"Financial Services\",\"uri\":\"/solutions/industry/financial-services\",\"parentId\":\"cG9zdDo0NzUzNg==\",\"description\":\"Data-driven banking\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/lot-of-cash.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzUzOA==\",\"label\":\"Healthcare \u0026 Life Sciences\",\"uri\":\"/solutions/industry/healthcare-and-life-sciences\",\"parentId\":\"cG9zdDo0NzUzNg==\",\"description\":\"Innovations in care\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/healthcare.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzUzOQ==\",\"label\":\"Retail \u0026 CPG\",\"uri\":\"/solutions/industry/retail-consumer-packaged-goods\",\"parentId\":\"cG9zdDo0NzUzNg==\",\"description\":\"Insights for growth\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/shop.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzU0MA==\",\"label\":\"Manufacturing\",\"uri\":\"/platform/starburst-enterprise/\",\"parentId\":\"cG9zdDo0NzUzNg==\",\"description\":\"Smarter production\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/industry.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]}]},{\"id\":\"cG9zdDo0NzU0OQ==\",\"label\":\"Partners\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyMw==\",\"description\":\"\",\"cssClasses\":[\"flex\",\"flex-col\"],\"subItems\":[{\"id\":\"cG9zdDo0ODQ0Ng==\",\"label\":\"Partner Listing\",\"uri\":\"/partner-listing\",\"parentId\":\"cG9zdDo0NzU0OQ==\",\"description\":\"Meet Our Partners\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/12/list.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzU1MA==\",\"label\":\"Starburst Orbit\",\"uri\":\"https://accounts.skilljar.com/accounts/login/?t=32rio14maro27\u0026d=2z7ddtjqi09es\u0026next=%2Fauth%2Fendpoint%2Flogin%2Fresult%3Fnext%3D%252F%26d%3D2z7ddtjqi09es\",\"parentId\":\"cG9zdDo0NzU0OQ==\",\"description\":\"Learning Portal\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/planet.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0ODg4OA==\",\"label\":\"Become a Partner\",\"uri\":\"/partners/become-a-partner/\",\"parentId\":\"cG9zdDo0NzU0OQ==\",\"description\":\"Join our network\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/settings-profiles.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzU1Mg==\",\"label\":\"Partner Login\",\"uri\":\"https://partners.starburstdata.com/?__hstc=81614408.a0528845c6a3bab6567bb0ba56ca3b08.1688053347051.1689974773529.1689983551853.46\u0026__hssc=81614408.6.1689983551853\u0026__hsfp=3812163218\",\"parentId\":\"cG9zdDo0NzU0OQ==\",\"description\":\"Partner portal access\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/log-in.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzU1Mw==\",\"label\":\"Dell\",\"uri\":\"/dell\",\"parentId\":\"cG9zdDo0NzU0OQ==\",\"description\":\"Powered by Starburst\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/computer.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]}]}],\"cssClasses\":[\"flex\"]},{\"id\":\"cG9zdDo0NzUyNA==\",\"label\":\"Pricing\",\"uri\":\"/pricing\",\"description\":\"\",\"subItems\":[],\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzUyNQ==\",\"label\":\"Resources\",\"uri\":\"#\",\"description\":\"\",\"subItems\":[{\"id\":\"cG9zdDo0NzU1Ng==\",\"label\":\"Events\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyNQ==\",\"description\":\"\",\"cssClasses\":[],\"subItems\":[{\"id\":\"cG9zdDo0NzU1OA==\",\"label\":\"Datanova\",\"uri\":\"/datanova/\",\"parentId\":\"cG9zdDo0NzU1Ng==\",\"description\":\"Shaping the future of data\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/center-align.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzU1OQ==\",\"label\":\"Event Calendar\",\"uri\":\"/learn/events-webinars\",\"parentId\":\"cG9zdDo0NzU1Ng==\",\"description\":\"Upcoming gatherings\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/calendar.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]}]},{\"id\":\"cG9zdDo0NzU2MA==\",\"label\":\"Connect\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyNQ==\",\"description\":\"\",\"cssClasses\":[],\"subItems\":[{\"id\":\"cG9zdDo0NzU2Mg==\",\"label\":\"Community\",\"uri\":\"/community/\",\"parentId\":\"cG9zdDo0NzU2MA==\",\"description\":\"Connect and share\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/group.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzU2MQ==\",\"label\":\"Forum\",\"uri\":\"https://www.starburst.io/community/forum/\",\"parentId\":\"cG9zdDo0NzU2MA==\",\"description\":\"Discuss and discover\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/multi-bubble.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]}]},{\"id\":\"cG9zdDo0NzU2Mw==\",\"label\":\"Documentation\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyNQ==\",\"description\":\"\",\"cssClasses\":[],\"subItems\":[{\"id\":\"cG9zdDo0NzU2NA==\",\"label\":\"Technical Overview\",\"uri\":\"https://docs.starburst.io/\",\"parentId\":\"cG9zdDo0NzU2Mw==\",\"description\":\"Helpful materials\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/tools.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzU2NQ==\",\"label\":\"Starburst Galaxy\",\"uri\":\"https://docs.starburst.io/starburst-galaxy/index.html\",\"parentId\":\"cG9zdDo0NzU2Mw==\",\"description\":\"User guides\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/cloud.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzU2Ng==\",\"label\":\"Starburst Enterprise\",\"uri\":\"https://docs.starburst.io/latest/index.html\",\"parentId\":\"cG9zdDo0NzU2Mw==\",\"description\":\"User guides\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/database.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzU2Nw==\",\"label\":\"Clients\",\"uri\":\"https://docs.starburst.io/clients/index.html\",\"parentId\":\"cG9zdDo0NzU2Mw==\",\"description\":\"Trusted partnerships\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/star.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]}]},{\"id\":\"cG9zdDo0NzU2OA==\",\"label\":\"Blog, Guides \u0026 Webinars\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyNQ==\",\"description\":\"\",\"cssClasses\":[],\"subItems\":[{\"id\":\"cG9zdDo0NzU2OQ==\",\"label\":\"Blog\",\"uri\":\"/blog\",\"parentId\":\"cG9zdDo0NzU2OA==\",\"description\":\"Insights and updates\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/white-flag.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzU3MA==\",\"label\":\"Data Glossary\",\"uri\":\"/data-glossary\",\"parentId\":\"cG9zdDo0NzU2OA==\",\"description\":\"Data definitions\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/multi-window.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzU3MQ==\",\"label\":\"Resources\",\"uri\":\"/resources\",\"parentId\":\"cG9zdDo0NzU2OA==\",\"description\":\"Guides and tools\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/google-docs.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]}]},{\"id\":\"cG9zdDo0NzU3Mg==\",\"label\":\"Training \u0026 Certification\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyNQ==\",\"description\":\"\",\"cssClasses\":[],\"subItems\":[{\"id\":\"cG9zdDo0NzU3Mw==\",\"label\":\"Starburst Academy\",\"uri\":\"https://academy.starburst.io/\",\"parentId\":\"cG9zdDo0NzU3Mg==\",\"description\":\"Training and courses\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/graduation-cap.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzU3NA==\",\"label\":\"Tutorials\",\"uri\":\"/tutorials\",\"parentId\":\"cG9zdDo0NzU3Mg==\",\"description\":\"Step-by-step guides\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/media-video.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]}]}],\"cssClasses\":[\"flex\",\"flex-col\",\"flex-wrap\"]},{\"id\":\"cG9zdDo0NzUyNg==\",\"label\":\"About\",\"uri\":\"#\",\"description\":\"\",\"subItems\":[{\"id\":\"cG9zdDo0NzU3NQ==\",\"label\":\"Menu Item\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyNg==\",\"description\":\"\",\"cssClasses\":[],\"subItems\":[{\"id\":\"cG9zdDo0NzU3Ng==\",\"label\":\"Company\",\"uri\":\"/about\",\"parentId\":\"cG9zdDo0NzU3NQ==\",\"description\":\"About us\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/sparks.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzU3Nw==\",\"label\":\"Careers\",\"uri\":\"/careers\",\"parentId\":\"cG9zdDo0NzU3NQ==\",\"description\":\"Join our team\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/rocket.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]}]},{\"id\":\"cG9zdDo0NzU3OA==\",\"label\":\"Menu Item\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyNg==\",\"description\":\"\",\"cssClasses\":[],\"subItems\":[{\"id\":\"cG9zdDo0NzU4MA==\",\"label\":\"Newsroom\",\"uri\":\"/about/newsroom\",\"parentId\":\"cG9zdDo0NzU3OA==\",\"description\":\"News and events\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/rss-feed.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzU4MQ==\",\"label\":\"Contact Us\",\"uri\":\"/contact\",\"parentId\":\"cG9zdDo0NzU3OA==\",\"description\":\"Get in touch\",\"icon\":{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/chat-lines.svg\",\"__typename\":\"MediaItem\"},\"cssClasses\":[]}]},{\"id\":\"cG9zdDo0NzU3OQ==\",\"label\":\"Menu Item\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyNg==\",\"description\":\"\",\"cssClasses\":[],\"subItems\":[{\"id\":\"cG9zdDo0NzU4Mg==\",\"label\":\"Starburst’s mission is to free our customers to see the invisible and achieve the impossible\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzU3OQ==\",\"description\":\"\",\"icon\":null,\"cssClasses\":[\"text\"]}]}],\"cssClasses\":[\"flex\"]},{\"id\":\"cG9zdDo0NzE3Nw==\",\"label\":\"\u003cdiv data-open=\\\"searchModal\\\" class=\\\"main-nav-search-item\\\"\u003e\u003cimg style=\\\"width:16px;height:16px;margin:0;\\\" src=\\\"https://live-starburst.pantheonsite.io/wp-content/uploads/2022/09/icon_search.png\\\" alt=\\\"Search\\\" /\u003e\u003c/div\u003e\",\"uri\":\"#\",\"description\":\"\",\"subItems\":[],\"cssClasses\":[\"search\"]},{\"id\":\"cG9zdDo0NzE3Ng==\",\"label\":\"Contact Us\",\"uri\":\"/contact/\",\"description\":\"\",\"subItems\":[],\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzE3NQ==\",\"label\":\"Login\",\"uri\":\"https://galaxy.starburst.io/login\",\"description\":\"\",\"subItems\":[],\"cssClasses\":[]},{\"id\":\"cG9zdDo0NzM0NQ==\",\"label\":\"Start Free\",\"uri\":\"/free-trial/\",\"description\":\"\",\"subItems\":[],\"cssClasses\":[]}]}]\n"])</script><script>self.__next_f.push([1,"26:[\"col-span-1\"]\n27:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/trophy.svg\",\"__typename\":\"MediaItem\"}\n28:[]\n29:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/intersect.svg\",\"__typename\":\"MediaItem\"}\n2a:[]\n2b:[\"col-span-2\",\"flex\",\"flex-col\"]\n2c:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/city-1.svg\",\"__typename\":\"MediaItem\"}\n2d:[]\n2e:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/12/shield-check.svg\",\"__typename\":\"MediaItem\"}\n2f:[]\n30:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/suggestion.svg\",\"__typename\":\"MediaItem\"}\n31:[]\n32:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/suitcase.svg\",\"__typename\":\"MediaItem\"}\n33:[]\n34:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/support.svg\",\"__typename\":\"MediaItem\"}\n35:[]\n36:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/rebels.svg\",\"__typename\":\"MediaItem\"}\n37:[]\n38:[\"grid\",\"grid-cols-3\"]\n39:[\"flex-1\"]\n3a:[\"flex-1\"]\n3b:[\"flex-1\"]\n3c:[\"flex\"]\n3d:[\"flex\",\"flex-col\"]\n3e:[]\n3f:[]\n40:[]\n41:[]\n42:[]\n43:[]\n44:[]\n45:[]\n46:[]\n47:[]\n48:[\"flex\",\"flex-col\"]\n49:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/lot-of-cash.svg\",\"__typename\":\"MediaItem\"}\n4a:[]\n4b:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/healthcare.svg\",\"__typename\":\"MediaItem\"}\n4c:[]\n4d:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/shop.svg\",\"__typename\":\"MediaItem\"}\n4e:[]\n4f:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/industry.svg\",\"__typename\":\"MediaItem\"}\n50:[]\n51:[\"flex\",\"flex-col\"]\n52:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/12/list.svg\",\"__typename\":\"MediaItem\"}\n53:[]\n54:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/up"])</script><script>self.__next_f.push([1,"loads/2024/11/planet.svg\",\"__typename\":\"MediaItem\"}\n55:[]\n56:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/settings-profiles.svg\",\"__typename\":\"MediaItem\"}\n57:[]\n58:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/log-in.svg\",\"__typename\":\"MediaItem\"}\n59:[]\n5a:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/computer.svg\",\"__typename\":\"MediaItem\"}\n5b:[]\n5c:[\"flex\"]\n5d:[]\n5e:[]\n5f:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/center-align.svg\",\"__typename\":\"MediaItem\"}\n60:[]\n61:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/calendar.svg\",\"__typename\":\"MediaItem\"}\n62:[]\n63:[]\n64:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/group.svg\",\"__typename\":\"MediaItem\"}\n65:[]\n66:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/multi-bubble.svg\",\"__typename\":\"MediaItem\"}\n67:[]\n68:[]\n69:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/tools.svg\",\"__typename\":\"MediaItem\"}\n6a:[]\n6b:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/cloud.svg\",\"__typename\":\"MediaItem\"}\n6c:[]\n6d:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/database.svg\",\"__typename\":\"MediaItem\"}\n6e:[]\n6f:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/star.svg\",\"__typename\":\"MediaItem\"}\n70:[]\n71:[]\n72:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/white-flag.svg\",\"__typename\":\"MediaItem\"}\n73:[]\n74:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/multi-window.svg\",\"__typename\":\"MediaItem\"}\n75:[]\n76:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/google-docs.svg\",\"__typename\":\"MediaItem\"}\n77:[]\n78:[]\n79:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/"])</script><script>self.__next_f.push([1,"11/graduation-cap.svg\",\"__typename\":\"MediaItem\"}\n7a:[]\n7b:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/media-video.svg\",\"__typename\":\"MediaItem\"}\n7c:[]\n7d:[\"flex\",\"flex-col\",\"flex-wrap\"]\n7e:[]\n7f:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/sparks.svg\",\"__typename\":\"MediaItem\"}\n80:[]\n81:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/rocket.svg\",\"__typename\":\"MediaItem\"}\n82:[]\n83:[]\n84:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/rss-feed.svg\",\"__typename\":\"MediaItem\"}\n85:[]\n86:{\"mediaItemUrl\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2024/11/chat-lines.svg\",\"__typename\":\"MediaItem\"}\n87:[]\n88:[]\n89:[\"text\"]\n8a:[\"flex\"]\n8b:[\"search\"]\n8c:[]\n8d:[]\n8e:[]\n"])</script><script>self.__next_f.push([1,"1e:[\"$\",\"$L25\",null,{\"navMenuItems\":[{\"id\":\"cG9zdDo0NzE3OA==\",\"label\":\"Why Starburst\",\"uri\":\"#\",\"description\":\"\",\"subItems\":[{\"id\":\"cG9zdDo0NzQ3OQ==\",\"label\":\"Comparison\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzE3OA==\",\"description\":\"\",\"cssClasses\":\"$26\",\"subItems\":[{\"id\":\"cG9zdDo0ODE3Nw==\",\"label\":\"Why Starburst\",\"uri\":\"/why-starburst\",\"parentId\":\"cG9zdDo0NzQ3OQ==\",\"description\":\"Learn our benefits\",\"icon\":\"$27\",\"cssClasses\":\"$28\"},{\"id\":\"cG9zdDo0NzUwNQ==\",\"label\":\"Starburst vs Trino\",\"uri\":\"/starburst-vs-trino\",\"parentId\":\"cG9zdDo0NzQ3OQ==\",\"description\":\"Compare Starburst\",\"icon\":\"$29\",\"cssClasses\":\"$2a\"}]},{\"id\":\"cG9zdDo0NzUwNg==\",\"label\":\"Customers\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzE3OA==\",\"description\":\"\",\"cssClasses\":\"$2b\",\"subItems\":[{\"id\":\"cG9zdDo0NzUwNw==\",\"label\":\"Customers at Starburst\",\"uri\":\"/customers\",\"parentId\":\"cG9zdDo0NzUwNg==\",\"description\":\"Client solutions\",\"icon\":\"$2c\",\"cssClasses\":\"$2d\"},{\"id\":\"cG9zdDo0NzUxMw==\",\"label\":\"Security \u0026 Trust\",\"uri\":\"/about/security\",\"parentId\":\"cG9zdDo0NzUwNg==\",\"description\":\"Data safety focus\",\"icon\":\"$2e\",\"cssClasses\":\"$2f\"},{\"id\":\"cG9zdDo0NzUwOQ==\",\"label\":\"Customer Stories\",\"uri\":\"/resources?category=case-study\",\"parentId\":\"cG9zdDo0NzUwNg==\",\"description\":\"Success tales\",\"icon\":\"$30\",\"cssClasses\":\"$31\"},{\"id\":\"cG9zdDo0NzUxNA==\",\"label\":\"Professional Services\",\"uri\":\"/professional-services\",\"parentId\":\"cG9zdDo0NzUwNg==\",\"description\":\"Expert solutions\",\"icon\":\"$32\",\"cssClasses\":\"$33\"},{\"id\":\"cG9zdDo0NzUxMQ==\",\"label\":\"Support\",\"uri\":\"/learn/support\",\"parentId\":\"cG9zdDo0NzUwNg==\",\"description\":\"Get help 24/7\",\"icon\":\"$34\",\"cssClasses\":\"$35\"},{\"id\":\"cG9zdDo0NzUxNQ==\",\"label\":\"Starburst Data Rebels\",\"uri\":\"/customers/starburst-data-rebels\",\"parentId\":\"cG9zdDo0NzUwNg==\",\"description\":\"Empowering innovation\",\"icon\":\"$36\",\"cssClasses\":\"$37\"}]}],\"cssClasses\":\"$38\"},{\"id\":\"cG9zdDo0NzUxOQ==\",\"label\":\"Products\",\"uri\":\"#\",\"description\":\"\",\"subItems\":[{\"id\":\"cG9zdDo0NzUyMA==\",\"label\":\"Starburst Galaxy\",\"uri\":\"/starburst-galaxy\",\"parentId\":\"cG9zdDo0NzUxOQ==\",\"description\":\"Fully managed lakehouse from data ingestion to data sharing\",\"cssClasses\":\"$39\",\"subItems\":[]},{\"id\":\"cG9zdDo0NzUyMg==\",\"label\":\"Starburst Enterprise\",\"uri\":\"/starburst-enterprise\",\"parentId\":\"cG9zdDo0NzUxOQ==\",\"description\":\"Self-managed lakehouse with 7x more horsepower than OS Trino\",\"cssClasses\":\"$3a\",\"subItems\":[]},{\"id\":\"cG9zdDo0NzUyMQ==\",\"label\":\"Dell Data Lakehouse\",\"uri\":\"/dell\",\"parentId\":\"cG9zdDo0NzUxOQ==\",\"description\":\"Modern on-premises storage, SQL engine, and compute for on-prem and hybrid lakehouses\",\"cssClasses\":\"$3b\",\"subItems\":[]}],\"cssClasses\":\"$3c\"},{\"id\":\"cG9zdDo0NzUyMw==\",\"label\":\"Solutions\",\"uri\":\"#\",\"description\":\"\",\"subItems\":[{\"id\":\"cG9zdDo0NzUyNw==\",\"label\":\"Use cases\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyMw==\",\"description\":\"\",\"cssClasses\":\"$3d\",\"subItems\":[{\"id\":\"cG9zdDo0NzUyOA==\",\"label\":\"Open Data Lakehouse\",\"uri\":\"/solutions/open-data-lakehouse\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":\"$3e\"},{\"id\":\"cG9zdDo0ODg4Nw==\",\"label\":\"Icehouse Architecture\",\"uri\":\"/platform/icehouse\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":\"$3f\"},{\"id\":\"cG9zdDo0NzUzMA==\",\"label\":\"Data Mesh\",\"uri\":\"/info/distributed-data-mesh-resource-center\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":\"$40\"},{\"id\":\"cG9zdDo0NzUzMQ==\",\"label\":\"Artificial Intelligence\",\"uri\":\"/solutions/ai\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":\"$41\"},{\"id\":\"cG9zdDo0NzUzMg==\",\"label\":\"ELT Data Processing\",\"uri\":\"/solutions/elt-data-processing\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":\"$42\"},{\"id\":\"cG9zdDo0NzUzMw==\",\"label\":\"Data Applications\",\"uri\":\"/solutions/data-applications\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":\"$43\"},{\"id\":\"cG9zdDo0NzUzNA==\",\"label\":\"Data Migrations\",\"uri\":\"/solutions/data-migrations\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":\"$44\"},{\"id\":\"cG9zdDo0NzUzNQ==\",\"label\":\"Data Products\",\"uri\":\"/solutions/data-products\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":\"$45\"},{\"id\":\"cG9zdDo0NzUyOQ==\",\"label\":\"Starburst Enterprise for Government\",\"uri\":\"/federal\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":\"$46\"},{\"id\":\"cG9zdDo0ODQ0NQ==\",\"label\":\"Hadoop Modernization\",\"uri\":\"/solutions/data-migrations/hadoop-modernization\",\"parentId\":\"cG9zdDo0NzUyNw==\",\"description\":\"\",\"icon\":null,\"cssClasses\":\"$47\"}]},{\"id\":\"cG9zdDo0NzUzNg==\",\"label\":\"Industry\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyMw==\",\"description\":\"\",\"cssClasses\":\"$48\",\"subItems\":[{\"id\":\"cG9zdDo0NzUzNw==\",\"label\":\"Financial Services\",\"uri\":\"/solutions/industry/financial-services\",\"parentId\":\"cG9zdDo0NzUzNg==\",\"description\":\"Data-driven banking\",\"icon\":\"$49\",\"cssClasses\":\"$4a\"},{\"id\":\"cG9zdDo0NzUzOA==\",\"label\":\"Healthcare \u0026 Life Sciences\",\"uri\":\"/solutions/industry/healthcare-and-life-sciences\",\"parentId\":\"cG9zdDo0NzUzNg==\",\"description\":\"Innovations in care\",\"icon\":\"$4b\",\"cssClasses\":\"$4c\"},{\"id\":\"cG9zdDo0NzUzOQ==\",\"label\":\"Retail \u0026 CPG\",\"uri\":\"/solutions/industry/retail-consumer-packaged-goods\",\"parentId\":\"cG9zdDo0NzUzNg==\",\"description\":\"Insights for growth\",\"icon\":\"$4d\",\"cssClasses\":\"$4e\"},{\"id\":\"cG9zdDo0NzU0MA==\",\"label\":\"Manufacturing\",\"uri\":\"/platform/starburst-enterprise/\",\"parentId\":\"cG9zdDo0NzUzNg==\",\"description\":\"Smarter production\",\"icon\":\"$4f\",\"cssClasses\":\"$50\"}]},{\"id\":\"cG9zdDo0NzU0OQ==\",\"label\":\"Partners\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyMw==\",\"description\":\"\",\"cssClasses\":\"$51\",\"subItems\":[{\"id\":\"cG9zdDo0ODQ0Ng==\",\"label\":\"Partner Listing\",\"uri\":\"/partner-listing\",\"parentId\":\"cG9zdDo0NzU0OQ==\",\"description\":\"Meet Our Partners\",\"icon\":\"$52\",\"cssClasses\":\"$53\"},{\"id\":\"cG9zdDo0NzU1MA==\",\"label\":\"Starburst Orbit\",\"uri\":\"https://accounts.skilljar.com/accounts/login/?t=32rio14maro27\u0026d=2z7ddtjqi09es\u0026next=%2Fauth%2Fendpoint%2Flogin%2Fresult%3Fnext%3D%252F%26d%3D2z7ddtjqi09es\",\"parentId\":\"cG9zdDo0NzU0OQ==\",\"description\":\"Learning Portal\",\"icon\":\"$54\",\"cssClasses\":\"$55\"},{\"id\":\"cG9zdDo0ODg4OA==\",\"label\":\"Become a Partner\",\"uri\":\"/partners/become-a-partner/\",\"parentId\":\"cG9zdDo0NzU0OQ==\",\"description\":\"Join our network\",\"icon\":\"$56\",\"cssClasses\":\"$57\"},{\"id\":\"cG9zdDo0NzU1Mg==\",\"label\":\"Partner Login\",\"uri\":\"https://partners.starburstdata.com/?__hstc=81614408.a0528845c6a3bab6567bb0ba56ca3b08.1688053347051.1689974773529.1689983551853.46\u0026__hssc=81614408.6.1689983551853\u0026__hsfp=3812163218\",\"parentId\":\"cG9zdDo0NzU0OQ==\",\"description\":\"Partner portal access\",\"icon\":\"$58\",\"cssClasses\":\"$59\"},{\"id\":\"cG9zdDo0NzU1Mw==\",\"label\":\"Dell\",\"uri\":\"/dell\",\"parentId\":\"cG9zdDo0NzU0OQ==\",\"description\":\"Powered by Starburst\",\"icon\":\"$5a\",\"cssClasses\":\"$5b\"}]}],\"cssClasses\":\"$5c\"},{\"id\":\"cG9zdDo0NzUyNA==\",\"label\":\"Pricing\",\"uri\":\"/pricing\",\"description\":\"\",\"subItems\":[],\"cssClasses\":\"$5d\"},{\"id\":\"cG9zdDo0NzUyNQ==\",\"label\":\"Resources\",\"uri\":\"#\",\"description\":\"\",\"subItems\":[{\"id\":\"cG9zdDo0NzU1Ng==\",\"label\":\"Events\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyNQ==\",\"description\":\"\",\"cssClasses\":\"$5e\",\"subItems\":[{\"id\":\"cG9zdDo0NzU1OA==\",\"label\":\"Datanova\",\"uri\":\"/datanova/\",\"parentId\":\"cG9zdDo0NzU1Ng==\",\"description\":\"Shaping the future of data\",\"icon\":\"$5f\",\"cssClasses\":\"$60\"},{\"id\":\"cG9zdDo0NzU1OQ==\",\"label\":\"Event Calendar\",\"uri\":\"/learn/events-webinars\",\"parentId\":\"cG9zdDo0NzU1Ng==\",\"description\":\"Upcoming gatherings\",\"icon\":\"$61\",\"cssClasses\":\"$62\"}]},{\"id\":\"cG9zdDo0NzU2MA==\",\"label\":\"Connect\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyNQ==\",\"description\":\"\",\"cssClasses\":\"$63\",\"subItems\":[{\"id\":\"cG9zdDo0NzU2Mg==\",\"label\":\"Community\",\"uri\":\"/community/\",\"parentId\":\"cG9zdDo0NzU2MA==\",\"description\":\"Connect and share\",\"icon\":\"$64\",\"cssClasses\":\"$65\"},{\"id\":\"cG9zdDo0NzU2MQ==\",\"label\":\"Forum\",\"uri\":\"https://www.starburst.io/community/forum/\",\"parentId\":\"cG9zdDo0NzU2MA==\",\"description\":\"Discuss and discover\",\"icon\":\"$66\",\"cssClasses\":\"$67\"}]},{\"id\":\"cG9zdDo0NzU2Mw==\",\"label\":\"Documentation\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyNQ==\",\"description\":\"\",\"cssClasses\":\"$68\",\"subItems\":[{\"id\":\"cG9zdDo0NzU2NA==\",\"label\":\"Technical Overview\",\"uri\":\"https://docs.starburst.io/\",\"parentId\":\"cG9zdDo0NzU2Mw==\",\"description\":\"Helpful materials\",\"icon\":\"$69\",\"cssClasses\":\"$6a\"},{\"id\":\"cG9zdDo0NzU2NQ==\",\"label\":\"Starburst Galaxy\",\"uri\":\"https://docs.starburst.io/starburst-galaxy/index.html\",\"parentId\":\"cG9zdDo0NzU2Mw==\",\"description\":\"User guides\",\"icon\":\"$6b\",\"cssClasses\":\"$6c\"},{\"id\":\"cG9zdDo0NzU2Ng==\",\"label\":\"Starburst Enterprise\",\"uri\":\"https://docs.starburst.io/latest/index.html\",\"parentId\":\"cG9zdDo0NzU2Mw==\",\"description\":\"User guides\",\"icon\":\"$6d\",\"cssClasses\":\"$6e\"},{\"id\":\"cG9zdDo0NzU2Nw==\",\"label\":\"Clients\",\"uri\":\"https://docs.starburst.io/clients/index.html\",\"parentId\":\"cG9zdDo0NzU2Mw==\",\"description\":\"Trusted partnerships\",\"icon\":\"$6f\",\"cssClasses\":\"$70\"}]},{\"id\":\"cG9zdDo0NzU2OA==\",\"label\":\"Blog, Guides \u0026 Webinars\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyNQ==\",\"description\":\"\",\"cssClasses\":\"$71\",\"subItems\":[{\"id\":\"cG9zdDo0NzU2OQ==\",\"label\":\"Blog\",\"uri\":\"/blog\",\"parentId\":\"cG9zdDo0NzU2OA==\",\"description\":\"Insights and updates\",\"icon\":\"$72\",\"cssClasses\":\"$73\"},{\"id\":\"cG9zdDo0NzU3MA==\",\"label\":\"Data Glossary\",\"uri\":\"/data-glossary\",\"parentId\":\"cG9zdDo0NzU2OA==\",\"description\":\"Data definitions\",\"icon\":\"$74\",\"cssClasses\":\"$75\"},{\"id\":\"cG9zdDo0NzU3MQ==\",\"label\":\"Resources\",\"uri\":\"/resources\",\"parentId\":\"cG9zdDo0NzU2OA==\",\"description\":\"Guides and tools\",\"icon\":\"$76\",\"cssClasses\":\"$77\"}]},{\"id\":\"cG9zdDo0NzU3Mg==\",\"label\":\"Training \u0026 Certification\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyNQ==\",\"description\":\"\",\"cssClasses\":\"$78\",\"subItems\":[{\"id\":\"cG9zdDo0NzU3Mw==\",\"label\":\"Starburst Academy\",\"uri\":\"https://academy.starburst.io/\",\"parentId\":\"cG9zdDo0NzU3Mg==\",\"description\":\"Training and courses\",\"icon\":\"$79\",\"cssClasses\":\"$7a\"},{\"id\":\"cG9zdDo0NzU3NA==\",\"label\":\"Tutorials\",\"uri\":\"/tutorials\",\"parentId\":\"cG9zdDo0NzU3Mg==\",\"description\":\"Step-by-step guides\",\"icon\":\"$7b\",\"cssClasses\":\"$7c\"}]}],\"cssClasses\":\"$7d\"},{\"id\":\"cG9zdDo0NzUyNg==\",\"label\":\"About\",\"uri\":\"#\",\"description\":\"\",\"subItems\":[{\"id\":\"cG9zdDo0NzU3NQ==\",\"label\":\"Menu Item\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyNg==\",\"description\":\"\",\"cssClasses\":\"$7e\",\"subItems\":[{\"id\":\"cG9zdDo0NzU3Ng==\",\"label\":\"Company\",\"uri\":\"/about\",\"parentId\":\"cG9zdDo0NzU3NQ==\",\"description\":\"About us\",\"icon\":\"$7f\",\"cssClasses\":\"$80\"},{\"id\":\"cG9zdDo0NzU3Nw==\",\"label\":\"Careers\",\"uri\":\"/careers\",\"parentId\":\"cG9zdDo0NzU3NQ==\",\"description\":\"Join our team\",\"icon\":\"$81\",\"cssClasses\":\"$82\"}]},{\"id\":\"cG9zdDo0NzU3OA==\",\"label\":\"Menu Item\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyNg==\",\"description\":\"\",\"cssClasses\":\"$83\",\"subItems\":[{\"id\":\"cG9zdDo0NzU4MA==\",\"label\":\"Newsroom\",\"uri\":\"/about/newsroom\",\"parentId\":\"cG9zdDo0NzU3OA==\",\"description\":\"News and events\",\"icon\":\"$84\",\"cssClasses\":\"$85\"},{\"id\":\"cG9zdDo0NzU4MQ==\",\"label\":\"Contact Us\",\"uri\":\"/contact\",\"parentId\":\"cG9zdDo0NzU3OA==\",\"description\":\"Get in touch\",\"icon\":\"$86\",\"cssClasses\":\"$87\"}]},{\"id\":\"cG9zdDo0NzU3OQ==\",\"label\":\"Menu Item\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzUyNg==\",\"description\":\"\",\"cssClasses\":\"$88\",\"subItems\":[{\"id\":\"cG9zdDo0NzU4Mg==\",\"label\":\"Starburst’s mission is to free our customers to see the invisible and achieve the impossible\",\"uri\":\"#\",\"parentId\":\"cG9zdDo0NzU3OQ==\",\"description\":\"\",\"icon\":null,\"cssClasses\":\"$89\"}]}],\"cssClasses\":\"$8a\"},{\"id\":\"cG9zdDo0NzE3Nw==\",\"label\":\"\u003cdiv data-open=\\\"searchModal\\\" class=\\\"main-nav-search-item\\\"\u003e\u003cimg style=\\\"width:16px;height:16px;margin:0;\\\" src=\\\"https://live-starburst.pantheonsite.io/wp-content/uploads/2022/09/icon_search.png\\\" alt=\\\"Search\\\" /\u003e\u003c/div\u003e\",\"uri\":\"#\",\"description\":\"\",\"subItems\":[],\"cssClasses\":\"$8b\"},{\"id\":\"cG9zdDo0NzE3Ng==\",\"label\":\"Contact Us\",\"uri\":\"/contact/\",\"description\":\"\",\"subItems\":[],\"cssClasses\":\"$8c\"},{\"id\":\"cG9zdDo0NzE3NQ==\",\"label\":\"Login\",\"uri\":\"https://galaxy.starburst.io/login\",\"description\":\"\",\"subItems\":[],\"cssClasses\":\"$8d\"},{\"id\":\"cG9zdDo0NzM0NQ==\",\"label\":\"Start Free\",\"uri\":\"/free-trial/\",\"description\":\"\",\"subItems\":[],\"cssClasses\":\"$8e\"}]}]\n"])</script><script>self.__next_f.push([1,"8f:I[7617,[\"9009\",\"static/chunks/9009-0cd892eb381ef39f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"8173\",\"static/chunks/8173-30cb3bf179be30fe.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"231\",\"static/chunks/231-8dcfbd28a90c5d8c.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"1928\",\"static/chunks/1928-1e98ebc6d71bc41f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2792\",\"static/chunks/2792-fa16fa83e234844b.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2104\",\"static/chunks/2104-6224d840753b6403.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"5030\",\"static/chunks/5030-951b5accc56f67a6.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"9126\",\"static/chunks/app/(blog)/blog/%5B...uri%5D/page-e2f886e2b299a8ca.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\"],\"ImageWithFallback\"]\n90:I[38173,[\"9009\",\"static/chunks/9009-0cd892eb381ef39f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"8173\",\"static/chunks/8173-30cb3bf179be30fe.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"231\",\"static/chunks/231-8dcfbd28a90c5d8c.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"1928\",\"static/chunks/1928-1e98ebc6d71bc41f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2792\",\"static/chunks/2792-fa16fa83e234844b.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2104\",\"static/chunks/2104-6224d840753b6403.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"5030\",\"static/chunks/5030-951b5accc56f67a6.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"9126\",\"static/chunks/app/(blog)/blog/%5B...uri%5D/page-e2f886e2b299a8ca.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\"],\"Image\"]\n91:I[27429,[\"9009\",\"static/chunks/9009-0cd892eb381ef39f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"8173\",\"static/chunks/8173-30cb3bf179be30fe.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"231\",\"static/chunks/231-8dcfbd28a90c5d8c.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"1928\",\"static/chunks/1928-1e98ebc6d71bc41f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2792\",\"static/chunks/2792-fa16fa83e234844b.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2104\",\"static/chunks/2104-6224d840753b6403.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"5030\",\"static/chunks/5030-951b5accc56f67a6.js?dpl=dpl_A1g8"])</script><script>self.__next_f.push([1,"p84gwf9F5mZSQhNjs5ZvNRve\",\"9126\",\"static/chunks/app/(blog)/blog/%5B...uri%5D/page-e2f886e2b299a8ca.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\"],\"default\"]\n92:I[231,[\"9009\",\"static/chunks/9009-0cd892eb381ef39f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"8173\",\"static/chunks/8173-30cb3bf179be30fe.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"231\",\"static/chunks/231-8dcfbd28a90c5d8c.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"1928\",\"static/chunks/1928-1e98ebc6d71bc41f.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2792\",\"static/chunks/2792-fa16fa83e234844b.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"2104\",\"static/chunks/2104-6224d840753b6403.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"5030\",\"static/chunks/5030-951b5accc56f67a6.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\",\"9126\",\"static/chunks/app/(blog)/blog/%5B...uri%5D/page-e2f886e2b299a8ca.js?dpl=dpl_A1g8p84gwf9F5mZSQhNjs5ZvNRve\"],\"\"]\n93:T3b5b,"])</script><script>self.__next_f.push([1,"\u003cp\u003eThe \u003ca href=\"https://live-starburst.pantheonsite.io/wp-content/uploads/2018/09/Presto-Cost-Based-Query-Optimizer-WP.pdf\"\u003eCost-Based Optimizer (CBO)\u003c/a\u003e we have released just recently achieves stunning results in industry standard benchmarks (and not only in benchmarks)! The CBO makes decisions based on several factors, including shape of the query, filters and table statistics. I would like to tell you more about what the table statistics are in \u003ca href=\"https://www.starburst.io/learn/trino/\"\u003eTrino\u003c/a\u003e and what information can be derived from them.\u003c/p\u003e\n\u003ch2\u003eBackground\u003c/h2\u003e\n\u003cp\u003eBefore diving deep into how Trino analyzes statistics, let’s set up a stage so that our considerations are framed in some context. Let\u0026#8217;s consider a Data Scientist who wants to know which customers spend most dollars with the company, based on history of orders (probably to offer them some discounts). They would probably fire up a query like this:\u003c/p\u003e\n\u003cdiv class=\"hcb_wrap\"\u003e\n\u003cpre class=\"prism line-numbers lang-sql\" data-lang=\"SQL\"\u003e\u003ccode\u003eSELECT c.custkey, sum(l.price) \r\nFROM customer c, orders o, lineitem l \r\nWHERE c.custkey = o.custkey AND l.orderkey = o.orderkey \r\nGROUP BY c.custkey \r\nORDER BY sum(l.price) DESC;\u003c/code\u003e\u003c/pre\u003e\n\u003c/div\u003e\n\u003cp\u003eNow, Trino needs to create an execution plan for this query. It does so by first transforming a query to a plan in the simplest possible way — here it will create CROSS JOINS for “FROM customer c, orders o, lineitem l” part of the query and FILTER for “WHERE c.custkey = o.custkey AND l.orderkey = o.orderkey”. The initial plan is very naïve — CROSS JOINS will produce humongous amounts of intermediate data. There is no point in even trying to execute such a plan and Trino won’t do that. Instead, it applies transformation to make the plan more what user probably wanted, as shown below. Note: for succinctness, only part of the query plan is drawn, without aggregation (“GROUP BY”) and sorting (“ORDER BY”).\u003c/p\u003e\n\u003cp\u003e\u003ccenter\u003e\u003cimg loading=\"lazy\" decoding=\"async\" class=\" wp-image-18127 aligncenter\" src=\"https://live-starburst.pantheonsite.io/wp-content/uploads/2018/04/trino-flow1-1024x494.png\" alt=\"\" width=\"564\" height=\"272\" srcset=\"https://live-starburst.pantheonsite.io/wp-content/uploads/2018/04/trino-flow1-1024x494.png 1024w, https://live-starburst.pantheonsite.io/wp-content/uploads/2018/04/trino-flow1-300x145.png 300w, https://live-starburst.pantheonsite.io/wp-content/uploads/2018/04/trino-flow1.png 1386w\" sizes=\"(max-width: 564px) 100vw, 564px\" /\u003e\u003c/center\u003e\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eIndeed, this is much better than the CROSS JOINS. But we can do even better, if we consider \u003cem\u003ecost\u003c/em\u003e.\u003c/p\u003e\n\u003ch2\u003eCost-Based Optimizer\u003c/h2\u003e\n\u003cp\u003eWithout going into database internals on how JOIN is implemented, let’s take for granted that it makes a big difference which table is right and which is left in the JOIN. (Simple explanation would be that the table on the right basically needs to be kept in the memory while JOIN result is calculated). Because of that, the following plans produce same result, but may have different execution time or memory requirements.\u003c/p\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"alignnone size-full wp-image-534\" style=\"width: 549px; display: block; margin: 0px auto;\" src=\"https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/starburst-data-cost-based-optimizer.png\" alt=\"\" width=\"549\" /\u003e\u003c/p\u003e\n\u003cp\u003eCPU time, memory requirements and network bandwidth usage are the three dimensions that contribute to query execution time, both in single query and concurrent workloads. These dimensions are captured as the \u003cem\u003ecost\u003c/em\u003e in Trino.\u003c/p\u003e\n\u003cp\u003eOur Data Scientist knows that most of the customers made at least one order and every order had at least one item (and many orders had many items), so “lineitem” is the biggest table, “orders” is medium and “customer” is the smallest. When joining “customer” and “orders”, having “orders” on the right side of the JOIN is not a good idea! However, how the planner can know that? In the real world, the query planner cannot reliably deduce information just from table \u003cem\u003enames\u003c/em\u003e. This is where table statistics kick in.\u003c/p\u003e\n\u003ch3\u003eTable statistics\u003c/h3\u003e\n\u003cp\u003eTrino has \u003ca href=\"https://docs.starburstdata.com/latest/connector.html\"\u003econnector-based\u003c/a\u003e \u003ca href=\"https://docs.starburstdata.com/latest/develop/connectors.html\"\u003earchitecture\u003c/a\u003e. A connector can provide table and column statistics:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003enumber of rows in a table,\u003c/li\u003e\n\u003cli\u003enumber of distinct values in a column,\u003c/li\u003e\n\u003cli\u003efraction of NULL values in a column,\u003c/li\u003e\n\u003cli\u003eminimum/maximum value in a column,\u003c/li\u003e\n\u003cli\u003eaverage data size for a column.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eOf course, if some information is missing — e.g. average text length in a varchar column is unknown — a connector can still provide other information and Cost-Based Optimizer will be able to use that.\u003c/p\u003e\n\u003cp\u003eIn our Data Scientist’s example, data sizes can look something like the following:\u003c/p\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"alignnone size-full wp-image-535\" style=\"width: 600px; display: block; margin: 0px auto;\" src=\"https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/starburst-data-table-statistics.png\" alt=\"\" width=\"600\" /\u003e\u003c/p\u003e\n\u003cp\u003eHaving this knowledge, \u003ca href=\"https://trino.io/docs/current/optimizer/cost-based-optimizations.html\"\u003eTrino’s Cost-Based Optimizer\u003c/a\u003e will come up with completely different join ordering in the plan.\u003c/p\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"alignnone size-full wp-image-533\" style=\"width: 551px; display: block; margin: 0px auto;\" src=\"https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/results.png\" alt=\"\" width=\"551\" /\u003e\u003c/p\u003e\n\u003ch3\u003eFilter statistics\u003c/h3\u003e\n\u003cp\u003eAs we saw, knowing the sizes of the tables involved in a query is fundamental to properly reordering the joins in the query plan. However, knowing just the sizes is not enough. Returning to our example, the Data Scientist might want to drill down into results of their previous query, to know which customers repeatedly bought and spent most money on a particular item (clearly, this must be some consumable, or a mobile phone). For this, they will use almost identical query as the original one, adding one more condition.\u003c/p\u003e\n\u003cdiv class=\"hcb_wrap\"\u003e\n\u003cpre class=\"prism line-numbers lang-sql\" data-lang=\"SQL\"\u003e\u003ccode\u003eSELECT c.custkey, sum(l.price) \r\nFROM customer c, orders o, lineitem l \r\nWHERE c.custkey = o.custkey AND l.orderkey = o.orderkey   \r\nAND l.item = 106170 \r\nGROUP BY c.custkey \r\nORDER BY sum(l.price) DESC;\u003c/code\u003e\u003c/pre\u003e\n\u003c/div\u003e\n\u003cp\u003eThe additional FILTER might be applied after the JOIN or before. Obviously, filtering as early as possible is the best strategy, but this also means the actual size of the data involved in the JOIN will be different now. In our Data Scientist’s example, the join order will indeed be different.\u003c/p\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"alignnone size-full wp-image-529\" style=\"width: 536px; display: block; margin: 0px auto;\" src=\"https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/filter-statistics.png\" alt=\"\" width=\"536\" /\u003e\u003c/p\u003e\n\u003ch2\u003eUnder the Hood\u003c/h2\u003e\n\u003ch3\u003eExecution Time and Cost\u003c/h3\u003e\n\u003cp\u003eFrom external perspective, only three things really matter:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eexecution time,\u003c/li\u003e\n\u003cli\u003eexecution cost (in dollars),\u003c/li\u003e\n\u003cli\u003eability to run (sufficiently) many concurrent queries at a time.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eThe execution time is often called “wall time” to emphasize that we’re not really interested in “CPU time” or number of machines/nodes/threads involved. Our Data Scientist’s clock on the wall is the ultimate judge. It would be nice if they were not forced to get coffee/eat lunch during each query they run. On the other hand, a CFO will be interested in keeping cluster costs at the lowest possible level (without, of course, impeding employees’ effectiveness). Lastly, a System Administrator needs to ensure that all cluster users can work at the same time. That is, that the cluster can handle many queries at a time, yielding enough throughput that “wall time” observed by each of the users is satisfactory.\u003c/p\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"alignnone size-full wp-image-537\" style=\"width: 379px; display: block; margin: 0px auto;\" src=\"https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/under-the-hood.png\" alt=\"\" width=\"379\" /\u003e\u003c/p\u003e\n\u003cp\u003eIt is possible to optimize for only one of the above dimensions. For example, we can have single node cluster and CFO will be happy (but employees will go somewhere else). Contrarily, we may have thousand node cluster even if the company cannot afford that. Users will be (initially) happy, until the company goes bankrupt. Ultimately, however, we need to balance these trade-offs, which basically means that queries need to be executed as fast as possible, with as little resources as possible.\u003c/p\u003e\n\u003cp\u003eIn Trino, this is modeled with the concept of the cost, which captures properties like CPU cost, memory requirements and network bandwidth usage. Different variants of a query execution plan are explored, assigned a cost and compared. The variant with the least overall cost is selected for execution. This approach neatly balances the needs of cluster users, administrators and the CFO.\u003c/p\u003e\n\u003cp\u003eThe cost of each operation in the query plan is calculated in a way appropriate for the type of the operation, taking into account statistics of the data involved in the operation. Now, let’s see where the statistics come from.\u003c/p\u003e\n\u003ch3\u003eStatistics\u003c/h3\u003e\n\u003cp\u003eIn our Data Scientist’s example, the row counts for tables were taken directly from table statistics, i.e. provided by a connector. But where did “~3K rows” come from? Let’s dive into some nitty-gritty details.\u003c/p\u003e\n\u003cp\u003eA query execution plan is made of “building block” operations, including:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003etable scans (reading the table; at runtime this is actually combined with a filter)\u003c/li\u003e\n\u003cli\u003efilters (SQL’s WHERE clause or any other conditions deduced by the query planner)\u003c/li\u003e\n\u003cli\u003eprojections (i.e. computing output expressions)\u003c/li\u003e\n\u003cli\u003ejoins\u003c/li\u003e\n\u003cli\u003eaggregations (in fact there are a few different “building blocks” for aggregations, but that’s a story for another time)\u003c/li\u003e\n\u003cli\u003esorting (SQL’s ORDER BY)\u003c/li\u003e\n\u003cli\u003elimiting (SQL’s LIMIT)\u003c/li\u003e\n\u003cli\u003esorting and limiting combined (SQL’s ORDER BY .. LIMIT .. deserves specialized support)\u003c/li\u003e\n\u003cli\u003eand a lot more!\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eThe way how the statistics are computed for most interesting “building blocks” is discussed below.\u003c/p\u003e\n\u003ch3\u003eTable Scan statistics\u003c/h3\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"alignnone size-full wp-image-536\" style=\"width: 488px; display: block; margin: 0px auto;\" src=\"https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/table-scan-statistics.png\" alt=\"\" width=\"488\" /\u003e\u003c/p\u003e\n\u003cp\u003eAs explained in \u0026#8220;Table statistics\u0026#8221; section, the connector which defines the table is responsible for providing the table statistics. Furthermore, the connector will be informed about any filtering conditions that are to be applied to the data read from the table. This may be important e.g. in the case of Hive partitioned table, where statistics are stored on per-partition basis. If the filtering condition excludes some (or many) partitions, the statistics will consider smaller data set (remaining partitions) and will be more accurate.\u003c/p\u003e\n\u003cp\u003eTo recall, a connector can provide the following table and column statistics:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003enumber of rows in a table,\u003c/li\u003e\n\u003cli\u003enumber of distinct values in a column,\u003c/li\u003e\n\u003cli\u003efraction of NULL values in a column,\u003c/li\u003e\n\u003cli\u003eminimum/maximum value in a column,\u003c/li\u003e\n\u003cli\u003eaverage data size for a column.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3\u003eFilter statistics\u003c/h3\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"alignnone size-full wp-image-530\" style=\"width: 472px; display: block; margin: 0px auto;\" src=\"https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/filter-statistics2.png\" alt=\"\" width=\"472\" /\u003e\u003c/p\u003e\n\u003cp\u003eWhen considering a filtering operation, a filter’s condition is analyzed and the following estimations are calculated:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003ewhat is the probability that data row will pass the filtering condition. From this,  expected number of rows after the filter is derived,\u003c/li\u003e\n\u003cli\u003efraction of NULL values for columns involved in the filtering condition (for most conditions, this will simply be 0%),\u003c/li\u003e\n\u003cli\u003enumber of distinct values for columns involved in the filtering condition,\u003c/li\u003e\n\u003cli\u003enumber of distinct values for columns that were not part of the filtering condition, if their original number of distinct values was more than the expected number of data rows that pass the filter.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eFor example, for a condition like “l.item = 106170” we can observe that:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eno rows with “l.item” being NULL will meet the condition,\u003c/li\u003e\n\u003cli\u003ethere will be only one distinct value of “l.item” (106170) after the filtering operation,\u003c/li\u003e\n\u003cli\u003eon average, number of data rows expected to pass the filter will be equal to number_of_input_rows * fraction_of_non_nulls / distinct_values. (This assumes, of course, that users most often drill down in the data they really have, which is quite a reasonable assumption and also safe to make).\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3\u003eProjection statistics\u003c/h3\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"alignnone size-full wp-image-532\" style=\"width: 201px; display: block; margin: 0px auto;\" src=\"https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/projection-statistics.png\" alt=\"\" width=\"201\" /\u003e\u003c/p\u003e\n\u003cp\u003eProjections (“l.item \u0026#8211; 1 AS iid”) are similar to filters, except that, of course, they do not impact the expected number of rows after the operation.\u003c/p\u003e\n\u003cp\u003eFor a projection, the following types of column statistics are calculated (if possible for given projection expression):\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003enumber of distinct values produced by the projection,\u003c/li\u003e\n\u003cli\u003efraction of NULL values produced by the projection,\u003c/li\u003e\n\u003cli\u003eminimum/maximum value produced by the projection.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eNaturally, if “iid” is only returned to the user, then these statistics are not useful. However, if it’s later used in filter or join operation, these statistics are important to correctly estimate the number of rows that meet the filter condition or are returned from the join.\u003c/p\u003e\n\u003ch2\u003eConclusion\u003c/h2\u003e\n\u003cp\u003eSumming up, Trino’s Cost-Based Optimizer is conceptually a very simple thing. Alternative query plans are considered, the best plan is chosen and executed. Details are not so simple, though. Fortunately, to use \u003ca href=\"https://www.starburst.io/learn/trino/\"\u003eTrino\u003c/a\u003e, one doesn’t need to know all these details. Of course, anyone with a technical inclination that like to wander in database internals is invited to study \u003ca href=\"https://github.com/trinodb\"\u003ethe Trino code\u003c/a\u003e! In the near future, we will be blogging more about stuff important for users and things that matter to database experts as well. Follow our blog or \u003ca href=\"https://twitter.com/starburstdata/\"\u003e@starburstdata\u003c/a\u003e on Twitter. Last but not least, be sure to \u003ca href=\"https://www.starburst.io/platform/starburst-enterprise/\"\u003etake Trino with CBO for a spin\u003c/a\u003e today and let us know what is \u003cstrong\u003eyour\u003c/strong\u003e Trino experience!\u003c/p\u003e\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"div\",null,{\"className\":\"container relative mx-auto px-4 md:px-8 xl:px-24 z-10 pb-[100px]\",\"children\":[\"$\",\"div\",null,{\"className\":\"mb-10 flex flex-col items-start justify-between gap-6 pt-12 md:flex-row lg:pt-24\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex flex-1 flex-col\",\"children\":[[\"$\",\"h1\",null,{\"className\":\"pb-12 text-[2.5rem] leading-[3.25rem] text-white prose-img:max-h-60 prose-img:w-full prose-img:max-w-lg md:text-[4rem] md:leading-[4.25rem]\",\"children\":\"Introduction to Trino Cost-Based Optimizer\"}],null,[\"$\",\"div\",null,{\"className\":\"flex items-start justify-between gap-6\",\"children\":[[\"$\",\"div\",null,{\"children\":[\"$undefined\",[\"$\",\"time\",null,{\"className\":\"text-sm text-gray-600\",\"children\":\"April 9, 2018\"}]]}],[\"$\",\"div\",null,{\"className\":\"block md:hidden\",\"children\":[\"$\",\"ul\",null,{\"className\":\"flex flex-col gap-8\",\"children\":[[\"$\",\"li\",\"cG9zdDoxODEyOA==\",{\"className\":\"flex items-center gap-4\",\"children\":[[\"$\",\"$L8f\",\"cG9zdDoxODEyOA==\",{\"className\":\"block rounded-full border border-solid border-white\",\"fallbackSrc\":\"/_next/static/media/anonymous-author.9fb47b5c.webp\",\"width\":40,\"height\":40,\"src\":\"\",\"alt\":\"Piotr Findeisen\"}],[\"$\",\"div\",null,{\"className\":\"flex max-w-56 flex-col\",\"children\":[[\"$\",\"p\",null,{\"className\":\"text-xs font-semibold text-white\",\"children\":\"Piotr Findeisen\"}],[\"$\",\"p\",null,{\"className\":\"text-xs text-gray-600\",\"children\":\"Co-founder and Software Engineer\"}],[\"$\",\"p\",null,{\"className\":\"text-xs text-gray-600\",\"children\":\"Starburst\"}]]}]]}]]}]}]]}]]}],[\"$\",\"div\",null,{\"className\":\"hidden md:block\",\"children\":[\"$\",\"ul\",null,{\"className\":\"flex flex-col gap-8\",\"children\":[[\"$\",\"li\",\"cG9zdDoxODEyOA==\",{\"className\":\"flex items-center gap-4\",\"children\":[[\"$\",\"$L8f\",\"cG9zdDoxODEyOA==\",{\"className\":\"block rounded-full border border-solid border-white\",\"fallbackSrc\":\"/_next/static/media/anonymous-author.9fb47b5c.webp\",\"width\":40,\"height\":40,\"src\":\"\",\"alt\":\"Piotr Findeisen\"}],[\"$\",\"div\",null,{\"className\":\"flex max-w-56 flex-col\",\"children\":[[\"$\",\"p\",null,{\"className\":\"text-xs font-semibold text-white\",\"children\":\"Piotr Findeisen\"}],[\"$\",\"p\",null,{\"className\":\"text-xs text-gray-600\",\"children\":\"Co-founder and Software Engineer\"}],[\"$\",\"p\",null,{\"className\":\"text-xs text-gray-600\",\"children\":\"Starburst\"}]]}]]}]]}]}]]}]}],[\"$\",\"div\",null,{\"className\":\"relative bg-white -mt-32 md:-mt-48 xl:-mt-64\",\"children\":[[\"$\",\"div\",null,{\"className\":\"$undefined\",\"children\":[[\"$\",\"div\",null,{\"className\":\"absolute left-2/4 top-0 h-auto w-[100%] -translate-x-2/4 overflow-hidden lg:left-0 lg:h-[15rem] lg:w-full lg:translate-x-0 xl:h-[20rem] 2xl:h-[25rem]\",\"children\":[\"$\",\"$L90\",null,{\"className\":\"-ml-px h-auto w-[calc(100%_+_2px)] max-w-[calc(100%_+_2px)] object-contain lg:h-full lg:object-fill\",\"src\":\"/_next/static/media/eclipse-top.a338658d.png\",\"alt\":\"\",\"width\":2880,\"height\":433,\"priority\":true}]}],[\"$\",\"div\",null,{\"className\":\"absolute bottom-0 left-2/4 h-auto w-[100%] -translate-x-2/4 overflow-hidden lg:left-0 lg:h-[15rem] lg:w-full lg:translate-x-0 xl:h-[20rem] 2xl:h-[25rem]\",\"children\":[\"$\",\"$L90\",null,{\"className\":\"-ml-px h-auto w-[calc(100%_+_2px)] max-w-[calc(100%_+_2px)] object-contain lg:h-full lg:object-fill\",\"src\":\"/_next/static/media/eclipse-bottom.96f049e9.png\",\"alt\":\"\",\"width\":2880,\"height\":463}]}]]}],[\"$\",\"div\",null,{\"className\":\"relative min-h-[600px] py-32 md:py-48 xl:py-64\",\"children\":[\"$\",\"div\",null,{\"className\":\"container relative mx-auto px-4 md:px-8 xl:px-24 pb-16 md:pb-24\",\"children\":[[\"$\",\"div\",null,{\"className\":\"mt-24 block grid-cols-12 gap-x-10 gap-y-6 sm:gap-y-24 md:grid\",\"children\":[[\"$\",\"div\",null,{\"className\":\"col-span-12 gap-12 border-t border-solid border-t-[#080808] md:col-span-4 lg:col-span-3\",\"children\":[\"$\",\"div\",null,{\"className\":\"md:sticky md:top-[0.6rem]\",\"children\":[[\"$\",\"$L91\",null,{\"link\":\"https://live-starburst.pantheonsite.io/blog/trino-cost-based-optimizer/\",\"className\":\"\"}],[\"$\",\"div\",null,{\"children\":[[\"$\",\"h4\",null,{\"className\":\"color-[#757575] m-0 mb-5 mt-8 text-xl font-semibold\",\"children\":\"More deployment options\"}],[\"$\",\"ul\",null,{\"className\":\"flex flex-col gap-4\",\"children\":[\"$\",\"li\",null,{\"className\":\"border-t border-solid border-t-[#080808] py-4\",\"children\":[\"$\",\"$L92\",null,{\"className\":\"text-sm text-[#757575] hover:text-[rgba(117,117,117,0.6)]\",\"href\":\"/platform/starburst-enterprise\",\"children\":[\"Request Enterprise trial license key \",[\"$\",\"span\",null,{\"className\":\"ml-1\",\"children\":\"→\"}]]}]}]}]]}]]}]}],[\"$\",\"div\",null,{\"className\":\"col-span-12 flex max-w-full flex-col gap-4 border-t border-solid border-t-[#080808] pt-14 md:col-span-8 md:pt-6 lg:col-span-9\",\"children\":[[\"$\",\"div\",null,{\"className\":\"prose-sb-full min-w-full\",\"dangerouslySetInnerHTML\":{\"__html\":\"$93\"}}],[\"$\",\"div\",null,{\"className\":\"flex w-full flex-col gap-4\",\"children\":[null]}]]}]]}],null]}]}]]}]]\n"])</script><script>self.__next_f.push([1,"14:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Introduction to Trino Cost-Based Optimizer | Starburst\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Trino Cost-based optimizer makes decisions based on several factors, including shape of the query, filters and table statistics.\"}],[\"$\",\"meta\",\"4\",{\"name\":\"facebook-domain-verification\",\"content\":\"8pp85eyur61kj2mywwvmldhbve10sf\"}],[\"$\",\"meta\",\"5\",{\"property\":\"og:title\",\"content\":\"Introduction to Trino Cost-Based Optimizer | Starburst\"}],[\"$\",\"meta\",\"6\",{\"property\":\"og:description\",\"content\":\"Trino Cost-based optimizer makes decisions based on several factors, including shape of the query, filters and table statistics.\"}],[\"$\",\"meta\",\"7\",{\"property\":\"og:image\",\"content\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/tirza-van-dijk-I8OhOu-wLO4-unsplash-scaled.jpg\"}],[\"$\",\"meta\",\"8\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"9\",{\"name\":\"twitter:title\",\"content\":\"Introduction to Trino Cost-Based Optimizer | Starburst\"}],[\"$\",\"meta\",\"10\",{\"name\":\"twitter:description\",\"content\":\"Trino Cost-based optimizer makes decisions based on several factors, including shape of the query, filters and table statistics.\"}],[\"$\",\"meta\",\"11\",{\"name\":\"twitter:image\",\"content\":\"https://live-starburst.pantheonsite.io/wp-content/uploads/2022/05/tirza-van-dijk-I8OhOu-wLO4-unsplash-scaled.jpg\"}],[\"$\",\"link\",\"12\",{\"rel\":\"icon\",\"href\":\"/favicon-l.png\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"link\",\"13\",{\"rel\":\"icon\",\"href\":\"/favicon-d.png\",\"media\":\"(prefers-color-scheme: dark)\"}],[\"$\",\"meta\",\"14\",{\"name\":\"next-size-adjust\"}]]\nc:null\n"])</script></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10