﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Teradata Forums / Teradata  / Teradata Advanced Analytics User Group  / spool variation question / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Teradata Forums</description><link>http://www.teradata.com/teradataforum/</link><webMaster>info@teradata.com</webMaster><lastBuildDate>Fri, 05 Sep 2008 10:27:38 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: spool variation question</title><link>http://www.teradata.com/teradataforum/Topic9607-22-1.aspx</link><description>My guess: Query B benefits from use of the aggregate cache. The degree of benefit can depend on how much memory is available for this query and in what order the rows are aggregated. Other queries may be using part of the cache. Rows could be processed in a different order due to use of SyncScan, contention, or just tiny variations in I/O timing between runs.</description><pubDate>Sat, 03 Nov 2007 19:22:36 GMT</pubDate><dc:creator>Fred Pluebell</dc:creator></item><item><title>spool variation question</title><link>http://www.teradata.com/teradataforum/Topic9607-22-1.aspx</link><description>I am comparing two queries for performance.  Version "A" is the old one and version "B" is new and improved.I've run version "A" 10 times and version "B" ten times. All the runs from version "A" are identical sql and all of version "B" are identical.  When I look in the DBQL spool usage I see that version "A" always has exactly the same spool use but version "B" has a varying spool use. It varies between 317,575,168 and 317,705,728 whereas version "A" is always 1,194,763,776.Does anybody know what might account for the varying spool use?Thanks</description><pubDate>Fri, 02 Nov 2007 14:11:05 GMT</pubDate><dc:creator>jeff_o</dc:creator></item></channel></rss>