<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged qa_optimize_local_db</title>
<link>https://www.question2answer.org/qa/tag/qa_optimize_local_db</link>
<description>Powered by Question2Answer</description>
<item>
<title>Is QA_OPTIMIZE_LOCAL_DB really making a positive difference in performance?</title>
<link>https://www.question2answer.org/qa/51803/qa_optimize_local_db-really-positive-difference-performance</link>
<description>

&lt;p&gt;I tried setting QA_OPTIMIZE_LOCAL_DB to true (and QA_OPTIMIZE_DISTANT_DB = false) on my production site and realized that the loading time for the HTML part is still the same as before.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://docs.question2answer.org/install/optimize/&quot; rel=&quot;nofollow&quot;&gt;http://docs.question2answer.org/install/optimize/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Could it be that my database and server are not having any advantage by this setting? If so, why?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WITH QA_OPTIMIZE_LOCAL_DB == false&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=14550408186033351433&quot; style=&quot;height:165px; width:600px&quot;&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WITH QA_OPTIMIZE_LOCAL_DB == true&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=17413911055773726554&quot;&gt;&lt;/p&gt;

&lt;p&gt;You can even see that with the option enabled there are 26 queries, without it is only 21 queries.&lt;/p&gt;

&lt;p&gt;
&lt;br&gt;PS: I see that the execution time is reduced from 7.0 ms to 5.9 ms indeed, but the requests increased.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/51803/qa_optimize_local_db-really-positive-difference-performance</guid>
<pubDate>Tue, 17 May 2016 03:49:27 +0000</pubDate>
</item>
</channel>
</rss>