<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Temp DB - To Cache or Not to Cache in Array Setup and Networking</title>
    <link>https://community.hpe.com/t5/array-setup-and-networking/temp-db-to-cache-or-not-to-cache/m-p/6985714#M1835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm a little unsure as to whether a volume or datastore created for SQL Temp DB's is Cache worthy. Since it's a temp DB I figure that it will receive read request briefly but not long term. Any suggestions folks?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Aug 2014 12:42:15 GMT</pubDate>
    <dc:creator>marktheblue45</dc:creator>
    <dc:date>2014-08-26T12:42:15Z</dc:date>
    <item>
      <title>Temp DB - To Cache or Not to Cache</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/temp-db-to-cache-or-not-to-cache/m-p/6985714#M1835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm a little unsure as to whether a volume or datastore created for SQL Temp DB's is Cache worthy. Since it's a temp DB I figure that it will receive read request briefly but not long term. Any suggestions folks?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 12:42:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/temp-db-to-cache-or-not-to-cache/m-p/6985714#M1835</guid>
      <dc:creator>marktheblue45</dc:creator>
      <dc:date>2014-08-26T12:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Temp DB - To Cache or Not to Cache</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/temp-db-to-cache-or-not-to-cache/m-p/6985715#M1836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you correctly point out, the data in tempdb is transient.&amp;nbsp; Since it is short lived, this data often does not receive any significant benefit from being place in SSD.&amp;nbsp; As a matter of fact, depending upon how tempdb is used it can consume a significant amount of the cache available on the array.&amp;nbsp; In these scenarios, the cache churn generated by tempdb can adverse impact the cache hit rate of other volumes and received no significant benefit itself. Generally speaking, it is best to disable caching on tempdb volumes (both data and log files). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If disabling caching on the tempdb volume does adversely impact your application performance, you can quickly revert to a cached policy.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 15:27:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/temp-db-to-cache-or-not-to-cache/m-p/6985715#M1836</guid>
      <dc:creator>jgraves129</dc:creator>
      <dc:date>2014-08-26T15:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Temp DB - To Cache or Not to Cache</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/temp-db-to-cache-or-not-to-cache/m-p/6985716#M1837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I were a betting man, I would not cache it. That said, one nice thing about Nimble is the ability to test it both ways in a non-disruptive manner. Configure a custom performance policy, with caching enabled and run some testing (longer better than shorter). Then edit the policy to disable cache and repeat your testing. If you don't mind sharing your results, please do. &lt;IMG src="https://community.hpe.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 16:11:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/temp-db-to-cache-or-not-to-cache/m-p/6985716#M1837</guid>
      <dc:creator>tmoore106</dc:creator>
      <dc:date>2014-08-26T16:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Temp DB - To Cache or Not to Cache</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/temp-db-to-cache-or-not-to-cache/m-p/6985717#M1838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;+1 on what Todd said.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a POC that was ran down under in ANZ it was found that their TempDB served quite high cache hits (&amp;gt;80%) even though caching was disabled; reason being any read to the TempDB typically caused the array to hairpin and read the IO from NVRAM or DRAM, as that was where the data was at the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it was detailed somewhere on NimbleConnect, i'll see if i can find it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 20:52:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/temp-db-to-cache-or-not-to-cache/m-p/6985717#M1838</guid>
      <dc:creator>Nick_Dyer</dc:creator>
      <dc:date>2014-08-26T20:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Temp DB - To Cache or Not to Cache</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/temp-db-to-cache-or-not-to-cache/m-p/6985718#M1839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yep, DRAM is used. You get cache hits on Log volumes. There was a good post on here about the mechanics of this.&lt;/P&gt;&lt;P&gt;Thanks Again,&lt;/P&gt;&lt;P&gt; Mark.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 01:12:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/temp-db-to-cache-or-not-to-cache/m-p/6985718#M1839</guid>
      <dc:creator>marktheblue45</dc:creator>
      <dc:date>2014-08-28T01:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Temp DB - To Cache or Not to Cache</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/temp-db-to-cache-or-not-to-cache/m-p/6985719#M1840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your ms latency for tempdb when using or not using cache? How much did you fill up your tempdb during each test?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to only use cache for say tempdb lun?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 18:57:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/temp-db-to-cache-or-not-to-cache/m-p/6985719#M1840</guid>
      <dc:creator>aspnerd82</dc:creator>
      <dc:date>2014-08-28T18:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Temp DB - To Cache or Not to Cache</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/temp-db-to-cache-or-not-to-cache/m-p/6985720#M1841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Latency broadly the same read 1.5 ms. But cache utilisation has dropped of from 90+ percent on the whole array to 60 ish percent. Tempdb was poisoning the cache. To early to make any major conclusions. Got a lot of vm migrations this weekend to distort findings&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 19:29:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/temp-db-to-cache-or-not-to-cache/m-p/6985720#M1841</guid>
      <dc:creator>marktheblue45</dc:creator>
      <dc:date>2014-08-28T19:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Temp DB - To Cache or Not to Cache</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/temp-db-to-cache-or-not-to-cache/m-p/6985721#M1842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for getting to the party so late, but I have something hopefully useful to say regarding tempdb.&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;I/O to tempdb SHOULD be mostly sequential for things like sorts, (order by, group by, etc.), as well as for what is called version store. Version store involves copying the before image of a data page involved in an update transaction to another page in temdb in order to maintain transaction read consistency. Think of it as like a COW snapshot, only&amp;nbsp; at the db level and not the storage level. Because version store would tend to string these before image pages together contiguously, then that should result in a sequential workload for tempdb. Then we have temp tables, which are also created in tempdb. Depending on how the application creates and then accesses these temp tables, access to these could be random in nature or sequential. Since most code I have seen tends to iterate through, and probably even sort through the entire results set for the temp table, then both the creation of and selection from a temp table should be mostly sequential. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;The short story is that most of what is detailed above should result in sequential I/O, however I have experimented with this a bit and seen varying results when specifying a log versus a data perf policy. As has been said earlier, if a SQL Server data policy is chosen, but access to the volume is sequential, then the array will handle that well due to the way the caching algorithms work. However, for direct attached iSCSI volumes I would lean towards choosing a log perf policy for a log and tempdb vol, and a data per policy for data and index files regardless of the db platform as a rule of thumb.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;One more thing worth mentioning is that lots of customers use VMDK's or CSV's for both data and log files, and rarely do we hear of performance issues, so the array just handles it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;Hopefully this was helpful in some way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Best Regards,&lt;BR /&gt;Steve&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 08:52:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/temp-db-to-cache-or-not-to-cache/m-p/6985721#M1842</guid>
      <dc:creator>sdamore72</dc:creator>
      <dc:date>2014-09-02T08:52:02Z</dc:date>
    </item>
  </channel>
</rss>

