<?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/"
	>

<channel>
	<title>... and points beyond &#187; Performance</title>
	<atom:link href="http://andpointsbeyond.com/category/performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://andpointsbeyond.com</link>
	<description>mostly about data</description>
	<lastBuildDate>Wed, 05 May 2010 23:26:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Improving The Load Process With Multiple ODBC Connections</title>
		<link>http://andpointsbeyond.com/2008/08/15/improving-the-load-process-with-multiple-odbc-connections/</link>
		<comments>http://andpointsbeyond.com/2008/08/15/improving-the-load-process-with-multiple-odbc-connections/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 00:54:24 +0000</pubDate>
		<dc:creator>Jay Jakosky</dc:creator>
				<category><![CDATA[Performance]]></category>
		<category><![CDATA[QlikView]]></category>
		<category><![CDATA[database]]></category>

		<guid isPermaLink="false">http://andpointsbeyond.com/?p=193</guid>
		<description><![CDATA[One of the most useful tricks shared at the QlikView conference was from Nik Boman on improving the data extraction from databases.
ODBC is a slow protocol, running orders of magnitude slower than the database or a typical Ethernet connection. Very pricey ETL tools for data warehousing get around this by extracting through multiple connections to [...]


Related posts:<ol><li><a href='http://andpointsbeyond.com/2008/05/08/faster-reloads-with-core-control/' rel='bookmark' title='Permanent Link: Faster Reloads With &#8220;Core Control&#8221;'>Faster Reloads With &#8220;Core Control&#8221;</a></li>
<li><a href='http://andpointsbeyond.com/2008/05/04/seeing-dollar-signs-in-qlikview-85/' rel='bookmark' title='Permanent Link: Seeing Dollar Signs in QlikView 8.5'>Seeing Dollar Signs in QlikView 8.5</a></li>
<li><a href='http://andpointsbeyond.com/2008/05/01/qlikview-85-introduces-set-analysis/' rel='bookmark' title='Permanent Link: QlikView 8.5 Introduces &#8220;Set Analysis&#8221;'>QlikView 8.5 Introduces &#8220;Set Analysis&#8221;</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>One of the most useful tricks shared at the QlikView conference was from Nik Boman on improving the data extraction from databases.</p>
<p>ODBC is a slow protocol, running orders of magnitude slower than the database or a typical Ethernet connection. Very pricey ETL tools for data warehousing get around this by extracting through multiple connections to the database, and there&#8217;s no reason that a QlikView infrastructure can&#8217;t take advantage of it.</p>
<p>For example, run two copies of QlikView at the same time and extract approximately half of the data set with each. First, make a copy of the QV.exe file and give it a unique name. You can open QV.exe and your unique copy at the same time. You can run three or more copies of QlikView with this method.</p>
<p>Next, decide how to divide your data set; it could be based on date, country, state, or half the alphabet, for example. What you want is to divide the data set into roughly equal segments, one for each copy of QlikView.</p>
<p>How does each copy of QlikView know which segment to load? One way to do this dynamically is to use the command-line to set a variable in the script. Reference this variable in the SQL SELECT statement in the script: <strong>WHERE YearField=$(vYearVariable)</strong>. See the reference manual for command-line options.</p>
<p>Your mileage will vary. Some databases don&#8217;t do much better with simultaneous ODBC reads. Oracle does quite well.</p>


<p>Related posts:<ol><li><a href='http://andpointsbeyond.com/2008/05/08/faster-reloads-with-core-control/' rel='bookmark' title='Permanent Link: Faster Reloads With &#8220;Core Control&#8221;'>Faster Reloads With &#8220;Core Control&#8221;</a></li>
<li><a href='http://andpointsbeyond.com/2008/05/04/seeing-dollar-signs-in-qlikview-85/' rel='bookmark' title='Permanent Link: Seeing Dollar Signs in QlikView 8.5'>Seeing Dollar Signs in QlikView 8.5</a></li>
<li><a href='http://andpointsbeyond.com/2008/05/01/qlikview-85-introduces-set-analysis/' rel='bookmark' title='Permanent Link: QlikView 8.5 Introduces &#8220;Set Analysis&#8221;'>QlikView 8.5 Introduces &#8220;Set Analysis&#8221;</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://andpointsbeyond.com/2008/08/15/improving-the-load-process-with-multiple-odbc-connections/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Faster Reloads With &#8220;Core Control&#8221;</title>
		<link>http://andpointsbeyond.com/2008/05/08/faster-reloads-with-core-control/</link>
		<comments>http://andpointsbeyond.com/2008/05/08/faster-reloads-with-core-control/#comments</comments>
		<pubDate>Thu, 08 May 2008 20:03:10 +0000</pubDate>
		<dc:creator>Jay Jakosky</dc:creator>
				<category><![CDATA[Performance]]></category>
		<category><![CDATA[QlikView]]></category>

		<guid isPermaLink="false">http://andpointsbeyond.com/2008/05/08/faster-reloads-with-core-control/</guid>
		<description><![CDATA[QlikView is multi-threaded in many areas but not during the load process. Next time you&#8217;re running a load script, open the Windows Task Manager. If you have 2 cores, the processor usage will never go above 50%. You can to do this while QlikView is running and see what actions are single- and multi-threaded.
Load times [...]


Related posts:<ol><li><a href='http://andpointsbeyond.com/2008/08/15/improving-the-load-process-with-multiple-odbc-connections/' rel='bookmark' title='Permanent Link: Improving The Load Process With Multiple ODBC Connections'>Improving The Load Process With Multiple ODBC Connections</a></li>
<li><a href='http://andpointsbeyond.com/2010/05/05/qlikview-scalability/' rel='bookmark' title='Permanent Link: QlikView Scalability'>QlikView Scalability</a></li>
<li><a href='http://andpointsbeyond.com/2009/04/29/qlikview-9-export-layout-to-xml/' rel='bookmark' title='Permanent Link: QlikView 9: Export Document Layout to XML'>QlikView 9: Export Document Layout to XML</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>QlikView is multi-threaded in many areas but not during the load process. Next time you&#8217;re running a load script, open the Windows Task Manager. If you have 2 cores, the processor usage will never go above 50%. You can to do this while QlikView is running and see what actions are single- and multi-threaded.</p>
<p>Load times on large datasets can be dramatically improved by splitting the reload process into pieces and assigning pieces to separate cores. A good place to start is monitoring how your Windows installation allocates processes to cores. I&#8217;ve only seen one tool that shows processes on each core. If you know of any others, please post a comment.</p>
<ul>
<li><a href="http://www.koma-code.de/index.php?option=com_content&amp;task=view&amp;id=88&amp;Itemid=93">CPU-Control </a></li>
</ul>
<p>Now that you have evaluated the automatic allocation, how can you specify the core directly? One tool that ships with Windows is the Task Manager. Unfortunately, it can only alter a running process and it does not save your configuration for the next run. <em>NOTE: Vista allows command-line affinity setting and Server 2008 might as well. </em></p>
<p>There are several choices of utilities to control core affinity. Some are command-line such as BeyondLogic&#8217;s, others have a GUI and store your choice for the future such as Tom&#8217;s Hardware Guide&#8217;s. The downside with THG&#8217;s tool is that you will need to make copies of QV.exe with different names so each gets a unique process name. The upside is that the CPU affinity setting is automatic.</p>
<ul>
<li><a href="http://www.beyondlogic.org/solutions/processutil/processutil.htm">BeyondLogic Process Utility </a></li>
<li><a href="http://www.tomshardware.com/reviews/bang-dual-processing-buck,815-3.html">Tom&#8217;s Hardware Guide Affinity Tool</a></li>
<li><a href="http://www.softtreetech.com/24x7/archive/42.htm">BindCPU Utility </a></li>
<li><a href="http://www.stefan-kuhr.de/procaff/main.php3">ProcAff </a></li>
<li><a href="http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx">SysInternals&#8217; PsExex (written for remote execution) </a></li>
<li><a href="http://robpol86.com/pages/imagecfg.php">ImageCFG.exe from an older Windows Toolkit </a></li>
</ul>
<p>Obviously, trying to do this with Publisher would be a challenge. The upcoming Publisher 8.5 will support command-line execution which may work with these utilities, however you will lose visibility in the Publisher console. It&#8217;s all tradeoffs, but at least CPU affinity is another tool in your belt.</p>
<p><a href="http://andpointsbeyond.com/wp-content/uploads/2008/05/cpu1.png" title="cpu1.png"><img src="http://andpointsbeyond.com/wp-content/uploads/2008/05/cpu1.thumbnail.png" alt="cpu1.png" align="middle" /></a> CPU Control</p>
<p><a href="http://andpointsbeyond.com/wp-content/uploads/2008/05/ttam_add_application.gif" title="ttam_add_application.gif"><img src="http://andpointsbeyond.com/wp-content/uploads/2008/05/ttam_add_application.thumbnail.gif" alt="ttam_add_application.gif" align="middle" /></a>  Tom&#8217;s Hardware Guide Task Assignment Manager</p>


<p>Related posts:<ol><li><a href='http://andpointsbeyond.com/2008/08/15/improving-the-load-process-with-multiple-odbc-connections/' rel='bookmark' title='Permanent Link: Improving The Load Process With Multiple ODBC Connections'>Improving The Load Process With Multiple ODBC Connections</a></li>
<li><a href='http://andpointsbeyond.com/2010/05/05/qlikview-scalability/' rel='bookmark' title='Permanent Link: QlikView Scalability'>QlikView Scalability</a></li>
<li><a href='http://andpointsbeyond.com/2009/04/29/qlikview-9-export-layout-to-xml/' rel='bookmark' title='Permanent Link: QlikView 9: Export Document Layout to XML'>QlikView 9: Export Document Layout to XML</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://andpointsbeyond.com/2008/05/08/faster-reloads-with-core-control/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
