{"id":19693,"date":"2021-07-22T11:25:41","date_gmt":"2021-07-22T15:25:41","guid":{"rendered":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/?p=19693"},"modified":"2021-07-30T12:44:44","modified_gmt":"2021-07-30T16:44:44","slug":"at-time-zone-performance-issues","status":"publish","type":"post","link":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/","title":{"rendered":"AT TIME ZONE Performance Issues"},"content":{"rendered":"\n<p><em>This only demonstrates that the performance impact is the result of AT TIME ZONE. To see how to work across date ranges read my follow up post: <a href=\"https:\/\/www.sqlskills.com\/blogs\/jonathan\/more-about-at-time-zone\/\">More About AT TIME ZONE<\/a>.<\/em><\/p>\n\n\n\n<p>This is not the type of blog post that I enjoy writing.  First let me start off by saying this is not a bash against Microsoft, the SQL Server team, or anything other than an informative post to let people know that there is a potential performance limitation in a very useful feature of SQL Server 2016 and higher.  The <a href=\"https:\/\/docs.microsoft.com\/en-us\/sql\/t-sql\/queries\/at-time-zone-transact-sql\" target=\"_blank\" rel=\"noreferrer noopener\">AT TIME ZONE<\/a> syntax was added in SQL Server 2016 to handle changing datetime values from one time zone to the offset of a different time zone using string names for the time zone.  This is a great feature that simplifies converting datetime values but there is an unfortunate draw back to the implementation; it relies on the time zones that are stored in the Windows Registry and therefore has to make calls out to Windows which unfortunately occurs row-by-row for large result sets when used inside of a query.  <\/p>\n\n\n\n<p>I have run into this issue twice now in customer systems and it is something that has a significant impact to query performance.  Microsoft is aware of the problem, but a fix is not immediately on the horizon as far as I know today.  However, there are a couple of workarounds that can be used to achieve the same result with fast performance, just not using the newer syntax.  I initially ran into this on premise with SQL Server 2019, but it also affects Synapse in Azure as well.  <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Example Queries <\/h2>\n\n\n\n<p>For the performance impact to show up, you have to be querying against a relatively large size data set.  I am going to use AdventureWorks in this post, and you can use the script on my blog post <a href=\"https:\/\/www.sqlskills.com\/blogs\/jonathan\/enlarging-the-adventureworks-sample-databases\/\" target=\"_blank\" rel=\"noreferrer noopener\">Enlarging the AdventureWorks Sample Databases<\/a> to create a larger version for testing.  The impact is measurable even on the smaller SalesOrderHeader table that ships with AdventureWorks, but it&#8217;s not nearly as painful with only 32K rows of data.  Here is the example query we are going to use against the SalesOrderHeaderEnlarged table I&#8217;ve used for years with 9.8 million rows of data, which still isn&#8217;t that much.<\/p>\n\n\n<pre><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\n\nSELECT OrderDate AT TIME ZONE 'Pacific Standard Time' AS OrderDate, \n\t\tCOUNT(SalesOrderID) AS OrderCount\nFROM &#x5B;AdventureWorks2014].&#x5B;Sales].&#x5B;SalesOrderHeaderEnlarged]\nGROUP BY OrderDate AT TIME ZONE 'Pacific Standard Time';\n\n<\/pre><\/pre>\n<p>SQL Server Execution Times:<br \/>CPU time = 221500 ms, elapsed time = 227653 ms.<\/p>\n\n\n<p>This query takes a whopping 3 minutes and 41 seconds to run on my 8 core system with 8GB RAM dedicated to SQL Server, when the entire data set exists in the buffer pool already.  The first system where I found AT TIME ZONE to be a performance inhibitor, I was working with a data set that was in the 3+ billion rows per day size range that was stored in a clustered columnstore, and the query that was executing would literally spin for days, and live query stats showed that it was processing rows but at a painfully slow rate.  I was almost ready to give up and accept defeat on tuning this process when I decided to drop out of SQL Server and use xperf to capture a latency stackwalk while running the query in isolation on a development machine to see why in the world this was running so incredibly slow.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-content\/uploads\/2021\/07\/xperf-at-time-zone.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"513\" src=\"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-content\/uploads\/2021\/07\/xperf-at-time-zone-1024x513.png\" alt=\"\" class=\"wp-image-19694\" srcset=\"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-content\/uploads\/2021\/07\/xperf-at-time-zone-1024x513.png 1024w, https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-content\/uploads\/2021\/07\/xperf-at-time-zone-300x150.png 300w, https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-content\/uploads\/2021\/07\/xperf-at-time-zone-768x385.png 768w, https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-content\/uploads\/2021\/07\/xperf-at-time-zone.png 1116w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Here you can see that the CPU time&nbsp;is going to an external CLR call, so I started looking&nbsp;at&nbsp;what in the code from TRY_PARSE(), to CONCAT(), etc could be the cause of it and methodically eliminated things from the code one at a time testing to see what was the culprit.&nbsp; It turned out to be the implementation of&nbsp;AT&nbsp;TIME&nbsp;ZONE, which calls external to Windows for the conversion to include DST information maintained by the OS already instead of SQL Server having to maintain logic for DST conversions and be updated anytime someplace changes their rules for DST.&nbsp; After removing the&nbsp;AT&nbsp;TIME&nbsp;ZONE&nbsp;references (there happened to be 15 of them in the process) and just using datetimes as provided by data instead, the run time dropped to under 30 minutes for a process that I would literally start on Monday morning and check in on at the end of Tuesday before leaving work to see where it was at.  The xperf stackwalk without&nbsp;AT&nbsp;TIME&nbsp;ZONE&nbsp;is below, and shows that it is able to consume rows much faster.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-content\/uploads\/2021\/07\/no-at-time-zone.png\"><img decoding=\"async\" width=\"780\" height=\"733\" src=\"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-content\/uploads\/2021\/07\/no-at-time-zone.png\" alt=\"\" class=\"wp-image-19695\" srcset=\"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-content\/uploads\/2021\/07\/no-at-time-zone.png 780w, https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-content\/uploads\/2021\/07\/no-at-time-zone-300x282.png 300w, https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-content\/uploads\/2021\/07\/no-at-time-zone-768x722.png 768w\" sizes=\"(max-width: 780px) 100vw, 780px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Working Around the Issue<\/h2>\n\n\n\n<p>Since I still needed to have the datetime values converted to the appropriate time zone following daylight savings time rules, I tried a couple of different things.  First, in the documentation for AT TIME ZONE, it calls out that there is a system object sys.time_zone_info in SQL Server that outputs the information stored in the Windows Registry.  So I tried rewriting the relevant code sections using AT TIME ZONE to instead do a CROSS JOIN to this view similar to the following code:<\/p>\n\n\n<pre><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\n\nSELECT DATEADD(hh, hour_offset, DATEADD(mi, minute_offset, OrderDate)) AS OrderDate, \n\t\tCOUNT(SalesOrderID) AS OrderCount\nFROM &#x5B;AdventureWorks2014].&#x5B;Sales].&#x5B;SalesOrderHeaderEnlarged]\nCROSS JOIN (\n\t\t\tSELECT CAST(PARSENAME(REPLACE(current_utc_offset, ':', '.'), 1) AS INT) AS minute_offset, \n\t\t\t\t\tCAST(PARSENAME(REPLACE(current_utc_offset, ':', '.'), 2) AS INT) AS hour_offset  \n\t\t\tFROM sys.time_zone_info AS tzi\n\t\t\tWHERE tzi.name = 'Pacific Standard Time'\n\t\t\t) AS t\nGROUP BY DATEADD(hh, hour_offset, DATEADD(mi, minute_offset, OrderDate));\n\n<\/pre><\/pre>\n<p>SQL Server Execution Times:<br>CPU time = 72828 ms, elapsed time = 72834 ms.<\/p>\n\n\n<p>We are doing better, but this still has a run time of 1 minute and nearly 13 seconds.  So I decided to try creating local variables of the hour and minute offsets required and just using those in the query:<\/p>\n\n\n<pre><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nDECLARE @minute_offset INT, @hour_offset INT;\nSELECT @minute_offset = CAST(PARSENAME(REPLACE(current_utc_offset, ':', '.'), 1) AS INT), \n\t\t@hour_offset = CAST(PARSENAME(REPLACE(current_utc_offset, ':', '.'), 2) AS INT)  \nFROM sys.time_zone_info AS tzi\nWHERE tzi.name = 'Pacific Standard Time';\n\nSELECT DATEADD(hh, @hour_offset, DATEADD(mi, @minute_offset, OrderDate)) AS OrderDate, \n\tCOUNT(SalesOrderID) AS OrderCount\nFROM &#x5B;AdventureWorks2014].&#x5B;Sales].&#x5B;SalesOrderHeaderEnlarged]\nGROUP BY DATEADD(hh, @hour_offset, DATEADD(mi, @minute_offset, OrderDate));\n<\/pre>\n<\/pre>\n<p>SQL Server Execution Times:<br>CPU time = 4515 ms, elapsed time = 4504 ms.<\/p>\n\n\n<p>EUREKA! Now we are cooking with fire! We only pay the expense of going out to the OS and CLR once, and now SQL Server knows how to do math in a set based manner so it doesn&#8217;t have to run row-by-row executing the query, and as you can see performance is significantly better at 4 and a half seconds. <\/p>\n\n\n\n<p><strong>HOWEVER, THIS IS NOT THE CORRECT WAY TO DO THINGS ACROSS DATE RANGES!<\/strong> This only demonstrates that the performance impact is the result of AT TIME ZONE.  To see how to work across date ranges read my follow up post: <a href=\"https:\/\/www.sqlskills.com\/blogs\/jonathan\/more-about-at-time-zone\/\">More About AT TIME ZONE<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Takeaways<\/h2>\n\n\n\n<p>Troubleshooting performance problems can sometimes involve going outside the normal things we would look at to determine why something is running slowly.  I&#8217;ve used XPerf a few times in client engagements to collect low level latency stack walk data to figure out what&#8217;s happening under the covers, but it&#8217;s not common.  The SQL Server team at Microsoft is aware of the performance impact of AT TIME ZONE, but the design change required to fix the implementation is not trivial.  The decision to rely on Windows to get daylight savings time information was likely made because it&#8217;s already available there and it is updated when a location decides to change whether or not to follow daylight savings time.  To me, this isn&#8217;t a huge deal, there is an easy way to work around the performance issue that exists, but it can be a pain trying to diagnose what&#8217;s happening with a query that otherwise doesn&#8217;t provide much in the way of performance tuning. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This only demonstrates that the performance impact is the result of AT TIME ZONE. To see how to work across date ranges read my follow up post: More About AT TIME ZONE. This is not the type of blog post that I enjoy writing. First let me start off by saying this is not a [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-19693","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>AT TIME ZONE Performance Issues - Jonathan Kehayias<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AT TIME ZONE Performance Issues - Jonathan Kehayias\" \/>\n<meta property=\"og:description\" content=\"This only demonstrates that the performance impact is the result of AT TIME ZONE. To see how to work across date ranges read my follow up post: More About AT TIME ZONE. This is not the type of blog post that I enjoy writing. First let me start off by saying this is not a [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/\" \/>\n<meta property=\"og:site_name\" content=\"Jonathan Kehayias\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-22T15:25:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-30T16:44:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-content\/uploads\/2021\/07\/xperf-at-time-zone-1024x513.png\" \/>\n<meta name=\"author\" content=\"Jonathan Kehayias\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jonathan Kehayias\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/at-time-zone-performance-issues\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/at-time-zone-performance-issues\\\/\"},\"author\":{\"name\":\"Jonathan Kehayias\",\"@id\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/#\\\/schema\\\/person\\\/01c10d94f3648654ef706d5e6305f69c\"},\"headline\":\"AT TIME ZONE Performance Issues\",\"datePublished\":\"2021-07-22T15:25:41+00:00\",\"dateModified\":\"2021-07-30T16:44:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/at-time-zone-performance-issues\\\/\"},\"wordCount\":1166,\"commentCount\":5,\"image\":{\"@id\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/at-time-zone-performance-issues\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/xperf-at-time-zone-1024x513.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/at-time-zone-performance-issues\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/at-time-zone-performance-issues\\\/\",\"url\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/at-time-zone-performance-issues\\\/\",\"name\":\"AT TIME ZONE Performance Issues - Jonathan Kehayias\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/at-time-zone-performance-issues\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/at-time-zone-performance-issues\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/xperf-at-time-zone-1024x513.png\",\"datePublished\":\"2021-07-22T15:25:41+00:00\",\"dateModified\":\"2021-07-30T16:44:44+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/#\\\/schema\\\/person\\\/01c10d94f3648654ef706d5e6305f69c\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/at-time-zone-performance-issues\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/at-time-zone-performance-issues\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/at-time-zone-performance-issues\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/xperf-at-time-zone.png\",\"contentUrl\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/xperf-at-time-zone.png\",\"width\":1116,\"height\":559},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/at-time-zone-performance-issues\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Uncategorized\",\"item\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/category\\\/uncategorized\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AT TIME ZONE Performance Issues\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/#website\",\"url\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/\",\"name\":\"Jonathan Kehayias - The Rambling DBA\",\"description\":\"The Rambling DBA\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sqlskills.com\\\/blogs\\\/jonathan\\\/#\\\/schema\\\/person\\\/01c10d94f3648654ef706d5e6305f69c\",\"name\":\"Jonathan Kehayias\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/86630e27f5deecc5c393ea57fc7c3b6a068949f4fd6b5309f81de5a276f12855?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/86630e27f5deecc5c393ea57fc7c3b6a068949f4fd6b5309f81de5a276f12855?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/86630e27f5deecc5c393ea57fc7c3b6a068949f4fd6b5309f81de5a276f12855?s=96&d=mm&r=g\",\"caption\":\"Jonathan Kehayias\"},\"sameAs\":[\"http:\\\/\\\/3.209.169.194\\\/blogs\\\/jonathan\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AT TIME ZONE Performance Issues - Jonathan Kehayias","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/","og_locale":"en_US","og_type":"article","og_title":"AT TIME ZONE Performance Issues - Jonathan Kehayias","og_description":"This only demonstrates that the performance impact is the result of AT TIME ZONE. To see how to work across date ranges read my follow up post: More About AT TIME ZONE. This is not the type of blog post that I enjoy writing. First let me start off by saying this is not a [&hellip;]","og_url":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/","og_site_name":"Jonathan Kehayias","article_published_time":"2021-07-22T15:25:41+00:00","article_modified_time":"2021-07-30T16:44:44+00:00","og_image":[{"url":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-content\/uploads\/2021\/07\/xperf-at-time-zone-1024x513.png","type":"","width":"","height":""}],"author":"Jonathan Kehayias","twitter_misc":{"Written by":"Jonathan Kehayias","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/#article","isPartOf":{"@id":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/"},"author":{"name":"Jonathan Kehayias","@id":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/#\/schema\/person\/01c10d94f3648654ef706d5e6305f69c"},"headline":"AT TIME ZONE Performance Issues","datePublished":"2021-07-22T15:25:41+00:00","dateModified":"2021-07-30T16:44:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/"},"wordCount":1166,"commentCount":5,"image":{"@id":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/#primaryimage"},"thumbnailUrl":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-content\/uploads\/2021\/07\/xperf-at-time-zone-1024x513.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/","url":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/","name":"AT TIME ZONE Performance Issues - Jonathan Kehayias","isPartOf":{"@id":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/#primaryimage"},"image":{"@id":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/#primaryimage"},"thumbnailUrl":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-content\/uploads\/2021\/07\/xperf-at-time-zone-1024x513.png","datePublished":"2021-07-22T15:25:41+00:00","dateModified":"2021-07-30T16:44:44+00:00","author":{"@id":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/#\/schema\/person\/01c10d94f3648654ef706d5e6305f69c"},"breadcrumb":{"@id":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/#primaryimage","url":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-content\/uploads\/2021\/07\/xperf-at-time-zone.png","contentUrl":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-content\/uploads\/2021\/07\/xperf-at-time-zone.png","width":1116,"height":559},{"@type":"BreadcrumbList","@id":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/at-time-zone-performance-issues\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/"},{"@type":"ListItem","position":2,"name":"Uncategorized","item":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/category\/uncategorized\/"},{"@type":"ListItem","position":3,"name":"AT TIME ZONE Performance Issues"}]},{"@type":"WebSite","@id":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/#website","url":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/","name":"Jonathan Kehayias - The Rambling DBA","description":"The Rambling DBA","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/#\/schema\/person\/01c10d94f3648654ef706d5e6305f69c","name":"Jonathan Kehayias","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/86630e27f5deecc5c393ea57fc7c3b6a068949f4fd6b5309f81de5a276f12855?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/86630e27f5deecc5c393ea57fc7c3b6a068949f4fd6b5309f81de5a276f12855?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/86630e27f5deecc5c393ea57fc7c3b6a068949f4fd6b5309f81de5a276f12855?s=96&d=mm&r=g","caption":"Jonathan Kehayias"},"sameAs":["http:\/\/3.209.169.194\/blogs\/jonathan"]}]}},"_links":{"self":[{"href":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-json\/wp\/v2\/posts\/19693","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-json\/wp\/v2\/comments?post=19693"}],"version-history":[{"count":0,"href":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-json\/wp\/v2\/posts\/19693\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-json\/wp\/v2\/media?parent=19693"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-json\/wp\/v2\/categories?post=19693"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/jonathan\/wp-json\/wp\/v2\/tags?post=19693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}