<?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>Comments on: Drizzle Storage Engine Dev: Determining Query Type</title>
	<atom:link href="http://torum.net/2009/11/drizzle-engine-query-type/feed/" rel="self" type="application/rss+xml" />
	<link>http://torum.net/2009/11/drizzle-engine-query-type/</link>
	<description>Hackaholic and a Web Addict based in Tokyo</description>
	<lastBuildDate>Sun, 21 Mar 2010 15:05:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Toru Maesaka</title>
		<link>http://torum.net/2009/11/drizzle-engine-query-type/comment-page-1/#comment-5248</link>
		<dc:creator>Toru Maesaka</dc:creator>
		<pubDate>Sat, 28 Nov 2009 05:44:55 +0000</pubDate>
		<guid isPermaLink="false">http://torum.net/?p=2310#comment-5248</guid>
		<description>Hi Stewart,

Awesome. Right now, I&#039;m happy as long as there&#039;s a way for me to get statement information so I&#039;m glad to hear that it might be possible to pull this off. It would be even better if this could be done before Brian deletes store_lock() from the API. Guess I should take a look at how to pull this off in drizzled&#039;s code too :)

I&#039;d love to get BlitzDB merged with the trunk but it&#039;s not quite there yet. I&#039;m nearly done rewriting the base of it with a new design and locking mechanism so we could talk about it once that&#039;s done... Ideally I want you guys to test it when I support at least one secondary index.</description>
		<content:encoded><![CDATA[<p>Hi Stewart,</p>
<p>Awesome. Right now, I&#8217;m happy as long as there&#8217;s a way for me to get statement information so I&#8217;m glad to hear that it might be possible to pull this off. It would be even better if this could be done before Brian deletes store_lock() from the API. Guess I should take a look at how to pull this off in drizzled&#8217;s code too :)</p>
<p>I&#8217;d love to get BlitzDB merged with the trunk but it&#8217;s not quite there yet. I&#8217;m nearly done rewriting the base of it with a new design and locking mechanism so we could talk about it once that&#8217;s done&#8230; Ideally I want you guys to test it when I support at least one secondary index.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stewart Smith</title>
		<link>http://torum.net/2009/11/drizzle-engine-query-type/comment-page-1/#comment-5202</link>
		<dc:creator>Stewart Smith</dc:creator>
		<pubDate>Fri, 27 Nov 2009 01:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://torum.net/?p=2310#comment-5202</guid>
		<description>(also, this is another good example on why we should merge plugins... then we&#039;d immediately see the BlitzDB usage and have to think about it on a global scale, not just leave it for Toru to find and fix the world :)</description>
		<content:encoded><![CDATA[<p>(also, this is another good example on why we should merge plugins&#8230; then we&#8217;d immediately see the BlitzDB usage and have to think about it on a global scale, not just leave it for Toru to find and fix the world :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stewart Smith</title>
		<link>http://torum.net/2009/11/drizzle-engine-query-type/comment-page-1/#comment-5201</link>
		<dc:creator>Stewart Smith</dc:creator>
		<pubDate>Fri, 27 Nov 2009 00:59:42 +0000</pubDate>
		<guid isPermaLink="false">http://torum.net/?p=2310#comment-5201</guid>
		<description>I&#039;d prefer not to use a protobuf message here... they&#039;re very much for data serialisation, not for passing things around inside a program (especially in performance critical parts).

As we improve optimizer and execution engine parts of code, we should end up with a much nicer interface for engines to look at.

However, as a short term solution, it should be possible for engines to look at the Statement while running Cursor methods.</description>
		<content:encoded><![CDATA[<p>I&#8217;d prefer not to use a protobuf message here&#8230; they&#8217;re very much for data serialisation, not for passing things around inside a program (especially in performance critical parts).</p>
<p>As we improve optimizer and execution engine parts of code, we should end up with a much nicer interface for engines to look at.</p>
<p>However, as a short term solution, it should be possible for engines to look at the Statement while running Cursor methods.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toru Maesaka</title>
		<link>http://torum.net/2009/11/drizzle-engine-query-type/comment-page-1/#comment-5178</link>
		<dc:creator>Toru Maesaka</dc:creator>
		<pubDate>Thu, 26 Nov 2009 03:15:36 +0000</pubDate>
		<guid isPermaLink="false">http://torum.net/?p=2310#comment-5178</guid>
		<description>Hi Jay,

I think using protobuf would be fantastic. It would allow us to keep adding attributes to it as Drizzle matures without screwing up storage engines.

Right now, I can only think of &quot;command_type&quot; for attributes but I think that would be enough to start with since we can keep adding what we want to the .proto definition as we come up with useful attributes.

I think existing and upcoming new engines would benefit quite a bit from this model of providing query attributes via protobuf. Definitely helps as a &quot;hint&quot; for engines to optimize the task. Opposite of what engines do for the optimizer in info().</description>
		<content:encoded><![CDATA[<p>Hi Jay,</p>
<p>I think using protobuf would be fantastic. It would allow us to keep adding attributes to it as Drizzle matures without screwing up storage engines.</p>
<p>Right now, I can only think of &#8220;command_type&#8221; for attributes but I think that would be enough to start with since we can keep adding what we want to the .proto definition as we come up with useful attributes.</p>
<p>I think existing and upcoming new engines would benefit quite a bit from this model of providing query attributes via protobuf. Definitely helps as a &#8220;hint&#8221; for engines to optimize the task. Opposite of what engines do for the optimizer in info().</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toru Maesaka</title>
		<link>http://torum.net/2009/11/drizzle-engine-query-type/comment-page-1/#comment-5177</link>
		<dc:creator>Toru Maesaka</dc:creator>
		<pubDate>Thu, 26 Nov 2009 03:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://torum.net/?p=2310#comment-5177</guid>
		<description>Hi Brian,

Glad to hear store_lock() is going away soon! Goes well with my philosophy that engines should have full responsibility for concurrency control.

As for info(), I don&#039;t think this will work since the session object needs to be accessible to get meaningful information. The reason I did what I did in store_lock() is:

(1) Session object is accessible through the argument.
(2) It is guaranteed to run before any other calls.

I think Jay&#039;s suggestion is spot-on.</description>
		<content:encoded><![CDATA[<p>Hi Brian,</p>
<p>Glad to hear store_lock() is going away soon! Goes well with my philosophy that engines should have full responsibility for concurrency control.</p>
<p>As for info(), I don&#8217;t think this will work since the session object needs to be accessible to get meaningful information. The reason I did what I did in store_lock() is:</p>
<p>(1) Session object is accessible through the argument.<br />
(2) It is guaranteed to run before any other calls.</p>
<p>I think Jay&#8217;s suggestion is spot-on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Pipes</title>
		<link>http://torum.net/2009/11/drizzle-engine-query-type/comment-page-1/#comment-5159</link>
		<dc:creator>Jay Pipes</dc:creator>
		<pubDate>Wed, 25 Nov 2009 17:47:03 +0000</pubDate>
		<guid isPermaLink="false">http://torum.net/?p=2310#comment-5159</guid>
		<description>How would you like the API to be?  What about having a GPB message that is returned to the engine which described the query in question?  Before I code something up, though, I need to know the information that you would most like to see in the message sent form the kernel.  The command type and what other attributes?

Cheers!

Jay</description>
		<content:encoded><![CDATA[<p>How would you like the API to be?  What about having a GPB message that is returned to the engine which described the query in question?  Before I code something up, though, I need to know the information that you would most like to see in the message sent form the kernel.  The command type and what other attributes?</p>
<p>Cheers!</p>
<p>Jay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Aker</title>
		<link>http://torum.net/2009/11/drizzle-engine-query-type/comment-page-1/#comment-5158</link>
		<dc:creator>Brian Aker</dc:creator>
		<pubDate>Wed, 25 Nov 2009 17:37:31 +0000</pubDate>
		<guid isPermaLink="false">http://torum.net/?p=2310#comment-5158</guid>
		<description>Hi!

Why not use the info call?

store_lock() is no longer called for anything but non-temp engines in certain cases. It will be going away completely sometime in the next few weeks.

Cheers,
  -Brian</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Why not use the info call?</p>
<p>store_lock() is no longer called for anything but non-temp engines in certain cases. It will be going away completely sometime in the next few weeks.</p>
<p>Cheers,<br />
  -Brian</p>
]]></content:encoded>
	</item>
</channel>
</rss>
