<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>pembull</title>
	<atom:link href="http://pembull.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://pembull.com</link>
	<description>Perspectives on Force.com</description>
	<lastBuildDate>Mon, 23 Jan 2012 00:36:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='pembull.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>pembull</title>
		<link>http://pembull.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://pembull.com/osd.xml" title="pembull" />
	<atom:link rel='hub' href='http://pembull.com/?pushpress=hub'/>
		<item>
		<title>SOSL vs. SOQL</title>
		<link>http://pembull.com/2012/01/22/sosl-vs-soql/</link>
		<comments>http://pembull.com/2012/01/22/sosl-vs-soql/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 05:50:44 +0000</pubDate>
		<dc:creator>pembull</dc:creator>
				<category><![CDATA[Force.com]]></category>

		<guid isPermaLink="false">http://pembull.com/?p=10</guid>
		<description><![CDATA[Curiosity got the best of me, and I decided to run a rudimentary benchmark against a small data set, using both SOSL and SOQL for search. Results below. First, to run the benchmark, I fired up a fresh dev org &#8230; <a href="http://pembull.com/2012/01/22/sosl-vs-soql/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pembull.com&#038;blog=27817643&#038;post=10&#038;subd=pembullsfdc&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Curiosity got the best of me, and I decided to run a rudimentary benchmark against a small data set, using both SOSL and SOQL for search. Results below.</p>
<p>First, to run the benchmark, I fired up a fresh dev org and loaded as many records as I could. With a standard dev org and the import schema below, that meant 14,100 account records.</p>
<p>In order to have something to search against, I uploaded just a single field; an incrementing name field.</p>
<p><a href="http://pembullsfdc.files.wordpress.com/2012/01/screen-shot-2012-01-21-at-11-18-46-pm.png"><img class="alignnone size-full wp-image-23" title="Screen Shot 2012-01-21 at 11.18.46 PM" src="http://pembullsfdc.files.wordpress.com/2012/01/screen-shot-2012-01-21-at-11-18-46-pm.png?w=584" alt=""   /></a></p>
<p>Testing this in the system log provided the following results.</p>
<p><strong>SOSL Test</strong><br />
<code>List searchList = [find '%99%' in name fields returning Account(Name)];<br />
</code><a href="http://pembullsfdc.files.wordpress.com/2012/01/screen-shot-2012-01-21-at-11-34-10-pm.png"><img title="Screen Shot 2012-01-21 at 11.34.10 PM" src="http://pembullsfdc.files.wordpress.com/2012/01/screen-shot-2012-01-21-at-11-34-10-pm.png?w=584&#038;h=120" alt="" width="584" height="120" /></a></p>
<p><strong>SOQL Test</strong><br />
<code>List searchList = [select Id from Account where Name like '%99%'];<br />
</code><a href="http://pembullsfdc.files.wordpress.com/2012/01/screen-shot-2012-01-21-at-11-28-55-pm.png"><img class="alignnone size-full wp-image-24" title="Screen Shot 2012-01-21 at 11.28.55 PM" src="http://pembullsfdc.files.wordpress.com/2012/01/screen-shot-2012-01-21-at-11-28-55-pm.png?w=584&#038;h=120" alt="" width="584" height="120" /></a></p>
<p><strong>Findings/Case for SOSL<br />
</strong>SOSL came in at 32ms, while SOQL was a full 22% slower at 39ms. Obviously, this was a small data set, but gives you a sense for how SOSL may scale at larger volumes.</p>
<p>Additionally, SOSL has the ability to easy search across all fields, and include multiple objects in the data set, while SOQL would require multiple queries or an object relationship to accomplish the same thing.</p>
<p>SOQL is going to be the stronger general use query tool, but for straight-up search it&#8217;s hard to ignore the benefits of SOSL. That is what it was designed for, after all.</p>
<p>What do you think? Thoughts/experiences with SOSL vs. SOQL? Was this a fair test?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pembullsfdc.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pembullsfdc.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pembull.com&#038;blog=27817643&#038;post=10&#038;subd=pembullsfdc&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pembull.com/2012/01/22/sosl-vs-soql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5c85202503942832657c7bcb551a2e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pembull</media:title>
		</media:content>

		<media:content url="http://pembullsfdc.files.wordpress.com/2012/01/screen-shot-2012-01-21-at-11-18-46-pm.png" medium="image">
			<media:title type="html">Screen Shot 2012-01-21 at 11.18.46 PM</media:title>
		</media:content>

		<media:content url="http://pembullsfdc.files.wordpress.com/2012/01/screen-shot-2012-01-21-at-11-34-10-pm.png" medium="image">
			<media:title type="html">Screen Shot 2012-01-21 at 11.34.10 PM</media:title>
		</media:content>

		<media:content url="http://pembullsfdc.files.wordpress.com/2012/01/screen-shot-2012-01-21-at-11-28-55-pm.png" medium="image">
			<media:title type="html">Screen Shot 2012-01-21 at 11.28.55 PM</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick Find Keyboard Shortcut</title>
		<link>http://pembull.com/2012/01/22/quick-find-keyboard-shortcut/</link>
		<comments>http://pembull.com/2012/01/22/quick-find-keyboard-shortcut/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 05:12:17 +0000</pubDate>
		<dc:creator>pembull</dc:creator>
				<category><![CDATA[Force.com]]></category>

		<guid isPermaLink="false">http://pembull.com/?p=16</guid>
		<description><![CDATA[Whether you make a hobby out of reducing mouse clicks to the bare minimum, or just find yourself clicking the Quick Find field or Setup link in Salesforce several times a day, you should get some value out of this &#8230; <a href="http://pembull.com/2012/01/22/quick-find-keyboard-shortcut/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pembull.com&#038;blog=27817643&#038;post=16&#038;subd=pembullsfdc&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Whether you make a hobby out of reducing mouse clicks to the bare minimum, or just find yourself clicking the Quick Find field or Setup link in Salesforce several times a day, you should get some value out of this browser script.</p>
<p>Download here: <a href="http://userscripts.org/scripts/show/123715">http://userscripts.org/scripts/show/123715</a></p>
<p>It binds a keyboard shortcut (⌘+Shift+F on Mac, Ctrl+Shift+F on Windows/Mac) to both the Quick Find field and setup menu, for easy access. How does it work? Pretty simple:</p>
<ul>
<li>If you&#8217;re on a non-setup page, the shortcut will take you to the setup menu landing page.</li>
<li>If you&#8217;re in the setup menu, the shortcut will apply field focus to the Quick Find field.</li>
</ul>
<p>Simple, but it saves me a couple of seconds hundreds of times a day. Check it out, and let me know what you think!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pembullsfdc.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pembullsfdc.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pembull.com&#038;blog=27817643&#038;post=16&#038;subd=pembullsfdc&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pembull.com/2012/01/22/quick-find-keyboard-shortcut/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5c85202503942832657c7bcb551a2e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pembull</media:title>
		</media:content>
	</item>
	</channel>
</rss>
