<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Комментарии: SQLMon: мониторинг запросов MySQL</title>
	<atom:link href="http://blog.sjinks.pro/wordpress-plugins/sqlmon/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sjinks.pro</link>
	<description>Quod scripsi, scripsi</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:16:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Автор: 0D0A</title>
		<link>http://blog.sjinks.pro/wordpress-plugins/sqlmon/comment-page-1/#comment-215487</link>
		<dc:creator>0D0A</dc:creator>
		<pubDate>Sun, 19 Jun 2011 23:07:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sjinks.pro/?page_id=704#comment-215487</guid>
		<description>Понимаю, что вопрос не совсем по теме, но уж очень беспокоит то, что обращение к странице генерит 4 запроса:

3 SELECT ID, post_name, post_parent FROM wp_posts WHERE post_name = &#039;legal&#039; AND (post_type = &#039;page&#039; OR post_type = &#039;attachment&#039;)

4 SELECT * FROM wp_posts WHERE ID = 545 LIMIT 1

5 SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND (wp_posts.ID = &#039;545&#039;) AND wp_posts.post_type = &#039;page&#039; ORDER BY wp_posts.post_date DESC0

6 SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (545)

Это стандартное поведение вордпреса и у всех так или у меня что-то сломано и можно уменьшить количество запросов?</description>
		<content:encoded><![CDATA[<p>Понимаю, что вопрос не совсем по теме, но уж очень беспокоит то, что обращение к странице генерит 4 запроса:</p>
<p>3 SELECT ID, post_name, post_parent FROM wp_posts WHERE post_name = &#8216;legal&#8217; AND (post_type = &#8216;page&#8217; OR post_type = &#8216;attachment&#8217;)</p>
<p>4 SELECT * FROM wp_posts WHERE ID = 545 LIMIT 1</p>
<p>5 SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND (wp_posts.ID = &#8217;545&#8242;) AND wp_posts.post_type = &#8216;page&#8217; ORDER BY wp_posts.post_date DESC0</p>
<p>6 SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (545)</p>
<p>Это стандартное поведение вордпреса и у всех так или у меня что-то сломано и можно уменьшить количество запросов?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Andrey</title>
		<link>http://blog.sjinks.pro/wordpress-plugins/sqlmon/comment-page-1/#comment-167224</link>
		<dc:creator>Andrey</dc:creator>
		<pubDate>Thu, 26 May 2011 06:28:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sjinks.pro/?page_id=704#comment-167224</guid>
		<description>Проблема была в версии wordpress&#039;a(2.5.1), после обновления на последнюю, плагин заработал корректно. 

Кстати
wp_enqueue_style(&#039;sqlmon-css&#039;, plugins_url(&#039;sqlmon/sqldebug.css&#039;), array(), &#039;&#039;, &#039;all&#039;);
до обновления на стиль ругался, пришлось закомментировать эту строку.

Извините за беспокойство.</description>
		<content:encoded><![CDATA[<p>Проблема была в версии wordpress&#8217;a(2.5.1), после обновления на последнюю, плагин заработал корректно. </p>
<p>Кстати<br />
wp_enqueue_style(&#8216;sqlmon-css&#8217;, plugins_url(&#8216;sqlmon/sqldebug.css&#8217;), array(), &raquo;, &#8216;all&#8217;);<br />
до обновления на стиль ругался, пришлось закомментировать эту строку.</p>
<p>Извините за беспокойство.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Vladimir</title>
		<link>http://blog.sjinks.pro/wordpress-plugins/sqlmon/comment-page-1/#comment-166263</link>
		<dc:creator>Vladimir</dc:creator>
		<pubDate>Wed, 25 May 2011 16:52:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sjinks.pro/?page_id=704#comment-166263</guid>
		<description>&lt;ol&gt;
	&lt;li&gt;Какая версия WordPress?&lt;/li&gt;
	&lt;li&gt;Определены ли константы &lt;code&gt;WP_PLUGIN_DIR&lt;/code&gt;, &lt;code&gt;WP_CONTENT_DIR&lt;/code&gt;, если да, то верны ли их значения?&lt;/li&gt;
	&lt;li&gt;Если в файле &lt;code&gt;sqlmon.php&lt;/code&gt; в методе &lt;code&gt;SqlMonitor::activate()&lt;/code&gt; в строке &lt;code&gt;@copy(dirname(__FILE__) . &#039;/db.php&#039;, WP_CONTENT_DIR . &#039;/db.php&#039;);&lt;/code&gt; убрать &lt;code&gt;@&lt;/code&gt;, какая ошибка появляется при активации плагина?&lt;/li&gt;
&lt;/ol&gt;</description>
		<content:encoded><![CDATA[<ol>
<li>Какая версия WordPress?</li>
<li>Определены ли константы <code>WP_PLUGIN_DIR</code>, <code>WP_CONTENT_DIR</code>, если да, то верны ли их значения?</li>
<li>Если в файле <code>sqlmon.php</code> в методе <code>SqlMonitor::activate()</code> в строке <code>@copy(dirname(__FILE__) . '/db.php', WP_CONTENT_DIR . '/db.php');</code> убрать <code>@</code>, какая ошибка появляется при активации плагина?</li>
</ol>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Andrey</title>
		<link>http://blog.sjinks.pro/wordpress-plugins/sqlmon/comment-page-1/#comment-164683</link>
		<dc:creator>Andrey</dc:creator>
		<pubDate>Tue, 24 May 2011 16:48:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sjinks.pro/?page_id=704#comment-164683</guid>
		<description>Пытался поставить этот плагин, сначала он ругался на  
        require_once(WP_PLUGIN_DIR . &#039;/sqlmon/lib/class.Logger.php&#039;);
        require_once(WP_PLUGIN_DIR . &#039;/sqlmon/lib/class.LogEntry.php&#039;);
не мог найти корректный путь, поменял руками на 

require_once(&#039;/usr/share/wordpress/wp-content/plugins/sqlmon/lib/class.Logger.php&#039;);
        require_once(&#039;/usr/share/wordpress/wp-content/plugins/sqlmon/lib/class.LogEntry.php&#039;);

После этого плагин отработал без ошибок, но файл wp-content/db.php не создал, хотя на папку права стоят 777</description>
		<content:encoded><![CDATA[<p>Пытался поставить этот плагин, сначала он ругался на<br />
        require_once(WP_PLUGIN_DIR . &#8216;/sqlmon/lib/class.Logger.php&#8217;);<br />
        require_once(WP_PLUGIN_DIR . &#8216;/sqlmon/lib/class.LogEntry.php&#8217;);<br />
не мог найти корректный путь, поменял руками на </p>
<p>require_once(&#8216;/usr/share/wordpress/wp-content/plugins/sqlmon/lib/class.Logger.php&#8217;);<br />
        require_once(&#8216;/usr/share/wordpress/wp-content/plugins/sqlmon/lib/class.LogEntry.php&#8217;);</p>
<p>После этого плагин отработал без ошибок, но файл wp-content/db.php не создал, хотя на папку права стоят 777</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Konstantinus</title>
		<link>http://blog.sjinks.pro/wordpress-plugins/sqlmon/comment-page-1/#comment-60056</link>
		<dc:creator>Konstantinus</dc:creator>
		<pubDate>Sun, 06 Feb 2011 07:33:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sjinks.pro/?page_id=704#comment-60056</guid>
		<description>Спасибо! Проблема решилась установкой прав на wp-content 777 вместо 755. При активации плагин не выдавал никакой ошибки, но и не создавал db.php.</description>
		<content:encoded><![CDATA[<p>Спасибо! Проблема решилась установкой прав на wp-content 777 вместо 755. При активации плагин не выдавал никакой ошибки, но и не создавал db.php.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Vladimir</title>
		<link>http://blog.sjinks.pro/wordpress-plugins/sqlmon/comment-page-1/#comment-59793</link>
		<dc:creator>Vladimir</dc:creator>
		<pubDate>Sat, 05 Feb 2011 15:41:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sjinks.pro/?page_id=704#comment-59793</guid>
		<description>&lt;code&gt;wp-content/db.php&lt;/code&gt; создался? В теме присутствует вызов &lt;code&gt;wp_footer()&lt;/code&gt;? Вы зашли как администратор?</description>
		<content:encoded><![CDATA[<p><code>wp-content/db.php</code> создался? В теме присутствует вызов <code>wp_footer()</code>? Вы зашли как администратор?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Konstantin</title>
		<link>http://blog.sjinks.pro/wordpress-plugins/sqlmon/comment-page-1/#comment-59792</link>
		<dc:creator>Konstantin</dc:creator>
		<pubDate>Sat, 05 Feb 2011 15:39:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sjinks.pro/?page_id=704#comment-59792</guid>
		<description>На версии 3.0.4 плагин почему-то не отображает никаких данных. До этого нормально работал и был деактивирован, сейчас включил ничего не вижу.</description>
		<content:encoded><![CDATA[<p>На версии 3.0.4 плагин почему-то не отображает никаких данных. До этого нормально работал и был деактивирован, сейчас включил ничего не вижу.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Vladimir</title>
		<link>http://blog.sjinks.pro/wordpress-plugins/sqlmon/comment-page-1/#comment-3581</link>
		<dc:creator>Vladimir</dc:creator>
		<pubDate>Sun, 24 Oct 2010 12:20:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sjinks.pro/?page_id=704#comment-3581</guid>
		<description>Hi Miriam,

By default the plugin displays the stats for the users which have &quot;administrator&quot; capability (this can be changed by installing &lt;code&gt;enable_sqlmon&lt;/code&gt; filter). Stats are displayed during &lt;code&gt;wp_footer&lt;/code&gt; and &lt;code&gt;admin_footer&lt;/code&gt; events.

And please make sure that the plugin was able to create &lt;code&gt;wp-content/db.php&lt;/code&gt; after activation; if it hasn&#039;t you will have to copy &lt;code&gt;wp-content/plugins/sqlmon/db.php&lt;/code&gt; to &lt;code&gt;wp-content/db.php&lt;/code&gt;

Hope that helps.</description>
		<content:encoded><![CDATA[<p>Hi Miriam,</p>
<p>By default the plugin displays the stats for the users which have &laquo;administrator&raquo; capability (this can be changed by installing <code>enable_sqlmon</code> filter). Stats are displayed during <code>wp_footer</code> and <code>admin_footer</code> events.</p>
<p>And please make sure that the plugin was able to create <code>wp-content/db.php</code> after activation; if it hasn&#8217;t you will have to copy <code>wp-content/plugins/sqlmon/db.php</code> to <code>wp-content/db.php</code></p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Miriam Schwab</title>
		<link>http://blog.sjinks.pro/wordpress-plugins/sqlmon/comment-page-1/#comment-3580</link>
		<dc:creator>Miriam Schwab</dc:creator>
		<pubDate>Sun, 24 Oct 2010 08:00:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sjinks.pro/?page_id=704#comment-3580</guid>
		<description>Hi - we&#039;ve installed this plugin, but I can&#039;t figure out where the reports appear. Where can I see the reports in the admin?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi &#8211; we&#8217;ve installed this plugin, but I can&#8217;t figure out where the reports appear. Where can I see the reports in the admin?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: оптимизация NextGen Gallery « Авторская галерея Виталика Седова</title>
		<link>http://blog.sjinks.pro/wordpress-plugins/sqlmon/comment-page-1/#comment-3053</link>
		<dc:creator>оптимизация NextGen Gallery « Авторская галерея Виталика Седова</dc:creator>
		<pubDate>Wed, 10 Mar 2010 08:35:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sjinks.pro/?page_id=704#comment-3053</guid>
		<description>[...] плагина MySQL Monitor [...]

&lt;code lang=&quot;text&quot;&gt;http://photo.aquadb.com/wordpress/optimizaciya-nextgen-gallery.html&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>[...] плагина MySQL Monitor [...]</p>
<p><span class="codebox"><code class="text">http://photo.aquadb.com/wordpress/optimizaciya-nextgen-gallery.html</code></span></p>
]]></content:encoded>
	</item>
</channel>
</rss>

